﻿:root {
    --deep-blue: #0a192f;
    --electric-blue: #007bff;
    --soft-blue: #e6f1ff;
    --cyan: #00d4ff;
    --glass: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--deep-blue);
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Efecto de resplandor de fondo */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(0, 123, 255, 0.15) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 40%);
    z-index: -1;
}

/* Navbar Estilo Cristal */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

    .nav-links a {
        text-decoration: none;
        color: var(--soft-blue);
        font-weight: 400;
        transition: 0.3s;
        font-size: 0.95rem;
    }

        .nav-links a:hover {
            color: var(--cyan);
        }

.btn-login {
    background: var(--electric-blue);
    padding: 10px 25px;
    border-radius: 50px;
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Hero Section */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
}

.hero-content {
    max-width: 600px;
}

.badge {
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid var(--cyan);
}

h1 {
    font-size: 4rem;
    margin: 20px 0;
    background: linear-gradient(to right, #fff, var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-btns {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--cyan);
    color: var(--deep-blue);
    padding: 15px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-secondary {
    border: 1px solid var(--glass);
    color: white;
    padding: 15px 35px;
    border-radius: 12px;
    text-decoration: none;
    background: var(--glass);
}

/* Tarjeta de la Copa */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.time span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyan);
}

/* Estilos del Banner Principal */
.main-banner {
    position: relative;
    width: 100%;
    height: 850px; /* Ajustado para 1920x1034 aprox */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.banner-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen llene el espacio */
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Degradado azulado para legibilidad */
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.7) 0%, rgba(10, 25, 47, 0.4) 50%, rgba(10, 25, 47, 0.9) 100%);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.location-badge {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid var(--cyan);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.banner-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.text-cyan {
    color: var(--cyan);
}

.banner-date {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 25px;
    border-top: 1px solid rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    display: inline-block;
    padding: 10px 0;
}

.banner-description {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: var(--soft-blue);
}

.btn-main {
    background: var(--cyan);
    color: var(--deep-blue);
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
    transition: 0.3s;
}

    .btn-main:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(0, 212, 255, 0.5);
    }

/* Animación simple */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- Estilos de la Sección de Ganadores --- */
.winners-section {
    position: relative;
    padding: 80px 0;
    background-color: var(--deep-blue);
    overflow: hidden;
}

/* Efecto de luz de fondo para esta sección */
.bg-glow-winners {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Encabezado de Sección */
.badge-tech {
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--cyan);
}

.section-title-glass {
    font-size: 3rem;
    color: white;
    margin: 15px 0;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.section-subtitle {
    color: var(--soft-blue);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* Grid de Ganadores */
.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Tarjeta Glassmorphism V2 */
.winner-card.glass-card-v2 {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

    .winner-card.glass-card-v2:hover {
        transform: translateY(-10px) scale(1.02);
        border-color: var(--cyan);
        box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
    }

/* Contenedor de Foto con Efecto */
.winner-photo-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.winner-img-file {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta la foto profesionalmente */
    filter: grayscale(40%) contrast(110%); /* Toque estilizado */
    transition: 0.3s;
}

.winner-card:hover .winner-img-file {
    filter: grayscale(0%) contrast(100%);
}

.year-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--deep-blue);
    color: var(--cyan);
    font-weight: bold;
    font-size: 1.2rem;
    padding: 8px 15px;
    border-radius: 12px;
    border: 1px solid var(--cyan);
}

/* Información del Ganador */
.winner-info {
    padding: 25px;
    text-align: left;
}

    .winner-info h3 {
        font-size: 0.9rem;
        text-transform: uppercase;
        color: var(--soft-blue);
        letter-spacing: 1px;
        margin-bottom: 5px;
    }

.winner-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.project-title {
    font-size: 1rem;
    color: white;
    font-style: italic;
    margin-bottom: 15px;
    opacity: 0.9;
}

.category {
    background: rgba(0, 123, 255, 0.1);
    color: var(--electric-blue);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
}
/* --- Estilos Ecosistema con Espejo --- */
.ecosystem-section {
    padding: 100px 0 150px 0;
    background: linear-gradient(180deg, var(--deep-blue) 0%, #050b15 100%);
}

.ecosystem-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 50px;
    perspective: 1000px;
}

.eco-item {
    width: 240px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eco-card {
    width: 100%;
    height: 320px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 2;
    transition: transform 0.5s ease;
}

.eco-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eco-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(10,25,47,0.9), transparent);
    text-align: center;
}

    .eco-overlay h3 {
        color: var(--cyan);
        font-size: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

/* EFECTO ESPEJO / REFLEXIÓN */
.eco-reflection {
    width: 100%;
    height: 160px; /* Mitad del original */
    overflow: hidden;
    transform: scaleY(-1); /* Voltea la imagen verticalmente */
    opacity: 0.3; /* Transparencia de espejo */
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    pointer-events: none; /* No interactivo */
    margin-top: 5px;
}

    .eco-reflection img {
        width: 100%;
        height: 320px; /* Tamaño original para que coincida el flip */
        object-fit: cover;
    }

.eco-item:hover .eco-card {
    transform: translateY(-15px);
}

/* --- Estilos Footer --- */
.main-footer {
    background: #03070d;
    padding: 50px 8%;
    border-top: 1px solid var(--glass);
    color: var(--soft-blue);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    font-weight: 800;
    color: var(--cyan);
    font-size: 1.2rem;
}

.footer-info {
    text-align: center;
}

.dev-credit {
    margin-top: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

    .dev-credit strong {
        color: var(--cyan);
        font-weight: 400;
    }

.footer-social {
    display: flex;
    gap: 20px;
}

    .footer-social a {
        color: white;
        font-size: 1.5rem;
        transition: 0.3s;
    }

        .footer-social a:hover {
            color: var(--cyan);
            transform: scale(1.2);
        }