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

:root {
    --forest-green: #2d5016;
    --lime-green: #7cb342;
    --light-green: #aed581;
    --cream-bg: #f5f5dc;
    --orange: #ff8c42;
    --berry-red: #d32f2f;
    --sky-blue: #42a5f5;
    --dark-text: #1b3409;
    --light-text: #f0f4f0;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom right, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
    background-attachment: fixed;
    color: var(--dark-text);
    line-height: 1.8;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-header {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--lime-green) 100%);
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-graphic {
    font-size: 3rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.site-logo {
    font-size: 2rem;
    color: var(--light-text);
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--light-text);
    transition: 0.3s;
}

.main-menu {
    background: var(--lime-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu-list {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.menu-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 5px 5px 0 0;
}

.menu-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.menu-link.active {
    background: var(--forest-green);
    color: var(--light-green);
}

.content-area {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
}

.intro-hero {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.3) 0%, rgba(174, 213, 129, 0.3) 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 3px solid var(--lime-green);
}

.hero-title {
    font-size: 2.8rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.3rem;
    color: var(--dark-text);
    font-style: italic;
}

.about-block {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 6px solid var(--lime-green);
}

.about-content h3 {
    color: var(--forest-green);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.key-points, .game-showcase, .features-showcase, .responsible-gaming {
    margin-bottom: 3rem;
}

.section-heading {
    text-align: center;
    font-size: 2rem;
    color: var(--forest-green);
    margin-bottom: 2.5rem;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.point-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid;
    transition: transform 0.3s ease;
}

.point-card:hover {
    transform: translateY(-8px);
}

.card-red {
    border-color: var(--berry-red);
}

.card-blue {
    border-color: var(--sky-blue);
}

.card-orange {
    border-color: var(--orange);
}

.point-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.point-card h4 {
    color: var(--forest-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.game-showcase {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--lime-green);
}

.showcase-description {
    margin-bottom: 2.5rem;
}

.showcase-description p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.game-window {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.game-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.2) 0%, rgba(174, 213, 129, 0.2) 100%);
    border-radius: 10px;
    border-left: 5px solid var(--lime-green);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--light-green);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--lime-green);
}

.feature-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-box h4 {
    color: var(--forest-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.responsible-gaming {
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.4) 0%, rgba(45, 80, 22, 0.4) 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 3px solid var(--forest-green);
}

.responsible-content h3 {
    color: var(--forest-green);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.responsible-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--dark-text);
}

.responsible-highlight {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--forest-green);
    margin-top: 2rem;
}

.site-footer {
    background: linear-gradient(to top, var(--forest-green) 0%, var(--lime-green) 100%);
    color: var(--light-text);
    padding: 3rem 2rem;
    margin-top: auto;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.footer-column h4 {
    color: var(--light-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--light-green);
}

.footer-column p {
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.entry-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.95) 0%, rgba(124, 179, 66, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.entry-gate.hidden {
    display: none;
}

.gate-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 5px solid var(--lime-green);
}

.gate-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--forest-green);
    margin-bottom: 1.5rem;
    font-family: 'Merriweather', serif;
}

.gate-message {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.gate-note {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    color: var(--dark-text);
    opacity: 0.8;
}

.gate-buttons {
    display: flex;
    gap: 1rem;
}

.gate-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.enter-btn {
    background: var(--lime-green);
    color: white;
}

.enter-btn:hover {
    background: var(--forest-green);
    transform: scale(1.05);
}

.exit-btn {
    background: var(--berry-red);
    color: white;
}

.exit-btn:hover {
    background: #b71c1c;
    transform: scale(1.05);
}

.page-banner {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--lime-green);
}

.page-banner h2 {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 0.5rem;
}

.banner-subtitle {
    font-size: 1.2rem;
    color: var(--dark-text);
    font-style: italic;
}

.critical-banner {
    border-color: var(--berry-red);
    border-width: 4px;
}

.about-game, .game-display, .how-to-play, .game-features, .technical-specs, .play-reminders {
    margin-bottom: 3rem;
}

.about-game, .how-to-play, .game-features, .technical-specs, .play-reminders {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-left: 6px solid var(--lime-green);
}

.about-game h3, .how-to-play h3, .game-features h3, .technical-specs h3, .play-reminders h3 {
    color: var(--forest-green);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.game-info p, .specs-content p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.instructions-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.instruction-step {
    display: flex;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.1) 0%, rgba(174, 213, 129, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--light-green);
}

.step-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--lime-green);
    font-family: 'Merriweather', serif;
    min-width: 50px;
}

.step-content h4 {
    color: var(--forest-green);
    margin-bottom: 0.5rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.list-item {
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.1) 0%, rgba(174, 213, 129, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--lime-green);
}

.list-item strong {
    color: var(--forest-green);
    display: block;
    margin-bottom: 0.5rem;
}

.reminders-block {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(255, 140, 66, 0.1) 100%);
    padding: 2rem;
    border-radius: 10px;
}

.reminder-list {
    list-style: none;
    padding: 0;
}

.reminder-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.reminder-list li:before {
    content: "🍓";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.terms-section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-left: 6px solid var(--lime-green);
}

.terms-section h3 {
    color: var(--forest-green);
    margin-bottom: 1.5rem;
    font-size: 1.7rem;
}

.terms-section h4 {
    color: var(--forest-green);
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.terms-section p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.terms-section ul {
    margin: 1rem 0 1rem 2rem;
}

.terms-section li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.highlight-section {
    border: 4px solid var(--berry-red);
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(255, 140, 66, 0.1) 100%);
}

.emphasis {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .main-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 80px);
        transition: left 0.3s ease;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    }

    .main-menu.active {
        left: 0;
    }

    .menu-list {
        flex-direction: column;
        padding: 2rem 0;
    }

    .menu-link {
        border-radius: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .content-area {
        padding: 2rem 1rem;
    }

    .points-grid, .features-container, .instructions-layout, .features-list {
        grid-template-columns: 1fr;
    }

    .about-block, .game-showcase, .about-game, .how-to-play, .game-features, .technical-specs, .play-reminders, .terms-section {
        padding: 1.5rem;
    }

    .gate-box {
        margin: 1rem;
        padding: 2rem;
    }

    .gate-buttons {
        flex-direction: column;
    }

    .game-window {
        padding-bottom: 120%;
    }
}
