/* Voidenx - Dark Social Casino Styles */
/* Minimal black design with red accents */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --void: #0a0a0a;
    --void-light: #141414;
    --void-mid: #1a1a1a;
    --red: #dc2626;
    --red-dark: #991b1b;
    --red-glow: rgba(220, 38, 38, 0.3);
    --text: #e5e5e5;
    --text-dim: #737373;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Share Tech Mono', monospace;
    background: var(--void);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Audiowide', cursive;
    font-weight: 400;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text);
}

/* Age Gate */
.gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gate-overlay.hidden {
    display: none;
}

.gate-box {
    background: var(--void-light);
    border: 1px solid var(--red);
    padding: 50px 40px;
    max-width: 480px;
    text-align: center;
}

.gate-symbol {
    font-size: 56px;
    margin-bottom: 16px;
}

.gate-box h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--red);
}

.gate-box p {
    color: var(--text-dim);
    margin-bottom: 30px;
}

.gate-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-enter, .btn-retreat {
    padding: 14px 28px;
    font-family: 'Audiowide', cursive;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-enter {
    background: var(--red);
    color: white;
}

.btn-enter:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--red-glow);
}

.btn-retreat {
    background: transparent;
    border: 1px solid var(--text-dim);
    color: var(--text-dim);
}

.btn-retreat:hover {
    border-color: var(--text);
    color: var(--text);
}

/* Header */
.void-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    z-index: 1000;
    border-bottom: 1px solid var(--void-mid);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.void-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Audiowide', cursive;
    font-size: 1.4rem;
    color: var(--text);
}

.void-brand:hover {
    color: var(--red);
}

.menu-trigger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-trigger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--red);
    transition: all 0.3s ease;
}

.menu-trigger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-trigger.active span:nth-child(2) {
    opacity: 0;
}

.menu-trigger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.void-nav {
    display: flex;
    gap: 35px;
}

.void-nav a {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 0;
    position: relative;
}

.void-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--red);
    transition: width 0.3s ease;
}

.void-nav a:hover,
.void-nav a.active {
    color: var(--text);
}

.void-nav a:hover::after,
.void-nav a.active::after {
    width: 100%;
}

/* Hero */
.void-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px;
}

.hero-darkness {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: 20px;
    color: var(--text);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.void-btn {
    display: inline-block;
    padding: 16px 50px;
    background: var(--red);
    color: white;
    font-family: 'Audiowide', cursive;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s ease;
}

.void-btn:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--red-glow);
    color: white;
}

.void-btn-lg {
    padding: 18px 60px;
    font-size: 0.95rem;
}

/* Principles */
.principles {
    padding: 100px 0;
    background: var(--void-light);
}

.principle-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.principle {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.p-marker {
    color: var(--red);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.p-text h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.p-text p {
    color: var(--text-dim);
}

/* Game Section */
.void-game {
    padding: 100px 0;
    background: var(--void);
}

.game-intro {
    text-align: center;
    margin-bottom: 45px;
}

.game-marker {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 12px;
}

.game-intro h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 8px;
}

.game-intro p {
    color: var(--text-dim);
}

.game-display {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    aspect-ratio: 16/10;
    border: 1px solid var(--red);
    background: var(--void-light);
}

.game-display iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Metrics */
.void-metrics {
    padding: 60px 0;
    background: var(--void-mid);
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.m-number {
    display: block;
    font-family: 'Audiowide', cursive;
    font-size: 2.5rem;
    color: var(--red);
}

.m-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Story */
.void-story {
    padding: 100px 0;
    background: var(--void-light);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 35px;
}

.story-content p {
    color: var(--text-dim);
    margin-bottom: 20px;
    text-align: justify;
}

/* Features */
.void-features {
    padding: 100px 0;
    background: var(--void);
}

.void-features h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature {
    padding: 35px 25px;
    background: var(--void-light);
    border: 1px solid var(--void-mid);
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: var(--red);
}

.f-icon {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 18px;
}

.feature h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.feature p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Call */
.void-call {
    padding: 100px 0;
    background: var(--void-light);
}

.call-block {
    text-align: center;
    padding: 70px 40px;
    border: 1px solid var(--red);
    max-width: 700px;
    margin: 0 auto;
}

.call-block h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    margin-bottom: 12px;
}

.call-block p {
    color: var(--text-dim);
    margin-bottom: 30px;
}

/* Page Header */
.page-header {
    padding: 150px 24px 70px;
    text-align: center;
    background: var(--void-light);
}

.page-marker {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 12px;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-dim);
}

/* Play Area */
.play-area {
    padding: 60px 0 100px;
    background: var(--void);
}

.instructions-panel {
    max-width: 900px;
    margin: 0 auto 45px;
    padding: 35px;
    background: var(--void-light);
    border: 1px solid var(--void-mid);
}

.instructions-panel h2 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--red);
}

.instruction-list {
    list-style: none;
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.instruction-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.instruction-list span {
    font-size: 0.8rem;
    color: var(--red);
    background: rgba(220, 38, 38, 0.1);
    padding: 4px 10px;
}

.instruction-list li {
    color: var(--text-dim);
}

.tech-note {
    padding-top: 20px;
    border-top: 1px solid var(--void-mid);
    color: var(--text-dim);
    font-size: 0.85rem;
}

.full-game {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16/10;
    border: 1px solid var(--red);
    box-shadow: 0 0 40px var(--red-glow);
}

.full-game iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.play-notice {
    max-width: 900px;
    margin: 35px auto 0;
    padding: 20px 25px;
    background: rgba(220, 38, 38, 0.1);
    border-left: 3px solid var(--red);
    text-align: center;
}

.play-notice p {
    color: var(--text-dim);
}

/* Legal Area */
.legal-area {
    padding: 60px 0 100px;
    background: var(--void);
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--void-mid);
}

.legal-block p {
    color: var(--text-dim);
    margin-bottom: 12px;
}

.legal-block ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-block li {
    color: var(--text-dim);
    margin-bottom: 8px;
}

.legal-date {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--void-mid);
    color: var(--text-dim);
    font-size: 0.85rem;
}

.warning-box {
    padding: 30px;
    background: var(--void-light);
    border-left: 3px solid var(--red);
    margin-bottom: 30px;
}

.warning-box h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text);
    border: none;
    padding: 0;
}

.warning-box p {
    color: var(--text-dim);
    margin-bottom: 12px;
}

.warning-box p:last-child {
    margin-bottom: 0;
}

/* Footer */
.void-footer {
    background: var(--void-light);
    padding: 60px 0 25px;
    border-top: 1px solid var(--void-mid);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand {
    font-family: 'Audiowide', cursive;
    font-size: 1.5rem;
    color: var(--text);
    display: block;
    margin-bottom: 12px;
}

.footer-main p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-support h4 {
    font-size: 0.9rem;
    margin-bottom: 18px;
    color: var(--text);
}

.footer-links a,
.footer-support a {
    display: block;
    color: var(--text-dim);
    font-size: 0.85rem;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-support a:hover {
    color: var(--red);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--void-mid);
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .metrics-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-trigger {
        display: flex;
    }

    .void-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--void-light);
        flex-direction: column;
        padding: 100px 35px;
        gap: 22px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--void-mid);
    }

    .void-nav.active {
        right: 0;
    }

    .void-hero {
        min-height: auto;
        padding: 150px 24px 100px;
    }

    .metrics-row {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gate-box {
        margin: 16px;
        padding: 40px 25px;
    }

    .instructions-panel {
        padding: 25px 20px;
    }

    .principle {
        flex-direction: column;
        gap: 12px;
    }
}
