@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Raleway:wght@300;400;500;600&display=swap');

:root {
    --bg-dark: #0d0d0d;
    --bg-card: #1a1a1a;
    --gold-primary: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8860b;
    --cream: #faf8f0;
    --text-dim: #9a9a9a;
    --accent-bronze: #cd7f32;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--bg-dark);
    color: var(--cream);
    min-height: 100vh;
    line-height: 1.8;
}

.top-bar {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-dark));
    height: 4px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.site-header {
    position: fixed;
    top: 4px;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    padding: 1.2rem 3rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-primary);
    text-decoration: none;
    letter-spacing: 4px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--gold-primary);
    margin: 7px 0;
    transition: 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-menu a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--gold-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.page-content {
    padding-top: 100px;
}

.welcome-block {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 3rem;
    background: radial-gradient(ellipse at center, #1f1f1f 0%, #0d0d0d 100%);
    position: relative;
}

.welcome-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.03'%3E%3Cpath d='M30 30l15-15v30L30 30zM15 15l15 15-15 15V15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.welcome-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.welcome-content h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.welcome-content .tagline {
    font-size: 1.3rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    font-weight: 300;
}

.info-tiles {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.info-tile {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 2rem;
    width: 320px;
    text-align: center;
}

.info-tile .symbol {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-tile h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.info-tile p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

.game-area {
    padding: 5rem 3rem;
    background: var(--bg-card);
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
}

.game-container h2 {
    font-family: 'Cinzel', serif;
    text-align: center;
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.game-embed {
    width: 100%;
    height: 620px;
    border: 2px solid var(--gold-dark);
    background: #000;
}

.benefits-section {
    padding: 5rem 3rem;
    background: var(--bg-dark);
}

.benefits-row {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(180deg, var(--bg-card) 0%, transparent 100%);
    border-top: 2px solid var(--gold-primary);
}

.benefit-item .ico {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.benefit-item h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.benefit-item p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.text-page {
    padding: 5rem 3rem;
    max-width: 950px;
    margin: 0 auto;
}

.text-page h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold-primary);
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.text-page h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.text-page p {
    color: var(--text-dim);
    margin-bottom: 1.25rem;
}

.text-page ul {
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.text-page li {
    color: var(--text-dim);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.text-page li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 0.7rem;
}

.site-footer {
    background: var(--bg-card);
    padding: 4rem 3rem 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-inner h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.responsible-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.responsible-links a:hover {
    color: var(--gold-primary);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav a:hover {
    color: var(--gold-primary);
}

.copyright {
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--text-dim);
    font-size: 0.85rem;
}

.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(13, 13, 13, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-modal {
    background: var(--bg-card);
    border: 2px solid var(--gold-primary);
    padding: 3.5rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
}

.age-modal .symbol {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
}

.age-modal h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.age-modal p {
    color: var(--text-dim);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.age-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.age-btn.confirm {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    color: var(--bg-dark);
}

.age-btn.confirm:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.age-btn.deny {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--cream);
}

.age-btn.deny:hover {
    background: rgba(212, 175, 55, 0.1);
}

.hidden {
    display: none !important;
}

@media (max-width: 900px) {
    .benefits-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        background: var(--bg-card);
        text-align: center;
    }
    
    .site-header {
        padding: 1rem 1.5rem;
    }
    
    .welcome-block {
        padding: 3rem 1.5rem;
    }
    
    .info-tiles {
        flex-direction: column;
        align-items: center;
    }
    
    .info-tile {
        width: 100%;
        max-width: 400px;
    }
    
    .benefits-row {
        grid-template-columns: 1fr;
    }
    
    .game-embed {
        height: 480px;
    }
    
    .age-actions {
        flex-direction: column;
    }
}
