/* Global page styles (moved from index.html) */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('bg.png') center / cover no-repeat fixed;
    color: #eee;
    text-align: center;
    position: relative;
    overflow-x: hidden;
    cursor: none !important;
}

* {
    cursor: none !important;
}

/* Starfield canvas */
#starfield-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* Cursor canvas */
#cursor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(109,211,255,0.12), rgba(122,92,255,0.10), rgba(255,105,180,0.08), rgba(109,211,255,0.12));
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    pointer-events: none;
    z-index: -1;
}

header {
    padding: 60px 20px;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

/* Animated gradient glow text */
.glow-text {
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(120deg, #6dd3ff 0%, #7a5cff 40%, #ff68b0 70%, #6dd3ff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: gradientShift 6s ease infinite;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 8px rgba(109,211,255,0.18), 0 0 18px rgba(255,105,180,0.10);
}

/* Soft blurred glow layer using pseudo-element */
.glow-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    background: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(8px);
    opacity: 0.55;
    z-index: -1;
    pointer-events: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ccc;
}

.link-box {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.card {
    position: relative;
    padding: 22px 36px;
    border-radius: 10px;
    transition: 0.28s ease;
    text-decoration: none;
    color: #eee;
    font-size: 1.12rem;
    border: 2px solid transparent;
    background-image: linear-gradient(#0b0710, #0b0710), linear-gradient(120deg, #6dd3ff, #7a5cff, #ff68b0);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    backdrop-filter: blur(4px);
}

.card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 8px 30px rgba(122,92,255,0.08);
}

/* Button text gradient + glow */
.glow-btn {
    font-weight: 700;
    background: linear-gradient(120deg, #6dd3ff 0%, #7a5cff 45%, #ff68b0 75%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: gradientShift 6s ease infinite;
    text-shadow: 0 0 6px rgba(109,211,255,0.18), 0 0 12px rgba(255,105,180,0.10);
    display: inline-block;
    padding: 2px 6px;
}

/* subtle outer blur/glow for the outline to feel luminous */
.card::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 12px;
    background: linear-gradient(120deg, rgba(109,211,255,0.08), rgba(122,92,255,0.06), rgba(255,105,180,0.06));
    z-index: -1;
    filter: blur(8px);
    opacity: 0.9;
    pointer-events: none;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #777;
}

/* Accessibility: focus outline for keyboard users */
.card:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(122,92,255,0.12);
}
