@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+Pro:wght@300;400;500;600&display=swap');

:root {
    --coral: #FF6B6B;
    --sunset-orange: #FF8E53;
    --cream: #FFF8F0;
    --warm-brown: #5D4E3C;
    --deep-brown: #2C241A;
    --soft-beige: #F5E6D3;
    --gold-accent: #C9A959;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: var(--cream);
    color: var(--deep-brown);
    line-height: 1.8;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.header-wrapper {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--cream);
    box-shadow: 0 2px 20px rgba(93, 78, 60, 0.1);
}

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

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.brand-symbol {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--coral), var(--sunset-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--deep-brown);
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--warm-brown);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s;
}

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

.desktop-nav a:hover {
    color: var(--coral);
}

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

.burger-menu {
    display: none;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu span {
    height: 3px;
    background: var(--coral);
    border-radius: 3px;
    transition: 0.3s;
}

.burger-menu.open span:first-child {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
}

.burger-menu.open span:last-child {
    transform: rotate(-45deg) translate(7px, -7px);
}

.slide-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--soft-beige);
    padding: 5rem 2rem;
    z-index: 999;
    transition: right 0.4s;
}

.slide-nav.visible {
    right: 0;
}

.slide-nav a {
    display: block;
    padding: 1rem 0;
    color: var(--deep-brown);
    text-decoration: none;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    border-bottom: 1px solid rgba(93, 78, 60, 0.15);
}

.welcome-area {
    padding: 10rem 2rem 5rem;
    background: linear-gradient(180deg, var(--soft-beige) 0%, var(--cream) 100%);
}

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

.welcome-container h1 {
    font-size: 3.2rem;
    color: var(--deep-brown);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.welcome-container h1 span {
    background: linear-gradient(90deg, var(--coral), var(--sunset-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-container > p {
    font-size: 1.2rem;
    color: var(--warm-brown);
    max-width: 650px;
    margin: 0 auto 2rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-warm {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-warm-fill {
    background: linear-gradient(90deg, var(--coral), var(--sunset-orange));
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.35);
}

.btn-warm-fill:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.45);
}

.btn-warm-stroke {
    border: 2px solid var(--coral);
    color: var(--coral);
    background: transparent;
}

.btn-warm-stroke:hover {
    background: var(--coral);
    color: white;
}

.highlight-tags {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.tag-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--warm-brown);
    font-size: 0.95rem;
}

.tag-icon {
    font-size: 1.3rem;
}

.game-embed-area {
    padding: 0 2rem 5rem;
    background: var(--cream);
}

.game-embed-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(93, 78, 60, 0.15);
}

.game-embed-container iframe {
    width: 100%;
    height: 520px;
    display: block;
    border: none;
}

.section-area {
    padding: 5rem 2rem;
}

.section-warm {
    background: var(--soft-beige);
}

.section-content {
    max-width: 1100px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: 2.4rem;
    color: var(--deep-brown);
    margin-bottom: 1rem;
}

.section-heading p {
    color: var(--warm-brown);
    max-width: 550px;
    margin: 0 auto;
}

.pillars-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-box {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(93, 78, 60, 0.08);
    transition: transform 0.3s;
}

.pillar-box:hover {
    transform: translateY(-8px);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(255, 142, 83, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.pillar-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--deep-brown);
}

.pillar-box p {
    color: var(--warm-brown);
    font-size: 0.95rem;
}

.info-panels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-panel {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--coral);
}

.info-panel h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--coral);
}

.info-panel p {
    color: var(--warm-brown);
    font-size: 0.95rem;
}

.page-footer {
    background: var(--deep-brown);
    color: var(--soft-beige);
    padding: 3rem 2rem;
}

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

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

.footer-links a {
    color: var(--soft-beige);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

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

.support-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(245, 230, 211, 0.2);
    border-bottom: 1px solid rgba(245, 230, 211, 0.2);
    margin-bottom: 1.5rem;
}

.support-links a {
    color: var(--gold-accent);
    text-decoration: none;
    font-size: 0.85rem;
}

.support-links a:hover {
    text-decoration: underline;
}

.footer-note {
    color: rgba(245, 230, 211, 0.6);
    font-size: 0.85rem;
}

/* Age Popup */
.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 36, 26, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

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

.age-dialog {
    background: var(--cream);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
}

.age-dialog h2 {
    font-size: 1.8rem;
    color: var(--deep-brown);
    margin-bottom: 1rem;
}

.age-dialog p {
    color: var(--warm-brown);
    margin-bottom: 2rem;
}

.age-choices {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-choice {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.age-yes {
    background: linear-gradient(90deg, var(--coral), var(--sunset-orange));
    color: white;
}

.age-no {
    background: var(--soft-beige);
    color: var(--warm-brown);
}

.age-choice:hover {
    transform: scale(1.05);
}

.denied-msg {
    display: none;
    color: var(--coral);
}

/* Inner Pages */
.inner-hero {
    padding: 10rem 2rem 4rem;
    background: var(--soft-beige);
    text-align: center;
}

.inner-hero h1 {
    font-size: 2.8rem;
    color: var(--deep-brown);
    margin-bottom: 1rem;
}

.inner-hero p {
    color: var(--warm-brown);
    max-width: 550px;
    margin: 0 auto;
}

.text-section {
    padding: 4rem 2rem;
    background: var(--cream);
}

.text-body {
    max-width: 850px;
    margin: 0 auto;
}

.text-body h2 {
    font-size: 1.7rem;
    color: var(--coral);
    margin: 2.5rem 0 1rem;
}

.text-body h3 {
    font-size: 1.3rem;
    color: var(--deep-brown);
    margin: 1.5rem 0 0.75rem;
}

.text-body p {
    color: var(--warm-brown);
    margin-bottom: 1rem;
}

.text-body ul {
    color: var(--warm-brown);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.text-body li {
    margin-bottom: 0.5rem;
}

.play-container {
    max-width: 1000px;
    margin: 0 auto;
}

.play-frame {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(93, 78, 60, 0.15);
}

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

.play-tips {
    padding: 1.5rem 2rem;
    background: var(--soft-beige);
}

.play-tips h3 {
    font-size: 1.1rem;
    color: var(--coral);
    margin-bottom: 0.5rem;
}

.play-tips p {
    color: var(--warm-brown);
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .pillars-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .slide-nav {
        display: block;
    }
    
    .welcome-container h1 {
        font-size: 2.3rem;
    }
    
    .pillars-row {
        grid-template-columns: 1fr;
    }
    
    .game-embed-container iframe {
        height: 400px;
    }
    
    .highlight-tags {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .inner-hero h1 {
        font-size: 2.2rem;
    }
    
    .play-frame iframe {
        height: 450px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 1rem;
    }
    
    .brand-title {
        font-size: 1.2rem;
    }
    
    .welcome-area {
        padding: 8rem 1rem 3rem;
    }
    
    .section-area {
        padding: 3rem 1rem;
    }
    
    .age-dialog {
        padding: 2rem 1.5rem;
    }
    
    .age-choices {
        flex-direction: column;
    }
}
