:root {
    --page: #11102a;
    --panel: #211a48;
    --line: rgba(190, 166, 255, 0.22);
    --text: #fff7ff;
    --muted: #c1b6d7;
    --cyan: #00eaff;
    --violet: #c084fc;
    --green: #35ff9b;
    --amber: #ffd447;
    --red: #ff3f9f;
    --font-display: "Chakra Petch", sans-serif;
    --font-body: "Plus Jakarta Sans", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--page); scroll-behavior: smooth; }

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    font-family: var(--font-body);
    background:
        linear-gradient(rgba(192, 132, 252, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 132, 252, 0.035) 1px, transparent 1px),
        radial-gradient(ellipse at 80% 6%, rgba(190, 55, 190, 0.2), transparent 40%),
        radial-gradient(ellipse at 15% 30%, rgba(49, 79, 205, 0.22), transparent 43%),
        linear-gradient(145deg, #171331 0%, #1c1742 48%, #10172f 100%);
    background-size: 36px 36px, 36px 36px, auto, auto;
    padding-bottom: 74px;
}

/* SPRITES ARCADE EN LOS BORDES */
.arcade-bezel { position: fixed; z-index: 0; inset: 0; overflow: hidden; opacity: 0.25; pointer-events: none; }
.bezel-art { position: absolute; display: block; height: auto; object-fit: contain; }
.bezel-cabinet-left { top: 4vh; left: clamp(8px, calc((100vw - 1200px) / 2 - 135px), 220px); width: clamp(100px, 12vw, 180px); }
.bezel-donkey { top: 31vh; left: clamp(8px, calc((100vw - 1200px) / 2 - 115px), 260px); width: clamp(120px, 15vw, 210px); }
.bezel-snow-bros { bottom: 4vh; left: clamp(8px, calc((100vw - 1200px) / 2 - 110px), 260px); width: clamp(100px, 12vw, 170px); filter: brightness(1.28) drop-shadow(0 0 12px rgba(0, 234, 255, 0.35)); }
.bezel-pacman { top: 7vh; right: clamp(8px, calc((100vw - 1200px) / 2 - 110px), 260px); width: clamp(105px, 12vw, 170px); }
.bezel-space-invaders { top: 39vh; right: clamp(8px, calc((100vw - 1200px) / 2 - 105px), 260px); width: clamp(105px, 12vw, 170px); }
.bezel-cabinet-right { right: clamp(8px, calc((100vw - 1200px) / 2 - 135px), 220px); bottom: 4vh; width: clamp(100px, 12vw, 180px); }

.container, .navbar, .top-raffle-banner, .footer { position: relative; z-index: 1; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

/* TIPOGRAFÍA RECTA Y GEOMÉTRICA EN TODOS LOS TÍTULOS Y BOTONES */
h1, h2, h3, .brand, .badge, .btn-primary, .btn-secondary, .btn-card, .btn-banner, .price, .card-tag, .step-num, .nav-links a {
    font-family: var(--font-display) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.top-raffle-banner {
    background: linear-gradient(110deg, rgba(255, 212, 71, 0.16), rgba(255, 63, 159, 0.18));
    border-bottom: 1px solid rgba(255, 212, 71, 0.55);
    color: #fff4bc;
    padding: 10px 16px;
    font-size: 0.84rem;
    display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap;
}

.btn-banner {
    background: var(--amber); color: #11102a; font-weight: 700;
    padding: 5px 14px; border-radius: 6px; text-decoration: none; font-size: 0.78rem;
}

.navbar {
    background: rgba(17, 16, 42, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 100;
}

.nav-content { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; flex-wrap: wrap; gap: 12px; }
.brand { font-size: 1.35rem; font-weight: 700; color: #f8fbff; text-decoration: none; }
.brand-neon { color: var(--cyan); text-shadow: 0 0 18px rgba(0, 234, 255, 0.5); }
.nav-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 0.85rem; font-weight: 700; }
.nav-links a:hover { color: var(--cyan); }
.nav-raffle-link { border: 1px solid rgba(255, 212, 71, 0.78); color: #fff4bc !important; background: rgba(255, 212, 71, 0.12); padding: 5px 12px; border-radius: 7px; }

/* HERO Y BOTONES CON FORMA ARCADE AFILADA */
.hero { padding: 50px 0 42px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; }

.badge {
    display: inline-block; font-size: 0.72rem; font-weight: 700;
    color: var(--cyan); border: 1px solid rgba(0, 234, 255, 0.45);
    background: rgba(0, 234, 255, 0.08); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}

.hero-text h1 {
    font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; line-height: 1.12;
    color: #f8fbff; text-shadow: 0 0 26px rgba(49, 217, 255, 0.25); margin-bottom: 14px;
}

.neon-cyan { color: var(--cyan); }
.hero-text p { color: var(--muted); font-size: 1rem; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }

.btn-primary {
    background: linear-gradient(135deg, var(--amber), #ff9f1c);
    color: #11102a; font-weight: 700; padding: 12px 20px; border-radius: 8px;
    text-decoration: none; box-shadow: 0 0 18px rgba(255, 212, 71, 0.3);
}

.btn-secondary {
    border: 1px solid rgba(0, 234, 255, 0.5); background: rgba(25, 20, 54, 0.8);
    color: var(--cyan); font-weight: 700; padding: 12px 18px; border-radius: 8px; text-decoration: none;
}

.social-bar { font-size: 0.85rem; color: var(--muted); }
.social-links { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.social-links a {
    border: 1px solid rgba(192, 132, 252, 0.35); border-radius: 7px;
    color: #f4edff; background: rgba(25, 20, 54, 0.8); padding: 7px 14px;
    font-size: 0.82rem; font-weight: 700; text-decoration: none;
}
.social-links a:hover { border-color: var(--cyan); color: var(--cyan); }

/* PANELES Y TARJETAS (BORDES RECTOS TIPO TABLERO RIFA: 12px) */
.card-neon, .product-card, .feature-item, .step-card {
    border: 1px solid rgba(190, 166, 255, 0.22);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(24, 37, 67, 0.96), rgba(17, 28, 53, 0.96));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.card-neon { padding: 16px; border-color: rgba(0, 234, 255, 0.35); }

.media-box {
    width: 100%; background: rgba(17, 16, 42, 0.9); border-radius: 8px;
    overflow: hidden; border: 1px dashed rgba(192, 132, 252, 0.4);
}
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.media-box img, .media-box video { width: 100%; height: 100%; object-fit: cover; display: block; }

.media-placeholder {
    width: 100%; height: 100%; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center; padding: 14px;
    font-family: var(--font-display); color: var(--cyan); font-weight: 700; font-size: 0.9rem;
}
.media-placeholder small { font-family: var(--font-body); color: var(--muted); font-weight: 400; margin-top: 4px; }
.showcase-caption { margin-top: 10px; font-size: 0.88rem; color: var(--muted); }

/* SECCIONES Y COLORES DIFERENCIADOS POR TARJETA */
.section { padding: 50px 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.section-header h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 700; color: #f4f7ff; margin-bottom: 8px; }
.section-header p { color: var(--muted); font-size: 0.96rem; }

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-card:nth-child(1) { border-top: 3px solid var(--cyan); }
.product-card:nth-child(2) { border-top: 3px solid var(--green); }
.product-card:nth-child(3) { border: 1px solid rgba(255, 212, 71, 0.65); border-top: 3px solid var(--amber); }
.product-card:nth-child(4) { border-top: 3px solid var(--red); }

.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-tag { font-size: 0.7rem; font-weight: 700; color: var(--amber); margin-bottom: 6px; }
.card-body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; flex: 1; }

.price-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
.price { font-size: 1.2rem; font-weight: 700; color: var(--green); }
.btn-card {
    border: 1px solid rgba(0, 234, 255, 0.5); background: rgba(0, 234, 255, 0.12);
    color: #f4f7ff; padding: 6px 12px; border-radius: 6px; text-decoration: none; font-size: 0.8rem; font-weight: 700;
}
.btn-card:hover { background: var(--cyan); color: #11102a; }

.features-grid, .steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feature-item, .step-card { padding: 20px; }
.feature-item:nth-child(1) { border-left: 3px solid var(--cyan); }
.feature-item:nth-child(2) { border-left: 3px solid var(--green); }
.feature-item:nth-child(3) { border-left: 3px solid var(--amber); }
.feature-item:nth-child(4) { border-left: 3px solid var(--red); }

.feature-item h3, .step-card h3 { color: #f4f7ff; margin-bottom: 8px; font-size: 1.05rem; }
.feature-item p, .step-card p { color: var(--muted); font-size: 0.9rem; }
.step-num { font-size: 1.5rem; font-weight: 700; color: var(--amber); display: block; margin-bottom: 4px; }

.digital-box { padding: clamp(20px, 3vw, 32px); border-color: rgba(255, 63, 159, 0.45); border-left: 4px solid var(--red); }
.digital-info h2 { margin-bottom: 10px; }
.digital-info p { color: var(--muted); margin-bottom: 14px; }
.check-list { list-style: none; margin-bottom: 20px; }
.check-list li { margin-bottom: 8px; padding-left: 20px; position: relative; font-size: 0.95rem; }
.check-list li::before { content: "▸"; color: var(--red); position: absolute; left: 0; }

/* FOOTER Y REPRODUCTOR */
.footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--cyan); }

.music-player-bar {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(17, 16, 42, 0.95); backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 234, 255, 0.35); padding: 10px 20px;
    display: flex; justify-content: space-between; align-items: center; z-index: 200; gap: 12px;
}
.music-info { font-family: var(--font-display); font-size: 0.82rem; color: var(--cyan); display: flex; align-items: center; gap: 8px; }
.music-controls { display: flex; gap: 8px; }
.music-controls button {
    background: rgba(25, 20, 54, 0.9); border: 1px solid rgba(192, 132, 252, 0.4);
    color: #f4edff; font-family: var(--font-display); padding: 5px 12px; border-radius: 6px; cursor: pointer; font-size: 0.78rem;
}
.music-controls button:hover { border-color: var(--cyan); color: var(--cyan); }

@media (max-width: 820px) {
    .hero-grid { grid-template-columns: 1fr; }
    .music-player-bar { flex-direction: column; align-items: flex-start; }
}

/* PARCHE FINAL DE CUADRÍCULA Y TAMAÑO COMPACTO */
.catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.media-box.ratio-4-3 {
    aspect-ratio: 4 / 3 !important;
    max-height: 190px !important;
}

@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .catalog-grid {
        grid-template-columns: 1fr !important;
    }
}
