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

/* Font loading optimization to prevent CLS */
@font-face {
    font-family: 'FontAwesome';
    font-display: swap;
}

/* Prevent layout shifts from font loading */
body {
    font-display: swap;
}

/* Ensure consistent font rendering */
* {
    font-display: swap;
}

:root {
    /* Dark Gaming Theme Colors */
    --primary-color: #6c63ff;          /* Neon Purple - Primary Action Color */
    --secondary-color: #ff4c60;        /* Neon Pink - Secondary Accent */
    --accent-color: #3be8b0;           /* Neon Green - Tertiary Accent */
    --background: #1e1e2f;             /* Dark Background */
    --surface: #2a2a3f;                /* Slightly lighter surface */
    --card-bg: #2d2d44;                /* Card background */
    --text-color: #ffffff;             /* White text */
    --text-secondary: #b8b8d1;         /* Secondary text */
    --text-muted: #8a8aa3;             /* Muted text */
    --border-color: #3a3a4f;           /* Border color */
    --shadow: 0 8px 32px rgba(108, 99, 255, 0.2);
    --shadow-lg: 0 16px 48px rgba(108, 99, 255, 0.3);
    --shadow-neon: 0 0 20px rgba(108, 99, 255, 0.5);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--background) 0%, #2a2a3f 100%);
    font-size: 16px;
    min-height: 100vh;
    scroll-behavior: smooth;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed header */
}

/* Scroll notification styles */
.scroll-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(108, 99, 255, 0.9);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 99, 255, 0.3);
}

/* Accessibility */
@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,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

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

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

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

/* Header and Navigation */
.header {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(108, 99, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    height: 80px;
}

.navbar {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.5);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-container:hover .logo-image {
    border-color: var(--secondary-color);
    box-shadow: 0 0 25px rgba(255, 76, 96, 0.6);
    transform: rotate(5deg);
}

.logo-container h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(108, 99, 255, 0.6);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    margin: 0;
    white-space: nowrap;
}

.logo-container:hover h2 {
    text-shadow: 0 0 25px rgba(108, 99, 255, 0.8);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    position: relative;
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 76, 96, 0.1));
    border-radius: var(--border-radius);
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.login-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    flex-shrink: 0;
}

.login-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;
}

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

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.5);
    border-color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    position: relative;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(108, 99, 255, 0.1);
}

.bar {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
}

.hamburger:hover .bar {
    background: var(--secondary-color);
    box-shadow: 0 0 15px rgba(255, 76, 96, 0.5);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #8b7fff);
    color: white;
    box-shadow: var(--shadow);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::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: var(--transition);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon);
    background: linear-gradient(135deg, #8b7fff, var(--primary-color));
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.1), transparent);
    transition: var(--transition);
}

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

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

.btn-login {
    background: rgba(108, 99, 255, 0.1);
    color: var(--text-color);
    border: 1px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-login:hover {
    background: rgba(108, 99, 255, 0.2);
    color: var(--primary-color);
    box-shadow: var(--shadow-neon);
}

.btn-register {
    background: linear-gradient(135deg, var(--secondary-color), #ff6b7a);
    color: white;
    border: none;
}

.btn-register:hover {
    background: linear-gradient(135deg, #ff6b7a, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 76, 96, 0.5);
}

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

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding-top: 100px;
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 90px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-top: 85px;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--background) 0%, var(--surface) 50%, var(--card-bg) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 99, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 76, 96, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 232, 176, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-content h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(108, 99, 255, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 200px;
    transition: all 0.3s ease;
}

.hero-buttons .btn i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover i {
    transform: scale(1.1);
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    max-width: 400px;
    width: 100%;
    aspect-ratio: 1/1;
    min-height: 350px;
    margin: 0 auto;
}

.hero-image img {
    width: 100%;
    max-width: 350px;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(108, 99, 255, 0.3),
        0 0 0 1px rgba(108, 99, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotateY(-3deg) rotateX(3deg);
    filter: brightness(1.1) contrast(1.1);
    animation: floatAnimation 4s ease-in-out infinite;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: 
        radial-gradient(circle at 30% 70%, rgba(108, 99, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 76, 96, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 232, 176, 0.3) 0%, transparent 50%);
    border-radius: 30px;
    z-index: 1;
    opacity: 0.7;
    filter: blur(25px);
    animation: glowPulse 3s ease-in-out infinite alternate;
}

/* Skeleton placeholder for hero image */
.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(108, 99, 255, 0.1) 25%, 
        rgba(108, 99, 255, 0.2) 50%, 
        rgba(108, 99, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 20px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image.loading::after {
    opacity: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: 
        linear-gradient(45deg, 
            transparent 30%, 
            rgba(255, 255, 255, 0.15) 50%, 
            transparent 70%);
    border-radius: 25px;
    z-index: 1;
    opacity: 0.9;
    filter: blur(10px);
    animation: shimmer 4s ease-in-out infinite;
}

/* Skeleton placeholder for hero image */
.hero-image-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(108, 99, 255, 0.1) 25%, 
        rgba(108, 99, 255, 0.2) 50%, 
        rgba(108, 99, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 20px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image.loading .hero-image-skeleton {
    opacity: 1;
}

.hero-image:hover img {
    transform: rotateY(-1deg) rotateX(1deg) scale(1.05);
    box-shadow: 
        0 35px 70px rgba(108, 99, 255, 0.5),
        0 0 0 2px rgba(108, 99, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: brightness(1.3) contrast(1.2);
    animation: bounceAnimation 0.8s ease-in-out;
}

.hero-image:hover::before {
    opacity: 0.9;
    filter: blur(30px);
    animation: glowPulse 1.5s ease-in-out infinite alternate;
}

.hero-image:hover::after {
    opacity: 1;
    animation: shimmer 2s ease-in-out infinite;
}

/* Modern Animation Keyframes */
@keyframes floatAnimation {
    0%, 100% {
        transform: rotateY(-3deg) rotateX(3deg) translateY(0px);
    }
    50% {
        transform: rotateY(-3deg) rotateX(3deg) translateY(-8px);
    }
}

@keyframes bounceAnimation {
    0%, 20%, 53%, 80%, 100% {
        transform: rotateY(-1deg) rotateX(1deg) scale(1.05) translateY(0);
    }
    40%, 43% {
        transform: rotateY(-1deg) rotateX(1deg) scale(1.05) translateY(-15px);
    }
    70% {
        transform: rotateY(-1deg) rotateX(1deg) scale(1.05) translateY(-7px);
    }
    90% {
        transform: rotateY(-1deg) rotateX(1deg) scale(1.05) translateY(-3px);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.9;
        transform: scale(1.08);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.7;
        transform: translateX(-100%) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: translateX(100%) rotate(180deg);
    }
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: var(--surface);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 90%, rgba(108, 99, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(255, 76, 96, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.1), transparent);
    transition: var(--transition);
}

.feature-card:hover::before {
    left: 100%;
}

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

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

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

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

/* Registration Section */
.registration-section {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--surface) 100%);
    color: var(--text-color);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.registration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(108, 99, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 76, 96, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.registration-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
}

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

.step {
    text-align: center;
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05), rgba(255, 76, 96, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.step:hover::before {
    opacity: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-neon);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
    filter: blur(5px);
}

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

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* About Preview */
.about-preview {
    padding: 4rem 0;
    background: var(--background);
    position: relative;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 80%, rgba(59, 232, 176, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 20%, rgba(108, 99, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-content h3 {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #121212;
    border-top: 2px solid var(--primary-color);
    padding: 4rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 76, 96, 0.1));
    pointer-events: none;
}

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

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

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

.footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer-section a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(108, 99, 255, 0.6);
    padding-left: 8px;
}

.footer-section a:hover::before {
    width: 100%;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

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

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
    border-color: var(--accent-color);
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(108, 99, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(224, 224, 224, 0.6);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.newsletter-form button::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;
}

.newsletter-form button:hover::before {
    left: 100%;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(108, 99, 255, 0.3);
    padding-top: 2rem;
    text-align: center;
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Responsive Design */
/* Responsive Design - Header and Navigation */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-menu {
        gap: 6px;
    }
    
    .nav-link {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .login-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-menu {
        gap: 4px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .logo-container h2 {
        font-size: 1.4rem;
    }
    
    .logo-image {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        gap: 2px;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .logo-container h2 {
        font-size: 1.3rem;
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }
    
    .nav-container {
        padding: 0 16px;
        height: 70px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        gap: 1.5rem;
        text-align: center;
        padding: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-item {
        width: 100%;
        max-width: 300px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active .nav-item:nth-child(5) { transition-delay: 0.5s; }
    .nav-menu.active .nav-item:nth-child(6) { transition-delay: 0.6s; }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 1.2rem 1.5rem;
        text-align: center;
        border-radius: var(--border-radius);
        background: rgba(108, 99, 255, 0.05);
        border: 1px solid rgba(108, 99, 255, 0.1);
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        min-height: 50px;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(108, 99, 255, 0.15);
        border-color: var(--primary-color);
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
    }
    
    .login-btn {
        display: block;
        width: 100%;
        padding: 1.2rem 1.5rem;
        text-align: center;
        border-radius: var(--border-radius);
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border: 1px solid var(--primary-color);
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 0.5rem;
        min-height: 50px;
    }
    
    .login-btn:hover {
        background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
        border-color: var(--secondary-color);
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(255, 76, 96, 0.3);
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .logo-container h2 {
        font-size: 1.2rem;
    }
    
    .logo-image {
        width: 36px;
        height: 36px;
    }
    
    /* Other responsive adjustments */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-image {
        max-width: 300px;
        min-height: 300px;
        order: -1;
    }
    
    .hero-image img {
        max-width: 280px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        min-width: 250px;
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .registration-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"] {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        height: 65px;
    }
    
    .nav-container {
        padding: 0 12px;
        height: 65px;
    }
    
    .logo-container {
        gap: 8px;
    }
    
    .logo-container h2 {
        font-size: 1.1rem;
    }
    
    .logo-image {
        width: 32px;
        height: 32px;
    }
    
    .nav-menu {
        padding: 1.5rem;
    }
    
    .nav-link {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .login-btn {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hamburger {
        width: 28px;
        height: 28px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-image {
        max-width: 250px;
        min-height: 250px;
    }
    
    .hero-image img {
        max-width: 230px;
    }
    
    .hero-buttons .btn {
        min-width: 200px;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .nav-container {
        padding: 0 8px;
    }
    
    .logo-container h2 {
        font-size: 1rem;
    }
    
    .logo-image {
        width: 28px;
        height: 28px;
    }
    
    .hamburger {
        width: 24px;
        height: 24px;
    }
    
    .hero-image {
        max-width: 200px;
        min-height: 200px;
    }
    
    .hero-image img {
        max-width: 180px;
    }
}

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

.hero-content,
.feature-card,
.step {
    animation: fadeInUp 0.6s ease-out;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #6c63ff;
        --secondary-color: #ff4c60;
        --accent-color: #3be8b0;
        --text-color: #ffffff;
        --text-secondary: #ffffff;
        --text-muted: #cccccc;
        --background: #000000;
        --surface: #111111;
        --card-bg: #1a1a1a;
        --border-color: #333333;
    }
}

/* Page-specific styles */
.page-header {
    background: linear-gradient(135deg, var(--surface) 0%, var(--card-bg) 100%);
    color: var(--text-color);
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 99, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 76, 96, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.content-section {
    padding: 2rem 0;
}

.policy-content,
.terms-content,
.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.policy-content h2,
.terms-content h2,
.disclaimer-content h2 {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.policy-content h3,
.terms-content h3,
.disclaimer-content h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.policy-content p,
.terms-content p,
.disclaimer-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.policy-content ul,
.terms-content ul,
.disclaimer-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-content li,
.terms-content li,
.disclaimer-content li {
    margin-bottom: 0.5rem;
}

.policy-footer,
.terms-footer,
.disclaimer-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--light-text);
}

.disclaimer-notice {
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
}

.disclaimer-notice h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Contact page styles */
.contact-section {
    padding: 3rem 0;
}

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

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

.topic {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.topic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.1), transparent);
    transition: var(--transition);
}

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

.topic:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
    border-color: var(--primary-color);
}

.topic-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.topic h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

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

.method {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.method:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-neon);
    border-color: var(--primary-color);
}

.method-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.method-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.method-details p {
    margin: 0;
    color: var(--light-text);
    font-size: 0.9rem;
}

.contact-form-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--surface);
    color: var(--text-color);
}

.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(108, 99, 255, 0.2);
    background: var(--card-bg);
}

.form-help {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-top: 0.25rem;
}

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

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

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

.checkbox-label a:hover {
    text-decoration: underline;
}

/* FAQ section */
.faq-section {
    padding: 4rem 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 99, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 76, 96, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.faq-section h2 {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

/* FAQ Container and Categories */
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-category:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.faq-category h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-category h3 i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* FAQ Items */
.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border: 1px solid rgba(108, 99, 255, 0.1);
    transition: var(--transition);
    overflow: hidden;
}

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

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.2);
}

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

.faq-question:hover {
    background: rgba(108, 99, 255, 0.1);
}

.faq-question h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    margin-left: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

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

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Support Section */
.support-section {
    margin-top: 4rem;
    text-align: center;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 76, 96, 0.1));
    pointer-events: none;
}

.support-content {
    position: relative;
    z-index: 1;
}

.support-content h3 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.support-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* FAQ Grid (for contact page) */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.faq-grid .faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
    border-color: var(--primary-color);
}

.faq-grid .faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-grid .faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Support hours */
.support-hours {
    padding: 3rem 0;
}

.support-hours h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

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

.hours-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
    border-color: var(--primary-color);
}

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

.hours-item p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* 404 Error page */
.error-section {
    padding: 4rem 0;
    text-align: center;
}

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

.error-number {
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-content h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

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

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

.error-suggestions {
    text-align: left;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.error-suggestions h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
}

.error-suggestions li {
    margin-bottom: 0.5rem;
}

.error-suggestions a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 0;
    display: inline-block;
    transition: var(--transition);
}

.error-suggestions a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(255, 76, 96, 0.5);
}

.error-info {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.error-info p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Responsive design for new pages */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .support-topics {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
    
    /* FAQ Page Responsive */
    .faq-container {
        padding: 0 1rem;
    }
    
    .faq-category {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .faq-category h3 {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
    }
    
    .support-section {
        padding: 2rem 1rem;
        margin-top: 3rem;
    }
    
    .support-content h3 {
        font-size: 1.5rem;
    }
    
    .support-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .support-buttons .btn {
        min-width: 200px;
    }
    
    .error-number {
        font-size: 6rem;
    }
    
    .error-content h1 {
        font-size: 2rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .method {
        flex-direction: column;
        text-align: center;
    }
    
    .method-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Comprehensive Content Styles */
.comprehensive-content {
    padding: 4rem 0;
    background: var(--background);
    position: relative;
}

.comprehensive-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 99, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 76, 96, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.content-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.content-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.content-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
    border-color: var(--primary-color);
}

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

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

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.step-item {
    text-align: center;
    padding: 2rem;
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.step-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
    border-color: var(--primary-color);
}

.step-item .step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-neon);
}

.step-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.step-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

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

.category-item {
    text-align: center;
    padding: 2rem;
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
    border-color: var(--primary-color);
}

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

.category-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.category-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-item {
    text-align: center;
    padding: 2rem;
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tip-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
    border-color: var(--primary-color);
}

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

.tip-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.tip-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Comparison Table */
.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table tr:hover {
    background: rgba(108, 99, 255, 0.05);
}

.comparison-conclusion {
    text-align: center;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2rem;
}

/* Warning Notice */
.warning-notice {
    background: rgba(255, 76, 96, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.warning-notice p {
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
}

/* Withdrawal Steps */
.withdrawal-steps {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.withdrawal-steps li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
}

.withdrawal-steps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* App Features */
.app-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.app-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
}

.app-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

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

.testimonial-item {
    text-align: center;
    padding: 2rem;
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
    border-color: var(--primary-color);
}

.testimonial-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

/* Conclusion Section */
.conclusion-section {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
}

.conclusion-section h3 {
    color: white;
}

.conclusion-section p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-final {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.cta-final p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Responsive Design for Comprehensive Content */
@media (max-width: 768px) {
    .content-intro h2 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.5rem;
    }
    
    .benefits-grid,
    .steps-grid,
    .game-categories,
    .tips-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }
}

/* How to Register and Login Section */
.how-to-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.how-to-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 99, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 76, 96, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 232, 176, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.how-to-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.how-to-card {
    background: linear-gradient(145deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(108, 99, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.how-to-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6c63ff, #ff4c60, #3be8b0);
    border-radius: 20px 20px 0 0;
}

.how-to-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 2px rgba(108, 99, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, #333333 0%, #252525 100%);
}

.how-to-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.how-to-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6c63ff, #ff4c60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 
        0 8px 25px rgba(108, 99, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.how-to-card:hover .how-to-icon {
    transform: scale(1.1);
    box-shadow: 
        0 12px 35px rgba(108, 99, 255, 0.6),
        0 0 0 2px rgba(255, 255, 255, 0.2);
}

.how-to-header h3 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.how-to-intro {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.how-to-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.how-to-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, #333333 0%, #2a2a2a 100%);
    border-radius: 15px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.how-to-step:hover {
    background: linear-gradient(145deg, #3a3a3a 0%, #303030 100%);
    border-color: rgba(108, 99, 255, 0.4);
    transform: translateX(8px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(108, 99, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.step-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6c63ff, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 
        0 6px 20px rgba(108, 99, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.how-to-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 
        0 8px 25px rgba(108, 99, 255, 0.6),
        0 0 0 2px rgba(255, 255, 255, 0.2);
}

.step-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.step-number {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ff4c60, #ff6b7a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 
        0 4px 15px rgba(255, 76, 96, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.step-text {
    flex: 1;
    line-height: 1.6;
    color: #ffffff;
}

.step-text strong {
    color: #3be8b0;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(59, 232, 176, 0.3);
}

.step-link {
    color: #6c63ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    text-shadow: 0 0 10px rgba(108, 99, 255, 0.3);
}

.step-link:hover {
    color: #3be8b0;
    border-bottom-color: #3be8b0;
    text-shadow: 0 0 15px rgba(59, 232, 176, 0.5);
}

.step-note {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
    padding-left: 1rem;
    border-left: 2px solid rgba(108, 99, 255, 0.4);
}

.how-to-footer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, #333333 0%, #2a2a2a 100%);
    border-radius: 12px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.how-to-footer p {
    margin: 0;
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
}

.forgot-password-link {
    color: #6c63ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    text-shadow: 0 0 10px rgba(108, 99, 255, 0.3);
}

.forgot-password-link:hover {
    color: #3be8b0;
    border-bottom-color: #3be8b0;
    text-shadow: 0 0 15px rgba(59, 232, 176, 0.5);
}

/* How to Section Responsive */
@media (max-width: 1024px) {
    .how-to-grid {
        gap: 2rem;
    }
    
    .how-to-card {
        padding: 2rem;
    }
    
    .how-to-header h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .how-to-section {
        padding: 3rem 0;
    }
    
    .how-to-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .how-to-card {
        padding: 1.5rem;
    }
    
    .how-to-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .how-to-header h3 {
        font-size: 1.5rem;
    }
    
    .how-to-step {
        padding: 1rem;
    }
    
    .step-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .step-number {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .how-to-section {
        padding: 2rem 0;
    }
    
    .how-to-card {
        padding: 1rem;
    }
    
    .how-to-header h3 {
        font-size: 1.3rem;
    }
    
    .how-to-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .step-content {
        align-items: center;
        text-align: center;
    }
    
    .step-note {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid rgba(108, 99, 255, 0.3);
        padding-top: 0.5rem;
        margin-top: 0.5rem;
    }
}

/* Games Section */
.games-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 99, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 76, 96, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 232, 176, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.games-section .container {
    position: relative;
    z-index: 2;
}

.games-section h3 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.games-section p {
    color: #e0e0e0;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
}

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

.category-item {
    background: linear-gradient(145deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(108, 99, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6c63ff, #ff4c60, #3be8b0);
    border-radius: 20px 20px 0 0;
}

.category-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 2px rgba(108, 99, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, #333333 0%, #252525 100%);
}

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

.category-item h4 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-item p {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Games Section Responsive */
@media (max-width: 768px) {
    .games-section {
        padding: 3rem 0;
    }
    
    .games-section h3 {
        font-size: 2rem;
    }
    
    .games-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .game-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .games-section {
        padding: 2rem 0;
    }
    
    .games-section h3 {
        font-size: 1.8rem;
    }
    
    .category-item {
        padding: 1rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .category-item h4 {
        font-size: 1.2rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(108, 99, 255, 0.3),
        0 0 0 1px rgba(108, 99, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(108, 99, 255, 0.4) 0%, 
        rgba(255, 76, 96, 0.4) 50%, 
        rgba(59, 232, 176, 0.4) 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.back-to-top:hover::before {
    opacity: 1;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 
        0 15px 35px rgba(108, 99, 255, 0.4),
        0 0 0 2px rgba(108, 99, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #7c3aed, var(--primary-color));
}

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

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

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

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

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

/* Print styles */
@media print {
    .header,
    .footer,
    .back-to-top,
    .nav-buttons,
    .hero-buttons,
    .registration-cta {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section {
        background: white;
        color: black;
    }
} 