:root {
    --bg-principal: #050505;
    --bg-secundario: #0e0e0e;
    --rojo-sangre: #8f3333;
    --naranja-violento: #cf6213;
    --texto-blanco: #ffffff;
    --texto-gris: #aaaaaa;
    --texto-oscuro: #444444;

    --fuente-principal: 'Road Rage', sans-serif;
    --fuente-secundaria: 'Bebas Neue', sans-serif;

    --nav-height: 70px;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 80px;
    --section-padding: 90px 20px 40px 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y var(--bg-principal);
    color-scheme: dark;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: var(--naranja-violento);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e06b1b; /* un poco más brillante */
}

body {
    background-color: var(--bg-principal);
    color: var(--texto-blanco);
    overflow-x: hidden;
    font-family: var(--fuente-secundaria);
    letter-spacing: 1px;
    scrollbar-color: var(--naranja-violento) var(--bg-principal);
    scrollbar-width: thin;
}

@font-face {
    font-family: 'Road Rage';
    src: url('fonts/Road_Rage.woff2') format('woff2'),
         url('fonts/Road_Rage.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

.main-container {
    width: 100%;
}

.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(28, 28, 28, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--fuente-principal);
    font-size: 1.8rem;
    color: var(--texto-blanco);
    text-decoration: none;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
}

.nav-logo span {
    color: var(--naranja-violento); 
}

.nav-logo-mobile {
    display: none;
    height: 50px;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-item {
    font-family: var(--fuente-secundaria);
    font-size: 1.1rem;
    color: var(--texto-gris);
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-item:hover {
    color: var(--texto-blanco);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-item.active {
    color: var(--texto-blanco);
    background-color: rgba(207, 98, 19, 0.16); /* var(--naranja-violento) suave */
    border-radius: 999px;
    padding: var(--space-xs) 10px; /* un poco de relleno para el “pill” */
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--rojo-sangre);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
    background-color: var(--naranja-violento);
}

/* Botón hamburguesa */
.nav-toggle {
    display: none; /* se mostrará solo en móvil */
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--texto-blanco);
    margin: 5px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    padding: var(--section-padding);
    position: relative;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

#spark-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content { 
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0 var(--space-md);
}

.hero-tags {
    font-family: var(--fuente-secundaria);
    color: var(--rojo-sangre);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
    display: block;
    margin-bottom: var(--space-xs);
}

.hero-title {
    font-family: var(--fuente-principal);
    font-size: 4.5rem;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-white {
    color: var(--texto-blanco);
    position: relative;
    display: inline-block;
}

.hero-orange {
    color: var(--naranja-violento);
    position: relative;
    display: inline-block;
}

.hero-white::before, .hero-white::after,
.hero-orange::before, .hero-orange::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    animation-duration: 1.8s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.hero-white::before, .hero-white::after { content: 'SHERLOCK'; }
.hero-orange::before, .hero-orange::after { content: 'GONZA'; }

.hero-white::before { left: 2px; text-shadow: -2px 0 var(--rojo-sangre); clip: rect(10px, 9999px, 40px, 0); animation-name: glitch-entrada-1; }
.hero-white::after { left: -2px; text-shadow: -2px 0 var(--naranja-violento); clip: rect(50px, 9999px, 120px, 0); animation-name: glitch-entrada-2; }

.hero-orange::before { left: 2px; text-shadow: -2px 0 var(--texto-blanco); clip: rect(20px, 9999px, 60px, 0); animation-name: glitch-entrada-1; }
.hero-orange::after { left: -2px; text-shadow: -2px 0 var(--rojo-sangre); clip: rect(70px, 9999px, 140px, 0); animation-name: glitch-entrada-2; }

@keyframes glitch-entrada-1 {
    0% { clip: rect(30px, 9999px, 80px, 0); opacity: 1; }
    20% { clip: rect(110px, 9999px, 40px, 0); opacity: 1; }
    40% { clip: rect(15px, 9999px, 95px, 0); opacity: 1; }
    60% { clip: rect(80px, 9999px, 15px, 0); opacity: 1; }
    80% { clip: rect(50px, 9999px, 110px, 0); opacity: 1; }
    99% { clip: rect(0px, 0px, 0px, 0px); opacity: 1; }
    100% { opacity: 0; }
}

@keyframes glitch-entrada-2 {
    0% { clip: rect(90px, 9999px, 130px, 0); opacity: 1; }
    30% { clip: rect(10px, 9999px, 50px, 0); opacity: 1; }
    50% { clip: rect(120px, 9999px, 70px, 0); opacity: 1; }
    75% { clip: rect(40px, 9999px, 105px, 0); opacity: 1; }
    99% { clip: rect(0px, 0px, 0px, 0px); opacity: 1; }
    100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--texto-gris);
    margin-bottom: var(--space-lg);
}

.hero-btn {
    display: inline-block;
    font-family: var(--fuente-secundaria);
    padding: 14px 35px;
    color: var(--texto-blanco);
    letter-spacing: 2px;
    text-decoration: none;
    border: 2px solid var(--naranja-violento);
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(207, 98, 19, 0.2);
}

.hero-btn:hover {
    background-color: var(--naranja-violento);
    border-color: var(--rojo-sangre);
    box-shadow: 0 0 25px rgba(207, 98, 19, 0.6);
    transform: translateY(-3px);
}

.scroll-down {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    color: var(--naranja-violento);
    font-size: 2rem;
    text-decoration: none;
    z-index: 20;
    transition: color 0.3s ease;
    animation: arrowFloat 2s infinite ease-in-out;
}

.scroll-down:hover {
    color: var(--rojo-sangre);
}

@keyframes arrowFloat{
    0%{
        transform:translateX(-50%) translateY(0);
    }
    50%{
        transform:translateX(-50%) translateY(10px);
    }
    100%{
        transform:translateX(-50%) translateY(0);
    }
}

.about-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    padding: var(--section-padding);
    background-color: var(--bg-secundario);
    box-sizing: border-box;
}

.about-container,
.about-cards {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.about-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--space-lg);
    align-items: stretch;
    margin-bottom: var(--space-md);
}

.about-image-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    opacity: 0;
    transform: translateX(-50px);
    animation: entra-izquierda 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.3s;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 320px;
    background-color: var(--bg-principal);
    z-index: 3;
}

.about-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 2px solid var(--rojo-sangre);
    box-shadow: 0 0 20px rgba(143, 51, 51, 0.5);
    position: relative;
    z-index: 5;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    animation: image-breathe 6s ease-in-out infinite;
}

@keyframes image-breathe {
    0%   { transform: scale(1) translateY(0); }
    50%  { transform: scale(1.02) translateY(-3px); }
    100% { transform: scale(1) translateY(0); }
}

.about-profile-img::before,
.about-profile-img::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-bottom: 4px solid var(--naranja-violento);
    z-index: 7;
    pointer-events: none;
}

.about-profile-img::before {
    left: -8px;
    bottom: -8px;
    border-left: 4px solid var(--naranja-violento);
}

.about-profile-img::after {
    right: -8px;
    bottom: -8px;
    border-right: 4px solid var(--naranja-violento);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 40px;
    height: 40px;
    border-top: 4px solid var(--naranja-violento);
    border-left: 4px solid var(--naranja-violento);
    z-index: 6;
    pointer-events: none;
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 40px;
    height: 40px;
    border-top: 4px solid var(--naranja-violento);
    border-right: 4px solid var(--naranja-violento);
    z-index: 6;
    pointer-events: none;
}

.about-image-wrapper:hover .about-profile-img {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(143, 51, 51, 0.7);
}

.about-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(50px);
    animation: entra-derecha 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.5s;
}

.about-subtitle {
    font-family: var(--fuente-secundaria);
    color: var(--rojo-sangre);
    font-size: 1.1rem;
    letter-spacing: 3px;
    font-weight: bold;
    margin-bottom: var(--space-xs);
}

.section-title {
    font-family: var(--fuente-principal);
    color: var(--naranja-violento);
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--rojo-sangre) 0%, #c34129 40%, var(--naranja-violento) 100%);
    margin: var(--space-md) 0;
    border-radius: 2px;
    width: 100%;
    max-width: 180px;
    animation: crece-divisor .8s forwards;
    animation-delay: 0.8s;
}

.about-text-box p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--texto-gris);
    margin-bottom: calc( var(--space-md) + 4px);
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: var(--space-sm);
}

.about-card {
    background-color: rgba(5, 5, 5, 0.6);
    border: 1px solid rgba(143, 51, 51, 0.2);
    border-radius: 12px;
    padding: calc(var(--space-md) + 6px);
    min-height: 220px;
    transition: all 0.4s ease;
    cursor: default;
    opacity: 0;
    transform: translateY(30px);
    animation: aparece-tarjeta 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.about-card:nth-child(1) { animation-delay: 1.1s; }
.about-card:nth-child(2) { animation-delay: 1.3s; }
.about-card:nth-child(3) { animation-delay: 1.5s; }

.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--naranja-violento);
    background-color: rgba(14, 14, 14, 0.9);
    box-shadow: 0 10px 25px rgba(207, 98, 13, 0.15);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.card-icon {
    width: 40px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.about-card:hover .about-card-img {
    transform: scale(1.15) rotate(-5deg);
}

.about-card h3 {
    font-family: var(--fuente-secundaria);
    font-size: 1.4rem;
    color: var(--texto-blanco);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
    transition: color 0.3s ease;
}

.about-card:hover h3 {
    color: var(--naranja-violento);
}

.about-card p {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--texto-gris);
    text-align: center;
}

@keyframes entra-izquierda {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes entra-derecha {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes crece-divisor {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes aparece-tarjeta {
    to { opacity: 1; transform: translateY(0); }
}

.game-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--section-padding);
    background-color: var(--bg-principal);
    scroll-snap-align: start;
    box-sizing: border-box;
}

.game-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: var(--space-lg);
    align-items: center;
}

.game-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(40px);
    animation: entra-derecha 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.3s;
}

.game-subtitle {
    font-family: var(--fuente-secundaria);
    color: var(--rojo-sangre);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.game-title {
    font-family: var(--fuente-principal);
    color: var(--naranja-violento);
    font-size: 3.3rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.game-divider {
    height: 4px;
    width: 100%;
    max-width: 200px;
    border-radius: 2px;
    margin: var(--space-sm) 0 var(--space-md) 0;
    background: linear-gradient(90deg,
        var(--rojo-sangre) 0%,
        #c68442 40%,
        var(--naranja-violento) 100%
    );
    animation: crece-divisor 0.8s forwards;
    animation-delay: 0.6s;
}

.game-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--texto-gris);
    margin-bottom: calc(var(--space-md) + 4px);
}

.game-personal-note {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--texto-gris);
    margin-bottom: var(--space-md);
}

.game-tags {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.game-tag-card {
    background-color: rgba(14, 14, 14, 0.9);
    border: 1px solid rgba(198, 132, 66, 0.4);
    border-radius: 10px;
    padding: calc(var(--space-sm) + 4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    opacity: 0;
    transform: translateY(20px);
    animation: aparece-tag 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards,
               tag-breathe 7s ease-in-out infinite;
}

.game-tag-card:nth-child(1) { animation-delay: 0.9s; }
.game-tag-card:nth-child(2) { animation-delay: 1.1s; }
.game-tag-card:nth-child(3) { animation-delay: 1.3s; }
.game-tag-card:nth-child(4) { animation-delay: 1.5s; }

.game-tag-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.game-tag-title {
    font-family: var(--fuente-secundaria);
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--texto-blanco);
}

.game-quote {
    margin-top: var(--space-sm);
    text-align: center;
}

.game-quote p {
    font-size: 0.95rem;
    color: var(--texto-gris);
    font-style: italic;
}

.game-quote p::before,
.game-quote p::after {
    content: '"';
    color: var(--naranja-violento);
    font-weight: bold;
}

.game-quote p::before {
    margin-right: 4px;
}

.game-quote p::after {
    margin-left: 4px;
}

.game-image-box {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-40px);
    animation: entra-izquierda 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.3s;
}

.game-image-wrapper {
    position: relative;
    width: 300px;
    height: 420px;
    background-color: #101010;
    border-radius: 6px;
    padding: 16px 18px 80px 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    border: 2px solid var(--rojo-sangre);
    overflow: hidden;
}

.game-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    border: 2px solid transparent;
    box-sizing: border-box;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0%, var(--naranja-violento) 50%, transparent 100%);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.game-image-box:hover .game-image-wrapper::after {
    opacity: 1;
    animation: border-glow 1.5s linear infinite;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
    transform: scale(1);
    transition: box-shadow 0.8s ease;
}

.game-image-box:hover .game-image {
    box-shadow: 0 0 20px rgba(198, 132, 66, 0.6);
}

.game-image-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    text-align: center;
    padding: 0 16px;
}

.game-image-caption h3 {
    font-family: var(--fuente-secundaria);
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--texto-blanco);
    margin-bottom: 6px;
}

.game-image-caption span {
    font-family: var(--fuente-secundaria);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--texto-gris);
}

@keyframes tag-breathe {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-1px); }
    100% { transform: translateY(0); }
}

@keyframes border-glow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes entra-izquierda {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes entra-derecha {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes crece-divisor {
    from { width: 0; }
    to   { width: 100%; }
}

@keyframes aparece-tag {
    to { opacity: 1; transform: translateY(0); }
}

.universe-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--section-padding);
    background-color: var(--bg-secundario);
    scroll-snap-align: start;
    box-sizing: border-box;
    text-align: center;
}

.universe-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.universe-header {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: aparece-universe-header 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.2s;
    text-align: center;
}

.universe-subtitle {
    font-family: var(--fuente-secundaria);
    color: var(--rojo-sangre);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.universe-title {
    font-family: var(--fuente-principal);
    color: var(--naranja-violento);
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.universe-divider {
    height: 4px;
    width: 100%;
    text-align: center;
    display: block;
    max-width: 200px;
    border-radius: 2px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg,
        var(--rojo-sangre) 0%,
        #c68442 40%,
        var(--naranja-violento) 100%
    );
}

.universe-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--texto-gris);
    padding-top: 15px;
}

.universe-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
}

.universe-card {
    background-color: rgba(5, 5, 5, 0.8);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 200px;
    border: 1px solid rgba(143, 51, 51, 0.3);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: aparece-universe-card 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.universe-card:nth-child(1) { animation-delay: 0.4s; }
.universe-card:nth-child(2) { animation-delay: 0.5s; }
.universe-card:nth-child(3) { animation-delay: 0.6s; }
.universe-card:nth-child(4) { animation-delay: 0.7s; }
.universe-card:nth-child(5) { animation-delay: 0.8s; }
.universe-card:nth-child(6) { animation-delay: 0.9s; }

.universe-card-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.universe-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.universe-card-overlay {
    position: absolute;
    inset: 0;
    padding: var(--space-sm);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.universe-card-title {
    font-family: var(--fuente-secundaria);
    font-size: 1rem;
    color: var(--texto-blanco);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.universe-card-info {
    font-size: 0.9rem;
    color: var(--texto-gris);
    line-height: 1.4;
}

.universe-card:hover {
    transform: translateY(-6px);
    border-color: var(--naranja-violento);
    box-shadow: 0 10px 25px rgba(207, 98, 13, 0.18);
}

.universe-card:hover .universe-card-image {
    transform: translateY(-10px);
}

.universe-card:hover .universe-card-overlay {
    opacity: 1;
}

@keyframes aparece-universe-header {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes aparece-universe-card {
    to { opacity: 1; transform: translateY(0); }
}

.clips-section {
    min-height: 100vh;
    padding: var(--section-padding);
    background-color: var(--bg-principal);
    scroll-snap-align: start;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.clips-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Header */

.clips-header {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: clips-header-in 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.2s;
}

.clips-subtitle {
    font-family: var(--fuente-secundaria);
    color: var(--rojo-sangre);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.clips-title {
    font-family: var(--fuente-principal);
    color: var(--naranja-violento);
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.clips-divider {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 4px;
    width: 100%;
    max-width: 200px;
    border-radius: 2px;
    background: linear-gradient(90deg,
        var(--rojo-sangre) 0%,
        #c68442 40%,
        var(--naranja-violento) 100%
    );
}

.clips-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--texto-gris);
    padding-top: 15px;
}

/* Slider: flechas + viewport centrados */

.clips-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

/* Flechas visibles, al lado del viewport */

.clips-arrow {
    background-color: rgba(5, 5, 5, 0.9);
    border: 1px solid rgba(143, 51, 51, 0.5);
    color: var(--texto-blanco);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s ease,
                border-color 0.3s ease,
                transform 0.2s ease;
}

.clips-arrow-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.clips-arrow:hover {
    background-color: var(--naranja-violento);
    border-color: var(--naranja-violento);
    transform: scale(1.05);
}

/* Viewport: recorta el track, pero no las flechas */

.clip-viewport {
    flex: 1;
    max-width: 900px;         /* ancho razonable para 3 clips */
    overflow: hidden;
}

/* Track con todas las cards en fila */

.clips-track {
    display: flex;
    gap: 24px;
    position: relative;
    will-change: transform;
    transition: transform 0.4s ease;
}

/* Cards: 3 visibles (ancho fijo) */

.clip-card {
    flex: 0 0 280px;          /* ancho fijo por card */
    height: 190px;
    background-color: rgba(5, 5, 5, 0.9);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(143, 51, 51, 0.35);
    transition: border-color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: clip-card-in 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.clip-card:nth-child(1) { animation-delay: 0.4s; }
.clip-card:nth-child(2) { animation-delay: 0.45s; }
.clip-card:nth-child(3) { animation-delay: 0.5s; }
.clip-card:nth-child(4) { animation-delay: 0.55s; }
.clip-card:nth-child(5) { animation-delay: 0.6s; }
.clip-card:nth-child(6) { animation-delay: 0.65s; }

/* Thumbnail */

.clip-thumb-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.clip-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

/* Overlay centrado */

.clip-overlay {
    position: absolute;
    inset: 0;
    padding: var(--space-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.35) 70%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.clip-title {
    font-family: var(--fuente-secundaria);
    font-size: 1rem;
    color: var(--texto-blanco);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.clip-meta {
    font-size: 0.9rem;
    color: var(--texto-gris);
    line-height: 1.4;
}

/* Botón de play */

.clip-play-btn {
    margin-top: var(--space-xs);
    font-size: 0.9rem;
    font-family: var(--fuente-secundaria);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 10px;
    border-radius: 999px;
    background-color: transparent;
    color: var(--texto-blanco);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--naranja-violento);
    transition: background-color 0.3s ease,
                color 0.3s ease;
}

.clip-play-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    display: block;
}

.clip-play-btn:hover {
    background-color: var(--naranja-violento);
    color: #000;
}

/* Hover */

.clip-card:hover {
    transform: translateY(-6px);
    border-color: var(--naranja-violento);
    box-shadow: 0 10px 25px rgba(207, 98, 13, 0.18);
}

.clip-card:hover .clip-thumb {
    transform: translateY(-10px);
}

.clip-card:hover .clip-overlay {
    opacity: 1;
}

/* Animaciones */

@keyframes clips-header-in {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes clip-card-in {
    to { opacity: 1; transform: translateY(0); }
}

/* Sección general */
.setup-section {
    text-align: center;
    min-height: 100vh;
    padding: var(--section-padding);
    background-color: var(--bg-secundario);
    scroll-snap-align: start;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.setup-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Intro */

.setup-intro {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: setup-intro-in 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.2s;
}

.setup-subtitle {
    font-family: var(--fuente-secundaria);
    color: var(--rojo-sangre);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.setup-title {
    font-family: var(--fuente-principal);
    color: var(--naranja-violento);
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.setup-divider {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 4px;
    width: 100%;
    max-width: 200px;
    border-radius: 2px;
    background: linear-gradient(90deg,
        var(--rojo-sangre) 0%,
        #c68442 40%,
        var(--naranja-violento) 100%
    );
}

.setup-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--texto-gris);
    padding-top: 15px;
}

/* Escena del setup */

.setup-scene {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-lg);
    align-items: center;
}

/* Visual del setup */

.setup-visual {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(circle at 10% 0%, #31110a 0%, #050505 50%, #000000 100%);
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.setup-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    filter: saturate(1.1) contrast(1.05);
}

/* Glow y efecto cinematográfico */

.setup-glow {
    position: absolute;
    inset: -40px;
    pointer-events: none;
    background: radial-gradient(circle at 20% 0%, rgba(207, 98, 13, 0.35), transparent 55%),
                radial-gradient(circle at 80% 100%, rgba(198, 132, 66, 0.28), transparent 60%);
    mix-blend-mode: screen;
    opacity: 0.9;
}

/* Componentes alrededor (sin tarjetas, más tipo etiquetas técnicas) */

.setup-components {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, auto);
    gap: var(--space-md);
}

.setup-component {
    max-width: 280px;
    padding: 10px 14px;
    border-radius: 8px;
    background-color: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(198, 132, 66, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(20px);
    animation: setup-component-in 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.setup-component:nth-child(1) { animation-delay: 0.4s; }
.setup-component:nth-child(2) { animation-delay: 0.5s; }
.setup-component:nth-child(3) { animation-delay: 0.6s; }
.setup-component:nth-child(4) { animation-delay: 0.7s; }
.setup-component:nth-child(5) { animation-delay: 0.8s; }
.setup-component:nth-child(6) { animation-delay: 0.9s; }

/* Posiciones tipo HUD cinematográfico */

.setup-component-top-left {
    top: 0;
    left: 0;
}

.setup-component-top-right {
    top: 0;
    right: 0;
}

.setup-component-middle-left {
    top: 50%;
    left: 0;
    transform: translate(-0%, -50%);
}

.setup-component-bottom-left {
    bottom: 0;
    left: 0;
}

.setup-component-bottom-right {
    bottom: 0;
    right: 0;
}

/* Texto de componentes */

.setup-component-title {
    font-family: var(--fuente-secundaria);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--naranja-violento);
    margin-bottom: 4px;
}

.setup-component-text {
    font-size: 0.95rem;
    color: var(--texto-gris);
    line-height: 1.5;
}

/* Animaciones */

@keyframes setup-intro-in {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes setup-component-in {
    to { opacity: 1; transform: translateY(0); }
}

.community-section {
    min-height: 100vh;
    padding: var(--section-padding);
    background-color: var(--bg-principal);
    scroll-snap-align: start;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.community-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: var(--space-xl);
    align-items: center;
}

/* Intro */

.community-intro {
    opacity: 0;
    transform: translateY(30px);
    animation: community-intro-in 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.2s;
}

.community-subtitle {
    font-family: var(--fuente-secundaria);
    color: var(--rojo-sangre);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.community-title {
    font-family: var(--fuente-principal);
    color: var(--naranja-violento);
    font-size: 2.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.community-divider {
    height: 4px;
    width: 100%;
    max-width: 220px;
    border-radius: 2px;
    margin: var(--space-sm) 0 var(--space-md) 0;
    background: linear-gradient(90deg,
        var(--rojo-sangre) 0%,
        #c68442 40%,
        var(--naranja-violento) 100%
    );
}

.community-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--texto-gris);
    max-width: 520px;
}

/* Firma */

.community-signature {
    margin-top: var(--space-lg);
    font-family: var(--fuente-principal);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Iconos flotando */

.community-floating {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 320px;
    margin: 0 auto;
}

/* Cada icono como burbuja */

.floating-icon {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background-color: rgba(5, 5, 5, 0.9);
    border: 1px solid rgba(198, 132, 66, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.7);
    animation: float 6s ease-in-out infinite;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.floating-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

/* Posiciones iniciales (ajustadas para que no se solapen) */

.floating-icon-1 { /* Twitch */
    top: 6%;
    left: 12%;
    animation-delay: 0s;
}

.floating-icon-2 { /* Discord */
    top: 18%;
    right: 8%;
    animation-delay: 0.8s;
}

.floating-icon-3 { /* X */
    top: 46%;
    left: 4%;
    animation-delay: 1.6s;
}

.floating-icon-4 { /* YouTube */
    top: 42%;
    right: 12%;
    animation-delay: 2.4s;
}

.floating-icon-5 { /* Instagram */
    bottom: 12%;
    left: 18%;
    animation-delay: 3.2s;
}

.floating-icon-6 { /* TikTok */
    bottom: 8%;
    right: 16%;
    animation-delay: 4s;
}

/* Animación de flotado suave */

@keyframes float {
    0%   { transform: translateY(0); }
    25%  { transform: translateY(-8px); }
    50%  { transform: translateY(0); }
    75%  { transform: translateY(8px); }
    100% { transform: translateY(0); }
}

/* Hover: glow naranja y pequeña escala (se suma a la animación) */

.floating-icon:hover {
    transform: scale(1.08);
    box-shadow: 0 0 24px rgba(207, 98, 13, 0.9);
    border-color: var(--naranja-violento);
    background-color: rgba(20, 10, 5, 0.95);
}

/* Animación de entrada del texto */

@keyframes community-intro-in {
    to { opacity: 1; transform: translateY(0); }
}

.site-footer {
    text-align: center;
    padding: 20px var(--section-padding-h, 40px);
    background-color: var(--bg-secundario);
    border-top: 1px solid #141414;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
}

/* Bloque de marca */

.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-brand {
    text-align: center;
    font-family: var(--fuente-principal);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-sherlock {
    color: var(--texto-blanco);
}

.footer-gonza {
    color: var(--naranja-violento);
    margin-left: 4px;
}

.footer-tagline {
    text-align: center;
    font-size: 0.9rem;
    color: var(--texto-gris);
}

.footer-copy {
    font-size: 0.8rem;
    color: #666666;
}

/* ========================= */
/* DESKTOP / TABLET GRANDE   */
/* <= 1200px                 */
/* ========================= */
@media (max-width: 1200px) {
    :root {
        --section-padding: 70px 20px 40px 20px;
        --space-xl: 60px;
        --space-lg: 32px;
    }

    .hero-title {
        font-size: 3.8rem;
    }

    .about-container {
        grid-template-columns: 320px 1fr;
    }

    .game-container {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .universe-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-sm);
    }

    .clips-track {
        gap: 18px;
    }

    .clip-card {
        flex: 0 0 260px;
        height: 185px;
    }

    .setup-scene {
        grid-template-columns: 1fr 1fr;
    }

    .community-container {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }

    .footer-container {
        max-width: 1000px;
    }
}

/* ========================= */
/* TABLET                    */
/* <= 992px                  */
/* ========================= */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px 18px 40px 18px;
        --space-xl: 50px;
        --space-lg: 28px;
    }

    .nav-container {
        padding: 0 var(--space-sm);
    }

    .nav-links {
        gap: var(--space-sm);
    }

    .nav-item {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 3.2rem;
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-title,
    .section-title,
    .game-title,
    .universe-title,
    .clips-title,
    .setup-title,
    .community-title {
        font-size: 1.7rem;
    }

    .about-container {
        grid-template-columns: 300px 1fr;
        gap: var(--space-md);
        align-items: center;
    }

    .about-image-box {
        justify-content: center;
    }

    .about-image-wrapper {
        max-width: 280px;
    }

    .about-text-box {
        text-align: left;
        align-items: flex-start;
    }

    .section-divider {
        margin-left: 0;
        margin-right: auto;
    }

    .about-text-box p {
        font-size: 1.05rem;
    }

    .about-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-sm);
    }

    .game-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .game-text-block {
        text-align: center;
        align-items: center;
    }

    .game-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .game-description,
    .game-personal-note,
    .game-quote {
        text-align: center;
    }

    .game-tags {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .game-image-wrapper {
        width: 260px;
        height: 360px;
    }

    .universe-header {
        text-align: center;
    }

    .universe-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .universe-intro {
        text-align: center;
    }

    .universe-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-md);
    }

    .clips-slider {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .clip-viewport {
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .clips-header {
        text-align: center;
    }

    .clips-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .clips-intro {
        text-align: center;
    }

    .clips-track {
        display: flex;
        gap: 24px;
        transition: transform 0.4s ease;
    }

    .clip-card {
        flex: 0 0 100%;
        height: 200px;
    }

    .setup-section {
        text-align: center;
    }

    .setup-scene {
        grid-template-columns: 1fr; /* una columna principal */
        gap: var(--space-lg);
        justify-items: center;
    }

    .setup-visual {
        max-width: 520px;
        width: 100%;
        margin-bottom: var(--space-md);
    }

    .setup-image {
        width: 100%;
        height: 260px;      /* más baja que escritorio pero más grande que móvil */
        object-fit: cover;  /* que rellene bien */
        border-radius: 12px;
    }

    .setup-intro {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .setup-divider {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .setup-description {
        margin-left: auto;
        margin-right: auto;
    }

    .setup-components {
        max-width: 520px;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-md);
        justify-items: center ;
    }

    .setup-component {
        width: 100%;
        min-height: 90px;
        text-align: center;
    }

    .community-intro,
    .community-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .community-divider {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .community-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .community-floating {
        max-width: 360px;
        height: 260px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-container {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: var(--space-sm);
    }

    .footer-brand-block,
    .footer-links,
    .footer-tagline {
        text-align: center;
    }

    .site-footer {
        text-align: center;
    }
}

/* ========================= */
/* MÓVIL                     */
/* <= 768px                  */
/* ========================= */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 16px 36px 16px;
        --space-xl: 40px;
        --space-lg: 24px;
    }

    .main-navbar {
        height: 64px;
    }

    .nav-logo {
        position: relative;
        font-size: 0;
        color: transparent;
    }

    .nav-logo-text {
        display: none;
    }

    .nav-logo-mobile {
        display: block;
    }

    .nav-logo span {
        display: none;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-item {
        font-size: 0.9rem;
        letter-spacing: 0.8px;
        padding: 4px 0;
    }

    .nav-container {
        padding: 0 var(--space-sm);
    }

    .nav-links {
        position: absolute;
        top: var(--nav-height);
        right: 0;
        left: 0;
        background-color: rgba(5, 5, 5, 0.96);
        border-bottom: 1px solid rgba(28, 28, 28, 0.6);
        display: none; /* oculto por defecto */
        flex-direction: column;
        gap: 0;
        padding: 10px 16px 12px 16px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-item {
        padding: 6px 0;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .nav-toggle {
        display: block;
    }

    .hero-section {
        padding-top: calc(var(--nav-height) + 20px);
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 12px 26px;
        font-size: 0.9rem;
    }

    .about-image-box {
        display: none;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        max-width: 220px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-text-box {
        text-align: center;
        align-items: center;
    }

    .section-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .about-text-box p {
        font-size: 1rem;
        margin-bottom: var(--space-sm);
        text-align: center;
    }

    .about-cards {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .about-card {
        min-height: auto;
    }

    .game-section,
    .universe-section,
    .clips-section,
    .setup-section,
    .community-section {
        min-height: auto;
    }

    .game-title {
        font-size: 2.1rem;
    }

    .game-tags {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .game-image-wrapper {
        width: 230px;
        height: 330px;
    }

    .game-text-block {
        text-align: center;
        align-items: center;
    }

    .game-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .game-description,
    .game-personal-note {
        text-align: center;
    }

    .game-quote {
        text-align: center;
    }

    .universe-header {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .universe-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .universe-intro {
        text-align: center;
    }

    .universe-title {
        font-size: 2rem;
    }

    .universe-grid {
        grid-template-columns: 1fr;
    }

    .clips-header {
        text-align: center;
    }

    .clips-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .clips-intro {
        text-align: center;
    }

    .clip-overlay {
        text-align: center;
    }

    .clip-title,
    .clip-meta {
        text-align: center;
    }

    .clips-slider {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .clip-viewport {
        max-width: 100%;
    }

    .clips-track {
        gap: 12px;
    }

    .clip-card {
        flex: 0 0 100%;
        height: 190px;
    }

    .setup-scene {
        grid-template-columns: 1fr;
    }

    .setup-visual {
        max-width: 100%;
        display: none;
    }

    .setup-intro {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .setup-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .setup-description {
        text-align: center;
    }

    .setup-image {
        height: 240px;
    }

    .setup-components {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: var(--space-sm);
    }

    .setup-component {
        width: 100%;
        max-width: 320px;
        min-height: 90px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .setup-component-title {
        margin-bottom: 6px;
    }

    .setup-component-text {
        padding: 0 4px;
    }

    .community-intro {
        text-align: center;
    }

    .community-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .community-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .community-container {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .community-floating {
        max-width: 300px;
        height: 230px;
    }

    .site-footer {
        padding: 18px 16px;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-brand-block {
        align-items: center;
        text-align: center;
    }

    .footer-tagline {
        font-size: 0.85rem;
    }

    .section-title,
    .game-title,
    .universe-title,
    .clips-title,
    .setup-title,
    .community-title {
        font-size: 1.6rem;
    }
}

/* ========================= */
/* MÓVIL PEQUEÑO             */
/* <= 480px                  */
/* ========================= */
@media (max-width: 480px) {
    :root {
        --section-padding: 56px 14px 32px 14px;
        --space-lg: 20px;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-item {
        font-size: 0.8rem;
        letter-spacing: 0.6px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-btn {
        font-size: 0.85rem;
        padding: 10px 22px;
    }

    .section-title,
    .game-title,
    .clips-title,
    .setup-title,
    .universe-title {
        font-size: 1.8rem;
    }

    .about-text-box p,
    .game-description,
    .universe-intro,
    .clips-intro,
    .setup-description,
    .community-description {
        font-size: 0.95rem;
    }

    .game-image-wrapper {
        width: 200px;
        height: 300px;
    }

    .clip-card {
        flex: 0 0 100%;
        height: 190px;
    }

    .community-floating {
        max-width: 260px;
        height: 210px;
    }

    .footer-brand {
        font-size: 0.9rem;
    }

    .footer-tagline {
        font-size: 0.8rem;
    }
}