@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Raleway:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --void-black: #080810;
    --deep-purple: #1a0a2e;
    --mystic-violet: #6b21a8;
    --ethereal-blue: #3b82f6;
    --ghost-white: #f8fafc;
    --silver-mist: #cbd5e1;
    --card-surface: rgba(107, 33, 168, 0.08);
    --glow-effect: rgba(107, 33, 168, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--void-black);
    color: var(--ghost-white);
    line-height: 1.8;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 85%, rgba(107, 33, 168, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Navigation */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(8, 8, 16, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(107, 33, 168, 0.2);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.brand {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ghost-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-symbol {
    width: 42px;
    height: 42px;
    background: linear-gradient(180deg, var(--mystic-violet), var(--ethereal-blue));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--ghost-white);
    transition: 0.3s;
}

.hamburger.open span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--silver-mist);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--mystic-violet);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-menu a:hover,
.nav-menu a.current {
    color: var(--ghost-white);
}

.nav-menu a:hover::after,
.nav-menu a.current::after {
    width: 100%;
}

/* Hero Banner */
.hero-banner {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

.hero-tag {
    display: inline-block;
    padding: 10px 25px;
    background: var(--card-surface);
    border: 1px solid rgba(107, 33, 168, 0.3);
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--mystic-violet);
    margin-bottom: 30px;
}

h1 {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--ghost-white);
}

.hero-text {
    font-size: 1.15rem;
    color: var(--silver-mist);
    max-width: 800px;
    margin: 0 auto;
}

/* Alert Boxes */
.alert-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 60px 0;
}

.alert-box {
    background: var(--card-surface);
    border: 1px solid rgba(107, 33, 168, 0.2);
    padding: 35px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.alert-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mystic-violet), var(--ethereal-blue));
}

.alert-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.alert-box h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.alert-box p {
    font-size: 0.95rem;
    color: var(--silver-mist);
}

/* Game Display */
.game-display {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--silver-mist);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

.game-wrapper {
    background: var(--deep-purple);
    border: 1px solid rgba(107, 33, 168, 0.3);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.game-embed {
    width: 100%;
    height: 550px;
    border: none;
    border-radius: 8px;
}

/* Feature Cards */
.feature-section {
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-item {
    background: linear-gradient(145deg, var(--card-surface), rgba(26, 10, 46, 0.6));
    border: 1px solid rgba(107, 33, 168, 0.15);
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: var(--mystic-violet);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--ethereal-blue);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--silver-mist);
}

/* Content Area */
.content-area {
    padding: 60px 0;
}

.content-card {
    background: var(--card-surface);
    border: 1px solid rgba(107, 33, 168, 0.15);
    padding: 55px;
    margin-bottom: 35px;
}

.content-card h2 {
    text-align: left;
    margin-bottom: 25px;
    font-size: 2rem;
}

.content-card p {
    margin-bottom: 20px;
    color: var(--silver-mist);
}

.content-card ul {
    list-style: none;
    margin: 25px 0;
}

.content-card li {
    padding: 15px 0 15px 35px;
    position: relative;
    color: var(--silver-mist);
    border-bottom: 1px solid rgba(107, 33, 168, 0.1);
}

.content-card li:last-child {
    border-bottom: none;
}

.content-card li::before {
    content: '◈';
    position: absolute;
    left: 0;
    color: var(--mystic-violet);
}

/* Page Title Section */
.page-title {
    padding: 90px 0 50px;
    text-align: center;
    border-bottom: 1px solid rgba(107, 33, 168, 0.15);
}

.page-title h1 {
    font-size: 3rem;
}

/* Footer */
.site-footer {
    background: var(--deep-purple);
    border-top: 1px solid rgba(107, 33, 168, 0.2);
    padding: 60px 0 35px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 45px;
}

.footer-about .brand {
    margin-bottom: 18px;
}

.footer-about p {
    color: var(--silver-mist);
    font-size: 0.95rem;
}

.footer-nav h4,
.footer-help h4 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    margin-bottom: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 14px;
}

.footer-nav a,
.footer-help a {
    color: var(--silver-mist);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover,
.footer-help a:hover {
    color: var(--ghost-white);
}

.help-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(107, 33, 168, 0.15);
    color: var(--silver-mist);
    font-size: 0.85rem;
}

/* Age Gate */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 16, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-gate.dismissed {
    display: none;
}

.age-dialog {
    background: var(--deep-purple);
    border: 2px solid var(--mystic-violet);
    padding: 55px 45px;
    text-align: center;
    max-width: 480px;
    box-shadow: 0 0 80px var(--glow-effect);
}

.age-dialog h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.age-dialog p {
    color: var(--silver-mist);
    margin-bottom: 35px;
}

.age-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.btn-confirm,
.btn-deny {
    padding: 16px 45px;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--mystic-violet), var(--ethereal-blue));
    color: white;
}

.btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px var(--glow-effect);
}

.btn-deny {
    background: transparent;
    border: 1px solid var(--silver-mist);
    color: var(--silver-mist);
}

.btn-deny:hover {
    border-color: var(--mystic-violet);
    color: var(--mystic-violet);
}

.age-note {
    font-size: 0.8rem;
    color: var(--silver-mist);
    margin-top: 28px;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--void-black);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.4s;
    }
    
    .nav-menu.visible {
        transform: translateX(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }
    
    .nav-menu a {
        font-size: 1.3rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .alert-row {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .game-embed {
        height: 380px;
    }
    
    .content-card {
        padding: 35px 25px;
    }
    
    .age-dialog {
        margin: 20px;
        padding: 40px 25px;
    }
    
    .age-actions {
        flex-direction: column;
    }
}
