/* ============================================================
   Game Empire — Tema Mitología Griega
   ============================================================ */

:root {
    /* Colores extraídos del logo Gamempire */
    --oro:            #E3B04B;
    --oro-brillante:  #F0C669;
    --oro-oscuro:     #A87F30;
    --marmol:         #EDE9E1;
    --marmol-oscuro:  #D9D3C5;
    --carbon:         #101218;   /* fondo del logo */
    --carbon-suave:   #1c1e26;

    /* Complementos para profundidad y CTAs */
    --azul-profundo:  #0b1420;
    --azul-egeo:      #14243a;
    --azul-medio:     #2a3a54;
    --terracota:      #a04e30;
    --sombra:         rgba(16, 18, 24, 0.18);
}

/* ---------- TIPOGRAFÍAS ---------- */
body {
    font-family: 'Marcellus', 'Georgia', serif;
    background: var(--marmol);
    color: var(--carbon);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .titulo-epico {
    font-family: 'Cinzel', 'Times New Roman', serif;
    letter-spacing: 0.03em;
    font-weight: 600;
}
.mono, .precio, input, button, .ui {
    font-family: 'Inter', system-ui, sans-serif;
}

/* ---------- PATRÓN MEANDRO GRIEGO ---------- */
/* Franja decorativa reutilizable (grecas) */
.meandro {
    height: 24px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'><path d='M0 20h4v-8h8v4H4v4h12V4h4v8h-8V8h8V4H8v16H0zm24 0h4v-8h8v4h-8v4h12V4h4v8h-8V8h8V4H32v16H24z' fill='%23c9a961' opacity='0.9'/></svg>");
    background-repeat: repeat-x;
    background-size: 48px 24px;
}
.meandro-dark {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'><path d='M0 20h4v-8h8v4H4v4h12V4h4v8h-8V8h8V4H8v16H0zm24 0h4v-8h8v4h-8v4h12V4h4v8h-8V8h8V4H32v16H24z' fill='%23c9a961'/></svg>");
}

/* ---------- BOTONES ÉPICOS ---------- */
.btn-oro {
    background: linear-gradient(180deg, var(--oro-brillante), var(--oro));
    color: var(--carbon);
    border: 1px solid var(--oro-oscuro);
    padding: 0.75rem 1.75rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(227, 176, 75, 0.35);
    display: inline-block;
    text-decoration: none;
}
.btn-oro:hover {
    background: linear-gradient(180deg, #f6d284, var(--oro-brillante));
    box-shadow: 0 6px 25px rgba(227, 176, 75, 0.55), 0 0 20px rgba(227, 176, 75, 0.35);
    transform: translateY(-1px);
}
.btn-oro-outline {
    background: transparent;
    color: var(--oro);
    border: 1px solid var(--oro);
    padding: 0.75rem 1.75rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
.btn-oro-outline:hover {
    background: var(--oro);
    color: var(--azul-profundo);
}

/* ---------- HERO OLÍMPICO ---------- */
.hero-olimpo {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at center top, #1e2436 0%, var(--carbon) 65%);
    overflow: hidden;
    color: var(--marmol);
    text-align: center;
    padding: 4rem 1rem;
}
.hero-logo {
    max-width: min(420px, 80vw);
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(227, 176, 75, 0.35));
    animation: flotar 6s ease-in-out infinite;
}
/* Columnas dóricas decorativas */
.hero-olimpo::before,
.hero-olimpo::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='400' viewBox='0 0 80 400'><rect x='10' y='20' width='60' height='16' fill='%23e5dccc'/><rect x='16' y='36' width='48' height='344' fill='%23f4ede4' opacity='0.15'/><line x1='24' y1='40' x2='24' y2='380' stroke='%23c9a961' stroke-width='1' opacity='0.5'/><line x1='32' y1='40' x2='32' y2='380' stroke='%23c9a961' stroke-width='1' opacity='0.5'/><line x1='40' y1='40' x2='40' y2='380' stroke='%23c9a961' stroke-width='1' opacity='0.5'/><line x1='48' y1='40' x2='48' y2='380' stroke='%23c9a961' stroke-width='1' opacity='0.5'/><line x1='56' y1='40' x2='56' y2='380' stroke='%23c9a961' stroke-width='1' opacity='0.5'/><rect x='6' y='384' width='68' height='16' fill='%23e5dccc'/></svg>");
    background-repeat: repeat-y;
    background-size: 80px 400px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}
.hero-olimpo::before { left: 0; }
.hero-olimpo::after  { right: 0; transform: scaleX(-1); }

.hero-olimpo > * { position: relative; z-index: 2; }

.hero-titulo {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--oro-brillante);
    letter-spacing: 0.15em;
    text-shadow: 0 0 30px rgba(201, 169, 97, 0.5), 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
    font-weight: 700;
    animation: brillo-oro 4s ease-in-out infinite;
}
.hero-subtitulo {
    font-family: 'Marcellus', serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--marmol);
    letter-spacing: 0.1em;
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* ---------- CARDS DE PRODUCTO ---------- */
.card-reliquia {
    background: var(--marmol);
    border: 1px solid var(--marmol-oscuro);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px var(--sombra);
}
.card-reliquia::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(201, 169, 97, 0.08) 100%);
    pointer-events: none;
    z-index: 1;
}
.card-reliquia:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15,42,68,0.25), 0 0 0 1px var(--oro);
}
.card-reliquia .imagen {
    aspect-ratio: 1;
    background: var(--azul-profundo);
    overflow: hidden;
    position: relative;
}
.card-reliquia .imagen img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.card-reliquia:hover .imagen img {
    transform: scale(1.05);
}
.card-reliquia .badge-consola {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(7,26,46,0.85);
    color: var(--oro-brillante);
    padding: 4px 12px;
    font-size: 11px;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--oro);
    z-index: 2;
}
.card-reliquia .badge-vendido {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--terracota);
    color: var(--marmol);
    padding: 4px 12px;
    font-size: 11px;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}
.card-reliquia .contenido {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
}
.card-reliquia h3 {
    font-family: 'Cinzel', serif;
    color: var(--azul-egeo);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
}
.card-reliquia .precio {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--terracota);
    font-weight: 700;
    margin: 0.5rem 0;
}
.card-reliquia .msi-nota {
    font-size: 0.75rem;
    color: var(--azul-medio);
    opacity: 0.75;
}

/* ---------- NAV ---------- */
.nav-imperial {
    background: linear-gradient(180deg, var(--carbon), var(--carbon-suave));
    border-bottom: 2px solid var(--oro);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Cinzel', serif;
    color: var(--oro-brillante);
    font-size: 1.15rem;
    letter-spacing: 0.25em;
    text-decoration: none;
    text-shadow: 0 0 12px rgba(227, 176, 75, 0.35);
    text-transform: uppercase;
    font-weight: 700;
}
.nav-logo img {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(227, 176, 75, 0.4));
}
.nav-link {
    color: var(--marmol);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    position: relative;
}
.nav-link:hover { color: var(--oro-brillante); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%;
    width: 0; height: 1px;
    background: var(--oro);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after { width: 60%; }

/* ---------- SECCIONES ---------- */
.seccion {
    padding: 5rem 1rem;
}
.seccion-titulo {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: var(--azul-egeo);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}
.seccion-titulo-wrap {
    text-align: center;
    margin-bottom: 3rem;
}
.seccion-titulo::before,
.seccion-titulo::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--oro), transparent);
}
.seccion-titulo::before { right: 100%; margin-right: 20px; }
.seccion-titulo::after  { left: 100%; margin-left: 20px; }

.seccion-sub {
    font-family: 'Marcellus', serif;
    font-style: italic;
    color: var(--azul-medio);
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* ---------- FOOTER ---------- */
.footer-olimpico {
    background: var(--carbon);
    color: var(--marmol);
    padding: 3rem 1rem 1.5rem;
    border-top: 2px solid var(--oro);
    position: relative;
}
.footer-logo {
    height: 72px;
    width: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 12px rgba(227, 176, 75, 0.3));
}
.footer-olimpico a {
    color: var(--marmol);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-olimpico a:hover { color: var(--oro-brillante); }
.footer-olimpico h4 {
    font-family: 'Cinzel', serif;
    color: var(--oro-brillante);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* ---------- ANIMACIONES ---------- */
@keyframes brillo-oro {
    0%, 100% { text-shadow: 0 0 30px rgba(227, 176, 75, 0.4), 0 2px 4px rgba(0,0,0,0.5); }
    50%      { text-shadow: 0 0 50px rgba(227, 176, 75, 0.7), 0 0 80px rgba(227, 176, 75, 0.3); }
}
@keyframes flotar {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; }
.fade-up.visible {
    animation: fade-up 0.8s ease forwards;
}

/* ---------- TRUST BADGES ---------- */
.trust-item {
    text-align: center;
    padding: 1.5rem;
}
.trust-icon {
    width: 60px; height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--oro-brillante), var(--oro));
    border-radius: 50%;
    color: var(--azul-profundo);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.3);
}
.trust-title {
    font-family: 'Cinzel', serif;
    color: var(--azul-egeo);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* ---------- FORMULARIOS ---------- */
.input-imperial {
    width: 100%;
    background: white;
    border: 1px solid var(--marmol-oscuro);
    border-radius: 2px;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--azul-profundo);
    transition: all 0.3s;
}
.input-imperial:focus {
    outline: none;
    border-color: var(--oro);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
}
.label-imperial {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--azul-egeo);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

/* Filtros del catálogo */
.filtros-catalogo {
    background: white;
    padding: 1.25rem;
    border: 1px solid var(--marmol-oscuro);
    border-radius: 4px;
    box-shadow: 0 2px 10px var(--sombra);
}
