/* CSS Variables for Neon Theme */
:root {
    --neon-red: #FF0040;
    --neon-red-light: #FF1A75;
    --neon-blue: #00D4FF;
    --neon-blue-light: #0099FF;
    --bg-dark: #0A0014;
    --bg-medium: #1A0033;
    --bg-light: #2A0044;
    --text-primary: #FFFFFF;
    --text-secondary: #B8B8D0;
    --accent-gradient: linear-gradient(135deg, var(--neon-red), var(--neon-blue));
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0A0014 0%, #1A0033 50%, #0A0014 100%);
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-blue);
    animation: float 20s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; animation-delay: 2s; background: var(--neon-red); box-shadow: 0 0 10px var(--neon-red); }
.particle:nth-child(3) { left: 50%; animation-delay: 4s; }
.particle:nth-child(4) { left: 70%; animation-delay: 6s; background: var(--neon-red); box-shadow: 0 0 10px var(--neon-red); }
.particle:nth-child(5) { left: 90%; animation-delay: 8s; }

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 220px;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px var(--neon-blue));
}

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

/* Footer Logo */
.footer-logo-img {
    height: 40px;
    width: auto;
    max-width: 165px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px var(--neon-blue));
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 0, 20, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 0, 64, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
    z-index: 1000;
    animation: none !important;
    transform: none !important;
}

/* Legacy Logo Text (hidden when image is present) */
.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    display: none; /* Hidden by default, shown as fallback */
}

.logo-accent {
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-blue);
}

/* Show text logo only if image fails to load */
.logo-img:not([src]), .logo-img[src=""], .logo-img[src="data:,"], .footer-logo-img:not([src]), .footer-logo-img[src=""], .footer-logo-img[src="data:,"],
.logo-img[src="undefined"], .footer-logo-img[src="undefined"] {
    display: none;
}

.logo-img:not([src]) ~ .logo-text, .logo-img[src=""] ~ .logo-text, .logo-img[src="data:,"] ~ .logo-text, .footer-logo-img:not([src]) ~ .logo-text, .footer-logo-img[src=""] ~ .logo-text, .footer-logo-img[src="data:,"] ~ .logo-text,
.logo-img[src="undefined"] ~ .logo-text, .footer-logo-img[src="undefined"] ~ .logo-text {
    display: block;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    animation: none !important;
    transform: none !important;
}

.nav-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--neon-blue);
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 0 5px var(--neon-blue);
}

/* Hero Title */
.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0.5rem 0;
    text-shadow: 
        0 0 10px rgba(255, 0, 64, 0.3),
        0 0 20px rgba(0, 212, 255, 0.15);
    animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        text-shadow: 
            0 0 20px rgba(255, 0, 64, 0.5),
            0 0 40px rgba(0, 212, 255, 0.3);
    }
    to {
        text-shadow: 
            0 0 30px rgba(255, 0, 64, 0.8),
            0 0 60px rgba(0, 212, 255, 0.5);
    }
}

/* Hero Logo */
.hero-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.hero-logo-img {
    width: 320px;
    height: auto;
    max-width: 80vw;
    border-radius: 15px;
    animation: heroLogoAppear 1s ease-out;
    transition: all 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 50px rgba(0, 212, 255, 0.8));
}

@keyframes heroLogoAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Hero Visual Elements */
.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    animation: floatModern 20s infinite ease-in-out;
}

.floating-element.neon-red {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--neon-red), transparent 70%);
    border: 2px solid var(--neon-red);
    box-shadow: 
        0 0 40px var(--neon-red),
        inset 0 0 40px rgba(255, 0, 64, 0.3);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.floating-element.neon-blue {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--neon-blue), transparent 70%);
    border: 2px solid var(--neon-blue);
    box-shadow: 
        0 0 50px var(--neon-blue),
        inset 0 0 50px rgba(0, 212, 255, 0.3);
    top: 60%;
    right: 15%;
    animation-delay: 3s;
    animation-duration: 22s;
}

.floating-element.neon-red-alt {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--neon-red-light), transparent 70%);
    border: 2px solid var(--neon-red-light);
    box-shadow: 
        0 0 30px var(--neon-red-light),
        inset 0 0 30px rgba(255, 26, 117, 0.3);
    top: 30%;
    right: 40%;
    animation-delay: 5s;
    animation-duration: 25s;
}

.floating-element.neon-blue-alt {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--neon-blue-light), transparent 70%);
    border: 2px solid var(--neon-blue-light);
    box-shadow: 
        0 0 35px var(--neon-blue-light),
        inset 0 0 35px rgba(0, 153, 255, 0.3);
    bottom: 20%;
    left: 20%;
    animation-delay: 7s;
    animation-duration: 20s;
}

.floating-element.neon-red-small {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--neon-red), transparent 70%);
    border: 1px solid var(--neon-red);
    box-shadow: 
        0 0 25px var(--neon-red),
        inset 0 0 25px rgba(255, 0, 64, 0.2);
    top: 15%;
    right: 25%;
    animation-delay: 9s;
    animation-duration: 16s;
}

.floating-element.neon-blue-small {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, var(--neon-blue), transparent 70%);
    border: 1px solid var(--neon-blue);
    box-shadow: 
        0 0 28px var(--neon-blue),
        inset 0 0 28px rgba(0, 212, 255, 0.2);
    top: 70%;
    left: 35%;
    animation-delay: 11s;
    animation-duration: 19s;
}

@keyframes floatModern {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(30px, -40px) rotate(90deg) scale(1.1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-20px, -60px) rotate(180deg) scale(0.9);
        opacity: 0.9;
    }
    75% {
        transform: translate(40px, -30px) rotate(270deg) scale(1.05);
        opacity: 0.7;
    }
}

/* Responsive Hero Elements */
@media (max-width: 768px) {
    .floating-element {
        animation: none !important;
        position: static !important;
        display: none !important;
    }
    
    .particle {
        animation: none !important;
        display: none !important;
    }
    
    .floating-element.neon-red {
        width: 80px;
        height: 80px;
        top: 15%;
        left: 5%;
    }
    
    .floating-element.neon-blue {
        width: 100px;
        height: 100px;
        top: 70%;
        right: 5%;
    }
    
    .floating-element.neon-red-alt {
        width: 60px;
        height: 60px;
        top: 25%;
        right: 30%;
    }
    
    .floating-element.neon-blue-alt {
        width: 70px;
        height: 70px;
        bottom: 15%;
        left: 10%;
    }
    
    .floating-element.neon-red-small {
        width: 50px;
        height: 50px;
        top: 10%;
        right: 20%;
    }
    
    .floating-element.neon-blue-small {
        width: 55px;
        height: 55px;
        top: 75%;
        right: 15%;
    }
}

@media (max-width: 480px) {
    .floating-element.neon-red {
        width: 60px;
        height: 60px;
    }
    
    .floating-element.neon-blue {
        width: 80px;
        height: 80px;
    }
    
    .floating-element.neon-red-alt {
        width: 45px;
        height: 45px;
    }
    
    .floating-element.neon-blue-alt {
        width: 50px;
        height: 50px;
    }
    
    .floating-element.neon-red-small {
        width: 40px;
        height: 40px;
    }
    
    .floating-element.neon-blue-small {
        width: 45px;
        height: 45px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
    background: radial-gradient(ellipse at center, rgba(255, 0, 64, 0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0.5rem 0;
    text-shadow: 
        0 0 10px rgba(255, 0, 64, 0.3),
        0 0 20px rgba(0, 212, 255, 0.15);
    animation: titleGlow 4s ease-in-out infinite alternate;
}

.title-line {
    display: block;
}

.title-line.accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 0, 64, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--neon-blue);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-button {
    position: relative;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--neon-red);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--neon-red);
    transform: translateY(-2px);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-red);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover .button-glow {
    left: 0;
}

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

/* Section Titles */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tournaments Section */
.tournaments {
    padding: 5rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 0, 51, 0.5) 100%);
}

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

.tournament-card {
    background: rgba(42, 0, 68, 0.8);
    border: 1px solid rgba(255, 0, 64, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tournament-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.tournament-card:nth-child(2):hover {
    border-color: var(--neon-red);
    box-shadow: 0 20px 40px rgba(255, 0, 64, 0.3);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.game-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tournament-card:hover .game-logo {
    transform: scale(1.1);
}

.icon-cs, .icon-valorant, .icon-laser {
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.tournament-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 64, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tournament-card:hover .card-glow {
    opacity: 1;
}

/* Media Section */
.media {
    padding: 5rem 0;
    background: rgba(26, 0, 51, 0.3);
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    background: var(--bg-medium);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
}

/* Featured Main Video */

.social-section {
    text-align: center;
}

.social-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--neon-blue);
}

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

.social-card {
    background: rgba(42, 0, 68, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.3);
}

.social-card.instagram:hover {
    border-color: var(--neon-red);
    box-shadow: 0 15px 30px rgba(255, 0, 64, 0.3);
}

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

.social-card p {
    color: var(--text-secondary);
    font-weight: 600;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(26, 0, 51, 0.5) 0%, transparent 100%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: var(--bg-medium);
    border-top: 1px solid rgba(255, 0, 64, 0.3);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.creator-credit {
    color: var(--neon-blue);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.creator-credit:hover {
    opacity: 1;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.footer-partners h3,
.footer-contact h3 {
    font-family: 'Orbitron', monospace;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.partner-logos {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.8);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transform: scale(1.05);
}

.partner {
    background: rgba(255, 0, 64, 0.2);
    border: 1px solid var(--neon-red);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    color: var(--neon-red);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--neon-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 0, 64, 0.1);
    color: var(--text-secondary);
}

/* Section Subtitles */
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tournaments Section Enhanced */
.featured-event {
    margin-bottom: 4rem;
}

.featured-event h3 {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: var(--neon-blue);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px var(--neon-blue);
}

.tournament-card.featured {
    border: 2px solid var(--neon-blue);
    transform: scale(1.05);
}

.tournament-card.featured:hover {
    border-color: var(--neon-red);
    box-shadow: 0 25px 50px rgba(255, 0, 64, 0.4);
}

.future-events {
    background: rgba(26, 0, 51, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 0, 64, 0.2);
}

.future-events h3 {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: var(--neon-red);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px var(--neon-red);
}

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

.possibility-card {
    background: rgba(42, 0, 68, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.possibility-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.3);
}

.possibility-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.possibility-card h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(42, 0, 68, 0.3) 100%);
}

.phases {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.phase {
    flex: 1;
    min-width: 200px;
    text-align: center;
    background: rgba(26, 0, 51, 0.8);
    border: 1px solid rgba(255, 0, 64, 0.3);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.phase:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.phase-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    color: var(--bg-dark);
}

.phase h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
}

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

.phase-arrow {
    font-size: 2rem;
    color: var(--neon-red);
    font-weight: bold;
    text-shadow: 0 0 20px var(--neon-red);
}

/* VIDEO CONTAINER STYLES - LIMPIEZA COMPLETA */

/* Reset de video containers */
.video-embed {
    height: 400px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: rgba(42, 0, 68, 0.8);
    border: 1px solid rgba(255, 0, 64, 0.3);
    position: relative;
}

.video-embed blockquote {
    background: transparent !important;
    border: none !important;
    border-radius: 15px 15px 0 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.video-embed blockquote div {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.video-embed blockquote div[style] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.video-embed blockquote div[style] * {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px 15px 0 0;
}

.video-container {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 15px !important;
    padding: 0 !important;
    padding-bottom: 56.25% !important;
    background: var(--bg-medium);
}

.video-container iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 15px !important;
    display: block !important;
    transition: all 0.3s ease;
}

/* Featured Main Video - ESTILO FORZADO */
.video-container.featured-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    border-radius: 15px !important;
    border: 2px solid rgba(255, 0, 64, 0.3) !important;
    background: var(--bg-medium) !important;
    overflow: hidden !important;
    position: relative !important;
    padding-bottom: 56.25% !important;
}

.video-container.featured-main:hover {
    box-shadow: 
        0 0 70px rgba(255, 0, 64, 0.6),
        0 0 120px rgba(255, 0, 64, 0.3) !important;
    transform: scale(1.02) !important;
    transition: all 0.3s ease !important;
}

.video-container.featured-main iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 15px !important;
    display: block !important;
}

/* Video Fallback */
.video-fallback {
    display: none;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 0, 64, 0.1);
    border-radius: 12px;
    margin-top: 1rem;
}

.video-fallback p {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0;
}

.video-fallback a {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: bold;
}

.video-fallback a:hover {
    text-decoration: underline;
    text-shadow: 0 0 10px var(--neon-blue);
}

/* Featured Video */
.video-container.featured {
    border: 2px solid var(--neon-red);
    box-shadow: 0 0 30px rgba(255, 0, 64, 0.3);
    transform: scale(1.02);
}

.video-container.featured:hover {
    box-shadow: 0 0 50px rgba(255, 0, 64, 0.5);
    transform: scale(1.03);
}

/* Creators Section */
.creators {
    padding: 5rem 0;
    background: rgba(26, 0, 51, 0.2);
}

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

.creator-card {
    background: rgba(42, 0, 68, 0.8);
    border: 1px solid rgba(255, 0, 64, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.creator-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.video-placeholder {
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 0, 64, 0.2), rgba(0, 212, 255, 0.2));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.play-icon {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    z-index: 2;
    text-shadow: 0 0 20px var(--neon-blue);
}

.video-placeholder p {
    color: var(--text-secondary);
    z-index: 2;
}

.creator-cta {
    padding: 0.8rem;
    text-align: center;
}

.creator-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--neon-red), var(--neon-blue));
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 64, 0.3);
}

.creator-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 64, 0.4);
    color: white;
    text-decoration: none;
}

.creator-info {
    display: none;
}

.creators-cta {
    text-align: center;
    padding: 0.8rem;
    background: rgba(26, 0, 51, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 64, 0.3);
}

.creators-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.creators-cta a {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.creators-cta a:hover {
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red);
}

/* About Section Enhanced */
.differential {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(42, 0, 68, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 64, 0.2);
}

.differential h3 {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--neon-red);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px var(--neon-red);
}

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

.diff-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(26, 0, 51, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.diff-item:hover {
    transform: translateX(10px);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.2);
}

.diff-icon {
    font-size: 1.5rem;
    min-width: 40px;
    text-align: center;
}

.diff-item span:last-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(42, 0, 68, 0.3) 0%, transparent 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--neon-blue);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 64, 0.3);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 64, 0.2);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    padding: 0.5rem 1rem;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    background: #128C7E;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.6));
    transition: all 0.3s ease;
}

.whatsapp-link:hover .whatsapp-icon {
    filter: drop-shadow(0 0 12px rgba(37, 211, 102, 0.8));
    transform: scale(1.1);
}

.method-icon {
    font-size: 1.5rem;
    min-width: 30px;
    color: var(--neon-blue);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
    transition: all 0.3s ease;
}

.contact-method:hover .method-icon {
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.8));
    transform: scale(1.1);
}

.contact-form {
    background: rgba(26, 0, 51, 0.8);
    border: 1px solid rgba(255, 0, 64, 0.3);
    border-radius: 15px;
    padding: 2rem;
}

.contact-form h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--neon-red);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px var(--neon-red);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(42, 0, 68, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--neon-red);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.submit-btn:hover {
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--neon-red);
    transform: translateY(-2px);
}

.submit-btn .button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-red);
    transition: left 0.3s ease;
    z-index: -1;
}

.submit-btn:hover .button-glow {
    left: 0;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid rgba(0, 255, 0, 0.5);
    color: #00ff00;
    display: block;
}

.form-status.error {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.5);
    color: #ff0000;
    display: block;
}

/* Responsive Logo Design */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-logo-img {
        width: 300px;
    }
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-logo-img {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
        max-width: 180px;
    }
    
    .footer-logo-img {
        height: 35px;
        max-width: 140px;
    }
    
    .hero-logo-img {
        width: 350px;
    }
    
    .phases {
        flex-direction: column;
        align-items: center;
    }
    
    .phase-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .creators-grid {
        grid-template-columns: 1fr;
    }
    
    .video-container.featured-main {
        max-width: 100%;
        margin: 0;
    }
    
    .video-container.featured-main iframe {
        height: 400px;
    }
    
    .video-container.featured-main:hover {
        transform: scale(1);
    }
    
    .video-container {
        height: 300px;
    }
    
    .video-container iframe {
        height: 300px;
    }
    
    .possibility-grid {
        grid-template-columns: 1fr;
    }
    
    .differential-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 0, 20, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 0, 64, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .tournament-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tournament-card {
        padding: 1.5rem;
        min-height: auto;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
    }

    .game-logo {
        width: 50px;
        height: 50px;
    }

    .tournament-card h3 {
        font-size: 1.2rem;
    }

    .tournament-card p {
        font-size: 0.9rem;
    }

    .video-gallery {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .partner-logos {
        justify-content: center;
        gap: 0.8rem;
    }

    .partner-logo {
        height: 30px;
    }

    .creator-credit {
        font-size: 0.75rem;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav {
        padding: 1rem;
    }
    
    .logo-img {
        height: 40px;
        max-width: 150px;
    }
    
    .footer-logo-img {
        height: 30px;
        max-width: 120px;
    }
    
    /* Tournament Cards Mobile */
    .tournament-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tournament-card {
        padding: 1rem;
        min-height: auto;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 0.8rem;
    }

    .game-logo {
        width: 40px;
        height: 40px;
    }

    .tournament-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .tournament-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .hero-logo-img {
        width: 280px;
    }
    
    .video-embed {
        height: 300px;
    }
    
    .video-container.featured-main iframe {
        height: 320px;
    }
    
    .video-container.featured-main:hover {
        transform: scale(1);
    }
    
    .video-container.featured {
        transform: scale(1);
    }
    
    .video-container.featured:hover {
        transform: scale(1);
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .tournament-card {
        padding: 1.5rem;
    }

    .social-card {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}
