/* SpinDeer - Warm Nature-Inspired Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-forest: #2d5016;
    --color-forest-light: #4a7c2c;
    --color-brown: #8b6d47;
    --color-cream: #f5f1e8;
    --color-white: #ffffff;
    --color-tan: #e6d5b8;
    --color-text: #3e2723;
    --color-text-light: #5d4037;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--color-cream);
    color: var(--color-text);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--color-forest);
}

/* Age Gate */
.age-gate {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(45, 80, 22, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.age-gate.show {
    display: flex;
}

.gate-panel {
    background: var(--color-white);
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gate-icon {
    font-size: 5rem;
    text-align: center;
    margin: 2rem 0 1rem;
}

.gate-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--color-forest);
    margin-bottom: 1rem;
    padding: 0 2rem;
}

.gate-message {
    font-size: 1.1rem;
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    padding: 0 2rem;
}

.gate-question {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-forest);
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.gate-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 0 2rem 2rem;
}

.gate-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.enter-btn {
    background: var(--color-forest);
    color: white;
}

.enter-btn:hover {
    background: var(--color-forest-light);
    transform: translateY(-2px);
}

.leave-btn {
    background: var(--color-brown);
    color: white;
}

.leave-btn:hover {
    background: #7a5d3a;
}

.gate-note {
    background: var(--color-tan);
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Header */
.main-header {
    background: var(--color-white);
    border-bottom: 3px solid var(--color-forest);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.brand-deer {
    font-size: 2.5rem;
}

.brand-text {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-forest);
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-btn span {
    width: 30px;
    height: 3px;
    background: var(--color-forest);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--color-forest);
    color: white;
}

/* Welcome Hero */
.welcome-hero {
    background: linear-gradient(135deg, var(--color-forest), var(--color-forest-light));
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.hero-h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Content Area */
.content-area {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 30px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-forest);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border-left: 5px solid var(--color-brown);
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Key Points */
.key-points {
    margin-bottom: 3rem;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.point-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.point-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.point-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.point-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-forest-light);
}

.point-card p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Game Section */
.game-section {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.game-display {
    border: 3px solid var(--color-forest);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.game-window {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-perks {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.perk-badge {
    background: var(--color-tan);
    padding: 0.7rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    color: var(--color-forest);
}

/* Why Section */
.why-section {
    margin-bottom: 3rem;
}

.why-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-item {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.why-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-forest);
}

.why-item p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Values Section */
.values-section {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.values-intro,
.values-outro {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.values-list {
    list-style: none;
    margin: 2rem 0;
}

.values-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

/* Responsible Section */
.responsible-section {
    background: linear-gradient(135deg, var(--color-forest-light), var(--color-forest));
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.responsible-section .section-title {
    color: white;
}

.responsible-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.responsible-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: var(--color-tan);
    padding: 4rem 2rem;
    border-radius: 15px;
}

.cta-heading {
    font-size: 3rem;
    color: var(--color-forest);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.cta-link {
    display: inline-block;
    background: var(--color-forest);
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cta-link:hover {
    background: var(--color-forest-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(45, 80, 22, 0.3);
}

/* Play Page */
.play-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.play-intro h1 {
    font-size: 3rem;
    color: var(--color-forest);
    margin-bottom: 1rem;
}

.play-tagline {
    font-size: 1.2rem;
    color: var(--color-text-light);
}

.play-game-area {
    margin-bottom: 3rem;
}

.game-display-full {
    border: 3px solid var(--color-forest);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.game-window-full {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.play-info {
    margin-bottom: 3rem;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-box {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    border-top: 4px solid var(--color-brown);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-forest);
}

.info-box p {
    color: var(--color-text-light);
}

.play-reminders {
    margin-bottom: 3rem;
}

.reminder-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.reminder-box {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reminder-icon {
    font-size: 2.5rem;
}

.reminder-box p {
    color: var(--color-text-light);
}

/* Legal Pages */
.legal-page {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 15px;
}

.legal-page h1 {
    font-size: 3rem;
    color: var(--color-forest);
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: var(--color-text-light);
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-block {
    margin-bottom: 2.5rem;
}

.legal-block h2 {
    font-size: 1.8rem;
    color: var(--color-forest-light);
    margin-bottom: 1rem;
}

.legal-block p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.legal-block ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-block li {
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
}

.legal-block a {
    color: var(--color-forest);
    font-weight: 600;
}

.legal-block a:hover {
    color: var(--color-forest-light);
}

/* Footer */
.main-footer {
    background: var(--color-forest);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-tan);
}

.footer-col p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 75px;
        right: -100%;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        height: calc(100vh - 75px);
        min-width: 250px;
    }

    .main-nav.active {
        right: 0;
    }

    .hero-h1 {
        font-size: 2.5rem;
    }

    .hero-lead {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .game-window,
    .game-window-full {
        height: 500px;
    }

    .points-grid,
    .why-layout,
    .info-boxes,
    .reminder-boxes {
        grid-template-columns: 1fr;
    }

    .gate-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 1.5rem;
    }

    .hero-h1 {
        font-size: 2rem;
    }

    .game-window,
    .game-window-full {
        height: 400px;
    }
}
