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

:root {
    --primary-color: #347433;
    --secondary-color: #FFC107;
    --accent-color: #FF6F3C;
    --danger-color: #B22222;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #666666;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #2a2a2a;
    --border-color: #333333;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--text-dark);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-login {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
    margin-right: 1rem;
}

.btn-login:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.btn-register {
    background: var(--gradient-primary);
    color: var(--text-light);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

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

.nav-logo img {
    height: 50px;
    width: auto;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    opacity: 0.05;
    animation: float 20s ease-in-out infinite;
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

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

.hero-image img {
    width: 100%;
    height: auto;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

/* Features Section */
.features-section {
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

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

.feature-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Login & Register Sections */
.login-section, .register-section {
    background: var(--bg-primary);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 116, 51, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    pointer-events: none;
}

/* Register Section Specific Styles */
.register-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 111, 60, 0.05) 100%);
    pointer-events: none;
}

.register-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.register-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.register-content h2 {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.register-content p {
    animation: fadeInUp 0.8s ease-out 0.2s both;
    margin-bottom: 2rem;
}

.register-content .btn {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.register-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.register-images img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.register-images img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Login Section Specific Styles */
.login-section .container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.login-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.login-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.login-image img {
    width: 100%;
    height: auto;

    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.login-image img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-hover);
}

.login-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: 0;
    opacity: 0;
    transition: var(--transition);
}

.login-image:hover::before {
    opacity: 0.3;
}

.login-content h2, .register-content h2 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.login-content p, .register-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* About Section */
.about-section {
    background: var(--bg-secondary);
}

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

.about-content h2 {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Games Section */
.games-section {
    background: var(--bg-primary);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 116, 51, 0.05) 0%, rgba(255, 193, 7, 0.03) 100%);
    pointer-events: none;
}

.games-slider-container {
    margin-top: 3rem;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--bg-secondary);
}

.games-slider {
    display: flex;
    gap: 2rem;
    width: max-content;
    min-width: calc(5 * 120px + 4 * 2rem);
    padding: 1rem 0;
}

/* Custom Scrollbar Styles */
.games-slider-container::-webkit-scrollbar {
    height: 8px;
}

.games-slider-container::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.games-slider-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    border-radius: 4px;
    transition: all 0.3s ease;
}

.games-slider-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-color));
    transform: scale(1.1);
}

.game-card.slide {
    min-width: 120px;
    flex-shrink: 0;
    transform: scale(0.9);
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%);
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.game-card.slide.active {
    transform: scale(1);
    opacity: 1;
    filter: grayscale(0%);
}

.game-card.slide:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}





/* Responsive Slider */
@media (max-width: 768px) {
    .games-slider {
        gap: 1rem;
    }
    
    .game-card.slide {
        min-width: 250px;
    }
    
    .games-slider-container::-webkit-scrollbar {
        height: 6px;
    }
}

.game-card img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

.game-card h3 {
    color: var(--text-light);
    padding: 0.75rem 0.75rem 0.25rem;
    font-size: 0.9rem;
}

.game-card p {
    padding: 0 0.75rem 0.75rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Benefits Section */
.benefits-section {
    background: var(--bg-secondary);
}

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

.benefit-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.benefit-item h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--text-muted);
}

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

.testimonial-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    font-family: serif;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.testimonial-author {
    color: var(--accent-color);
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    background: var(--bg-secondary);
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* CTA Section */
.cta-section {
    background: var(--bg-primary);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

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

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h3, .footer-section h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-muted);
}

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

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

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

.footer-section ul li a:hover {
    color: var(--primary-color);
}

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

.footer-bottom p {
    color: var(--text-muted);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.back-to-top.show {
    display: flex;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .login-section .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .login-content {
        text-align: center;
    }
    
    .login-image {
        order: 1;
    }
    
    .login-content {
        order: 2;
    }
    
    /* Register Section Mobile Styles */
    .register-section .container {
        gap: 1.5rem;
    }
    
    .register-content {
        max-width: 100%;
    }
    
    .register-images {
        gap: 1rem;
    }
    
                .register-images img {
                width: auto;
                height: auto;
                max-width: 100%;
                max-height: 300px;
            }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features-grid,
    .games-grid,
    .benefits-grid,
    .testimonials-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

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

/* Focus Styles */
.btn:focus,
.nav-link:focus,
.game-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --text-muted: #ffffff;
        --border-color: #ffffff;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* 404 Error Page Styles */
.error-404-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.error-404-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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23347433" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.error-content {
    text-align: center;
    max-width: 800px;
    padding: 3rem;
    background: rgba(42, 42, 42, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(52, 116, 51, 0.3);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-number {
    font-size: clamp(8rem, 20vw, 12rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(52, 116, 51, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
    line-height: 1;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(52, 116, 51, 0.3));
    }
    to {
        filter: drop-shadow(0 0 40px rgba(52, 116, 51, 0.6));
    }
}

.error-content h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.error-actions .btn {
    min-width: 200px;
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.error-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(52, 116, 51, 0.4);
    border-color: var(--secondary-color);
}

.error-actions .btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.error-actions .btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

.error-help {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(52, 116, 51, 0.2);
    animation: fadeIn 1s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-help h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.error-help p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.help-links a {
    display: block;
    padding: 1rem 1.5rem;
    background: rgba(52, 116, 51, 0.1);
    border: 1px solid rgba(52, 116, 51, 0.3);
    border-radius: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.help-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 116, 51, 0.2), transparent);
    transition: left 0.5s;
}

.help-links a:hover::before {
    left: 100%;
}

.help-links a:hover {
    background: rgba(52, 116, 51, 0.2);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 116, 51, 0.3);
}

/* Floating Elements Animation */
.error-404-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(52, 116, 51, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    right: 10%;
    animation: floatElement 6s ease-in-out infinite;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

/* Responsive Design for 404 Page */
@media (max-width: 768px) {
    .error-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .error-number {
        font-size: clamp(6rem, 25vw, 8rem);
    }
    
    .error-content h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .error-content p {
        font-size: 1.1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn {
        min-width: 250px;
    }
    
    .help-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .error-content {
        padding: 1.5rem 1rem;
    }
    
    .error-number {
        font-size: clamp(5rem, 30vw, 6rem);
    }
    
    .error-content h1 {
        font-size: clamp(1.8rem, 10vw, 2rem);
    }
    
    .error-content p {
        font-size: 1rem;
    }
    
    .error-actions .btn {
        min-width: 200px;
        padding: 0.875rem 1.5rem;
    }
    
    .error-help {
        padding: 1.5rem 1rem;
    }
    
    .help-links a {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
}

/* About Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--primary-color) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::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"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="%23FFC107" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.4;
    animation: float 15s ease-in-out infinite;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.4rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* About Story Section */
.about-story {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-story .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    color: var(--text-light);
}

.story-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-top: 2rem;
}

.story-image:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

.story-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 116, 51, 0.2), rgba(255, 111, 60, 0.2));
    opacity: 0;
    transition: var(--transition);
}

.story-image:hover::before {
    opacity: 1;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.mission-vision .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.mission-content,
.vision-content {
    background: rgba(42, 42, 42, 0.8);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(52, 116, 51, 0.3);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.mission-content:hover,
.vision-content:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(52, 116, 51, 0.2);
}

.mission-content::before,
.vision-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.mission-content h2,
.vision-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.mission-content p,
.vision-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Values Section */
.values-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    color: var(--text-light);
}

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

.value-card {
    background: rgba(42, 42, 42, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(52, 116, 51, 0.2);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 116, 51, 0.1), rgba(255, 111, 60, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(52, 116, 51, 0.3);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

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

.value-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.team-intro {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

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

.team-member {
    background: rgba(42, 42, 42, 0.9);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(52, 116, 51, 0.2);
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(52, 116, 51, 0.3);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-light);
    padding: 0 1.5rem;
}

.team-member p {
    color: var(--text-muted);
    line-height: 1.6;
    padding: 0 1.5rem 1.5rem;
}

/* Achievements Section */
.achievements-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.achievement-item {
    background: rgba(42, 42, 42, 0.9);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(52, 116, 51, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 116, 51, 0.1), rgba(255, 193, 7, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.achievement-item:hover::before {
    opacity: 1;
}

.achievement-item:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(52, 116, 51, 0.3);
}

.achievement-number {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.achievement-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Enhanced CTA Section for About Page */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-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"><defs><pattern id="stars" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.3"/><circle cx="10" cy="10" r="0.5" fill="%23ffffff" opacity="0.2"/><circle cx="40" cy="40" r="0.8" fill="%23ffffff" opacity="0.25"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.4;
    animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0 3rem;
    }
    
    .about-story .container,
    .mission-vision .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-content {
        order: 1;
    }
    
    .story-image {
        order: 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: clamp(2.5rem, 12vw, 3rem);
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .about-story,
    .mission-vision,
    .values-section,
    .team-section,
    .achievements-section,
    .cta-section {
        padding: 3rem 0;
    }
    
    .story-content h2,
    .mission-content h2,
    .vision-content h2,
    .section-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-item {
        padding: 2rem 1rem;
    }
    
    .value-card,
    .team-member {
        padding: 2rem 1.5rem;
    }
}

/* Contact Page Styles */
.contact-info-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.contact-info-section h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.contact-info-section > .container > p {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

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

.contact-method {
    background: rgba(42, 42, 42, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(52, 116, 51, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 116, 51, 0.1), rgba(255, 111, 60, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.contact-method:hover::before {
    opacity: 1;
}

.contact-method:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(52, 116, 51, 0.3);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.contact-method h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-method p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-method strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Contact Form Section */
.contact-form-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(42, 42, 42, 0.9);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(52, 116, 51, 0.3);
    box-shadow: var(--shadow);
}

.contact-form-container h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-form-container > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid rgba(52, 116, 51, 0.3);
    border-radius: 12px;
    background: rgba(26, 26, 26, 0.8);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkbox-label a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.checkbox-label a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* FAQ Preview Section */
.faq-preview-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.faq-preview-section h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.faq-preview-section > .container > p {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

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

.faq-preview-item {
    background: rgba(42, 42, 42, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(52, 116, 51, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.faq-preview-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.faq-preview-item:hover::before {
    opacity: 1;
}

.faq-preview-item:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(52, 116, 51, 0.3);
}

.faq-preview-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.3;
}

.faq-preview-item p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.faq-preview-item .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Support Hours Section */
.support-hours-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.support-hours-section h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    color: var(--text-light);
}

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

.support-hours-item {
    background: rgba(42, 42, 42, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(52, 116, 51, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.support-hours-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 116, 51, 0.05), rgba(255, 193, 7, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.support-hours-item:hover::after {
    opacity: 1;
}

.support-hours-item:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(52, 116, 51, 0.3);
}

.support-hours-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.support-hours-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Enhanced CTA Section for Contact Page */
.contact-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta-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"><defs><pattern id="contact-stars" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.3"/><circle cx="10" cy="10" r="0.5" fill="%23ffffff" opacity="0.2"/><circle cx="40" cy="40" r="0.8" fill="%23ffffff" opacity="0.25"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-stars)"/></svg>');
    opacity: 0.4;
    animation: twinkle 8s ease-in-out infinite;
}

.contact-cta-content {
    position: relative;
    z-index: 2;
}

.contact-cta-content h2 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.contact-cta-content p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.contact-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-cta-buttons .btn {
    min-width: 200px;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-info-section,
    .contact-form-section,
    .faq-preview-section,
    .support-hours-section {
        padding: 4rem 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .contact-methods-grid,
    .faq-preview-grid,
    .support-hours-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-cta-buttons .btn {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .contact-info-section h2,
    .faq-preview-section h2,
    .support-hours-section h2 {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .contact-info-section > .container > p,
    .faq-preview-section > .container > p {
        font-size: 1.1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-method,
    .faq-preview-item,
    .support-hours-item {
        padding: 2rem 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
}

/* Legal Pages Styles (Disclaimer, Terms & Conditions, Privacy Policy) */
.legal-intro,
.disclaimer-intro,
.terms-intro,
.policy-intro {
    padding: 4rem 0;
    background: var(--bg-secondary);
    text-align: center;
}

.legal-intro .container,
.disclaimer-intro .container,
.terms-intro .container,
.policy-intro .container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-intro h2,
.disclaimer-intro h2,
.terms-intro h2,
.policy-intro h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.legal-intro p,
.disclaimer-intro p,
.terms-intro p,
.policy-intro p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-intro p:first-of-type,
.disclaimer-intro p:first-of-type,
.terms-intro p:first-of-type,
.policy-intro p:first-of-type {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
}

/* Legal Content Sections */
.legal-section,
.disclaimer-section,
.terms-section,
.policy-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.legal-section:nth-child(even),
.disclaimer-section:nth-child(even),
.terms-section:nth-child(even),
.policy-section:nth-child(even) {
    background: var(--bg-secondary);
}

.legal-section h2,
.disclaimer-section h2,
.terms-section h2,
.policy-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    color: var(--text-light);
    text-align: center;
}

.legal-content,
.disclaimer-content,
.terms-content,
.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content p,
.disclaimer-content p,
.terms-content p,
.policy-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Grid Layouts for Legal Pages */
.gaming-disclaimer-grid,
.financial-disclaimer-grid,
.technical-disclaimer-grid,
.third-party-disclaimer-grid,
.services-grid,
.responsibilities-grid,
.prohibited-grid,
.policy-grid,
.usage-grid,
.sharing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Grid Items for Legal Pages */
.gaming-disclaimer-item,
.financial-disclaimer-item,
.technical-disclaimer-item,
.third-party-disclaimer-item,
.service-item,
.responsibility-item,
.prohibited-item,
.policy-item,
.usage-item,
.sharing-item {
    background: rgba(42, 42, 42, 0.9);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(52, 116, 51, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.gaming-disclaimer-item::before,
.financial-disclaimer-item::before,
.technical-disclaimer-item::before,
.third-party-disclaimer-item::before,
.service-item::before,
.responsibility-item::before,
.prohibited-item::before,
.policy-item::before,
.usage-item::before,
.sharing-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.gaming-disclaimer-item:hover::before,
.financial-disclaimer-item:hover::before,
.technical-disclaimer-item:hover::before,
.third-party-disclaimer-item:hover::before,
.service-item:hover::before,
.responsibility-item:hover::before,
.prohibited-item:hover::before,
.policy-item:hover::before,
.usage-item:hover::before,
.sharing-item:hover::before {
    opacity: 1;
}

.gaming-disclaimer-item:hover,
.financial-disclaimer-item:hover,
.technical-disclaimer-item:hover,
.third-party-disclaimer-item:hover,
.service-item:hover,
.responsibility-item:hover,
.prohibited-item:hover,
.policy-item:hover,
.usage-item:hover,
.sharing-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(52, 116, 51, 0.3);
}

.gaming-disclaimer-item h3,
.financial-disclaimer-item h3,
.technical-disclaimer-item h3,
.third-party-disclaimer-item h3,
.service-item h3,
.responsibility-item h3,
.prohibited-item h3,
.policy-item h3,
.usage-item h3,
.sharing-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.gaming-disclaimer-item p,
.financial-disclaimer-item p,
.technical-disclaimer-item p,
.third-party-disclaimer-item p,
.service-item p,
.responsibility-item p,
.prohibited-item p,
.policy-item p,
.usage-item p,
.sharing-item p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Lists in Legal Pages */
.legal-content ul,
.disclaimer-content ul,
.terms-content ul,
.policy-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-content li,
.disclaimer-content li,
.terms-content li,
.policy-content li {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-content li::before,
.disclaimer-content li::before,
.terms-content li::before,
.policy-content li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: -1.2rem;
}

/* Important Notice Boxes */
.important-notice {
    background: rgba(178, 34, 34, 0.1);
    border: 2px solid rgba(178, 34, 34, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.important-notice::before {
    content: '⚠️';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.3;
}

.important-notice h3 {
    color: var(--danger-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.important-notice p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Warning Boxes */
.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.warning-box::before {
    content: '⚠️';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.3;
}

.warning-box h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.warning-box p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Info Boxes */
.info-box {
    background: rgba(52, 116, 51, 0.1);
    border: 2px solid rgba(52, 116, 51, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: 'ℹ️';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.3;
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-box p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Table Styling for Legal Pages */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(42, 42, 42, 0.9);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.legal-table th,
.legal-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(52, 116, 51, 0.2);
}

.legal-table th {
    background: rgba(52, 116, 51, 0.2);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
}

.legal-table td {
    color: var(--text-muted);
    line-height: 1.6;
}

.legal-table tr:hover {
    background: rgba(52, 116, 51, 0.05);
}

/* Last Updated Section */
.last-updated {
    background: rgba(255, 111, 60, 0.1);
    border: 2px solid rgba(255, 111, 60, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.last-updated p {
    color: var(--accent-color);
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

/* Contact Information in Legal Pages */
.legal-contact {
    background: rgba(42, 42, 42, 0.9);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(52, 116, 51, 0.3);
    text-align: center;
}

.legal-contact h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.legal-contact p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.legal-contact a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.legal-contact a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-intro,
    .disclaimer-intro,
    .terms-intro,
    .policy-intro,
    .legal-section,
    .disclaimer-section,
    .terms-section,
    .policy-section {
        padding: 3rem 0;
    }
    
    .gaming-disclaimer-grid,
    .financial-disclaimer-grid,
    .technical-disclaimer-grid,
    .third-party-disclaimer-grid,
    .services-grid,
    .responsibilities-grid,
    .prohibited-grid,
    .policy-grid,
    .usage-grid,
    .sharing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .legal-content,
    .disclaimer-content,
    .terms-content,
    .policy-content {
        padding: 0 1rem;
    }
    
    .important-notice,
    .warning-box,
    .info-box {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .legal-table {
        font-size: 0.9rem;
    }
    
    .legal-table th,
    .legal-table td {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .legal-intro h2,
    .disclaimer-intro h2,
    .terms-intro h2,
    .policy-intro h2,
    .legal-section h2,
    .disclaimer-section h2,
    .terms-section h2,
    .policy-section h2 {
        font-size: clamp(1.8rem, 6vw, 2rem);
    }
    
    .legal-intro p,
    .disclaimer-intro p,
    .terms-intro p,
    .policy-intro p,
    .legal-content p,
    .disclaimer-content p,
    .terms-content p,
    .policy-content p {
        font-size: 1rem;
    }
    
    .gaming-disclaimer-item,
    .financial-disclaimer-item,
    .technical-disclaimer-item,
    .third-party-disclaimer-item,
    .service-item,
    .responsibility-item,
    .prohibited-item,
    .policy-item,
    .usage-item,
    .sharing-item {
        padding: 1.5rem;
    }
    
    .important-notice,
    .warning-box,
    .info-box {
        padding: 1rem;
    }
    
    .legal-table th,
    .legal-table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

/* FAQ Page Styles */
.faq-search-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.faq-search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faq-search-container h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--text-light);
}

.faq-search-container p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Search Box Styling */
.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 1.25rem 4rem 1.25rem 1.5rem;
    border: 2px solid rgba(52, 116, 51, 0.3);
    border-radius: 50px;
    background: rgba(26, 26, 26, 0.9);
    color: var(--text-light);
    font-size: 1.1rem;
    transition: var(--transition);
    font-family: inherit;
}

.search-box input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.search-box input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.search-box button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.search-box button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(52, 116, 51, 0.4);
}

.search-box button svg {
    width: 20px;
    height: 20px;
}

/* FAQ Categories Section */
.faq-categories-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.faq-categories-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    color: var(--text-light);
}

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

.faq-category {
    background: rgba(42, 42, 42, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(52, 116, 51, 0.2);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.faq-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 116, 51, 0.1), rgba(255, 111, 60, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.faq-category:hover::before {
    opacity: 1;
}

.faq-category:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(52, 116, 51, 0.3);
}

.faq-category.active {
    border-color: var(--secondary-color);
    background: rgba(52, 116, 51, 0.1);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.faq-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.faq-category p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* FAQ Content Section */
.faq-content-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.faq-category-content {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.faq-category-content:last-child {
    margin-bottom: 0;
}

.faq-category-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 2.5rem;
    color: var(--text-light);
    text-align: center;
    position: relative;
}

.faq-category-content h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* FAQ Items */
.faq-item {
    background: rgba(42, 42, 42, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(52, 116, 51, 0.2);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(52, 116, 51, 0.4);
    box-shadow: 0 8px 25px rgba(52, 116, 51, 0.2);
}

.faq-item.active {
    border-color: var(--secondary-color);
    box-shadow: 0 12px 35px rgba(52, 116, 51, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(26, 26, 26, 0.5);
}

.faq-question:hover {
    background: rgba(26, 26, 26, 0.8);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.faq-toggle:hover {
    background: rgba(255, 193, 7, 0.1);
    transform: scale(1.1);
}

.faq-toggle svg {
    transition: var(--transition);
}

.faq-item.active .faq-toggle svg {
    transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(42, 42, 42, 0.5);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.faq-answer-content {
    padding: 0 2rem 2rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    position: relative;
}

.faq-answer li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: -1.2rem;
}

.faq-answer ol {
    counter-reset: faq-counter;
}

.faq-answer ol li {
    counter-increment: faq-counter;
}

.faq-answer ol li::before {
    content: counter(faq-counter) '.';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(42, 42, 42, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(52, 116, 51, 0.2);
}

.no-results h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.no-results p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.no-results .btn {
    margin: 0 0.5rem;
}

/* FAQ Navigation */
.faq-navigation {
    position: sticky;
    top: 100px;
    background: rgba(42, 42, 42, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(52, 116, 51, 0.3);
    margin-bottom: 2rem;
}

.faq-navigation h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.faq-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.faq-nav-link:hover,
.faq-nav-link.active {
    color: var(--text-light);
    background: rgba(52, 116, 51, 0.1);
    border-color: rgba(52, 116, 51, 0.3);
}

/* FAQ Help Section */
.faq-help-section {
    padding: 4rem 0;
    background: var(--bg-primary);
    text-align: center;
}

.faq-help-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.faq-help-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.faq-help-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-help-buttons .btn {
    min-width: 180px;
}

/* Responsive Design for FAQ Page */
@media (max-width: 768px) {
    .faq-search-section,
    .faq-categories-section,
    .faq-content-section,
    .faq-help-section {
        padding: 3rem 0;
    }
    
    .faq-categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-category {
        padding: 2rem 1.5rem;
    }
    
    .search-box input {
        padding: 1rem 3.5rem 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .search-box button {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer-content {
        padding: 0 1.5rem 1.5rem;
    }
    
    .faq-help-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-help-buttons .btn {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .faq-search-container h2,
    .faq-categories-section h2,
    .faq-category-content h2,
    .faq-help-section h2 {
        font-size: clamp(1.8rem, 6vw, 2rem);
    }
    
    .faq-search-container p,
    .faq-help-section p {
        font-size: 1.1rem;
    }
    
    .faq-category {
        padding: 1.5rem 1rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
    
    .faq-category h3 {
        font-size: 1.2rem;
    }
    
    .faq-category p {
        font-size: 0.9rem;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 1.25rem 1.25rem;
    }
    
    .faq-answer p,
    .faq-answer li {
        font-size: 0.9rem;
    }
}

/* Games Page Styles */
.game-categories-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.game-categories-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--text-light);
}

.game-categories-section p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Game Categories Grid */
.game-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.game-category {
    background: rgba(42, 42, 42, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(52, 116, 51, 0.2);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.game-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 116, 51, 0.1), rgba(255, 111, 60, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.game-category:hover::before {
    opacity: 1;
}

.game-category:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(52, 116, 51, 0.3);
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.game-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.game-category p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.game-count {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(52, 116, 51, 0.3);
}

/* Featured Slots Section */
.featured-slots-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.featured-slots-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--text-light);
}

.featured-slots-section p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.featured-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.featured-slot {
    background: rgba(42, 42, 42, 0.9);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(52, 116, 51, 0.2);
    transition: var(--transition);
    position: relative;
}

.featured-slot:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(52, 116, 51, 0.3);
}

.featured-slot img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.featured-slot:hover img {
    transform: scale(1.05);
}

.slot-info {
    padding: 2rem;
}

.slot-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.slot-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.slot-features {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.feature {
    background: rgba(52, 116, 51, 0.2);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(52, 116, 51, 0.3);
}

/* Table Games Section */
.table-games-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.table-games-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--text-light);
}

.table-games-section p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.table-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.table-game {
    background: rgba(42, 42, 42, 0.9);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(52, 116, 51, 0.2);
    transition: var(--transition);
    position: relative;
}

.table-game:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 50px rgba(255, 111, 60, 0.3);
}

.table-game img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.table-game:hover img {
    transform: scale(1.05);
}

.game-info {
    padding: 2rem;
}

.game-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.game-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.game-variants {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.variant {
    background: rgba(255, 111, 60, 0.2);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 111, 60, 0.3);
}

/* Live Casino Section */
.live-casino-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.live-casino-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--text-light);
}

.live-casino-section p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.live-casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.live-game {
    background: rgba(42, 42, 42, 0.9);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(52, 116, 51, 0.2);
    transition: var(--transition);
    position: relative;
}

.live-game::before {
    content: 'LIVE';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--danger-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.live-game:hover {
    transform: translateY(-8px);
    border-color: var(--danger-color);
    box-shadow: 0 20px 50px rgba(178, 34, 34, 0.3);
}

.live-game img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.live-game:hover img {
    transform: scale(1.05);
}

.live-info {
    padding: 2rem;
}

.live-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.live-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.live-features {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.live-features .feature {
    background: rgba(178, 34, 34, 0.2);
    color: var(--danger-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(178, 34, 34, 0.3);
}

/* Progressive Jackpots Section */
.jackpot-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.jackpot-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--text-light);
}

.jackpot-section p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.jackpot-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.jackpot-game {
    background: rgba(42, 42, 42, 0.9);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(52, 116, 51, 0.2);
    transition: var(--transition);
    position: relative;
}

.jackpot-game::before {
    content: '💰';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.jackpot-game:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(255, 193, 7, 0.4);
}

.jackpot-game img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.jackpot-game:hover img {
    transform: scale(1.05);
}

.jackpot-info {
    padding: 2rem;
}

.jackpot-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.jackpot-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.jackpot-amount {
    margin-bottom: 1.5rem;
}

.current-amount {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 193, 7, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Game Features Section */
.game-features-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.game-features-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    color: var(--text-light);
}

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

.feature-item {
    background: rgba(42, 42, 42, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(52, 116, 51, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 116, 51, 0.1), rgba(255, 111, 60, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(52, 116, 51, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.feature-item p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Games CTA Section */
.games-cta-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    text-align: center;
}

.games-cta-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.games-cta-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.games-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.games-cta-buttons .btn {
    min-width: 200px;
}

/* Responsive Design for Games Page */
@media (max-width: 768px) {
    .game-categories-section,
    .featured-slots-section,
    .table-games-section,
    .live-casino-section,
    .jackpot-section,
    .game-features-section,
    .games-cta-section {
        padding: 3rem 0;
    }
    
    .game-categories-grid,
    .featured-slots-grid,
    .table-games-grid,
    .live-casino-grid,
    .jackpot-games-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .game-category,
    .featured-slot,
    .table-game,
    .live-game,
    .jackpot-game,
    .feature-item {
        padding: 2rem 1.5rem;
    }
    
    .slot-info,
    .game-info,
    .live-info,
    .jackpot-info {
        padding: 1.5rem;
    }
    
    .games-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .games-cta-buttons .btn {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .game-categories-section h2,
    .featured-slots-section h2,
    .table-games-section h2,
    .live-casino-section h2,
    .jackpot-section h2,
    .game-features-section h2,
    .games-cta-section h2 {
        font-size: clamp(1.8rem, 6vw, 2rem);
    }
    
    .game-categories-section p,
    .featured-slots-section p,
    .table-games-section p,
    .live-casino-section p,
    .jackpot-section p,
    .games-cta-section p {
        font-size: 1.1rem;
    }
    
    .game-category,
    .featured-slot,
    .table-game,
    .live-game,
    .jackpot-game,
    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .slot-info,
    .game-info,
    .live-info,
    .jackpot-info {
        padding: 1.25rem;
    }
    
    .category-icon,
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .game-category h3,
    .featured-slot h3,
    .table-game h3,
    .live-game h3,
    .jackpot-game h3,
    .feature-item h3 {
        font-size: 1.2rem;
    }
    
    .slot-features,
    .game-variants,
    .live-features {
        gap: 0.5rem;
    }
    
    .feature,
    .variant {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}
