:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-accent: #f0f0f0;
    --text-primary: #000000;
    --text-secondary: #444444;
    --text-muted: #888888;
    --color-accent: #000000;
    --color-vibrant: #0070f3;
    /* A clean electric blue for dynamic accents in light mode */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-img {
    height: 40px;
    /* Tamaño controlado para la cabecera */
    width: auto;
    display: block;
    max-width: 250px;
    /* Evita que logos muy anchos rompan el menú */
    object-fit: contain;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-social {
    display: flex;
    gap: 15px;
    margin-right: 10px;
}

.header-social a {
    text-decoration: none;
    font-size: 18px;
    filter: grayscale(1) opacity(0.6);
    transition: var(--transition);
}

.header-social a:hover {
    filter: grayscale(0) opacity(1);
    transform: translateY(-2px);
}

.search-btn {
    background: none;
    border: none;
    color: black;
    font-size: 18px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(70deg, white 40%, transparent 100%);
}

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 600px;
}

.hero-tag {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-vibrant);
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 80px;
    line-height: 0.9;
    font-weight: 800;
    margin-bottom: 30px;
}

.hero-title .highlight {
    display: block;
    -webkit-text-stroke: 1px black;
    color: transparent;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 450px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-primary {
    background: black;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: black;
}

.btn-outline:hover {
    background: black;
    color: white;
}

/* Magnifier Effect */
.hero-magnifier {
    position: relative;
    width: 400px;
    height: 400px;
}

.magnifier-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.1);
    background-image: url('assets/hero_zoom.jpg');
    background-size: 800px;
    background-position: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    animation: pulse 4s infinite ease-in-out;
}

.magnifier-label {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: black;
    color: white;
    padding: 5px 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        border-color: white;
    }
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Tops Grid */
.tops-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.top-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.top-card .card-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

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

.top-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.main-top {
    grid-row: span 2;
}

.badge {
    background: white;
    color: black;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.top-card h3 {
    font-size: 24px;
    font-weight: 700;
}

/* Reels Slider */
.reels-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.reel-card {
    min-width: 280px;
    cursor: pointer;
}

.reel-video-placeholder {
    height: 500px;
    background: var(--bg-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.reel-card:hover .reel-video-placeholder {
    border-color: white;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: white;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    font-size: 20px;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-item {
    display: flex;
    gap: 40px;
    align-items: center;
}

.news-img {
    width: 400px;
    height: 250px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.news-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.news-date {
    color: var(--text-muted);
    font-size: 14px;
}

.news-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    display: inline-block;
}

/* Footer */
.footer {
    padding: 80px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 35px;
    width: auto;
    filter: grayscale(1) opacity(0.8);
    transition: var(--transition);
}

.footer-logo-img:hover {
    filter: grayscale(0) opacity(1);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    color: black;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 12px;
}

/* Mobile */
@media (max-width: 991px) {
    .hero-title {
        font-size: 50px;
    }

    .hero-magnifier {
        display: none;
    }

    .tops-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-img {
        width: 100%;
    }
}