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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #F4F4F4;
}

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

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

/* Header and Navigation */
.header {
    background-color: #000000;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

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

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

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

.nav-link {
    color: #F4F4F4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #F0A500;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-login {
    background-color: #F0A500;
    color: #000000;
}

.btn-login:hover {
    background-color: #CF7500;
    transform: translateY(-2px);
}

.btn-register {
    background-color: transparent;
    color: #F0A500;
    border: 2px solid #F0A500;
}

.btn-register:hover {
    background-color: #F0A500;
    color: #000000;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #F4F4F4;
    margin: 3px 0;
    transition: 0.3s;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #000000 0%, #CF7500 100%);
    color: #F4F4F4;
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero-content h1 {
    color: #F0A500;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #F4F4F4;
}

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

.btn-primary {
    background-color: #F0A500;
    color: #000000;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

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

.btn-secondary {
    background-color: transparent;
    color: #F0A500;
    border: 2px solid #F0A500;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.btn-secondary:hover {
    background-color: #F0A500;
    color: #000000;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: #F4F4F4;
}

.features-section h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon svg {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
}

.feature-card h3 {
    color: #F0A500;
    margin-bottom: 1rem;
}

/* Login Section */
.login-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F0A500 0%, #CF7500 100%);
    color: #000000;
}

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

.section-content h2 {
    color: #000000;
    margin-bottom: 1.5rem;
}

.section-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.login-options, .register-options {
    margin-top: 2rem;
}

.btn-login-large, .btn-register-large {
    background-color: #000000;
    color: #F0A500;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    margin-bottom: 1rem;
}

.btn-login-large:hover, .btn-register-large:hover {
    background-color: #CF7500;
    color: #F4F4F4;
}

.login-note, .register-note {
    font-size: 1rem;
    color: #000000;
    opacity: 0.8;
}

/* Register Section */
.register-section {
    padding: 5rem 0;
    background-color: #F4F4F4;
    color: #000000;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

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

.about-text h2 {
    color: #F0A500;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background-color: transparent;
    color: #F0A500;
    border: 2px solid #F0A500;
    padding: 1rem 2rem;
}

.btn-outline:hover {
    background-color: #F0A500;
    color: #000000;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Games Section */
.games-section {
    padding: 5rem 0;
    background-color: #F4F4F4;
}

.games-section h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 1rem;
}

.games-section > .container > p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.game-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.game-emoji {
    font-size: 4rem;
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #F0A500 0%, #CF7500 100%);
    color: #000000;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}

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

.game-card h3 {
    color: #F0A500;
    padding: 1.5rem 1.5rem 0.5rem;
}

.game-card p {
    padding: 0 1.5rem 1.5rem;
    color: #000000;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.benefits-section h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 3rem;
}

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

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

.benefit-item h3 {
    color: #F0A500;
    margin-bottom: 1rem;
}

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

.testimonials-section h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

.testimonial-author {
    color: #F0A500;
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #000000 0%, #CF7500 100%);
    color: #F4F4F4;
}

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

.stat-item h3 {
    font-size: 3rem;
    color: #F0A500;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: #F4F4F4;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-color: #F4F4F4;
    text-align: center;
}

.cta-section h2 {
    color: #000000;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Footer */
.footer {
    background-color: #000000;
    color: #F4F4F4;
    padding: 3rem 0 1rem;
}

.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: #F0A500;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #F4F4F4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #F0A500;
}

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

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

.social-links svg {
    width: 24px;
    height: 24px;
    color: #F4F4F4;
    transition: color 0.3s ease;
}

.social-links a:hover svg {
    color: #F0A500;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #F4F4F4;
}

/* Responsive Design */
/* Mobile Styles - High Specificity */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #000000;
        flex-direction: column;
        padding: 1rem 0;
        text-align: center;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-buttons {
        display: none;
    }
    
    /* Mobile Navigation Buttons */
    .nav-menu .nav-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
        padding: 0 2rem;
    }
    
    .nav-menu .nav-buttons .btn {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .hero-content, .hero-image {
        flex: none;
        width: 100%;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    /* About Us Page Mobile Fixes */
    .about-hero-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
        /* Debug: Ensure mobile styles are applied */
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    /* Contact Us Page Mobile Fixes */
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Additional Mobile Grid Fixes */
    .features-grid, .games-grid, .benefits-grid, .testimonials-grid, .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .hero-buttons, .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Very Small Screen Mobile Styles */
@media (max-width: 480px) {
    .features-grid, .games-grid, .benefits-grid, .testimonials-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Additional Mobile Fixes for Very Small Screens */
    .achievements-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Ensure all auto-fit grids go to single column on very small screens */
    .features-grid, .games-grid, .benefits-grid, .testimonials-grid, .stats-grid,
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .hero-section, .features-section, .login-section, .register-section, 
    .about-section, .games-section, .benefits-section, .testimonials-section, 
    .stats-section, .cta-section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

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

/* Focus Styles for Accessibility */
a:focus, button:focus {
    outline: 2px solid #F0A500;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .feature-card, .game-card, .testimonial-card {
        border: 2px solid #000000;
    }
}

/* Page Specific Styles */
.page-header {
    background: linear-gradient(135deg, #000000 0%, #CF7500 100%);
    color: #F4F4F4;
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    color: #F0A500;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #F4F4F4;
}

.page-content {
    padding: 4rem 0;
    background-color: #F4F4F4;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content-wrapper h2 {
    color: #F0A500;
    margin-bottom: 1.5rem;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.content-wrapper ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

.policy-actions {
    margin-top: 3rem;
    text-align: center;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
    background-color: #F4F4F4;
}

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

.contact-info h2 {
    color: #F0A500;
    margin-bottom: 1.5rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-method a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    display: inline-block;
}

.contact-method h3 {
    color: #F0A500;
    margin-bottom: 1rem;
}

.contact-method a {
    color: #F0A500;
    text-decoration: none;
    font-weight: 600;
}

.contact-method a:hover {
    color: #CF7500;
}

.response-time {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.contact-form {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: #F0A500;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #000000;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #E0E0E0;
    border-radius: 5px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #F0A500;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
}

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

.faq-preview {
    padding: 3rem 0;
    background-color: #FFFFFF;
    text-align: center;
}

.faq-links {
    margin-top: 2rem;
}

/* About Us Page Styles */
.about-hero {
    padding: 4rem 0;
    background-color: #F4F4F4;
}

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

.about-hero-text h2 {
    color: #F0A500;
    margin-bottom: 1.5rem;
}

.about-hero-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-vision {
    padding: 4rem 0;
    background-color: #FFFFFF;
}

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

.mission-card, .vision-card {
    padding: 2rem;
    background-color: #F4F4F4;
    border-radius: 10px;
    text-align: center;
}

.mission-card h3, .vision-card h3 {
    color: #F0A500;
    margin-bottom: 1rem;
}

.values-section {
    padding: 4rem 0;
    background-color: #F4F4F4;
}

.values-section h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 3rem;
}

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

.value-item {
    text-align: center;
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-item h3 {
    color: #F0A500;
    margin-bottom: 1rem;
}

.team-section {
    padding: 4rem 0;
    background-color: #FFFFFF;
}

.team-section h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 1rem;
}

.team-section > .container > p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.team-member {
    text-align: center;
    padding: 2rem;
    background-color: #F4F4F4;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #F0A500 0%, #CF7500 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #F0A500;
    color: #000000;
}

.team-icon svg {
    width: 60px;
    height: 60px;
    fill: currentColor;
}

.team-member h3 {
    color: #F0A500;
    margin-bottom: 1rem;
}

.achievements-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #000000 0%, #CF7500 100%);
    color: #F4F4F4;
}

.achievements-section h2 {
    text-align: center;
    color: #F4F4F4;
    margin-bottom: 3rem;
}

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

.achievement-item h3 {
    font-size: 3rem;
    color: #F0A500;
    margin-bottom: 0.5rem;
}

.achievement-item p {
    font-size: 1.1rem;
    color: #F4F4F4;
}

/* FAQ Page Styles */
.faq-section {
    padding: 4rem 0;
    background-color: #F4F4F4;
}

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

.faq-category {
    margin-bottom: 3rem;
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-category h2 {
    color: #F0A500;
    margin-bottom: 2rem;
    border-bottom: 2px solid #F0A500;
    padding-bottom: 0.5rem;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E0E0E0;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-item h3 {
    color: #000000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.faq-actions {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-actions h2 {
    color: #F0A500;
    margin-bottom: 1rem;
}

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

/* 404 Error Page Styles */
.error-section {
    padding: 6rem 0;
    background-color: #F4F4F4;
    text-align: center;
}

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

.error-number {
    font-size: 8rem;
    font-weight: 800;
    color: #F0A500;
    margin-bottom: 1rem;
    line-height: 1;
}

.error-content h1 {
    color: #000000;
    margin-bottom: 1.5rem;
}

.error-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

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

.helpful-links {
    margin-bottom: 3rem;
}

.helpful-links h2 {
    color: #000000;
    margin-bottom: 1.5rem;
}

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

.helpful-link {
    display: block;
    padding: 1rem;
    background-color: #F0A500;
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.helpful-link:hover {
    background-color: #CF7500;
    transform: translateY(-2px);
}

.search-suggestion h2 {
    color: #000000;
    margin-bottom: 1rem;
}

.search-suggestion p {
    color: #666;
}

/* Support Team Page Styles */
.support-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F0A500 0%, #CF7500 100%);
    color: #000000;
}

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

.support-hero-content h2 {
    color: #000000;
    margin-bottom: 1.5rem;
}

.support-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.support-departments {
    padding: 4rem 0;
    background-color: #F4F4F4;
}

.support-departments h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 3rem;
}

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

.department-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.department-card h3 {
    color: #F0A500;
    margin-bottom: 1rem;
}

.department-card ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.department-card ul li {
    margin-bottom: 0.5rem;
    color: #666;
}

.support-features {
    padding: 4rem 0;
    background-color: #FFFFFF;
}

.support-features h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 3rem;
}

.contact-support {
    padding: 4rem 0;
    background-color: #F4F4F4;
}

.contact-support h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 1rem;
}

.contact-support > .container > p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-method {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-method a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    display: inline-block;
}

.contact-method h3 {
    color: #F0A500;
    margin-bottom: 1rem;
}

.contact-method a {
    color: #F0A500;
    text-decoration: none;
    font-weight: 600;
}

.contact-method a:hover {
    color: #CF7500;
}

.support-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #000000 0%, #CF7500 100%);
    color: #F4F4F4;
    text-align: center;
}

.support-cta h2 {
    color: #F0A500;
    margin-bottom: 1.5rem;
}

.support-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Games Page Styles */
.games-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #000000 0%, #CF7500 100%);
    color: #F4F4F4;
}

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

.games-hero-content h2 {
    color: #F0A500;
    margin-bottom: 1.5rem;
}

.games-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

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

.game-categories {
    padding: 4rem 0;
    background-color: #F4F4F4;
}

.game-categories h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 3rem;
}

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

.category-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.category-icon {
    font-size: 4rem;
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #F0A500 0%, #CF7500 100%);
    color: #000000;
}

.category-card h3 {
    color: #F0A500;
    padding: 1.5rem 1.5rem 0.5rem;
}

.category-card p {
    padding: 0 1.5rem 1rem;
    color: #000000;
}

.category-card ul {
    padding: 0 1.5rem 1rem;
    list-style: none;
}

.category-card ul li {
    padding: 0.25rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.category-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F0A500;
    font-weight: bold;
}

.category-card .btn {
    margin: 0 1.5rem 1.5rem;
    display: inline-block;
}

.featured-games {
    padding: 4rem 0;
    background-color: #FFFFFF;
}

.featured-games h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 1rem;
}

.featured-games > .container > p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.featured-game {
    background-color: #F4F4F4;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-game:hover {
    transform: translateY(-5px);
}

.game-icon {
    font-size: 3rem;
    text-align: center;
    padding: 1.5rem 0;
    background: linear-gradient(135deg, #F0A500 0%, #CF7500 100%);
    color: #000000;
}

.featured-game h3 {
    color: #F0A500;
    padding: 1.5rem 1.5rem 0.5rem;
}

.featured-game p {
    padding: 0 1.5rem 1rem;
    color: #000000;
}

.featured-game .btn {
    margin: 0 1.5rem 1.5rem;
    display: inline-block;
}

.gaming-features {
    padding: 4rem 0;
    background-color: #F4F4F4;
}

.gaming-features h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 3rem;
}

.games-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F0A500 0%, #CF7500 100%);
    color: #000000;
    text-align: center;
}

.games-cta h2 {
    color: #000000;
    margin-bottom: 1.5rem;
}

.games-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F0A500 0%, #CF7500 100%);
    color: #000000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #CF7500 0%, #F0A500 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Print Styles */
@media print {
    .header, .footer, .btn, .back-to-top {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    main {
        margin-top: 0;
    }
}

/* Contact Method Email Overflow Fix */
.contact-method a[href^="mailto:"] {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    display: inline-block;
    box-sizing: border-box;
    padding: 0.25rem 0;
    hyphens: auto;
    line-height: 1.4;
}

.contact-method {
    overflow: hidden;
    min-height: fit-content;
}
