/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6500;
    --secondary-color: #1E3E62;
    --dark-color: #0B192C;
    --black-color: #000000;
    --white-color: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.highlight {
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(255, 101, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 140px;
    position: relative;
    overflow: hidden;
    transform: perspective(1px) translateZ(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    color: var(--white-color);
    box-shadow: 0 8px 25px rgba(255, 101, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 101, 0, 0.4);
    background: linear-gradient(135deg, #e55a00, var(--primary-color));
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 101, 0, 0.2);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 101, 0, 0.3);
}

.btn-login {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-login:hover {
    background: var(--dark-color);
    transform: translateY(-1px);
}

.btn-register {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-register:hover {
    background: #e55a00;
    transform: translateY(-1px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 25, 44, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 101, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(11, 25, 44, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 50%, var(--black-color) 100%);
    color: var(--white-color);
    padding: 120px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 40px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 101, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 62, 98, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 101, 0, 0.1) 0%, transparent 50%);
    z-index: 1;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 101, 0, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(30, 62, 98, 0.05) 50%, transparent 70%);
    z-index: 1;
    animation: heroShimmer 6s ease-in-out infinite;
}

@keyframes heroGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

@keyframes heroShimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 80vh;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #ff8533 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 101, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes titleShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-buttons .btn {
    position: relative;
    overflow: hidden;
    transform: perspective(1px) translateZ(0);
    transition: all 0.3s ease;
}

.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;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Features Section */
.features-section {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f0f4f8 100%);
    position: relative;
    z-index: 8;
    margin-top: 40px;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 101, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(30, 62, 98, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 101, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 101, 0, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 101, 0, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(255, 101, 0, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(255, 101, 0, 0.4);
}

.feature-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.feature-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* Login/Register Sections */
.login-section,
.register-section {
    padding: 80px 0;
}

.login-section {
    background: var(--white-color);
}

.register-section {
    background: var(--light-gray);
}

.login-content,
.register-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.login-content h2,
.register-content h2 {
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.login-content p,
.register-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--white-color);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--light-gray) 100%);
    position: relative;
    z-index: 10;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(30, 62, 98, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 101, 0, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.game-card {
    background: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(30, 62, 98, 0.1);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 62, 98, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(30, 62, 98, 0.3);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.game-card:hover img {
    transform: scale(1.05);
}

.game-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--dark-color);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.game-card:hover h3 {
    color: var(--primary-color);
}

.game-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    position: relative;
    z-index: 2;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: var(--white-color);
    position: relative;
    z-index: 7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-item {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.benefit-item h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--light-gray);
    position: relative;
    z-index: 6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.testimonial-author h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--primary-color);
    font-weight: 500;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 50%, var(--black-color) 100%);
    color: var(--white-color);
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 101, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(30, 62, 98, 0.1) 0%, transparent 50%);
    z-index: 1;
    animation: statsGlow 6s ease-in-out infinite alternate;
}

@keyframes statsGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 101, 0, 0.3);
    animation: numberPulse 2s ease-in-out infinite;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes numberPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--white-color) 0%, #f8fafc 100%);
    position: relative;
    z-index: 4;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 101, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 62, 98, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--dark-color);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    position: relative;
    overflow: hidden;
    transform: perspective(1px) translateZ(0);
    transition: all 0.3s ease;
}

.cta-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;
}

.cta-buttons .btn:hover::before {
    left: 100%;
}

/* Footer */
.footer {
    background: var(--black-color);
    color: var(--white-color);
    padding: 60px 0 20px;
}

.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(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--white-color);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 101, 0, 0.3);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: all 0.3s ease;
}

.social-links a:hover svg {
    transform: scale(1.1);
}

/* Individual social media colors on hover */
.social-links a.facebook:hover {
    background: #1877f2;
}

.social-links a.twitter:hover {
    background: #1da1f2;
}

.social-links a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-buttons {
        display: none;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section {
        padding: 100px 0 80px;
        margin-bottom: 20px;
    }
    
    .hero-container {
        min-height: 70vh;
        padding: 0 15px;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .features-section {
        padding: 60px 0 60px;
        margin-top: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .features-grid,
    .games-grid,
    .benefits-grid,
    .testimonials-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .feature-card,
    .game-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Scroll Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.back-to-top:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-light: #000000;
        --border-color: #000000;
    }
}

/* Page Content Styles */
.page-content {
    padding-top: 100px;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header h1 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.content-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.content-section h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.content-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.contact-form-section {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 101, 0, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.faq-preview {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.faq-items {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.faq-item {
    background: var(--white-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.support-hours {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.support-hours ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.support-hours li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* About Page Styles */
.about-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.about-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(248, 250, 252, 0.1));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 101, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-hero-content h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.mission-section,
.vision-section {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.mission-section h2,
.vision-section h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.values-section {
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.value-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.team-section {
    background: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 4rem;
}

.team-section h2 {
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 2rem;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.team-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-stat .stat-label {
    color: var(--text-light);
    font-weight: 500;
}

.commitment-section {
    margin-bottom: 4rem;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.commitment-item {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.commitment-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.commitment-item h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.certifications-section {
    background: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 4rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.certification-item {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.certification-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.certification-item h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* FAQ Page Styles */
.faq-intro {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    text-align: center;
}

.faq-categories {
    margin-bottom: 3rem;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    color: var(--dark-color);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.faq-item {
    background: var(--white-color);
    margin-bottom: 1.5rem;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-item h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.faq-contact {
    background: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-option {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-option h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* 404 Page Styles */
.error-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    min-height: 70vh;
    padding: 2rem 0;
}

.error-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.error-animation {
    position: relative;
    margin-bottom: 2rem;
}

.error-number {
    font-size: 8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 101, 0, 0.3);
    animation: errorPulse 2s ease-in-out infinite;
}

.error-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    opacity: 0.3;
    animation: errorFloat 3s ease-in-out infinite;
}

.error-content h1 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-message {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.error-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.floating-cards {
    position: relative;
    width: 200px;
    height: 200px;
}

.card {
    position: absolute;
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, var(--white-color), #f8f9fa);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary-color);
    animation: cardFloat 4s ease-in-out infinite;
}

.card-1 {
    top: 20px;
    left: 20px;
    color: var(--black-color);
    animation-delay: 0s;
}

.card-2 {
    top: 20px;
    right: 20px;
    color: #dc3545;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20px;
    left: 20px;
    color: #dc3545;
    animation-delay: 2s;
}

.card-4 {
    bottom: 20px;
    right: 20px;
    color: var(--black-color);
    animation-delay: 3s;
}

@keyframes errorPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes errorFloat {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(10deg); }
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(2deg); }
    50% { transform: translateY(-5px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(1deg); }
}

.helpful-links {
    background: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.helpful-links h2 {
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 2rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.link-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.link-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    margin-top: 1rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.search-section {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.search-section h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.search-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.search-option h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.search-option ul {
    list-style: none;
    margin-left: 0;
}

.search-option li {
    margin-bottom: 0.5rem;
}

.search-option a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.search-option a:hover {
    color: var(--primary-color);
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .contact-content,
    .about-hero {
        padding: 1rem 0;
    }
    
    .about-hero-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .mission-vision,
    .error-page,
    .search-options {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .error-page {
        min-height: 50vh;
        padding: 1rem 0;
    }
    
    .error-number {
        font-size: 6rem;
    }
    
    .error-content h1 {
        font-size: 2rem;
    }
    
    .floating-cards {
        width: 150px;
        height: 150px;
    }
    
    .card {
        width: 45px;
        height: 60px;
        font-size: 1.5rem;
    }

    .values-grid,
    .commitment-grid,
    .certifications-grid,
    .links-grid,
    .contact-options {
        grid-template-columns: 1fr;
    }

    .team-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .error-number {
        font-size: 6rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .content-section {
        padding: 1.5rem;
    }

    .page-content {
        padding-top: 80px;
    }
}

@media (max-width: 480px) {
    .team-stats {
        grid-template-columns: 1fr;
    }

    .error-number {
        font-size: 4rem;
    }
    
    .error-content h1 {
        font-size: 1.8rem;
    }
    
    .floating-cards {
        width: 120px;
        height: 120px;
    }
    
    .card {
        width: 35px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .content-section {
        padding: 1rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .back-to-top,
    .hero-buttons,
    .cta-buttons,
    .error-actions,
    .contact-options {
        display: none;
    }
    
    .hero-section {
        background: none;
        color: #000000;
    }
    
    .stats-section {
        background: none;
        color: #000000;
    }

    .page-content {
        padding-top: 0;
    }
}
