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

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, #f5f7f0 0%, #e8f0e3 100%);
    color: #2d3e2d;
    line-height: 1.7;
}

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

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

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #228B22 0%, #1a6b1a 100%);
    color: white;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    color: white;
    text-align: center;
}

.sidebar-nav {
    flex: 1;
    padding: 2rem 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #90EE90;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: white;
    font-weight: 600;
}

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

.sidebar-footer {
    padding: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.sidebar-footer p {
    margin: 0.3rem 0;
}

/* Mobile Header */
.mobile-header {
    display: none;
    background: #228B22;
    color: white;
    padding: 1rem;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    width: calc(100% - 280px);
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(34, 139, 34, 0.3);
}

.welcome-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.welcome-banner p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Introduction Section */
.intro-section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #228B22;
}

.intro-section h3 {
    color: #228B22;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.intro-section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #4a5c4a;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card.green {
    border-top: 5px solid #228B22;
}

.info-card.blue {
    border-top: 5px solid #4682B4;
}

.info-card.orange {
    border-top: 5px solid #FF8C00;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.info-card h4 {
    color: #228B22;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: #555;
    line-height: 1.7;
}

/* Featured Game Section */
.featured-game {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header h3 {
    color: #228B22;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.game-embed {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid #228B22;
}

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

.game-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background: #f0f7f0;
    border-radius: 10px;
}

.feature span {
    font-size: 2rem;
}

/* Why Section */
.why-section {
    margin: 3rem 0;
}

.why-section h3 {
    color: #228B22;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

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

.reason-box {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #228B22;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.reason-box:hover {
    box-shadow: 0 5px 25px rgba(34, 139, 34, 0.2);
    transform: translateX(5px);
}

.reason-box h5 {
    color: #228B22;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.reason-box p {
    color: #555;
    font-size: 0.95rem;
}

/* Commitment Section */
.commitment-section {
    background: linear-gradient(135deg, #f0f7f0 0%, #e0f0e0 100%);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
    border: 2px solid #90EE90;
}

.commitment-section h3 {
    color: #228B22;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.commitment-section p {
    font-size: 1.05rem;
    margin: 1rem 0;
    color: #4a5c4a;
}

/* Responsible Footer Section */
.responsible-footer {
    background: #228B22;
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
}

.responsible-footer h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Play Page Styles */
.play-title {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.play-title h2 {
    color: #228B22;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.play-game-section {
    margin: 2rem 0;
}

.game-embed-full {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid #228B22;
}

.game-iframe-full {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.game-guide {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.game-guide h3 {
    color: #228B22;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

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

.guide-item {
    text-align: center;
}

.guide-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guide-item h4 {
    color: #228B22;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.play-notes {
    margin: 3rem 0;
}

.play-notes h3 {
    color: #228B22;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.notes-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #228B22;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.notes-box ul {
    list-style: none;
    padding: 0;
}

.notes-box li {
    padding: 0.8rem;
    margin: 0.5rem 0;
    background: #f0f7f0;
    border-radius: 8px;
    font-size: 1.05rem;
}

.support-box {
    background: linear-gradient(135deg, #f0f7f0 0%, #e0f0e0 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #90EE90;
    text-align: center;
}

.support-box h4 {
    color: #228B22;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Legal Pages */
.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.legal-content h2 {
    color: #228B22;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.last-updated {
    text-align: center;
    color: #888;
    margin-bottom: 2rem;
    font-style: italic;
}

.terms-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9fdf9;
    border-radius: 10px;
    border-left: 5px solid #228B22;
}

.terms-section h3 {
    color: #228B22;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.terms-section p {
    margin: 1rem 0;
    color: #4a5c4a;
    line-height: 1.8;
}

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

.terms-section li {
    margin: 0.5rem 0;
    color: #4a5c4a;
}

.highlight-section {
    background: #fff9e6;
    border-left-color: #FF8C00;
}

/* Footer */
.site-footer {
    background: #1a6b1a;
    color: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem 1.5rem;
    margin-left: 280px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    margin: 0 auto 2rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin: 0.5rem 0;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #90EE90;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

/* Age Verification Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    margin: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-top: 5px solid #228B22;
}

.modal-header h2 {
    color: #228B22;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-body p {
    margin: 1rem 0;
    color: #4a5c4a;
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: center;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn-confirm,
.btn-deny {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Open Sans', sans-serif;
}

.btn-confirm {
    background: #228B22;
    color: white;
}

.btn-confirm:hover {
    background: #1a6b1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(34, 139, 34, 0.4);
}

.btn-deny {
    background: #666;
    color: white;
}

.btn-deny:hover {
    background: #555;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-header {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding: 1rem;
    }

    .site-footer {
        margin-left: 0;
    }

    .welcome-banner h2 {
        font-size: 2rem;
    }

    .game-iframe {
        height: 400px;
    }

    .game-iframe-full {
        height: 500px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .welcome-banner {
        padding: 2rem 1rem;
    }

    .welcome-banner h2 {
        font-size: 1.6rem;
    }

    .game-iframe {
        height: 300px;
    }

    .game-iframe-full {
        height: 400px;
    }

    .legal-content {
        padding: 1.5rem;
    }
}
