/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #18230F;
    --secondary-dark: #27391C;
    --primary-green: #255F38;
    --accent-green: #1F7D53;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-green);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.brand-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

/* Hide mobile navigation by default on all screen sizes */
.nav-menu.mobile-nav {
    display: none;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-link:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.nav-link.active {
    background-color: var(--primary-green);
    color: var(--white);
    position: relative;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent-green);
    border-radius: 2px;
}

/* Enhanced active state styling */
.nav-link.active {
    box-shadow: 0 2px 8px rgba(37, 95, 56, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive active state */
@media (max-width: 768px) {
    .nav-link.active::after {
        width: 16px;
        height: 2px;
        bottom: -1px;
    }
    
    .nav-link.active {
        box-shadow: 0 1px 4px rgba(37, 95, 56, 0.3);
    }
}

/* Active state animations */
.nav-link.active {
    animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(37, 95, 56, 0.3);
    }
    50% {
        box-shadow: 0 2px 12px rgba(37, 95, 56, 0.5);
    }
}

/* Active state hover effects */
.nav-link.active:hover {
    background-color: var(--accent-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 95, 56, 0.4);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(37, 95, 56, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--accent-green), var(--primary-green));
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 95, 56, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* Back to Top Button Icon */
.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Responsive Back to Top Button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .back-to-top svg {
        width: 16px;
        height: 16px;
    }
}

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

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 95, 56, 0.3);
}

.btn-secondary {
    background: var(--accent-green);
    color: var(--white);
    border: 2px solid var(--accent-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(31, 125, 83, 0.3);
}

.btn-login {
    background: var(--primary-green);
    color: var(--white);
}

.btn-login:hover {
    background: var(--accent-green);
}

.btn-register {
    background: var(--accent-green);
    color: var(--white);
}

.btn-register:hover {
    background: var(--primary-green);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Auth Buttons */
.mobile-auth {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .mobile-auth {
        display: flex;
    }
    
    .auth-buttons:not(.mobile-auth) {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    color: var(--white);
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

.section-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 95, 56, 0.3);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.feature-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Login and Register Sections */
.login-section,
.register-section {
    padding: 5rem 0;
}

.login-section {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
}

.login-section .section-title,
.login-section .section-description {
    color: var(--white);
}

/* Login Section Layout */
.login-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.login-section-content {
    text-align: left;
}

.login-section-image {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.login-section-image img:hover {
    transform: rotate(0deg) scale(1.05);
}

/* Register Section Layout */
.register-section .container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
}

.register-section-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.register-section-image {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.register-section-image img {
    max-width: 280px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    border: 3px solid var(--white);
}

.register-section-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

/* Benefits Grid Styling for Register Section */
.register-section .benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem auto;
    max-width: 900px;
}

.register-section .benefit-item {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.register-section .benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.register-section .benefit-item h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-section .benefit-item p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .login-section-content {
        text-align: center;
    }
    
    .login-section-image img {
        transform: rotate(0deg);
        max-width: 80%;
    }
    
    .register-section .container {
        gap: 2rem;
    }
    
    .register-section .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .register-section-image {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .register-section-image img {
        max-width: 80%;
    }
}

.auth-section {
    text-align: center;
    margin-top: 2rem;
}

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

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-item h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

/* Games Section */
.games-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary-dark), var(--primary-dark));
    color: var(--white);
}

.games-section .section-title,
.games-section .section-description {
    color: var(--white);
}

.games-subtitle {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

.game-card {
    background: var(--white);
    color: var(--text-dark);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.game-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.game-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.games-description {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Games Slider Section - WinZO Style */
.games-slider-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.games-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="8" fill="rgba(255,255,255,0.03)">🎮</text></svg>') repeat;
    pointer-events: none;
}

.slider-header {
    text-align: center;
    margin-bottom: 60px;
}

.slider-header .section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.slider-header .emoji {
    font-size: 3rem;
    margin-left: 15px;
}

.language-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.mobile-games-slider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    overflow: visible;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: -30px;
}

.slider-nav.next {
    right: -30px;
}

/* Mobile-specific navigation positioning */
@media (max-width: 768px) {
    .slider-nav.prev {
        left: -15px;
    }
    
    .slider-nav.next {
        right: -15px;
    }
}

@media (max-width: 480px) {
    .slider-nav.prev {
        left: -10px;
    }
    
    .slider-nav.next {
        right: -10px;
    }
}

.slider-nav svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.mobile-slider-container {
    overflow: hidden;
    margin-bottom: 40px;
}

.mobile-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 600px;
    perspective: 1000px;
}

.mobile-slide {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}

/* Position slides in a fanned, overlapping arrangement */
.mobile-slide[data-slide="0"] {
    transform: translateX(-200px) translateY(20px) rotateY(-15deg) scale(0.7);
    opacity: 0.4;
    z-index: 1;
}

.mobile-slide[data-slide="1"] {
    transform: translateX(-100px) translateY(10px) rotateY(-8deg) scale(0.8);
    opacity: 0.6;
    z-index: 2;
}

.mobile-slide[data-slide="2"] {
    transform: translateX(0) translateY(0) rotateY(0deg) scale(1);
    opacity: 1;
    z-index: 5;
}

.mobile-slide[data-slide="3"] {
    transform: translateX(100px) translateY(10px) rotateY(8deg) scale(0.8);
    opacity: 0.6;
    z-index: 2;
}

.mobile-slide[data-slide="4"] {
    transform: translateX(200px) translateY(20px) rotateY(15deg) scale(0.7);
    opacity: 0.4;
    z-index: 1;
}

/* Active slide styling */
.mobile-slide.active {
    transform: translateX(0) translateY(0) rotateY(0deg) scale(1);
    opacity: 1;
    z-index: 5;
}

/* Hover effects for side slides */
.mobile-slide:hover {
    transform: translateX(0) translateY(0) rotateY(0deg) scale(1.05);
    opacity: 0.9;
    z-index: 10;
}

.mobile-screen {
    position: relative;
    width: 280px;
    height: 500px;
    padding: 8px;
    margin-bottom: 20px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced 3D effects for active slide */
.mobile-slide.active .mobile-screen {
    filter: brightness(1.1);
}

/* Side slide effects */
.mobile-slide:not(.active) .mobile-screen {
    filter: brightness(0.8) contrast(0.9);
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #333, #222);
    border-radius: 20px;
    padding: 3px;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 17px;
    overflow: hidden;
    position: relative;
}

.game-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 17px;
}

.game-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #ff6b35, #ff6b35, #f7931e);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.prize-amount {
    font-size: 1rem;
}

.game-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.game-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    margin-bottom: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.game-icon:hover {
    transform: scale(1.1);
}

.game-name {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.game-thumbnails {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

/* Enhanced thumbnail styling */
.thumbnail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    transform: scale(0.9);
}

.thumbnail-item.active {
    opacity: 1;
    transform: scale(1.1);
}

.thumbnail-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail-item.active .thumbnail-icon {
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    border: 2px solid rgba(255, 107, 53, 0.6);
}

.thumbnail-item.active .thumbnail-name {
    color: #ff6b35;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}



.thumbnail-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.thumbnail-name {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.5px;
}

.slider-slogan {
    text-align: center;
    margin-top: 40px;
}

.slider-slogan p {
    color: var(--white);
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Design for Games Slider */
@media (max-width: 768px) {
    .games-slider-section {
        padding: 60px 0;
    }
    
    .slider-header .section-title {
        font-size: 2.5rem;
    }
    
    .mobile-games-slider {
        padding: 0 60px;
        max-width: 100%;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav.prev {
        left: -20px;
    }
    
    .slider-nav.next {
        right: -20px;
    }
    
    .mobile-screen {
        width: 240px;
        height: 420px;
    }
    
    /* Adjust fanned layout for mobile */
    .mobile-slide[data-slide="0"] {
        transform: translateX(-120px) translateY(15px) rotateY(-10deg) scale(0.6);
    }
    
    .mobile-slide[data-slide="1"] {
        transform: translateX(-60px) translateY(8px) rotateY(-5deg) scale(0.7);
    }
    
    .mobile-slide[data-slide="3"] {
        transform: translateX(60px) translateY(8px) rotateY(5deg) scale(0.7);
    }
    
    .mobile-slide[data-slide="4"] {
        transform: translateX(120px) translateY(15px) rotateY(10deg) scale(0.6);
    }
    
    .game-thumbnails {
        gap: 15px;
    }
    
    .thumbnail-icon {
        width: 40px;
        height: 40px;
    }
    
    .thumbnail-name {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .slider-header .section-title {
        font-size: 2rem;
    }
    
    .mobile-games-slider {
        padding: 0 40px;
    }
    
    .mobile-screen {
        width: 200px;
        height: 350px;
    }
    
    .game-thumbnails {
        gap: 10px;
    }
    
    .thumbnail-icon {
        width: 35px;
        height: 35px;
    }
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.benefit-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    border-left: 4px solid var(--primary-green);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-card cite {
    color: var(--primary-green);
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
}

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

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

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-item p {
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--light-gray);
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-green);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    padding: 0.5rem 1rem;
    background: var(--primary-green);
    border-radius: 4px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--secondary-dark);
}

.footer-bottom p {
    color: var(--white);
    opacity: 0.9;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu.desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        display: none;
    }
    
    .mobile-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        display: flex;
    }
    
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .games-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000000;
        --text-light: #333333;
        --light-gray: #ffffff;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.page-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.page-date {
    font-size: 1rem;
    opacity: 0.8;
}

/* Content Section Styles */
.privacy-content,
.terms-content,
.disclaimer-content {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.privacy-section,
.terms-section,
.disclaimer-section {
    margin-bottom: 3rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(37, 95, 56, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.privacy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
}

.privacy-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 95, 56, 0.15);
    border-color: rgba(37, 95, 56, 0.2);
}

.privacy-section h2,
.terms-section h2,
.disclaimer-section h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-left: 1rem;
}

.privacy-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 2rem;
    background: var(--accent-green);
    border-radius: 2px;
}

.privacy-section h3,
.terms-section h3,
.disclaimer-section h3 {
    color: var(--secondary-dark);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-section h3::before {
    content: '•';
    color: var(--accent-green);
    font-size: 1.8rem;
    font-weight: bold;
}

.privacy-section p,
.terms-section p,
.disclaimer-section p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.privacy-section ul,
.terms-section ul,
.disclaimer-section ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.privacy-section li,
.terms-section li,
.disclaimer-section li {
    margin-bottom: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(37, 95, 56, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--accent-green);
    position: relative;
    transition: all 0.3s ease;
}

.privacy-section li:hover {
    background: rgba(37, 95, 56, 0.1);
    transform: translateX(4px);
}

.privacy-section li::before {
    content: '✓';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-green);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Enhanced Privacy Content Responsive Design */
@media (max-width: 768px) {
    .privacy-content,
    .terms-content,
    .disclaimer-content {
        padding: 2rem 0;
    }
    
    .privacy-section,
    .terms-section,
    .disclaimer-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 12px;
    }
    
    .privacy-section h2,
    .terms-section h2,
    .disclaimer-section h2 {
        font-size: 1.6rem;
        padding-left: 0.8rem;
    }
    
    .privacy-section h2::before {
        width: 3px;
        height: 1.5rem;
    }
    
    .privacy-section h3,
    .terms-section h3,
    .disclaimer-section h3 {
        font-size: 1.3rem;
        margin: 1.5rem 0 0.8rem;
    }
    
    .privacy-section p,
    .terms-section p,
    .disclaimer-section p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .privacy-section li,
    .terms-section li,
    .disclaimer-section li {
        padding: 0.6rem 0.8rem;
        margin-bottom: 0.6rem;
    }
}

/* Performance Optimizations for Legal Pages */
.privacy-content,
.terms-content,
.disclaimer-content {
    will-change: transform;
    contain: layout style paint;
    /* Optimize rendering */
    transform: translateZ(0);
    backface-visibility: hidden;
}

.privacy-section,
.terms-section,
.disclaimer-section {
    will-change: transform;
    contain: layout style paint;
    backface-visibility: hidden;
    transform: translateZ(0);
    /* Reduce paint complexity */
    border-radius: 16px;
    /* Use hardware acceleration */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
}

/* Optimize list items for better performance */
.privacy-section li,
.terms-section li,
.disclaimer-section li {
    /* Use transform instead of margin for better performance */
    transform: translateZ(0);
    will-change: transform;
    contain: layout style;
}

/* Optimize animations for better performance */
@media (prefers-reduced-motion: reduce) {
    .privacy-section:hover,
    .terms-section:hover,
    .disclaimer-section:hover {
        transform: none;
    }
    
    .privacy-section li:hover,
    .terms-section li:hover,
    .disclaimer-section li:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .privacy-section,
    .terms-section,
    .disclaimer-section {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .privacy-section h2,
    .terms-section h2,
    .disclaimer-section h2 {
        font-size: 1.4rem;
        padding-left: 0.6rem;
    }
    
    .privacy-section h3,
    .terms-section h3,
    .disclaimer-section h3 {
        font-size: 1.2rem;
    }
    
    .privacy-section li,
    .terms-section li,
    .disclaimer-section li {
        padding: 0.5rem 0.6rem;
        font-size: 0.95rem;
    }
}

/* Special styling for important privacy sections */
.privacy-section:has(h2:contains("Data Security")) {
    border-left: 4px solid var(--accent-green);
}

.privacy-section:has(h2:contains("Your Rights")) {
    border-left: 4px solid var(--primary-green);
}

/* Enhanced list item styling for different types */
.privacy-section li strong {
    color: var(--primary-green);
    font-weight: 600;
}

.privacy-section li a {
    color: var(--accent-green);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.privacy-section li a:hover {
    border-bottom-color: var(--accent-green);
}

.contact-info {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Story Section Styles */
.story-section {
    padding: 5rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.story-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Mission Section Styles */
.mission-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

.mission-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.mission-card h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.mission-card p {
    line-height: 1.7;
}

/* Values Section Styles */
.values-section {
    padding: 5rem 0;
}

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

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.value-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 95, 56, 0.3);
}

.value-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.value-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Team Section Styles */
.team-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.member-role {
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.expertise-tag {
    background: var(--light-gray);
    color: var(--primary-green);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Achievements Section Styles */
.achievements-section {
    padding: 5rem 0;
}

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

.achievement-item {
    text-align: center;
    padding: 1.5rem;
}

.achievement-item h3 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.achievement-item p {
    color: var(--text-light);
    font-weight: 500;
}

/* Commitment Section Styles */
.commitment-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.commitment-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.commitment-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.commitment-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

/* FAQ Styles */
.faq-categories {
    padding: 3rem 0;
    background: var(--light-gray);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-tab {
    background: var(--white);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.category-tab.active,
.category-tab:hover {
    background: var(--primary-green);
    color: var(--white);
}

.faq-content {
    padding: 4rem 0;
}

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
}

.category-title {
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-gray);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--primary-green);
    color: var(--white);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-green);
}

.faq-question:hover .faq-toggle {
    color: var(--white);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 1.5rem 0;
    margin: 0;
    line-height: 1.6;
}

/* Contact Form Styles */
.contact-info-section {
    padding: 4rem 0;
}

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

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 95, 56, 0.3);
}

.contact-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.contact-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent-green);
}

.contact-form-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* FAQ Preview Section */
.faq-preview-section {
    padding: 4rem 0;
}

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

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-cta {
    text-align: center;
}

/* Office Section */
.office-section {
    padding: 4rem 0;
}

.office-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.office-info h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.office-info p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.map-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Support Team Styles */
.team-intro {
    padding: 4rem 0;
    background: var(--light-gray);
}

.support-team {
    padding: 4rem 0;
}

.support-services {
    padding: 4rem 0;
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.support-channels {
    padding: 4rem 0;
}

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

.channel-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.channel-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.channel-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.channel-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.channel-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.support-commitment {
    padding: 4rem 0;
    background: var(--light-gray);
}

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

.commitment-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.commitment-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

/* 404 Error Page Styles */
.error-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-number {
    font-size: 8rem;
    font-weight: bold;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.error-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-image {
    text-align: center;
    margin-top: 3rem;
}

.error-img {
    max-width: 400px;
    height: auto;
    border-radius: 10px;
}

.helpful-links {
    padding: 4rem 0;
}

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

.link-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.link-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.link-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-light);
}

.search-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.search-options {
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.search-suggestions h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    text-align: center;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.suggestion-tag {
    background: var(--white);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary-green);
}

.suggestion-tag:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* Questions Section */
.questions-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.questions-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .story-content,
    .office-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .error-number {
        font-size: 6rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .search-box {
        flex-direction: column;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 