/* Landing Page Styles - Neon Arcade */
:root {
    --primary-color: #ff00ff;
    --secondary-color: #00ffff;
    --accent-color: #ff7700;
    --background-color: #0c0c2a;
    --dark-bg-color: #050518;
    --text-color: #ffffff;
    --glow-intensity: 0.7;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
    height: auto;
    overflow-y: auto;
}

body {
    background-color: var(--background-color);
    background-image: linear-gradient(to bottom, var(--background-color), var(--dark-bg-color));
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    min-height: 100%;
    overflow-y: auto;
    position: relative;
}

/* Header Styles */
.neon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background-color: rgba(12, 12, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    width: 100%;
    margin: 0 auto;
}

.header-logo h1 {
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
}

.header-logo h1 span {
    color: var(--secondary-color);
    text-shadow: 0 0 5px var(--secondary-color), 0 0 10px var(--secondary-color);
}

.header-nav {
    display: flex;
    align-items: center;
}

.auth-controls {
    display: flex;
    gap: 1rem;
}

.auth-button {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
    text-shadow: 0 0 5px var(--secondary-color);
}

.auth-button:hover {
    background-color: var(--secondary-color);
    color: var(--dark-bg-color);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.auth-button.register {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg-color);
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.3);
    text-shadow: none;
}

.auth-button.register:hover {
    background-color: #ff40ff;
    border-color: #ff40ff;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.auth-button.logout {
    background-color: transparent;
    border-color: #ff4040;
    color: #ff4040;
    box-shadow: 0 0 8px rgba(255, 64, 64, 0.3);
    text-shadow: 0 0 5px #ff4040;
}

.auth-button.logout:hover {
    background-color: #ff4040;
    color: var(--dark-bg-color);
    box-shadow: 0 0 15px rgba(255, 64, 64, 0.5);
    text-shadow: none;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-email {
    font-size: 0.9rem;
    color: var(--text-color);
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Main Content Styles */
.landing-content {
    flex: 1;
    padding-bottom: 2rem;
    margin-top: var(--header-height);
    height: auto;
    overflow: visible;
    min-height: calc(100vh - var(--header-height));
    display: block;
}

/* Hero Section */
.hero-section {
    height: calc(1080px - var(--header-height));
    min-height: 700px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    width: 100%;
    max-width: 1920px;
    scroll-snap-align: start;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(12, 12, 42, 0.4) 0%, rgba(5, 5, 24, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 4px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7),
                 0 0 20px rgba(255, 0, 255, 0.5),
                 0 0 30px rgba(255, 0, 255, 0.3);
}

.hero-title span {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color),
                 0 0 20px var(--primary-color),
                 0 0 30px var(--primary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.scroll-down-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: var(--dark-bg-color);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.scroll-down-btn:hover {
    background-color: #ff40ff;
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.5);
    transform: translateY(-3px);
}

.scroll-down-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

/* Games Catalog Section */
.games-catalog {
    padding: 5rem 0;
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    min-height: 800px;
    position: relative;
    display: block;
    height: auto;
    scroll-snap-align: start;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary-color);
    text-shadow: 0 0 5px var(--secondary-color),
                 0 0 10px var(--secondary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(0, 255, 255, 0) 0%, 
        rgba(0, 255, 255, 1) 50%, 
        rgba(0, 255, 255, 0) 100%);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

/* Game Slider */
.games-slider-container {
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 2rem;
}

.games-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    padding: 0 1rem;
    z-index: 10;
    pointer-events: none;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
    pointer-events: auto;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: rgba(255, 0, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.slider-arrow span {
    font-size: 2rem;
    color: var(--text-color);
    text-shadow: 0 0 5px var(--primary-color);
}

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

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--secondary-color);
}

.slider-dot.active {
    background-color: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.games-grid {
    display: flex;
    gap: 2rem;
}

.game-card {
    background-color: rgba(12, 12, 42, 0.5);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 350px;
    flex: 0 0 350px;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4),
                0 0 15px rgba(0, 255, 255, 0.4);
    border-color: rgba(0, 255, 255, 0.5);
}

.game-card.active:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4),
                0 0 15px rgba(255, 0, 255, 0.4);
    border-color: rgba(255, 0, 255, 0.5);
}

.game-preview {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.game-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-preview img {
    transform: scale(1.05);
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    letter-spacing: 2px;
    text-shadow: 0 0 5px var(--primary-color),
                 0 0 10px var(--primary-color);
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.game-info p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    font-size: 0.95rem;
}

.play-button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    border: none;
    border-radius: 4px;
    color: var(--dark-bg-color);
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.3);
}

.play-button:hover {
    background-color: #ff40ff;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.play-button:disabled {
    background-color: rgba(255, 0, 255, 0.3);
    cursor: not-allowed;
    color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

/* Footer Styles */
.neon-footer {
    margin-top: auto;
    padding: 2.5rem;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    background-color: rgba(5, 5, 24, 0.95);
    position: relative;
    z-index: 10;
}

.footer-content p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Auth Modal Styles */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background-color: var(--dark-bg-color);
    width: 90%;
    max-width: 450px;
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3),
                0 0 40px rgba(0, 255, 255, 0.1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-shadow: 0 0 5px var(--secondary-color);
    letter-spacing: 2px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.auth-submit {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    color: var(--dark-bg-color);
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

.auth-submit:hover {
    background-color: #40ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #40ffff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.auth-error {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff4040;
    padding: 0.75rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.auth-success {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #40ff40;
    padding: 0.75rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.auth-note {
    background-color: rgba(255, 128, 0, 0.1);
    border: 1px solid rgba(255, 128, 0, 0.3);
    color: #ffaa40;
    padding: 0.75rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.hidden {
    display: none !important;
}

/* Password Requirements */
.password-requirements {
    margin-top: 0.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.password-requirements p {
    margin: 0 0 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.password-requirements ul {
    margin: 0;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.password-requirements ul li {
    margin-bottom: 0.25rem;
}

.password-requirements ul li.valid {
    color: #40ff40;
}

/* Verification Modal Specific */
.verification-message {
    margin-bottom: 1.5rem;
    text-align: center;
}

.verification-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.verification-actions button {
    flex: 1;
    padding: 0.75rem;
}

/* Responsive Styles */
@media (max-width: 1920px) {
    .hero-section {
        height: calc(100vh - var(--header-height));
        min-height: 600px;
        max-height: 1000px;
    }
    
    .neon-header {
        max-width: 100%;
    }
    
    html, body {
        height: auto !important;
        overflow-y: auto !important;
    }
    
    .landing-content {
        height: auto !important;
        overflow: visible !important;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .neon-header {
        padding: 0.75rem 1rem;
    }
    
    .header-logo h1 {
        font-size: 1.4rem;
    }
    
    .auth-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .user-profile {
        gap: 0.5rem;
    }
    
    .user-email {
        max-width: 100px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .games-slider-container {
        padding: 0 1rem;
    }
    
    .game-card {
        min-width: 300px;
        flex: 0 0 300px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .verification-actions {
        flex-direction: column;
    }
}

/* Animations */
@keyframes neon-pulse {
    0% {
        opacity: 1;
        text-shadow: 0 0 5px rgba(255, 0, 255, 0.7),
                     0 0 10px rgba(255, 0, 255, 0.5),
                     0 0 20px rgba(255, 0, 255, 0.3);
    }
    50% {
        opacity: 0.8;
        text-shadow: 0 0 10px rgba(255, 0, 255, 0.9),
                     0 0 20px rgba(255, 0, 255, 0.7),
                     0 0 30px rgba(255, 0, 255, 0.5);
    }
    100% {
        opacity: 1;
        text-shadow: 0 0 5px rgba(255, 0, 255, 0.7),
                     0 0 10px rgba(255, 0, 255, 0.5),
                     0 0 20px rgba(255, 0, 255, 0.3);
    }
}

.hero-title span {
    animation: neon-pulse 2s infinite;
}

/* Background Effect */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(0deg, var(--dark-bg-color) 0%, transparent 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff00ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2300ffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-position: center;
    z-index: 0;
}