/* /css/site.css */
:root {
    --bg-dark: #2b2c30;
    --card-bg: #35313b;
    --accent-dark: #453745;
    --accent-mid: #613c4c;
    --highlight: #ff1457;
    --text-light: #ffffff;
    --text-muted: #b0b0b5;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.8;
}

/* Loader de 0.5s */
#loader {
    position: fixed;
    width: 100%; 
    height: 100%;
    background: var(--bg-dark);
    display: flex; 
    justify-content: center; 
    align-items: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease-in 0.5s forwards;
}

@keyframes fadeOut { 
    to { opacity: 0; visibility: hidden; } 
}

.circle {
    width: 60px; 
    height: 60px; 
    border: 6px solid var(--highlight);
    border-top: 6px solid transparent; 
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}

/* Disclaimer Superior de Google Ads */
.top-disclaimer {
    background: var(--accent-dark);
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 10px 5%;
    border-bottom: 1px solid var(--accent-mid);
    text-align: center;
    letter-spacing: 0.5px;
}

/* Navegación Moderna */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(43, 44, 48, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--text-light);
    text-decoration: none;
}

nav ul { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav li { 
    opacity: 0; 
    transform: translateY(15px); 
    animation: fadeInStagger 0.5s forwards; 
}

nav li:nth-child(1) { animation-delay: 0.1s; }
nav li:nth-child(2) { animation-delay: 0.2s; }
nav li:nth-child(3) { animation-delay: 0.3s; }
nav li:nth-child(4) { animation-delay: 0.4s; }
nav li:nth-child(5) { animation-delay: 0.5s; }
nav li:nth-child(6) { animation-delay: 0.6s; }
nav li:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInStagger { 
    to { opacity: 1; transform: translateY(0); } 
}

nav li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

nav li a:hover {
    color: var(--highlight);
}

nav li:hover { 
    transform: rotate(3deg); 
    transition: 0.3s; 
    cursor: pointer; 
}

/* Hero Section Editorial */
.hero-editorial {
    padding: 80px 8% 40px 8%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.glitch-text {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.glitch-text span {
    display: inline-block;
    animation: pulseText 3s infinite;
}

@keyframes pulseText {
    0%, 100% { transform: scale(1); color: var(--text-light); }
    50% { transform: scale(1.03); color: var(--highlight); }
}

.hero-editorial p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* EFECTOS DE IMAGEN: Cambio de forma y transformaciones al pasar el cursor */
.image-transform-container {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.image-transform-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), border-radius 0.6s ease, filter 0.6s ease;
    border-radius: 12px;
    filter: brightness(0.9);
}

.image-transform-container:hover img {
    transform: scale(1.08) rotate(1.5deg);
    border-radius: 35px;
    filter: brightness(1.1) contrast(1.05);
}

/* Secciones de Contenido Masivo y Fluido */
.content-section {
    padding: 60px 8%;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.content-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-grid-2.reverse {
    direction: rtl;
}

.content-grid-2.reverse > * {
    direction: ltr;
}

.editorial-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.editorial-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 15px;
}

/* Tarjetas Glassmorphic Avanzadas */
.glass-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 8%;
}

.card {
    background: rgba(53, 49, 59, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px; 
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 0 30px rgba(255, 20, 87, 0.2);
    transform: translateY(-8px);
    border-color: var(--highlight);
}

.card h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Botones con Retroalimentación Interactiva */
.btn-action {
    background: var(--highlight); 
    color: white; 
    border: none; 
    padding: 16px 32px;
    cursor: pointer; 
    font-weight: bold; 
    border-radius: 4px;
    font-size: 1rem;
    transition: transform 0.1s, background 0.3s;
    display: inline-block;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn-action:active { 
    transform: scale(0.96); 
}

/* Footer Corporativo */
footer {
    background: #1e1f22;
    padding: 40px 8%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}