/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0a0a0a;
    color: #f0f0f0;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

/* Variables */
:root {
    --primary-blue: #1e88e5;
    --dark-bg: #0a0a0a;
    --text-light: #f0f0f0;
    --accent-cream: #e8d5b7;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(30, 136, 229, 0.3);
    padding: 10px 0;
}

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

.logo {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

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

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, #0a0a0a, #121212);
    padding: 60px 20px;
    position: relative;
}

.logo-main {
    width: 280px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(30, 136, 229, 0.6));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(135deg, var(--text-light), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.tagline {
    font-size: 1.3rem;
    color: var(--accent-cream);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.6);
}

.btn-secondary {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--dark-bg);
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    fill: var(--text-light);
    opacity: 0.5;
    margin-top: 40px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Episodes */
.episodes {
    padding: 80px 20px;
    background: #111;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}

.episode-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.episode-card {
    background: #000;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

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

.episode-card iframe {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    border: none;
}

/* About */
.about {
    padding: 80px 20px;
    text-align: center;
    background: #0d0d0d;
}

.about p {
    max-width: 700px;
    margin: auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Platforms */
.platforms {
    background: #0a0a0a;
    padding: 80px 20px;
    text-align: center;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.platform-card {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.platform-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

/* Footer */
footer {
    padding: 40px 20px;
    background: #0a0a0a;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    color: white;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #111;
        padding: 20px;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
}

.platform-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.platform-card span {
    display: block;
    margin-top: 8px;
    font-weight: 600;
}
.video-container.extra-small {
    max-width: 560px;        /* más estrecho */
    padding-bottom: 35%;     /* menor altura para compactar */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.video-container.extra-small iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* Sorteo / Raffle */
.raffle {
    background: #0a0a0a;
    padding: 80px 20px;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.raffle h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.raffle p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
    color: var(--accent-cream);
}

.raffle form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.raffle input,
.raffle textarea {
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: #111;
    color: var(--text-light);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.raffle input:focus,
.raffle textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.raffle button[type="submit"] {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.raffle button[type="submit"]:hover {
    background: #1565c0;
    transform: translateY(-2px);
}


#successMessage {
    font-size: 1.2rem;
    margin-top: 30px;
    color: var(--accent-cream);
    font-weight: bold;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

