@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
    --bg-main: #05060a;
    --accent: #00e5ff;
    --accent-soft: rgba(0, 229, 255, 0.2);
    --accent-2: #ffc400;
    --text-main: #ffffff;
    --text-soft: #c7cad4;
    --danger: #ff4b68;
    --radius-large: 22px;
    --shadow-soft: 0 20px 55px rgba(0, 0, 0, 0.78);
}

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background: #020205;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

/* Fondo con glow */
.global-bg-layer {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 214, 0, 0.4), transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(0, 229, 255, 0.35), transparent 55%),
        linear-gradient(180deg, #050505 0%, #020202 40%, #000000 100%);
    background-blend-mode: screen;
    animation: bgMove 30s ease-in-out infinite alternate;
    z-index: -2;
}

.global-noise {
    position: fixed;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: -1;
}

/* Vignette */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle, transparent 60%, rgba(0,0,0,0.85));
    z-index: -1;
}

/* NAV */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: 64px;
    padding: 0 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 40;
    background: linear-gradient(
        to bottom,
        rgba(4, 5, 12, 0.96),
        rgba(4, 5, 12, 0.75),
        transparent
    );
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* Logo dividido: nombre + dominio */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-main);
}

.logo-pill {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: radial-gradient(circle at top left, rgba(0,229,255,0.35), rgba(10,12,22,0.95));
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.logo-domain {
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.85;
}

.logo:hover .logo-domain {
    opacity: 1;
}

/* NAV links */

.nav-right {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-right a {
    font-size: 0.95rem;
    color: var(--text-soft);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

/* subrayado degradé */
.nav-right a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd54f, #00e5ff);
    transition: width 0.18s ease;
}

.nav-right a:hover {
    color: var(--text-main);
}

.nav-right a:hover::after,
.nav-right .nav-active::after {
    width: 100%;
}

.nav-active {
    color: var(--text-main);
}

/* Hamburguesa */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 10px;
    background: var(--text-main);
}

/* HERO */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    width: 100%;
    max-width: 1150px;
    padding: 6vh 6vw 10vh;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
}

.hero-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-soft);
    margin-bottom: 0.7rem;
}

/* meta pills debajo del tag */
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.hero-pill {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.75rem;
    color: var(--text-soft);
    background: rgba(7,8,16,0.9);
}

.hero-pill-online {
    border-color: rgba(0,229,255,0.7);
    color: #9af9ff;
    background: rgba(0,229,255,0.14);
}

.typewriter {
    font-size: clamp(2.2rem, 3.2vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.7rem;
    animation: breathing 4s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-soft);
    max-width: 520px;
    margin-bottom: 1.8rem;
}

.hero-main {
    animation: fadeUp 0.9s ease-out forwards;
}

.hero-note {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: rgba(199,202,212,0.75);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Imagen hero derecha */

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-card {
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at top, rgba(0,229,255,0.18), #05060b);
    box-shadow: 0 25px 70px rgba(0,0,0,0.95);
    transform-origin: center;
    transition: transform .22s ease-out, box-shadow .22s ease-out;
}

/* pequeño label flotante arriba de la imagen */
.hero-tag-floating {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(5, 6, 14, 0.88);
    border: 1px solid rgba(255,255,255,0.16);
    font-size: 0.75rem;
    color: var(--text-soft);
    z-index: 1;
}

.hero-image-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,212,96,0.4), rgba(0,229,255,0.35));
    mix-blend-mode: soft-light;
    opacity: 0;
    transition: opacity .25s ease-out;
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transition: transform .25s ease-out;
}

.hero-image-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 35px 90px rgba(0,0,0,0.98);
}

.hero-image-card:hover::before {
    opacity: 0.8;
}

.hero-image-card:hover img {
    transform: scale(1.1);
}

/* BOTONES inicio */

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.65rem 1.3rem;
    border-radius: 50px;
    background: rgba(20, 22, 32, 0.9);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.18s ease;
    backdrop-filter: blur(10px);
}

.btn-main {
    background: linear-gradient(135deg, #ffd54f, #00e5ff);
    color: #041016;
    border-color: transparent;
}

.btn-discord:hover {
    border-color: rgba(255,255,255,0.28);
    background: rgba(35, 40, 60, 0.98);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.6);
}

.btn-main:hover {
    filter: brightness(1.05);
}

.icon-external {
    width: 17px;
    height: 17px;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-discord:hover .icon-external {
    opacity: 1;
    transform: translateX(2px);
}

/* SECCIONES */

.section {
    padding: 6rem 6vw;
    position: relative;
    z-index: 1;
}

.section-no-padding {
    padding: 6rem 5vw 4rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section h2 {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
}

.section p {
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* STATS */

.stats-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.stats-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.stats-header h2 span {
    color: #ff4b4b;
}

.stats-header p {
    font-size: 0.92rem;
    color: var(--text-soft);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.stat-card {
    background: rgba(10, 10, 16, 0.96);
    border-radius: 20px;
    padding: 1.5rem 1.3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    transition: transform .16s ease-out, box-shadow .16s ease-out, border .16s ease-out;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 65px rgba(0,0,0,0.9);
    border-color: rgba(255,255,255,0.17);
}

.stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    margin: 0 auto 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
}

.stat-icon-discord { background: #f44336; }
.stat-icon-cart    { background: #ff9800; }
.stat-icon-player  { background: #4caf50; }

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-soft);
}

/* About */
.about { margin-top: -1rem; }

/* STAFF */

.devs { padding-top: 3rem; }

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.staff-card {
    text-align: center;
    background: rgba(7, 8, 16, 0.97);
    border-radius: 22px;
    padding: 2rem 1.4rem 1.7rem;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow-soft);
    transition: transform .16s ease-out, box-shadow .16s ease-out, border .16s ease-out;
}

.staff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.96);
    border-color: rgba(0,229,255,0.6);
}

.staff-logo {
    max-width: 70%;
    width: 140px;
    margin: 0 auto 1.1rem;
    display: block;
}

.staff-role {
    font-size: 0.9rem;
    color: var(--text-soft);
    opacity: 0.9;
}

/* ===== TIENDA NUEVA (store-section legacy, por si la usás después) ===== */
/* (La parte que realmente se usa está más abajo con .page-tienda, .store-page, etc.) */

.store-section {
    padding: 6rem 6vw;
    color: var(--text-main);
    text-align: center;
    position: relative;
    z-index: 1;
}

.store-title {
    font-size: 2.1rem;
    margin-bottom: 1.5rem;
}

.store-categories {
    margin-bottom: 2.2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Botones de categorías legacy */
.store-cat-btn {
    padding: 0.6rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(7, 8, 16, 0.92);
    color: var(--text-soft);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.16s ease-out, color 0.16s ease-out,
                box-shadow 0.16s ease-out, transform 0.12s ease-out;
}

.store-cat-btn:hover {
    background: rgba(17, 20, 32, 0.98);
    color: var(--text-main);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-1px);
}

/* Grid legacy */
.store-category {
    margin-top: 0.5rem;
}

.store-category.hidden {
    display: none;
}

.store-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.3rem;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.4rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Tarjeta legacy */
.store-card {
    background: rgba(7, 8, 16, 0.96);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.85);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
                border 0.18s ease-out;
    text-align: left;
}

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.95);
    border-color: rgba(0, 229, 255, 0.6);
}

.store-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.store-card h4 {
    font-size: 1rem;
    margin: 0.85rem 1rem 0.1rem;
}

.price {
    margin: 0 1rem 1rem;
    color: #ffeb3b;
    font-weight: 600;
    font-size: 0.95rem;
}

/* POPUP LEGACY (no usado ahora) */
.popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 80;
}

.popup.hidden {
    display: none;
}

.popup-box {
    background: #07070d;
    padding: 2.1rem 2rem 1.9rem;
    width: 90%;
    max-width: 480px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
}

.popup-box h2 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.popup-box p {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.7;
}

.popup-close {
    position: absolute;
    right: 14px;
    top: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.14s ease, transform 0.1s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.buy-btn {
    margin-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #ffd54f, #00e5ff);
    color: #041016;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.75);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
                filter 0.18s ease-out;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
    filter: brightness(1.05);
}

/* ===== RESPONSIVE TIENDA LEGACY ===== */
@media (max-width: 720px) {
    .store-section {
        padding-inline: 1.4rem;
    }

    .store-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .popup-box {
        padding-inline: 1.4rem;
    }
}

/* NORMAS */

.normas-page {
    padding-top: 64px;
    min-height: 100vh;
}

.normas-wrapper { padding-top: 4.5rem; }

.normas-title {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.normas-subtitle {
    font-size: 0.92rem;
    color: var(--text-soft);
    max-width: 680px;
    margin-bottom: 1.8rem;
}

/* Tabs de normas */

.normas-tabs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.3rem;
}

.normas-tab {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(7,7,14,0.9);
    color: var(--text-soft);
    font-size: 0.85rem;
    cursor: pointer;
    position: relative;
    transition: background 0.15s ease, color 0.15s ease, border 0.15s ease;
}

/* barra degradé bajo el tab activo */
.normas-tab::after {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: -4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd54f, #00e5ff);
    opacity: 0;
    transform: scaleX(0.7);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.normas-tab:hover {
    color: var(--text-main);
    border-color: rgba(255,255,255,0.22);
}

.normas-tab.active {
    color: var(--text-main);
    border-color: rgba(255,255,255,0.35);
    background: radial-gradient(circle at top, rgba(0,229,255,0.23), rgba(7,7,14,0.95));
}

.normas-tab.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.normas-panel {
    background: rgba(7,7,14,0.98);
    border-radius: 22px;
    padding: 1.8rem 2rem 2.2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.normas-section {
    display: none;
}

.normas-section.active {
    display: block;
}

.normas-section h2 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.normas-section h3 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    color: #f05a5a;
}

.normas-section p,
.normas-section li {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.7;
}

.normas-section ul {
    padding-left: 1.2rem;
    margin-top: 0.3rem;
}

/* Tabla robos */

.robos-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 0.5rem;
    font-size: 0.9rem;
}

.robos-table thead {
    background: #1c1a22;
}

.robos-table th,
.robos-table td {
    padding: 0.55rem 0.7rem;
    border: 1px solid #2a272f;
}

.robos-table th {
    text-align: left;
    color: #f05a5a;
}

.robos-table tbody tr:nth-child(even) {
    background: #111017;
}

/* FOOTER */

.footer {
    position: relative;
    z-index: 1;
    padding: 1.6rem 6vw 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: #b3b7c3;
}

/* ANIMACIONES */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0);   }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes breathing {
    0%   { transform: scale(1);   opacity: 0.95; }
    50%  { transform: scale(1.02);opacity: 1; }
    100% { transform: scale(1);   opacity: 0.95; }
}

@keyframes bgMove {
    0%   { background-position: 0 0; }
    100% { background-position: 40% 80%; }
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.4rem;
    }

    .stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-grid-large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .nav {
        padding: 0 1.3rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-right {
        position: absolute;
        top: 64px;
        right: 0;
        left: 0;
        padding: 0.9rem 1.3rem 1.2rem;
        flex-direction: column;
        gap: 0.8rem;
        background: rgba(3, 5, 12, 0.98);
        backdrop-filter: blur(18px);
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.16s ease-out, opacity 0.16s ease-out;
    }

    .nav-right.open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .hero-content {
        padding-inline: 1.4rem;
    }

    .section,
    .section-no-padding {
        padding-inline: 1.4rem;
    }

    .staff-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .store-topbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-grid-large {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ===== TIENDA (versión actual basada en tienda.html) ===== */

.page-tienda {
    padding-top: 64px;
    min-height: 100vh;
}

.store-page {
    max-width: 1150px;
    margin: 0 auto;
    padding: 4.5rem 6vw 4rem;
}

.store-header {
    max-width: 780px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.store-main-title {
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.store-main-subtitle {
    font-size: 0.9rem;
    color: var(--text-soft);
}

@media (max-width: 720px) {
    .store-page {
        padding-inline: 1.4rem;
    }
}

/* Barra de categorías arriba (tabs) */
.store-topbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.1rem;
    background: rgba(3, 5, 12, 0.98);
    border-radius: 999px;
    padding: 0.35rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0 auto 2.3rem;
    max-width: 100%;
}

.store-topbar.big {
    max-width: 1100px;
}

.store-tab {
    position: relative;
    border: none;
    background: transparent;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition:
        background 0.18s ease-out,
        color 0.18s ease-out,
        box-shadow 0.18s ease-out,
        transform 0.12s ease-out;
}

.store-tab::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 8px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd54f, #00e5ff);
    opacity: 0;
    transform: scaleX(0.7);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.store-tab:hover {
    color: var(--text-main);
}

.store-tab.active {
    background: #05060f;
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.9);
    transform: translateY(-1px);
}

.store-tab.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.store-icon {
    font-size: 1rem;
}

/* Contenido de la tienda */
.store-content {
    margin-top: 0.5rem;
}

/* Mensaje vacío */
.store-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.4rem;
    gap: 0.6rem;
    border-radius: 20px;
    background: rgba(7, 8, 16, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
    text-align: center;
    color: var(--text-soft);
}

.store-empty-icon {
    font-size: 1.8rem;
    opacity: 0.7;
}

/* Ajustes de grid y cards */
.store-grid-large {
    margin-top: 1.2rem;
}

.store-card {
    position: relative;
    background: radial-gradient(circle at top, rgba(0,229,255,0.09), rgba(5,5,10,0.96));
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.store-image-wrap {
    width: 100%;
    height: 230px;
    background: #050509;
}

.store-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-card-footer {
    padding: 0.9rem 1.1rem;
    background: #050509;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.store-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.9rem;
}

.store-title {
    font-weight: 600;
}

.store-price {
    font-weight: 600;
    color: #ffeb3b;
}

/* Badges dentro de la card */
.store-badge {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-soft);
}

.store-badge-hot {
    border-color: rgba(255,152,0,0.7);
    color: #ffd69b;
    background: rgba(255,152,0,0.16);
}

.store-badge-premium {
    border-color: rgba(0,229,255,0.7);
    color: #b4fbff;
    background: rgba(0,229,255,0.15);
}

/* Modal de tienda */
.store-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 90;
}

.store-modal.open {
    display: flex;
}

.store-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
}

.store-modal-card {
    background: #07070d;
    padding: 2.1rem 2rem 1.9rem;
    width: 90%;
    max-width: 480px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
    z-index: 1;
}

.store-modal-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.store-modal-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffeb3b;
    margin-bottom: 0.7rem;
}

.store-modal-body {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.7;
}

.store-modal-close {
    position: absolute;
    right: 14px;
    top: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.14s ease, transform 0.1s ease;
}

.store-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Botón comprar del modal */
.btn-buy {
    margin-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #ffd54f, #00e5ff);
    color: #041016;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.75);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, filter 0.18s ease-out;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
    filter: brightness(1.05);
}


/* ===== Filtros de tienda (buscador + orden) ===== */

.store-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
    align-items: center;
}

.store-filter-input,
.store-filter-select {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 8, 16, 0.96);
    color: var(--text-main);
    font-size: 0.85rem;
    outline: none;
    min-width: 180px;
}

.store-filter-input::placeholder {
    color: var(--text-soft);
    opacity: 0.75;
}

.store-filter-input:focus,
.store-filter-select:focus {
    border-color: rgba(0, 229, 255, 0.7);
    box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.4);
}

@media (max-width: 720px) {
    .store-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .store-filter-input,
    .store-filter-select {
        width: 100%;
    }
}
