@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Raleway:wght@300;400;500;600&display=swap');

:root {
    --primary-dark: #1a0a2e;
    --primary-mid: #2d1b4e;
    --accent-gold: #d4af37;
    --accent-light: #f4e4bc;
    --text-light: #f8f5f0;
    --text-muted: #b8a9c9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-light);
}

/* Header Styles */
.site-header {
    background: rgba(26, 10, 46, 0.95);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--accent-gold);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo svg {
    width: 48px;
    height: 48px;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.nav-desktop {
    display: flex;
    gap: 2.5rem;
}

.nav-desktop a {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-dark);
    padding: 1rem 0;
    border-bottom: 1px solid var(--accent-gold);
}

.nav-mobile.active {
    display: block;
}

.nav-mobile a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* Main Content */
main {
    padding-top: 90px;
}

.hero-section {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    background: radial-gradient(ellipse at center, var(--primary-mid) 0%, var(--primary-dark) 70%);
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.hero-section p {
    font-size: 1.3rem;
    max-width: 700px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), #b8962e);
    color: var(--primary-dark);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    color: var(--primary-dark);
}

/* Notice Boxes */
.notices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.notice-card {
    background: rgba(45, 27, 78, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.notice-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.notice-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.notice-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Game Section */
.game-section {
    padding: 4rem 2rem;
    background: rgba(26, 10, 46, 0.5);
}

.game-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.game-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Features Section */
.features-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(45, 27, 78, 0.4);
    border-radius: 10px;
    border-left: 4px solid var(--accent-gold);
}

.feature-item .icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Content Sections */
.content-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.content-section h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.content-section h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
}

.content-section p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.content-section ul {
    list-style: none;
    margin: 1.5rem 0;
}

.content-section ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
}

.content-section ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* Play Page */
.play-hero {
    padding: 3rem 2rem;
    text-align: center;
}

.play-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.play-hero p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.game-wrapper {
    padding: 0 2rem 4rem;
}

.game-wrapper .game-container {
    max-width: 1200px;
}

.game-wrapper .game-container iframe {
    height: 700px;
}

.game-instructions {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 2rem;
    background: rgba(45, 27, 78, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.game-instructions h3 {
    margin-bottom: 1rem;
}

.game-instructions p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* Footer */
.site-footer {
    background: rgba(26, 10, 46, 0.95);
    border-top: 1px solid var(--accent-gold);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.responsible-links a {
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-gold);
    border-radius: 25px;
    font-size: 0.9rem;
}

.responsible-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Age Verification Popup */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-overlay.hidden {
    display: none;
}

.age-popup {
    background: linear-gradient(135deg, var(--primary-mid), var(--primary-dark));
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

.age-popup h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.age-popup p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-buttons button {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-gold);
    font-size: 1rem;
}

.btn-yes {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-yes:hover {
    background: var(--accent-light);
}

.btn-no {
    background: transparent;
    color: var(--accent-gold);
}

.btn-no:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .notices-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .game-container iframe {
        height: 400px;
    }
    
    .game-wrapper .game-container iframe {
        height: 450px;
    }
    
    .content-section h1 {
        font-size: 2rem;
    }
    
    .age-popup {
        margin: 1rem;
        padding: 2rem;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .responsible-links {
        flex-direction: column;
        gap: 1rem;
    }
}
