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

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

:root {
    --emerald: #0D5D38;
    --emerald-dark: #083D25;
    --gold: #FFD700;
    --gold-light: #FFEA80;
    --cream: #FAF5E8;
    --charcoal: #1C1C1C;
    --text-dark: #2A2A2A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 0.05em;
}

a {
    color: var(--emerald);
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: var(--gold);
}

/* Header */
.main-header {
    background: var(--emerald-dark);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.primary-nav {
    display: flex;
    gap: 3rem;
}

.primary-nav a {
    color: var(--cream);
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--gold);
    margin: 6px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--emerald-dark);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid rgba(255,215,0,0.2);
}

.mobile-menu.show {
    display: flex;
}

.mobile-menu a {
    color: var(--cream);
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,215,0,0.1);
}

.mobile-menu a:hover {
    color: var(--gold);
    background: rgba(255,215,0,0.05);
}

/* Main */
main {
    padding-top: 70px;
}

/* Grand Section */
.grand-welcome {
    background: linear-gradient(180deg, var(--emerald-dark) 0%, var(--emerald) 100%);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
}

.grand-welcome::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='%23FFD700' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.grand-welcome h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

.grand-welcome .subtitle {
    font-size: 1.4rem;
    color: var(--cream);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    position: relative;
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--emerald-dark);
    padding: 1.2rem 3rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
    transition: all 0.3s;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255,215,0,0.5);
    color: var(--emerald-dark);
}

.btn-cream {
    background: transparent;
    color: var(--cream);
    padding: 1.2rem 3rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid var(--cream);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cream:hover {
    background: var(--cream);
    color: var(--emerald-dark);
}

/* Pillars Section */
.three-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1600px;
    margin: 0 auto;
}

.pillar {
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
}

.pillar:nth-child(1) {
    background: var(--emerald);
    color: var(--cream);
}

.pillar:nth-child(2) {
    background: var(--gold);
    color: var(--emerald-dark);
}

.pillar:nth-child(3) {
    background: var(--charcoal);
    color: var(--cream);
}

.pillar-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.pillar h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pillar p {
    opacity: 0.9;
    line-height: 1.7;
}

/* Roulette Feature */
.roulette-feature {
    padding: 6rem 2rem;
    background: var(--cream);
}

.feature-header {
    text-align: center;
    margin-bottom: 4rem;
}

.feature-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--emerald-dark);
    margin-bottom: 1rem;
}

.feature-header p {
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

.roulette-frame {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--emerald-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 4px solid var(--gold);
}

.roulette-frame iframe {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

/* About Block */
.about-block {
    background: var(--emerald-dark);
    padding: 6rem 2rem;
}

.about-inner {
    max-width: 1000px;
    margin: 0 auto;
    color: var(--cream);
}

.about-inner h2 {
    color: var(--gold);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.about-inner p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-align: center;
}

/* Footer */
.main-footer {
    background: var(--charcoal);
    color: var(--cream);
    padding: 5rem 2rem 2rem;
}

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

.footer-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

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

.footer-nav a {
    color: var(--cream);
    opacity: 0.8;
}

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

.responsible-section {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.responsible-section h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

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

.responsible-links a {
    color: var(--cream);
    opacity: 0.7;
    font-size: 0.9rem;
}

.responsible-links a:hover {
    opacity: 1;
}

.copyright-text {
    margin-top: 2rem;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Age Modal */
.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: 9999;
    padding: 2rem;
}

.age-overlay.hidden {
    display: none;
}

.age-box {
    background: var(--cream);
    padding: 4rem;
    border-radius: 8px;
    text-align: center;
    max-width: 550px;
    border: 4px solid var(--gold);
}

.age-box h2 {
    font-size: 2rem;
    color: var(--emerald-dark);
    margin-bottom: 1.5rem;
}

.age-box p {
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

.age-yes {
    background: var(--emerald);
    color: var(--cream);
    padding: 1rem 2.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.age-yes:hover {
    background: var(--emerald-dark);
}

.age-no {
    background: transparent;
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    border: 2px solid var(--text-dark);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.age-no:hover {
    background: var(--text-dark);
    color: var(--cream);
}

/* Page Styles */
.page-banner {
    background: linear-gradient(180deg, var(--emerald-dark) 0%, var(--emerald) 100%);
    padding: 10rem 2rem 5rem;
    text-align: center;
}

.page-banner h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.page-banner p {
    color: var(--cream);
    opacity: 0.8;
}

.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.page-content h2 {
    font-size: 1.8rem;
    color: var(--emerald-dark);
    margin: 3rem 0 1.2rem;
}

.page-content h3 {
    font-size: 1.3rem;
    color: var(--emerald);
    margin: 2rem 0 1rem;
}

.page-content p {
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

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

.page-content ul li {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.page-content ul li::before {
    content: '◆';
    color: var(--gold);
    margin-right: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
    .three-pillars {
        grid-template-columns: 1fr;
    }
    
    .pillar {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .primary-nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .grand-welcome {
        padding: 5rem 1.5rem;
    }
    
    .roulette-frame iframe {
        height: 500px;
    }
    
    .age-box {
        padding: 2.5rem;
    }
    
    .age-actions {
        flex-direction: column;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .responsible-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}
