:root {
    --primary-magenta: #e012a6;
    --dark-magenta: #5c0b43;
    --bg-black: #080808;
    --card-bg: #121212;
    --glow: 0 0 15px rgba(224, 18, 166, 0.4);
}

* { box-sizing: border-box; transition: all 0.3s ease; }

html,
body{
    max-width:100%;
    overflow-x:hidden;
}

body {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-black);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 40px;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a0518 0%, #080808 100%);
    z-index: -1;
}

h1, h2, h3, .logo {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--dark-magenta);
}

.logo {
    color: var(--primary-magenta);
    font-size: 28px;
    font-weight: 700;
    text-shadow: var(--glow);
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #ddd;
    font-weight: 700;
    font-size: 14px;
}

nav a:hover {
    color: var(--primary-magenta);
    text-shadow: var(--glow);
}

/* HERO */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px;
    min-height: 80vh;
}

.hero-logo {
    width: 250px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px var(--primary-magenta));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin: 0;
    background: linear-gradient(to bottom, #fff, var(--primary-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BOTONES */
.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: var(--primary-magenta);
    color: white;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    box-shadow: var(--glow);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.05) skewX(-5deg);
    background: #ff1ec1;
    box-shadow: 0 0 30px var(--primary-magenta);
}

/* SECCIONES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

.bg-alt {
    background: rgba(224, 18, 166, 0.05);
}

.section-title {
    margin-bottom: 50px;
    font-size: 32px;
    border-bottom: 3px solid var(--primary-magenta);
    display: inline-block;
    padding-bottom: 10px;
}

.sub-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-magenta);
    margin-bottom: 25px;
    letter-spacing: 2px;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* EQUIPO */
#equipo .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

#equipo .card {
    width: 280px;
}

/* CARDS */
.card {
    background: var(--card-bg);
    padding: 40px 20px;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-magenta);
}

.card:hover {
    border-color: var(--primary-magenta);
    transform: translateY(-10px);
}

/* IMÁGENES */
.player-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 2px solid var(--primary-magenta);
    box-shadow: 0 0 15px rgba(224, 18, 166, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover .player-img {
    transform: scale(1.15);
    box-shadow: 0 0 40px var(--primary-magenta);
}

/* TRAYECTORIA */
.rank-badge {
    font-family: 'Orbitron';
    color: var(--primary-magenta);
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

/* EVENTO */
.event-box {
    background: rgba(20, 20, 20, 0.8);
    padding: 50px;
    border: 1px solid var(--primary-magenta);
    box-shadow: 0 0 30px rgba(224, 18, 166, 0.2);
}

#countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    font-family: 'Orbitron';
}

.time-block {
    background: #000;
    padding: 15px;
    min-width: 80px;
    border-bottom: 3px solid var(--primary-magenta);
}

.time-block span {
    display: block;
    font-size: 2rem;
    color: var(--primary-magenta);
    text-shadow: var(--glow);
}

.time-block small {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #888;
}

/* COMING SOON */
.coming-soon {
    text-align: center;
    padding: 60px 20px;
    border: 1px solid var(--primary-magenta);
    box-shadow: 0 0 25px rgba(224, 18, 166, 0.3);
    background: rgba(10, 10, 10, 0.9);
}

.coming-soon h3 {
    font-size: 2.5rem;
    color: var(--primary-magenta);
    text-shadow: var(--glow);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.coming-soon p {
    color: #aaa;
    font-size: 1rem;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% { text-shadow: 0 0 10px var(--primary-magenta); }
    50% { text-shadow: 0 0 30px var(--primary-magenta); }
    100% { text-shadow: 0 0 10px var(--primary-magenta); }
}

.sponsor-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    overflow: hidden;
    background: #000;
    border-top: 1px solid var(--primary-magenta);
    border-bottom: 1px solid var(--primary-magenta);
}

.sponsor-bar a {
    display: block;
    text-decoration: none;
}

.sponsor-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.sponsor-bloque {
    display: flex;
    flex-shrink: 0;
}

.sponsor-content {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    padding: 10px 40px;
    color: var(--primary-magenta);
    text-shadow: var(--glow);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── 🔻 FOOTER PRO (REDES) ───────────────── */

.footer-pro {
    background: #050505;
    padding: 30px 20px 20px; /* espacio para la sponsor bar */
    text-align: center;
    border-top: 1px solid rgba(224, 18, 166, 0.2);
}

.footer-logo {
    width: 200px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.socials {
    margin: 10px 0;
}

.socials a {
    margin: 0 18px;
    font-size: 22px;
    color: #888;
    transition: 0.3s;
}

/* glow base */
.socials a i {
    text-shadow: 0 0 5px rgba(224, 18, 166, 0.3);
}

/* hover */
.socials a:hover i {
    color: var(--primary-magenta);
    text-shadow: 
        0 0 10px var(--primary-magenta),
        0 0 20px var(--primary-magenta),
        0 0 40px var(--primary-magenta);
    transform: scale(1.25);
}

/* colores por red */
.socials a:nth-child(1):hover i { color: #1DA1F2; } /* X */
.socials a:nth-child(2):hover i { color: #E1306C; } /* IG */
.socials a:nth-child(3):hover i { color: #FF0000; } /* YT */
.socials a:nth-child(4):hover i { color: #69C9D0; } /* TikTok */

.brand {
    font-family: 'Orbitron';
    margin: 10px 0;
    letter-spacing: 2px;
}

.links {
    margin: 15px 0;
}

.links a {
    margin: 0 10px;
    color: #777;
    font-size: 13px;
    text-decoration: none;
}

.links a:hover {
    color: var(--primary-magenta);
}

.copy {
    margin-top: 15px;
    font-size: 12px;
    color: #555;
}

/* ── RECLUTAMIENTO ───────────────────────── */

.card-reclutar {
    background: #0a0a0a;
    padding: 70px 40px;
    border-left: 4px solid var(--primary-magenta);
    position: relative;
    overflow: hidden;
}

.recruitment-status {
    max-width: 700px;
    margin: auto;
}

.recruitment-status h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.recruitment-status p {
    color: #bcbcbc;
    line-height: 1.8;
    margin-bottom: 35px;
}

.status-tag {
    display: inline-block;
    margin-bottom: 25px;
    padding: 8px 18px;
    font-size: 12px;
    font-family: 'Orbitron';
    letter-spacing: 2px;
    background: rgba(224, 18, 166, 0.15);
    border: 1px solid var(--primary-magenta);
    color: var(--primary-magenta);
}

.closed-tag {
    border-color: #666;
    color: #888;
    background: rgba(255,255,255,0.05);
}

/* ── LEGAL PAGES ───────────────────────── */

.legal-page {
    padding: 120px 20px;
    min-height: 100vh;
}

.legal-container {
    max-width: 900px;
    margin: auto;
    background: #0d0d0d;
    border: 1px solid rgba(224, 18, 166, 0.2);
    padding: 60px;
}

.legal-container h1 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--primary-magenta);
}

.legal-container h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.legal-container p {
    color: #bcbcbc;
    line-height: 1.9;
}

.timeline-slider{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:25px;
}

.timeline-card{
    width:700px;
    min-height:260px;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

.timeline-btn{
    width:55px;
    height:55px;

    border:none;
    cursor:pointer;

    background:#111;
    color:var(--primary-magenta);

    font-size:28px;
    font-family:'Orbitron';

    border:1px solid var(--primary-magenta);

    transition:.3s;
}

.timeline-btn:hover{
    background:var(--primary-magenta);
    color:#fff;
}

.timeline-dots{
    margin-top:25px;

    display:flex;
    justify-content:center;
    gap:10px;
}

.timeline-dot{
    width:12px;
    height:12px;

    border-radius:50%;

    background:#444;

    cursor:pointer;
}

.timeline-dot.active{
    background:var(--primary-magenta);

    box-shadow:
        0 0 10px var(--primary-magenta);
}

/* ───────── MÓVIL ───────── */

@media (max-width:768px){

    header{
        flex-direction:column;
        gap:15px;
        padding:15px;
    }

    nav{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:10px;
    }

    nav a{
        margin:0;
        font-size:12px;
    }

    .hero{
        padding:80px 20px;
    }

    .hero-logo{
        width:170px;
    }

    .hero h1{
        font-size:2.2rem;
    }

    .section-title{
        font-size:24px;
    }

    .timeline-slider{
        gap:10px;
    }

    .timeline-card{
        width:100%;
        min-height:auto;
    }

    .timeline-btn{
        width:40px;
        height:40px;
        font-size:20px;
    }

    #countdown-timer{
        flex-wrap:wrap;
    }

    .event-box{
        padding:20px;
    }

    .card{
        padding:25px 15px;
    }

    .footer-logo{
        width:140px;
    }

    .coming-soon h3,
    .recruitment-status h3{
        font-size:1.5rem;
        line-height:1.2;
        letter-spacing:0;
        overflow-wrap:anywhere;
        word-break:break-word;
    }

    .coming-soon{
        padding:35px 15px;
    }

    .recruitment-status{
        width:100%;
    }

}

.coming-soon,
.recruitment-status,
.timeline-card,
.event-box{
    max-width:100%;
}