/* ANATHEMA MMO Official Sci-Fi Holographic Stylesheet */
:root {
    --bg-dark: #050811;
    --bg-card: rgba(10, 16, 32, 0.75);
    --bg-card-border: rgba(0, 240, 255, 0.25);
    --bg-card-hover: rgba(14, 25, 48, 0.9);
    --cyan: #00f0ff;
    --cyan-glow: rgba(0, 240, 255, 0.45);
    --amber: #ffaa00;
    --amber-glow: rgba(255, 170, 0, 0.45);
    --green: #00ff66;
    --green-glow: rgba(0, 255, 102, 0.45);
    --text-primary: #e0f4ff;
    --text-secondary: #8faec5;
    --text-muted: #516b80;
    --font-heading: 'Orbitron', -apple-system, sans-serif;
    --font-body: 'Rajdhani', -apple-system, sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body.sci-fi-theme {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 20%, rgba(0, 100, 160, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(255, 170, 0, 0.05) 0%, transparent 50%),
        url('assets/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Canvas & Effects */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 100;
    opacity: 0.5;
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.85);
    pointer-events: none;
    z-index: 99;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Header & Navigation */
.hud-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(5, 8, 17, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.brand-icon {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 0 8px var(--cyan-glow));
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow: 0 0 10px var(--cyan-glow);
}

.brand-sub {
    font-size: 0.8rem;
    color: var(--cyan);
    margin-left: 6px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: color 0.25s, text-shadow 0.25s;
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover {
    color: var(--cyan);
    text-shadow: 0 0 8px var(--cyan-glow);
}

.nav-links a.nav-download {
    color: var(--amber);
}

.nav-links a.nav-download:hover {
    color: #ffd480;
    text-shadow: 0 0 8px var(--amber-glow);
}

.header-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 255, 102, 0.08);
    border: 1px solid rgba(0, 255, 102, 0.3);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--green);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.status-dot.pulsing {
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(0, 255, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 102, 0); }
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--cyan);
    letter-spacing: 3px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.header-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    margin: 16px auto 0;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
}

.hero-container {
    text-align: center;
    max-width: 900px;
}

.hero-intel-tag {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.hud-bracket {
    color: var(--amber);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 12px;
    line-height: 1.1;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.glitch-text {
    color: #ffffff;
    text-shadow: 
        0 0 20px var(--cyan-glow),
        0 0 40px rgba(0, 240, 255, 0.2);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--amber);
    letter-spacing: 4px;
    margin-bottom: 24px;
    text-shadow: 0 0 12px var(--amber-glow);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 40px;
    font-weight: 500;
}

/* Buttons */
.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hud-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    border: none;
}

.btn-corner {
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: currentColor;
    transition: all 0.3s ease;
}

.btn-corner.tl { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; }
.btn-corner.tr { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; }
.btn-corner.bl { bottom: 0; left: 0; border-bottom: 2px solid; border-left: 2px solid; }
.btn-corner.br { bottom: 0; right: 0; border-bottom: 2px solid; border-right: 2px solid; }

.btn-content {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.primary-btn {
    color: #050811;
    background: linear-gradient(135deg, #00f0ff 0%, #00a8ff 100%);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

.primary-btn:hover {
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.7);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #33f3ff 0%, #1ab2ff 100%);
}

.secondary-btn {
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.secondary-btn:hover {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    transform: translateY(-2px);
}

.large-btn {
    padding: 20px 48px;
    font-size: 1.1rem;
}

.small-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
}

/* Stats Bar */
.hud-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(8px);
    padding: 20px 30px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hud-stat-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-name {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.highlight-cyan {
    color: var(--cyan) !important;
}

.highlight-amber {
    color: var(--amber) !important;
}

.highlight-green {
    color: var(--green) !important;
}

.hud-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(0, 240, 255, 0.15);
}

/* Trailer Video */
.video-frame-wrapper {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 255, 0.1);
}

.hologram-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--cyan);
}

.hologram-corner.tl { top: -2px; left: -2px; border-top: 3px solid; border-left: 3px solid; }
.hologram-corner.tr { top: -2px; right: -2px; border-top: 3px solid; border-right: 3px solid; }
.hologram-corner.bl { bottom: -2px; left: -2px; border-bottom: 3px solid; border-left: 3px solid; }
.hologram-corner.br { bottom: -2px; right: -2px; border-bottom: 3px solid; border-right: 3px solid; }

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-footer-telemetry {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(8px);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.card-icon {
    width: 54px;
    height: 54px;
    color: var(--cyan);
    margin-bottom: 20px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
    letter-spacing: 1px;
}

.card-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.card-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--amber);
    letter-spacing: 1px;
}

/* Server Status Card */
.server-status-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    padding: 36px;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.server-node-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    padding-bottom: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.status-badge.online {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 255, 102, 0.15);
    border: 1px solid var(--green);
    color: var(--green);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.node-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.node-ip {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
    display: block;
}

.server-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.metric-item {
    background: rgba(5, 8, 17, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.1);
    padding: 16px;
}

.metric-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.network-log-box {
    background: rgba(3, 5, 10, 0.9);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 16px 20px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.7;
}

.log-title {
    color: var(--amber);
    margin-bottom: 8px;
}

.text-cyan { color: var(--cyan); }
.text-green { color: var(--green); }
.text-dim { color: var(--text-muted); }

/* Specs Section */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.spec-column {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    padding: 36px;
    position: relative;
}

.spec-column.recommended-col {
    border-color: var(--cyan);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.15);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--cyan);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    letter-spacing: 1px;
}

.spec-tier {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.spec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.spec-list li {
    font-size: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.spec-list strong {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 0.85rem;
    display: inline-block;
    width: 130px;
}

/* Download Section */
.download-section {
    padding-bottom: 120px;
}

.download-card {
    background: linear-gradient(180deg, rgba(14, 25, 48, 0.85) 0%, rgba(5, 8, 17, 0.95) 100%);
    border: 2px solid var(--cyan);
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
    position: relative;
}

.download-badge {
    display: inline-block;
    font-family: var(--font-mono);
    color: var(--amber);
    font-size: 0.85rem;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.download-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 0 20px var(--cyan-glow);
}

.download-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 36px;
}

.file-meta {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.meta-dot {
    color: var(--cyan);
}

.quickstart-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 54px;
    border-top: 1px solid rgba(0, 240, 255, 0.15);
    padding-top: 40px;
    text-align: left;
}

.step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--cyan);
    line-height: 1;
    opacity: 0.8;
}

.step-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.step-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Footer */
.hud-footer {
    background: #020409;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
    padding: 48px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-left {
    max-width: 480px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 10px;
}

.footer-logo-img {
    width: 24px;
    height: 24px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-right {
    text-align: right;
}

.footer-cluster-info {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--cyan);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.footer-status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--green);
    display: inline-block;
}

.copyright {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 3.2rem;
        letter-spacing: 6px;
    }
    .hud-stats-bar {
        flex-direction: column;
        gap: 16px;
    }
    .hud-stat-divider {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-right {
        text-align: center;
    }
    .footer-cluster-info {
        justify-content: center;
    }
}
