*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── Theme: Nebula Magenta (original) ──
:root {
    --accent: #b44aff;
    --accent-dim: #7a2dbf;
    --accent-glow: rgba(180, 74, 255, 0.4);
    --status-color: #50fa7b;
    --status-glow: rgba(80, 250, 123, 0.6);
} */

/* ── Theme: Tron Cyan ──
:root {
    --accent: #00e5ff;
    --accent-dim: #0097a7;
    --accent-glow: rgba(0, 229, 255, 0.4);
    --status-color: #50fa7b;
    --status-glow: rgba(80, 250, 123, 0.6);
} */

/* ── Theme: Deep Space Blue ── */
:root {
    --accent: #3b8bff;
    --accent-dim: #2460b3;
    --accent-glow: rgba(59, 139, 255, 0.45);
    --status-color: #50fa7b;
    --status-glow: rgba(80, 250, 123, 0.6);
}

/* ── Theme: Plasma Green ──
:root {
    --accent: #00ff9f;
    --accent-dim: #00b36e;
    --accent-glow: rgba(0, 255, 159, 0.35);
    --status-color: #00ff9f;
    --status-glow: rgba(0, 255, 159, 0.6);
} */

/* ── Theme: Ice Blue ──
:root {
    --accent: #72f1ff;
    --accent-dim: #3bb8c4;
    --accent-glow: rgba(114, 241, 255, 0.35);
    --status-color: #72f1ff;
    --status-glow: rgba(114, 241, 255, 0.6);
} */

:root {
    --bg: #0a0a10;
    --surface: #12121e;
    --text: #9a9aab;
    --text-dim: #5a5a70;
    --mono: 'Share Tech Mono', monospace;
    --display: 'Orbitron', sans-serif;
}

html, body {
    height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: var(--mono);
    overflow: hidden;
}

/* subtle scanline overlay */
.scanlines {
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.08) 2px,
        rgba(0, 0, 0, 0.08) 4px
    );
    pointer-events: none;
    z-index: 10;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    gap: 2.5rem;
}

/* --- Header / Logo --- */

header {
    text-align: center;
}

.logo-mark {
    font-size: 2.5rem;
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow), 0 0 60px var(--accent-glow);
    margin-bottom: 1rem;
    animation: pulse 4s ease-in-out infinite;
}

.domain {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(2rem, 6vw, 4rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1;
    position: relative;
}

/* glitch effect — applied via JS randomly */
.domain.glitch {
    animation: glitch 0.3s linear;
}

.domain.glitch::before,
.domain.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
}

.domain.glitch::before {
    color: #ff3860;
    animation: glitch-top 0.3s linear;
    clip-path: inset(0 0 60% 0);
}

.domain.glitch::after {
    color: var(--accent);
    animation: glitch-bottom 0.3s linear;
    clip-path: inset(60% 0 0 0);
}

.domain .accent {
    color: var(--accent);
    text-shadow: 0 0 30px var(--accent-glow);
}

.subdomain {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(0.7rem, 2vw, 1rem);
    letter-spacing: 0.6em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

/* --- Divider --- */

.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: min(300px, 60vw);
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-dim), transparent 50%, var(--accent-dim));
    opacity: 0.4;
}

.divider-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

/* --- Main content --- */

main {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.tagline {
    font-family: var(--mono);
    font-size: clamp(0.8rem, 2.5vw, 1.1rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.status {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(59, 139, 255, 0.15);
    border-radius: 2px;
    background: rgba(59, 139, 255, 0.03);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--status-color);
    box-shadow: 0 0 8px var(--status-glow);
    animation: blink 3s ease-in-out infinite;
}

.status-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* --- Footer --- */

footer {
    position: absolute;
    bottom: 2rem;
}

.footer-text {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-dim);
    opacity: 0.4;
}

/* --- Animations --- */

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes glitch {
    0%   { transform: translate(0); }
    20%  { transform: translate(-3px, 2px); }
    40%  { transform: translate(3px, -1px); }
    60%  { transform: translate(-2px, -2px); }
    80%  { transform: translate(2px, 1px); }
    100% { transform: translate(0); }
}

@keyframes glitch-top {
    0%   { transform: translate(0); }
    25%  { transform: translate(4px, 0); }
    50%  { transform: translate(-3px, 0); }
    75%  { transform: translate(2px, 0); }
    100% { transform: translate(0); }
}

@keyframes glitch-bottom {
    0%   { transform: translate(0); }
    25%  { transform: translate(-4px, 0); }
    50%  { transform: translate(3px, 0); }
    75%  { transform: translate(-2px, 0); }
    100% { transform: translate(0); }
}

/* --- Responsive --- */

@media (max-width: 480px) {
    .container {
        gap: 2rem;
        padding: 1.5rem;
    }
}
