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

:root {
    --bg-dark: #0b0e14;
    --card-bg: #191e29;
    --sky-blue: #00a8e8;
    --text-white: #ffffff;
    --text-muted: #aaaaaa;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
}

/* Navbar Adaptable */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
    background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(11,14,20,0) 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    gap: 15px;
}

.brand-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-white);
    white-space: nowrap;
}

.brand-logo span {
    color: var(--sky-blue);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--text-white);
    border-bottom: 2px solid var(--sky-blue);
    padding-bottom: 4px;
}

.user-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Hero Banner Responsive */
.hero-banner {
    min-height: 60vh;
    padding: 120px 5% 40px;
    background: linear-gradient(0deg, var(--bg-dark) 10%, rgba(0,0,0,0.4) 100%);
    display: flex;
    align-items: flex-end;
}

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

.hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.btn-primary {
    background-color: var(--sky-blue);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 18px;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: #008cc2;
}

/* Grillas */
.section-title {
    font-size: 1.2rem;
    margin: 30px 5% 15px;
}

.card-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 5% 30px;
}

.card-grid::-webkit-scrollbar {
    height: 6px;
}

.card-grid::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.media-card {
    min-width: 220px;
    height: 130px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.media-card:hover {
    transform: scale(1.04);
    outline: 2px solid var(--sky-blue);
}

/* Media Queries para Móviles y Tablets */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Oculta menú en cel para no saturar */
    }
    .hero-banner {
        min-height: 45vh;
    }
    .media-card {
        min-width: 170px;
        height: 100px;
    }
}