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

:root {
    --primary-dark: #0A0A0A;
    --primary-red: #8E1616;
    --accent-red: #D84040;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --black: #000000;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1A1A1A;
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

h1 {
    font-size: 3rem;
    color: var(--white);
}

h2 {
    font-size: 2.5rem;
    color: #1A1A1A;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-red);
}

p {
    margin-bottom: 1rem;
    color: #1A1A1A;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

.btn-login {
    background-color: var(--primary-red);
    color: var(--white);
    margin-right: 10px;
}

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

.btn-register {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-register:hover {
    background-color: #6B1111;
}

/* Header and Navigation */
.header {
    background-color: var(--primary-dark);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    height: 90px;
}

.navbar {
    padding: 1rem 0;
}

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

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

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

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

.nav-link:hover {
    color: var(--accent-red);
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-red) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    animation: heroFadeIn 1.5s ease-out;
}

/* Hero Logo Animation */
.hero-logo {
    display: inline-block;
    margin-bottom: 2rem;
    animation: logoFloat 3s ease-in-out infinite;
}

.hero-logo img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(216, 64, 64, 0.3));
    transition: all 0.3s ease;
}

.hero-logo:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 15px 30px rgba(216, 64, 64, 0.5));
}

/* Logo glow effect */
.hero-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(216, 64, 64, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoGlow 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes logoGlow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Button hover animations */
.hero-buttons .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-buttons .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 ease;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(216, 64, 64, 0.4);
}

/* Hero Content Animations */
@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Staggered animation for hero elements */
.hero-content h1 {
    animation: slideInLeft 1s ease-out 0.5s both;
}

.hero-subtitle {
    animation: slideInRight 1s ease-out 0.8s both;
}

.hero-buttons {
    animation: slideInUp 1s ease-out 1.1s both;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* About Hero Section - Used across multiple pages */
.about-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-red) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    margin-top: 80px;
}

.about-hero::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.about-hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.about-hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--light-gray));
    border-radius: 2px;
}

.about-hero p {
    font-size: 1.3rem;
    color: var(--light-gray);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
}

/* Content Sections Styling */
.content-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.content-section:nth-child(even) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.content-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(216, 64, 64, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.content-card h2 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

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

.content-card h3 {
    color: #1A1A1A;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-red);
}

.content-card p {
    color: #1A1A1A;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content-card ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.content-card li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.content-card li::before {
    content: '▶';
    position: absolute;
    left: -1rem;
    color: var(--accent-red);
    font-size: 0.8rem;
}

/* FAQ Styling */
.faq-category {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(216, 64, 64, 0.1);
}

.faq-category h2 {
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.faq-category h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-red);
    border-radius: 2px;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-red);
    box-shadow: 0 5px 15px rgba(216, 64, 64, 0.1);
}

.faq-question {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #1A1A1A;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-red) 100%);
    color: white;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.faq-question.active::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

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

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #1A1A1A;
}

/* Contact Form Styling */
.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(216, 64, 64, 0.1);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(216, 64, 64, 0.1);
    transform: translateY(-2px);
}

/* Mission Cards Styling */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid rgba(216, 64, 64, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.mission-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
}

.mission-card p {
    color: var(--primary-dark);
    line-height: 1.6;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Registration Steps Timeline */
.registration-steps {
    padding: 80px 0;
    background-color: var(--light-gray);
    position: relative;
}

.registration-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 80%;
    background: linear-gradient(to bottom, var(--accent-red), var(--primary-red));
    border-radius: 2px;
    z-index: 1;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid transparent;
}

.step:nth-child(odd) {
    align-self: flex-start;
    margin-left: 0;
    margin-right: auto;
}

.step:nth-child(even) {
    align-self: flex-end;
    margin-left: auto;
    margin-right: 0;
}

.step::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 4px;
    background: var(--accent-red);
    border-radius: 2px;
}

.step:nth-child(odd)::before {
    right: -20px;
}

.step:nth-child(even)::before {
    left: -20px;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(216, 64, 64, 0.2);
    border-color: var(--accent-red);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-red), var(--primary-red));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(216, 64, 64, 0.3);
    position: relative;
    z-index: 3;
}

.step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 3px solid var(--accent-red);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
}

.step h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step p {
    color: var(--primary-dark);
    line-height: 1.6;
    text-align: left;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

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

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

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--accent-red), var(--primary-red));
    border-radius: 50%;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(216, 64, 64, 0.3);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(216, 64, 64, 0.4);
}

/* Game Showcase Section */
.game-showcase {
    padding: 80px 0;
    background-color: var(--white);
}

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

.game-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
    box-shadow: 0 15px 35px rgba(216, 64, 64, 0.2);
}

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

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

.game-card p {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.game-features span {
    background: #6B1111;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f8f9fa 100%);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-left: 4px solid var(--accent-red);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--primary-dark);
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.author-info h4,
.author-name {
    color: var(--primary-red);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info span {
    color: var(--primary-dark);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-red) 100%);
    color: var(--white);
}

.stats-section h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-item.animating {
    animation: statPulse 0.5s ease-in-out;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-number.animate {
    animation: countUp 2s ease-out forwards;
}

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

.stat-label {
    font-size: 1.1rem;
    color: var(--light-gray);
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-red) 100%);
    text-align: center;
    color: var(--white);
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    color: var(--light-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: white;
    color: var(--primary-dark);
    padding: 2rem 0 1rem;
    margin: 4rem 20px 2rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 0 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #1A1A1A;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

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

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

.footer-section ul li a {
    color: #1A1A1A;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-section ul li a:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 2px solid var(--accent-red);
    padding-top: 1rem;
    text-align: center;
    color: #1A1A1A;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-buttons {
        display: none;
    }
    
    /* Mobile menu styles */
    .mobile-menu {
        display: block !important;
    }
    
    .mobile-menu .nav-menu {
        display: block !important;
    }
    
    .mobile-menu .nav-buttons {
        display: flex !important;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        animation: slideInLeft 1s ease-out 0.3s both;
    }
    
    .hero-logo {
        animation: logoFloat 2.5s ease-in-out infinite;
    }
    
    .hero-logo img {
        width: 80px;
    }
    
    .about-hero {
        padding: 6rem 0;
        min-height: 70vh;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        position: relative;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .about-hero p {
        font-size: 1.1rem;
        max-width: 100%;
        padding: 0 1rem;
        line-height: 1.6;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step {
        max-width: 100%;
        margin: 0;
        align-self: center !important;
    }
    
    .step:nth-child(odd),
    .step:nth-child(even) {
        align-self: center;
        margin: 0;
    }
    
    .step::before {
        display: none;
    }
    
    .registration-steps::before {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .game-features {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .footer {
        margin: 2rem 10px 1rem;
        padding: 1.5rem 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 15px 40px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        animation: slideInLeft 1s ease-out 0.2s both;
    }
    
    .hero-logo {
        animation: logoFloat 2s ease-in-out infinite;
    }
    
    .hero-logo img {
        width: 60px;
    }
    
    .about-hero {
        padding: 5rem 0;
        min-height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        position: relative;
    }
    
    .about-hero h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .about-hero p {
        font-size: 1rem;
        padding: 0 1rem;
        line-height: 1.6;
    }
    
    /* Ensure about-hero content is fully visible on mobile */
    .about-hero .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
    }
    
    /* Force about-hero to be fully visible */
    .about-hero {
        margin-top: 80px !important;
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
        min-height: 60vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Ensure content is not cut off */
    .about-hero .container {
        padding: 2rem 1rem !important;
        margin: 0 !important;
    }
    
    .about-hero h1 {
        margin-bottom: 2rem !important;
        font-size: 2.2rem !important;
    }
    
    .about-hero p {
        margin-bottom: 1rem !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    
    .about-hero h1::after {
        width: 60px;
        height: 3px;
    }
    
    /* Ensure about-hero is positioned correctly with mobile menu */
    .about-hero {
        position: relative;
        z-index: 1;
    }
    
    /* Adjust mobile menu position to not overlap hero */
    .mobile-menu {
        top: 80px !important;
        z-index: 1000;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
    }
    
    /* Ensure hero section is always visible */
    body {
        padding-top: 0 !important;
    }
    
    main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .content-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .content-card h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .content-card h3 {
        font-size: 1.1rem;
        margin: 1rem 0 0.5rem;
    }
    
    .faq-category {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .faq-category h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .mission-card {
        padding: 2rem;
    }
    
    .step,
    .feature-card,
    .game-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-number::after {
        width: 80px;
        height: 80px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .game-icon {
        font-size: 2.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    /* Additional mobile menu styles for smaller screens */
    .mobile-menu {
        top: 80px !important;
    }
    
    .mobile-menu ul li a {
        font-size: 1rem !important;
        padding: 12px 0 !important;
    }
    
    .mobile-menu .btn {
        padding: 10px 16px !important;
        font-size: 0.9rem !important;
    }
    
    /* Mobile footer adjustments */
    .footer {
        margin: 1.5rem 5px 0.5rem;
        padding: 1rem 0 0.5rem;
        border-radius: 8px;
    }
    
    .footer-content {
        padding: 0 0.5rem;
        gap: 0.5rem;
    }
    
    .footer-section ul li a {
        font-size: 0.8rem;
    }
    
        /* Additional styles for very small screens */
    @media (max-width: 360px) {
        .about-hero {
            padding: 4rem 0 !important;
            min-height: 55vh !important;
            margin-top: 80px !important;
            position: relative;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }
        
        .about-hero h1 {
            font-size: 1.8rem !important;
            margin-bottom: 1.5rem !important;
            line-height: 1.2 !important;
        }
        
        .about-hero p {
            font-size: 0.9rem !important;
            padding: 0 0.5rem !important;
            line-height: 1.4 !important;
            margin-bottom: 0.5rem !important;
        }
        
        .about-hero .container {
            padding: 1rem 0.5rem !important;
            margin: 0 !important;
        }
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-logo {
        animation: none !important;
    }
    
    .hero-logo::before {
        animation: none !important;
    }
    
    .hero-content h1,
    .hero-subtitle,
    .hero-buttons {
        animation: none !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 3px solid #000000;
    outline-offset: 3px;
    background-color: #FFFF00;
    color: #000000;
}

/* Enhanced focus styles for form elements */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: 3px solid #000000;
    outline-offset: 2px;
    border-color: #000000;
    background-color: #FFFFFF;
    color: #000000;
}

/* Enhanced focus for FAQ questions */
.faq-question:focus {
    outline: 3px solid #000000;
    outline-offset: 2px;
    background-color: #FFFF00;
    color: #000000;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid var(--white);
    }
    
    .btn-secondary {
        border: 2px solid var(--white);
    }
    
    /* Enhanced contrast for high contrast mode */
    body {
        color: #000000;
        background-color: #FFFFFF;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000000;
    }
    
    p {
        color: #000000;
    }
    
    .content-card p,
    .content-card h3,
    .faq-question,
    .faq-answer p,
    .form-group label,
    .author-name {
        color: #000000;
    }
    
    .footer-section h3,
    .footer-section h4,
    .footer-section ul li a,
    .footer-bottom {
        color: #000000;
    }
    
    /* Enhanced contrast for game features and buttons */
    .game-features span {
        background-color: #000000;
        color: #FFFFFF;
        border: 2px solid #000000;
    }
    
    .btn-primary,
    .btn-register {
        background-color: #000000;
        color: #FFFFFF;
        border: 2px solid #000000;
    }
    
    .btn-primary:hover,
    .btn-register:hover {
        background-color: #333333;
        color: #FFFFFF;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
} 