:root {
    --bg-deep: #020408;
    --bg-dark: #060d18;
    --accent-primary: #00c8ff;
    --accent-secondary: #0062ff;
    --accent-glow: rgba(0, 200, 255, 0.25);
    --text-primary: #e8f4ff;
    --text-muted: #6a8aaa;
    --bubble-1: rgba(0, 120, 255, 0.12);
    --bubble-2: rgba(0, 200, 255, 0.08);
    --bubble-3: rgba(100, 60, 255, 0.10);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-deep);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    color: var(--text-primary);
    overflow: hidden;
    position: relative;
}

/* ── Canvas (bubble animation) ── */
#bgCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── Content card ── */
.content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 60px 48px;
    max-width: 640px;
    width: 90%;

    background: linear-gradient(
        135deg,
        rgba(6, 18, 40, 0.82) 0%,
        rgba(2, 8, 22, 0.90) 100%
    );
    border: 1px solid rgba(0, 200, 255, 0.18);
    border-radius: 24px;
    backdrop-filter: blur(18px);
    box-shadow:
        0 0 60px rgba(0, 100, 255, 0.10),
        0 0 0 1px rgba(0, 200, 255, 0.06) inset;

    animation: cardEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cardEntrance {
    from { opacity: 0; transform: translateY(32px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

/* ── Logo ── */
.logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    margin-bottom: 28px;
    filter: drop-shadow(0 0 18px var(--accent-primary));
    animation: logoPulse 3s ease-in-out infinite;
}

/* Placeholder glow ring when logo.png is missing */
.logo[src="logo.png"]:not([naturalWidth]) {
    display: none;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 14px rgba(0,200,255,0.55)); }
    50%       { filter: drop-shadow(0 0 28px rgba(0,200,255,0.90)); }
}

/* ── Heading ── */
h1 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.brand {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Body copy ── */
p {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 36px;
    letter-spacing: 0.02em;
}

/* ── CTA Button ── */
button {
    font-family: 'Orbitron', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(120deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(0, 100, 255, 0.40);
}

button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(0, 150, 255, 0.55);
}

button:hover::after { opacity: 1; }

button:active { transform: translateY(0); }

/* ── Scanline overlay for depth ── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0,0,0,0.04) 3px,
        rgba(0,0,0,0.04) 4px
    );
    pointer-events: none;
    z-index: 5;
}
