@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
    --cream: #faf6f0;
    --warm-white: #fff9f2;
    --terracotta: #c45d3e;
    --terracotta-dark: #a84832;
    --bronze: #8b6914;
    --espresso: #2d1f16;
    --charcoal: #3a3230;
    --sand: #d9c9b6;
    --text-body: #5c4a42;
    --shadow-warm: 0 8px 30px rgba(196, 93, 62, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.75;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--espresso);
    font-weight: 600;
}

a {
    color: var(--terracotta);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--terracotta-dark);
}

/* Navigation */
.navbar {
    background: var(--warm-white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(45, 31, 22, 0.08);
}

.navbar-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--espresso);
}

.logo-mark {
    width: 45px;
    height: 45px;
}

.links-row {
    display: flex;
    gap: 40px;
}

.links-row a {
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.links-row a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width 0.3s ease;
}

.links-row a:hover {
    color: var(--terracotta);
}

.links-row a:hover::after {
    width: 100%;
}

.menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: var(--terracotta);
    border-radius: 2px;
}

.mobile-links {
    display: none;
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    background: var(--warm-white);
    padding: 25px;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow-warm);
}

.mobile-links.visible {
    display: flex;
}

.mobile-links a {
    color: var(--charcoal);
    padding: 15px 20px;
    background: var(--cream);
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.mobile-links a:hover {
    background: var(--sand);
}

/* Hero */
.intro-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 30px 80px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
}

.intro-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
}

.intro-text h1 {
    font-size: 3.3rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.intro-text h1 .highlight {
    color: var(--terracotta);
}

.intro-text p {
    font-size: 1.15rem;
    color: var(--text-body);
    margin-bottom: 35px;
    line-height: 1.9;
}

.notice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.notice-item {
    background: var(--warm-white);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--espresso);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 15px rgba(45, 31, 22, 0.08);
}

.main-cta {
    display: inline-block;
    background: var(--terracotta);
    color: white;
    padding: 18px 50px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-warm);
    transition: all 0.3s ease;
}

.main-cta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-3px);
    color: white;
}

.intro-game {
    background: var(--warm-white);
    border-radius: 20px;
    padding: 15px;
    box-shadow: var(--shadow-warm);
}

.intro-game iframe {
    width: 100%;
    height: 480px;
    border: none;
    border-radius: 12px;
}

/* About Section */
.about-section {
    padding: 100px 30px;
    background: var(--warm-white);
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.about-container h2 {
    font-size: 2.6rem;
    margin-bottom: 25px;
}

.about-container > p {
    color: var(--text-body);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 60px;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.value-card {
    background: var(--cream);
    padding: 45px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-warm);
}

.value-card .symbol {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--terracotta);
}

.value-card p {
    color: var(--text-body);
    font-size: 0.95rem;
}

/* Game Zone */
.game-zone {
    padding: 80px 30px;
    background: var(--cream);
}

.game-zone-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.game-zone h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 40px;
}

.game-holder {
    background: var(--warm-white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-warm);
}

.game-holder iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
}

/* Play Page */
.play-top {
    padding: 140px 30px 50px;
    text-align: center;
    background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
}

.play-top h1 {
    font-size: 2.6rem;
    margin-bottom: 15px;
}

.play-top p {
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.play-body {
    padding: 50px 30px 100px;
    background: var(--cream);
}

.play-tips {
    max-width: 800px;
    margin: 40px auto 0;
    background: var(--warm-white);
    padding: 35px;
    border-radius: 15px;
    border-left: 5px solid var(--terracotta);
}

.play-tips h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--terracotta);
}

.play-tips p {
    color: var(--text-body);
}

/* Page Content */
.page-body {
    padding: 140px 30px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.page-body h1 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 50px;
}

.page-body h2 {
    font-size: 1.7rem;
    margin: 45px 0 20px;
    color: var(--terracotta);
}

.page-body p {
    color: var(--text-body);
    margin-bottom: 18px;
}

.page-body ul {
    margin: 18px 0 25px 25px;
    color: var(--text-body);
}

.page-body li {
    margin-bottom: 12px;
}

/* Footer */
.site-bottom {
    background: var(--espresso);
    color: var(--sand);
    padding: 70px 30px 35px;
}

.bottom-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.bottom-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--sand);
    margin-bottom: 30px;
}

.bottom-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.bottom-links a {
    color: var(--sand);
    font-size: 0.95rem;
    opacity: 0.8;
}

.bottom-links a:hover {
    opacity: 1;
    color: var(--terracotta);
}

.support-box {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.support-box p {
    color: var(--sand);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.support-box a {
    color: var(--terracotta);
    margin: 0 15px;
    font-size: 0.9rem;
}

.copyright-line {
    color: var(--sand);
    opacity: 0.6;
    font-size: 0.85rem;
}

/* Age Popup */
.age-popup {
    position: fixed;
    inset: 0;
    background: rgba(45, 31, 22, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.age-popup.hidden {
    display: none;
}

.age-popup-box {
    background: var(--warm-white);
    padding: 55px 45px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.age-popup-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.age-popup-box p {
    color: var(--text-body);
    margin-bottom: 35px;
    font-size: 1rem;
}

.popup-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.popup-btn {
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.popup-btn.yes {
    background: var(--terracotta);
    color: white;
}

.popup-btn.yes:hover {
    background: var(--terracotta-dark);
    transform: scale(1.05);
}

.popup-btn.no {
    background: var(--cream);
    color: var(--text-body);
}

.popup-btn.no:hover {
    background: var(--sand);
}

/* Responsive */
@media (max-width: 1024px) {
    .intro-wrap {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .notice-row {
        justify-content: center;
    }
    
    .value-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .links-row {
        display: none;
    }
    
    .menu-icon {
        display: flex;
    }
    
    .intro-text h1 {
        font-size: 2.4rem;
    }
    
    .intro-game iframe {
        height: 400px;
    }
    
    .value-cards {
        grid-template-columns: 1fr;
    }
    
    .game-holder iframe {
        height: 450px;
    }
    
    .bottom-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .popup-btns {
        flex-direction: column;
    }
    
    .popup-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-area {
        font-size: 1.4rem;
    }
    
    .intro-text h1 {
        font-size: 1.9rem;
    }
    
    .notice-item {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
    
    .intro-game iframe {
        height: 350px;
    }
    
    .game-holder iframe {
        height: 380px;
    }
}
