/* Jungle Games - Modern Gaming Platform Styles */
:root {
    --bright-red: #EF4444;
    --electric-blue: #3B82F6;
    --dark-purple: #1E1B4B;
    --charcoal-black: #0F172A;
    --neon-pink: #F472B6;
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --medium-gray: #64748B;
    --dark-gray: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--charcoal-black);
    background-color: var(--white);
    padding-top: 80px;
}

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, var(--dark-purple), var(--electric-blue));
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--neon-pink);
    text-decoration: none;
}

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover {
    color: var(--neon-pink);
    background-color: rgba(255,255,255,0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: var(--light-gray);
    padding: 0.75rem 0;
    border-bottom: 1px solid #E2E8F0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list a {
    color: var(--electric-blue);
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--medium-gray);
    margin: 0 0.5rem;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Main Content */
#main-content {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 8rem 2rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.6;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2rem;
}

.hero-text {
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    display: block;
    width: 100%;
}

.highlight {
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 700px;
    font-weight: 300;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 100%;
    margin-top: 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.stat-item:hover::before {
    transform: translateX(100%);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffa500;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-hero::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.6s;
}

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

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.btn-hero svg {
    transition: transform 0.3s ease;
}

.btn-hero:hover svg {
    transform: translateX(5px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
    margin-top: 3rem;
}

.gaming-cards {
    position: relative;
    width: 400px;
    height: 300px;
    transform: perspective(1000px) rotateY(-15deg);
}

.card {
    position: absolute;
    width: 160px;
    height: 100px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #2c3e50;
    animation: cardFloat 4s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s;
}

.card:hover::before {
    transform: translateX(100%);
}

.card:hover {
    transform: translateY(-15px) rotateY(0deg) scale(1.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.card-1 {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    z-index: 3;
    transform: rotate(-5deg);
}

.card-2 {
    top: 80px;
    right: 30px;
    animation-delay: 1.5s;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    z-index: 2;
    transform: rotate(8deg);
}

.card-3 {
    bottom: 30px;
    left: 60px;
    animation-delay: 3s;
    background: linear-gradient(135deg, #a8e6cf, #7fcdcd);
    color: #2c3e50;
    z-index: 1;
    transform: rotate(-3deg);
}

.card-content {
    font-size: 2.2rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

.card-suit {
    font-size: 1.4rem;
    opacity: 0.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-15px) rotate(calc(var(--rotation, 0deg) + 2deg)); }
}

/* Game Slider */
.game-slider-container {
    position: relative;
    max-width: 100%;
    margin: 2rem 0;
    padding: 0 60px;
    overflow: hidden;
    border-radius: 20px;
}

.game-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
    padding: 1rem 0;
    width: max-content;
    min-width: 100%;
    padding-right: 0;
}

.game-card {
    width: 280px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.9));
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--neon-pink), var(--electric-blue));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.game-card:hover::before {
    opacity: 0.1;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.game-card-image {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    transition: transform 0.4s ease;
}

.game-card:hover .game-card-image img {
    transform: scale(1.1) rotate(5deg);
}

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

.game-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 0.5rem;
    transition: color 0.4s ease;
}

.game-card:hover .game-card-content h3 {
    color: var(--neon-pink);
}

.game-card-content p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--dark-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--neon-pink);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 25px rgba(244, 114, 182, 0.3);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(244, 114, 182, 0.7);
    border-color: var(--neon-pink);
    transform: scale(1.1);
}

/* Registration Steps */
.registration-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.9));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.4s ease;
    border-left: 4px solid var(--neon-pink);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--neon-pink), var(--electric-blue));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

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

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

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--neon-pink), var(--electric-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(244, 114, 182, 0.3);
    border: 3px solid white;
}

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

.step-content h3 {
    color: var(--dark-purple);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    transition: color 0.4s ease;
}

.step:hover .step-content h3 {
    color: var(--neon-pink);
}

.step-content p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1rem;
}

.step-icon {
    font-size: 2.5rem;
    opacity: 0.8;
    transition: transform 0.4s ease;
}

.step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.login-section {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(244, 114, 182, 0.1));
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
}

.login-section h3 {
    color: var(--electric-blue);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.login-section p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.login-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.login-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    transition: all 0.3s ease;
    min-width: 120px;
}

.login-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-feature span:last-child {
    font-weight: 600;
    color: var(--dark-purple);
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

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

.btn-primary:hover {
    background-color: #DC2626;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}

.btn-secondary {
    background-color: var(--electric-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 2rem;
}

.btn-nav-login {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-nav-login:hover {
    background-color: var(--white);
    color: var(--dark-purple);
    transform: translateY(-1px);
}

.btn-nav-register {
    background-color: var(--neon-pink);
    color: var(--white);
    border: 1px solid var(--neon-pink);
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-nav-register:hover {
    background-color: #F43F5E;
    border-color: #F43F5E;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(244, 114, 182, 0.4);
}

/* Content Sections */
.content-section {
    margin-bottom: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.9));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-pink), var(--electric-blue), var(--bright-red));
    border-radius: 20px 20px 0 0;
}

.content-section h2 {
    color: var(--dark-purple);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
    letter-spacing: -0.02em;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-pink), var(--electric-blue));
    border-radius: 2px;
}

.content-section h3 {
    color: var(--electric-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0 1.5rem 0;
    position: relative;
    padding-left: 20px;
}

.content-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, var(--neon-pink), var(--electric-blue));
    border-radius: 2px;
}

.content-section p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark-gray);
    font-weight: 400;
}

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

.feature-card {
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--neon-pink);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

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

/* FAQ Section */
.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--light-gray);
    padding: 1.5rem;
    font-weight: bold;
    color: var(--dark-purple);
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #E2E8F0;
}

.faq-answer {
    padding: 1.5rem;
    background-color: var(--white);
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: var(--charcoal-black);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    color: var(--neon-pink);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--neon-pink);
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bright-red), var(--neon-pink));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, var(--neon-pink), var(--bright-red));
}

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

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

/* Responsive Design */

/* Large Desktop */
@media (min-width: 1200px) {
    #main-content {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* Desktop */
@media (max-width: 1199px) and (min-width: 992px) {
    #main-content {
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 769px) {
    #main-content {
        max-width: 100%;
        padding: 0 1rem;
        min-height: calc(100vh - 80px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }
    
    #main-content {
        max-width: 100%;
        padding: 0 0.5rem;
        min-height: calc(100vh - 100px);
        margin: 0;
    }
    
    .header {
        padding: 0.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--dark-purple), var(--electric-blue));
        flex-direction: column;
        gap: 0;
        padding: 2rem 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        z-index: 1000;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .nav-buttons {
        margin-left: 0;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-nav-login,
    .btn-nav-register {
        flex: 1;
        text-align: center;
        max-width: 100px;
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 4rem 1rem;
        min-height: 70vh;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 1rem;
        margin: 0 auto;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .gaming-cards {
        width: 280px;
        height: 200px;
        transform: perspective(800px) rotateY(-10deg);
    }
    
    .card {
        width: 120px;
        height: 80px;
    }
    
    .card .card-content {
        font-size: 1.8rem;
    }
    
    .card-suit {
        font-size: 1.2rem;
    }
    
    .content-section {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }
    
    .content-section h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.5rem;
        margin: 1.5rem 0 1rem 0;
        padding-left: 15px;
    }
    
    .content-section h3::before {
        width: 3px;
        height: 25px;
    }
    
    .content-section p {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .game-slider-container {
        margin: 1.5rem 0;
        padding: 0 50px;
    }
    
    .game-card {
        width: 250px;
        flex-shrink: 0;
        padding: 1.5rem;
    }
    
    .game-card-image {
        height: 140px;
        margin-bottom: 1rem;
    }
    
    .game-card-image img {
        width: 100%;
        height: 100%;
    }
    
    .game-card-content h3 {
        font-size: 1.3rem;
    }
    
    .game-card-content p {
        font-size: 0.8rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .prev-btn {
        left: 5px;
    }
    
    .next-btn {
        right: 5px;
    }
    
    .slider-dots {
        margin-top: 1.5rem;
        gap: 0.6rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .registration-steps {
        gap: 1.5rem;
        margin: 2rem 0;
        max-width: 100%;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
    
    .step-visual {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .step-icon {
        font-size: 2rem;
    }
    
    .login-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .login-features {
        gap: 1.5rem;
    }
    
    .login-feature {
        min-width: 100px;
        padding: 0.8rem;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--neon-pink);
    outline-offset: 2px;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--electric-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    #main-content {
        padding: 0 0.25rem;
        min-height: calc(100vh - 90px);
    }
}
