:root {
    --bg-dark: #0A0314;
    --surface-card: #15092B;
    --surface-hover: #220F42;
    --violet-primary: #8B5CF6;
    --violet-glow: #A855F7;
    --amber-gold: #F59E0B;
    --amber-light: #FDE68A;
    --cyan-accent: #06B6D4;
    --meta-blue: #1877F2;
    --whatsapp-green: #25D366;
    --pink-figure: #EC4899;
    --purple-singles: #C084FC;
    --insta-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --tiktok-gradient: linear-gradient(45deg, #25F4EE 0%, #FE2C55 100%);
    --text-main: #FFFFFF;
    --text-muted: #B4ACE3;
    --border-vibrant: 1px solid rgba(139, 92, 246, 0.4);
    --border-gold: 1px solid rgba(245, 158, 11, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(139, 92, 246, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 90% 85%, rgba(245, 158, 11, 0.20) 0%, transparent 45%),
        url('logosfondo.png');
    background-repeat: repeat;
    background-attachment: fixed;
}

.top-banner {
    background: linear-gradient(90deg, rgba(30, 8, 54, 0.9), rgba(139, 92, 246, 0.9), rgba(30, 8, 54, 0.9));
    color: #FFF;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* HEADER */
header {
    background-color: rgba(10, 3, 20, 0.90);
    backdrop-filter: blur(15px);
    border-bottom: var(--border-vibrant);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo i {
    color: var(--amber-gold);
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.8));
}

.logo-subtext {
    font-size: 0.75rem;
    font-weight: 600;
    color: #FFFFFF;
    opacity: 0.95;
    margin-left: 2px;
}

.header-search {
    position: relative;
    flex: 1;
    max-width: 350px;
}

.header-search input {
    width: 100%;
    background: rgba(21, 9, 43, 0.85);
    border: 1px solid rgba(139, 92, 246, 0.4);
    padding: 10px 16px 10px 42px;
    border-radius: 20px;
    color: #FFF;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.3s ease;
}

.header-search input:focus {
    border-color: var(--amber-gold);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
    background: rgba(34, 15, 66, 0.95);
}

.header-search .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--amber-gold);
}

.nav-link i {
    color: var(--violet-primary);
    font-size: 0.8rem;
}

.nav-link:hover i {
    color: var(--amber-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-btn {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #FFF;
    padding: 9px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: var(--violet-primary);
    border-color: var(--amber-gold);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

.cart-btn {
    background: linear-gradient(135deg, var(--amber-gold), #D97706);
    color: #000;
    padding: 9px 18px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
    white-space: nowrap;
}

.cart-count {
    background: #000;
    color: var(--amber-gold);
    font-size: 0.75rem;
    padding: 2px 7px;
    border-radius: 10px;
}

.container {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2.5rem;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    border-bottom: var(--border-vibrant);
    padding-bottom: 0.8rem;
}

.section-heading h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFF;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-heading h2 i {
    color: var(--amber-gold);
}

.scroll-indicator-badge {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: var(--amber-gold);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

/* HERO SLIDER */
.hero-banner-container {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    margin-top: 1.5rem;
    border: var(--border-vibrant);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    background: #000;
}

.hero-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-bg-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-bg-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10,3,20,0.95) 0%, rgba(10,3,20,0.4) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    z-index: 2;
}

.slide-content {
    max-width: 650px;
}

.slide-tag {
    background: var(--amber-gold);
    color: #000;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.slide-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 6px;
}

.slide-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.slider-progress-bar-container {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    width: 90%;
    max-width: 600px;
}

.progress-bar-item {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--amber-gold);
    box-shadow: 0 0 8px var(--amber-gold);
}

.progress-bar-item.active .progress-bar-fill {
    animation: progressFill 4.5s linear forwards;
}

.progress-bar-item.completed .progress-bar-fill {
    width: 100%;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

/* TCGs FILTROS INTERACTIVOS Y SUBFILTROS */
.filters-wrapper {
    margin-bottom: 2rem;
    background: rgba(21, 9, 43, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 18px;
    padding: 1.2rem;
    backdrop-filter: blur(8px);
}

.filter-section-title {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

.tcg-compact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.tcg-pill {
    background: rgba(21, 9, 43, 0.85);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: var(--text-main);
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.25s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tcg-pill:hover, .tcg-pill.active {
    background: var(--violet-primary);
    border-color: var(--amber-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.tcg-pill i {
    color: var(--amber-gold);
    font-size: 0.75rem;
}

.subfilters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    padding-top: 0.8rem;
    border-top: 1px dashed rgba(139, 92, 246, 0.3);
}

.subfilter-chip {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid var(--cyan-accent);
    color: var(--cyan-accent);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subfilter-chip:hover, .subfilter-chip.active {
    background: var(--cyan-accent);
    border-color: var(--cyan-accent);
    color: #000;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
    transform: scale(1.03);
}

.subfilter-chip.figura-chip {
    background: rgba(236, 72, 153, 0.15);
    border-color: var(--pink-figure);
    color: var(--pink-figure);
}

.subfilter-chip.figura-chip:hover, .subfilter-chip.figura-chip.active {
    background: var(--pink-figure);
    border-color: var(--pink-figure);
    color: #000;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.6);
}

.subfilter-chip.boardgame-chip {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--amber-gold);
    color: var(--amber-gold);
}

.subfilter-chip.boardgame-chip:hover, .subfilter-chip.boardgame-chip.active {
    background: var(--amber-gold);
    border-color: var(--amber-gold);
    color: #000;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.subfilter-chip.singles-chip {
    background: rgba(192, 132, 252, 0.15);
    border-color: var(--purple-singles);
    color: var(--purple-singles);
}

.subfilter-chip.singles-chip:hover, .subfilter-chip.singles-chip.active {
    background: var(--purple-singles);
    border-color: var(--purple-singles);
    color: #000;
    box-shadow: 0 0 12px rgba(192, 132, 252, 0.6);
}

.subfilter-chip.oferta-chip {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: #EF4444 !important;
    color: #EF4444 !important;
}

.subfilter-chip.oferta-chip:hover, .subfilter-chip.oferta-chip.active {
    background: #EF4444 !important;
    border-color: #EF4444 !important;
    color: #FFF !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6) !important;
}

.subfilter-chip.manga-chip {
    background: rgba(16, 185, 129, 0.15); /* Verde esmeralda */
    border-color: #10B981;
    color: #10B981;
}

.subfilter-chip.manga-chip:hover, .subfilter-chip.manga-chip.active {
    background: #10B981;
    border-color: #10B981;
    color: #000;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.subfilter-chip.juguete-chip {
    background: rgba(59, 130, 246, 0.15); /* Azul brillante */
    border-color: #3B82F6;
    color: #3B82F6;
}

.subfilter-chip.juguete-chip:hover, .subfilter-chip.juguete-chip.active {
    background: #3B82F6;
    border-color: #3B82F6;
    color: #000;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

/* Colores para la etiqueta pequeña dentro de la tarjeta del producto */
.sub-tag-type.manga {
    background-color: #10B981;
    color: #000;
}

.sub-tag-type.juguete {
    background-color: #3B82F6;
    color: #000;
}

/* TORNEOS */
.events-section {
    background: linear-gradient(180deg, rgba(21, 9, 43, 0.85) 0%, rgba(10, 3, 20, 0.90) 100%);
    border: var(--border-vibrant);
    border-radius: 24px;
    padding: 2.5rem;
    margin: 4rem auto;
    backdrop-filter: blur(8px);
}

.events-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding-bottom: 0.5rem;
}

.events-scroll-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: infinitescroll 32s linear infinite;
}

.events-scroll-wrapper:hover .events-scroll-track {
    animation-play-state: paused;
}

@keyframes infinitescroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.event-card {
    min-width: 340px;
    max-width: 340px;
    background-size: cover;
    background-position: center;
    border: var(--border-vibrant);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    flex-shrink: 0;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 3, 20, 0.6) 0%, rgba(10, 3, 20, 0.95) 100%);
    z-index: 1;
}

.event-card > * {
    position: relative;
    z-index: 2;
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: var(--amber-gold);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.2);
}

.event-date-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--violet-primary);
    color: #FFF;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
}

.btn-event {
    background: linear-gradient(90deg, var(--amber-gold), #D97706);
    color: #000;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-event:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.whatsapp-banner-discreet {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 12px;
    padding: 14px 24px;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.95rem;
}

.whatsapp-banner-discreet p {
    margin: 0;
    color: var(--text-muted);
}

.whatsapp-banner-discreet a {
    color: var(--whatsapp-green);
    font-weight: 700;
    text-decoration: underline;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    animation: pulseLed 2s infinite;
    flex-shrink: 0;
}

@keyframes pulseLed {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* CALENDARIO SEMANAL */
.weekly-calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.calendar-day-card {
    background: rgba(21, 9, 43, 0.85);
    border: var(--border-vibrant);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    backdrop-filter: blur(5px);
}

.day-header {
    font-family: 'Unbounded', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--amber-gold);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.4rem;
    text-transform: uppercase;
}

.tournament-slot {
    background: rgba(34, 15, 66, 0.6);
    border-left: 3px solid var(--violet-primary);
    padding: 6px 8px;
    border-radius: 0 6px 6px 0;
}

.tournament-slot.digimon { border-left-color: #3B82F6; }
.tournament-slot.pokemon { border-left-color: #EF4444; }
.tournament-slot.yugioh { border-left-color: #F59E0B; }
.tournament-slot.onepiece { border-left-color: #EC4899; }
.tournament-slot.gundam { border-left-color: #06B6D4; }

.game-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #FFF;
}

.game-time {
    font-size: 0.72rem;
    color: var(--cyan-accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ACERCA DE NOSOTROS CON FONDO PANORÁMICO */
.about-us-section {
    background: linear-gradient(135deg, rgba(10, 3, 20, 0.85) 0%, rgba(21, 9, 43, 0.92) 100%),
                url('tienda.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: var(--border-vibrant);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    margin: 4rem auto;
    backdrop-filter: blur(8px);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.about-us-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-us-content p {
    color: #E2DEFA;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.learn-tcg-card {
    margin-top: 2.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(21, 9, 43, 0.9) 100%);
    border: 1px solid var(--violet-glow);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
}

.learn-tcg-content h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.15rem;
    color: #FFF;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.learn-tcg-content h3 i {
    color: var(--amber-gold);
}

.learn-tcg-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.btn-action-contact {
    background: linear-gradient(135deg, var(--violet-primary), #7C3AED);
    border: 1px solid var(--violet-glow);
    color: #FFF;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 12px 22px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    cursor: pointer;
}

.btn-action-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
    background: linear-gradient(135deg, #9333EA, #6D28D9);
    border-color: var(--amber-gold);
}

/* PRODUCTOS Y PAGINACIÓN */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: rgba(21, 9, 43, 0.85);
    border: var(--border-vibrant);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(5px);
    position: relative;
    transition: all 0.3s ease;
}

.product-card.out-of-stock {
    opacity: 0.75;
    border-color: rgba(239, 68, 68, 0.5);
}

.product-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin: 1rem 0;
}

.badge-tag {
    display: inline-block;
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid var(--cyan-accent);
    color: var(--cyan-accent);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 4px;
}

.badge-tag.lang {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--violet-glow);
    color: #FFF;
}

.badge-tag.mint {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10B981;
    color: #34D399;
}

.sub-tag-type {
    display: inline-block;
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid var(--cyan-accent);
    color: var(--cyan-accent);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 8px;
    margin-left: 4px;
}

/* Estilos específicos de badges */
.sub-tag-type.figura {
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid var(--pink-figure);
    color: var(--pink-figure);
    box-shadow: 0 0 6px rgba(236, 72, 153, 0.3);
}

.sub-tag-type.boardgame {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--amber-gold);
    color: var(--amber-gold);
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.3);
}

.sub-tag-type.singles {
    background: rgba(192, 132, 252, 0.15);
    border: 1px solid var(--purple-singles);
    color: var(--purple-singles);
    box-shadow: 0 0 6px rgba(192, 132, 252, 0.3);
}

.sale-badge {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #FFF;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.stock-badge-out {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #EF4444;
    color: #EF4444;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    display: inline-block;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-add {
    background: rgba(139, 92, 246, 0.2);
    border: var(--border-vibrant);
    color: #FFF;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
}

.btn-add:hover {
    background: var(--violet-primary);
    border-color: var(--amber-gold);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.btn-add.disabled {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: not-allowed;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.page-btn {
    background: rgba(21, 9, 43, 0.85);
    border: var(--border-vibrant);
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover, .page-btn.active {
    background: var(--violet-primary);
    border-color: var(--amber-gold);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.btn-toggle-view {
    background: linear-gradient(135deg, var(--violet-primary), #7C3AED);
    color: #FFF;
    border: 1px solid var(--amber-gold);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: block;
    margin: 2rem auto 0;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
}

.btn-toggle-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* MODAL / PANEL LATERAL DEL CARRITO & MODAL GENERAL */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 3, 20, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: flex-end;
    transition: opacity 0.3s ease;
}

.cart-drawer-overlay.open {
    display: flex;
}

.cart-drawer {
    width: 100%;
    max-width: 420px;
    background: #15092B;
    border-left: var(--border-vibrant);
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--border-vibrant);
    padding-bottom: 1rem;
}

.cart-drawer-header h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.1rem;
    color: #FFF;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.cart-close-btn:hover {
    color: #FFF;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item-row {
    background: rgba(34, 15, 66, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: #000;
    border-radius: 8px;
    padding: 2px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 2px;
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--amber-gold);
    font-weight: 800;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.qty-btn {
    background: rgba(139, 92, 246, 0.2);
    border: none;
    color: #FFF;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.qty-btn:hover {
    background: var(--violet-primary);
}

.cart-item-remove {
    background: none;
    border: none;
    color: #EF4444;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
}

.cart-drawer-footer {
    border-top: var(--border-vibrant);
    padding-top: 1.5rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #FFF;
}

.cart-total-row span:last-child {
    color: var(--amber-gold);
}

.btn-checkout-whatsapp {
    background: var(--whatsapp-green);
    color: #FFF;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    text-decoration: none;
}

.btn-checkout-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* REDES SOCIALES */
.social-minimal-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.social-mini-btn {
    background: rgba(21, 9, 43, 0.85);
    border: var(--border-vibrant);
    border-radius: 16px;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #FFF;
    transition: all 0.3s ease;
    min-width: 240px;
    backdrop-filter: blur(5px);
}

.social-mini-btn i {
    font-size: 2rem;
}

.social-mini-btn.fb:hover {
    background: var(--meta-blue);
    border-color: #FFF;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-mini-btn.ig:hover {
    background: var(--insta-gradient);
    border-color: #FFF;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
}

.social-mini-btn.tk:hover {
    background: var(--tiktok-gradient);
    border-color: #FFF;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(37, 244, 238, 0.4);
}

.social-info-text {
    display: flex;
    flex-direction: column;
}

.social-handle {
    font-family: 'Unbounded', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
}

.social-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.social-mini-btn:hover .social-sub {
    color: rgba(255, 255, 255, 0.85);
}

.footer-location-newsletter {
    margin-top: 3.5rem;
    background: rgba(21, 9, 43, 0.85);
    border: var(--border-vibrant);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(5px);
}

.footer-container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.map-column h3, .contact-column h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.15rem;
    color: #FFF;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-address-box {
    background: rgba(34, 15, 66, 0.7);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-left: 3px solid var(--amber-gold);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.map-address-details {
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.map-address-details i {
    color: var(--amber-gold);
    margin-top: 3px;
}

.map-address-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cyan-accent);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    align-self: flex-start;
}

.map-iframe-container {
    width: 100%;
    height: 230px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.3);
    filter: invert(90%) hue-rotate(180deg) contrast(95%);
}

.contact-column {
    background: linear-gradient(135deg, rgba(34, 15, 66, 0.6) 0%, rgba(21, 9, 43, 0.8) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
}

.contact-column p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-form-enhanced {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.input-group.textarea-group i {
    top: 18px;
    transform: none;
}

.contact-form-enhanced input,
.contact-form-enhanced textarea {
    width: 100%;
    background: rgba(10, 3, 20, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.4);
    padding: 12px 16px 12px 40px;
    border-radius: 10px;
    color: #FFF;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form-enhanced input:focus,
.contact-form-enhanced textarea:focus {
    border-color: var(--amber-gold);
}

.contact-form-enhanced textarea {
    resize: vertical;
    min-height: 90px;
    font-family: inherit;
}

.contact-form-enhanced button {
    background: linear-gradient(135deg, var(--amber-gold), #D97706);
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.contact-form-enhanced button:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

footer {
    border-top: var(--border-vibrant);
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(5, 1, 10, 0.92);
    margin-top: 5rem;
}

@media (max-width: 1024px) {
    .header-container { flex-wrap: wrap; gap: 1rem; }
    .header-search { order: 3; max-width: 100%; width: 100%; }
}

@media (max-width: 900px) {
    .hero-banner-container { height: 300px; }
    .slide-title { font-size: 1.4rem; }
    .main-nav { display: none; }
    .user-btn-text { display: none; }
    .learn-tcg-card { flex-direction: column; text-align: center; }
    .footer-container-grid { grid-template-columns: 1fr; gap: 2rem; }
}