:root {
    --bg-color: #080808;
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --accent: #FFCC00; /* Yellow */
    --accent-red: #E60000; /* Red */
    --accent-glow: rgba(255, 204, 0, 0.6);
    --red-glow: rgba(230, 0, 0, 0.6);
    --glass-bg: rgba(20, 20, 20, 0.9);
    --glass-border: rgba(255, 204, 0, 0.3);
    --silver: #E0E0E0;
    --bronze: #CD7F32;
    --pokedex-blue: #00e5ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #000;
    /* Gradiente oscuro sobre la imagen para que los textos sigan siendo fáciles de leer */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('assets/charizard_bg.png');
    background-size: 130%; /* Tamaño inicial más grande para permitir el movimiento */
    background-attachment: fixed;
    animation: panCharizard 40s ease-in-out infinite alternate;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

@keyframes panCharizard {
    0% { background-position: 0% 50%; background-size: 130%; }
    100% { background-position: 100% 50%; background-size: 150%; }
}

/* Background effects */
.bg-gradient {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 40% 50%, rgba(255, 204, 0, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 70% 30%, rgba(230, 0, 0, 0.08) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
    animation: rotate 40s linear infinite;
}

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

/* Typography */
h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.8);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.8);
}

.highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2rem 5%;
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #000;
    border: 2px solid var(--accent-red);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 4px 4px 0px var(--accent-red);
}

.hero-content p {
    font-size: 1.3rem;
    color: #e0e0e0;
    max-width: 600px;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px #000;
}

/* Buttons (Pokemon style) */
.btn-primary {
    background: var(--accent-red);
    color: #fff;
    border: 3px solid #000;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 6px 6px 0px #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0px #000;
    background: #ff1a1a;
}

.btn-primary:active {
    transform: translate(6px, 6px);
    box-shadow: 0px 0px 0px #000;
}

.btn-primary.large {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
}

.btn-primary.full-width {
    width: 100%;
}

/* Prizes Section */
.prizes-section {
    padding: 8rem 5%;
    background: rgba(0,0,0,0.7);
    border-top: 5px solid var(--accent-red);
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* TCG Card Style */
.prize-card {
    background: #222;
    border: 12px solid #FFD700; /* Yellow border */
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.8);
    position: relative;
}

.prize-card::before {
    content: '';
    position: absolute;
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}

.prize-card:hover {
    transform: translateY(-10px) rotate(1deg);
    border-color: #FFEA00;
}

.prize-card.premium {
    transform: scale(1.05);
    border-color: #FF5500;
}

.prize-card.premium:hover {
    transform: scale(1.05) translateY(-10px) rotate(-1deg);
    border-color: #FF3300;
}

@media (max-width: 1024px) {
    .prize-card.premium { transform: none; }
    .prize-card.premium:hover { transform: translateY(-10px); }
}

.prize-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-bottom: 4px solid #000;
}

.prize-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0 0;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #000;
    border-radius: 10px 10px 0 0;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img, .carousel-slide video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    border-radius: 5px;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(227, 53, 13, 0.9);
}

.carousel-btn.prev { left: 5px; }
.carousel-btn.next { right: 5px; }

.prize-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.prize-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 2px solid #000;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 3px 3px 0px #000;
}

.prize-card.premium .prize-badge {
    background: var(--accent-red);
    color: #fff;
}

.prize-badge.silver { background: var(--silver); }
.prize-badge.bronze { background: var(--bronze); color: #fff;}

.prize-info {
    padding: 2rem;
    background: #e6e6e6; /* TCG Text area background */
    color: #111;
}

.prize-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 800;
    text-shadow: none;
}

.prize-info p {
    color: #333;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    min-height: 80px;
    font-weight: 600;
}

.prize-value {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #000;
    border-radius: 4px;
    font-weight: 800;
    color: var(--accent);
}
.prize-card.premium .prize-value {
    color: #FF5500;
}

/* CTA Section - Pokedex Style */
.cta-section {
    padding: 5rem 5%;
    display: flex;
    justify-content: center;
}

.glass-panel {
    background: var(--accent-red);
    border: 5px solid #000;
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
    width: 100%;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.3), 12px 12px 0px rgba(0,0,0,0.8);
    position: relative;
}

/* Pokedex Lens Light */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: var(--pokedex-blue);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--pokedex-blue), inset -4px -4px 10px rgba(0,0,0,0.3);
}

.glass-panel h2 {
    color: #FFCC00;
    text-shadow: 3px 3px 0px #000;
    font-size: 2.5rem;
}

.glass-panel p {
    color: #fff;
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 1px 1px 0px #000;
}

.glass-panel .btn-primary {
    background: #FFCC00;
    color: #000;
}
.glass-panel .btn-primary:hover {
    background: #FFF000;
}

/* Footer */
footer {
    padding: 2rem 5%;
    border-top: 5px solid #000;
    background: #111;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

footer .links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s;
    font-weight: 600;
}

footer .links a:hover {
    color: var(--accent);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #f0f0f0; /* Like a gameboy screen */
    border: 6px solid #000;
    border-radius: 12px;
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 10px 10px 0px rgba(230, 0, 0, 0.5);
    color: #000;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #000;
    font-size: 2rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-btn:hover {
    transform: scale(1.2);
    color: var(--accent-red);
}

.modal-content h2 {
    color: var(--accent-red);
    text-shadow: none;
    font-size: 2rem;
}

.modal-content p {
    color: #333;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: #000;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #fff;
    border: 3px solid #000;
    border-radius: 4px;
    color: #000;
    font-family: inherit;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-red);
}

.total-price {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 2rem 0 1.5rem;
    padding: 1rem;
    background: #FFCC00;
    border: 3px solid #000;
    border-radius: 8px;
    text-align: center;
    color: #000;
}

/* --- Page Load Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.hero nav { animation: fadeIn 1s ease forwards; }
.hero-content .badge { opacity: 0; animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s forwards; }
.hero-content h1 { opacity: 0; animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s forwards; }
.hero-content p { opacity: 0; animation: fadeInUp 0.8s ease-out 0.6s forwards; }
.hero-content .btn-primary { opacity: 0; animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.8s forwards; }

.prizes-grid .prize-card:nth-child(1) { opacity: 0; animation: fadeInUp 1s ease-out 1s forwards; }
.prizes-grid .prize-card:nth-child(2) { opacity: 0; animation: fadeInUp 1s ease-out 1.2s forwards; }
.prizes-grid .prize-card:nth-child(3) { opacity: 0; animation: fadeInUp 1s ease-out 1.4s forwards; }

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }

.loader-content { text-align: center; color: #fff; animation: pulse 1.5s infinite; }
.loader-content h2 { color: #FFCC00; margin-bottom: 0.5rem; font-size: 1.8rem; text-shadow: none; }
.loader-content p { color: #aaa; font-size: 1.2rem; font-weight: 600; }

.pokeball-loader {
    width: 70px; height: 70px;
    border-radius: 50%;
    border: 5px solid #fff;
    background: linear-gradient(to bottom, #E60000 50%, #fff 50%);
    margin: 0 auto 1.5rem;
    position: relative;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(230,0,0,0.6);
}
.pokeball-loader::after {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 20px; height: 20px; background: #fff;
    border: 5px solid #000; border-radius: 50%;
}
.pokeball-loader::before {
    content: ''; position: absolute;
    top: 50%; left: 0; width: 100%; height: 5px;
    background: #000; transform: translateY(-50%);
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* Floating WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.8), 0 0 0 4px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: bounceIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.whatsapp-btn:hover {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.8), 0 0 0 4px rgba(37, 211, 102, 0.5);
    color: white;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* --- Availability Bar (en modal de compra) --- */
.availability-bar {
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.08);
    border: 2px solid #000;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
}

.availability-bar strong {
    color: var(--accent-red);
    font-size: 1.1rem;
}

/* --- Success Modal --- */
.success-modal-content {
    max-width: 500px;
    background: #111;
    color: var(--text-main);
    border-color: #25C65B;
    box-shadow: 10px 10px 0px rgba(37, 198, 91, 0.35);
    text-align: center;
    padding: 2rem;
}

.success-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 3px solid #25C65B;
}

.success-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
    animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-header h2 {
    color: #25C65B;
    text-shadow: 2px 2px 0px #000;
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.success-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
}

.success-subtitle strong {
    color: var(--accent);
}

.success-body {
    margin-top: 1rem;
}

.success-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bolitas de números de ticket */
.ticket-balls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    min-height: 56px;
}

.ticket-ball {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-red), #FF5500);
    border: 3px solid #000;
    box-shadow: 3px 3px 0px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.ticket-ball:nth-child(2) { animation-delay: 0.08s; }
.ticket-ball:nth-child(3) { animation-delay: 0.16s; }
.ticket-ball:nth-child(4) { animation-delay: 0.24s; }
.ticket-ball:nth-child(5) { animation-delay: 0.32s; }

@keyframes popIn {
    0% { transform: scale(0) rotate(-15deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.success-details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
}

.success-stat {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: #ccc;
    font-weight: 600;
}

.stat-icon {
    font-size: 1.2rem;
}

.success-note {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
    padding: 0.8rem;
    background: rgba(255, 204, 0, 0.08);
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-radius: 8px;
    line-height: 1.5;
}

/* --- Terms & Conditions Modal --- */
.terms-modal-content {
    max-width: 620px;
    background: #111;
    color: var(--text-main);
    border-color: var(--accent);
    box-shadow: 10px 10px 0px rgba(255, 204, 0, 0.4);
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
}

.terms-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent);
}

.terms-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.terms-header h2 {
    color: var(--accent);
    text-shadow: 2px 2px 0px #000;
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.terms-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.terms-body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.term-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: rgba(255, 204, 0, 0.05);
    border: 2px solid rgba(255, 204, 0, 0.2);
    border-radius: 10px;
    padding: 1.2rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.term-item:hover {
    border-color: var(--accent);
    background: rgba(255, 204, 0, 0.1);
}

.term-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--accent-red);
    border: 3px solid #000;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 3px 3px 0px #000;
}

.term-text h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: none;
}

.term-text p {
    font-size: 0.95rem;
    color: #ccc;
    font-weight: 400;
    line-height: 1.6;
}

.term-text p strong {
    color: #fff;
    font-weight: 800;
}

.terms-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 204, 0, 0.2);
}

.terms-footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

/* --- RESPONSIVIDAD (Mobile & Tablet) --- */
@media (max-width: 768px) {
    /* Hero section */
    .hero {
        padding: 1rem 5%;
    }
    .hero-content {
        align-items: center;
        text-align: center;
    }
    .logo img {
        height: 45px !important;
    }
    h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1.1rem;
        text-align: center;
    }
    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* Pokedex Panel */
    .glass-panel {
        padding: 2.5rem 1.5rem;
    }
    .glass-panel h2 {
        font-size: 1.8rem;
    }
    .glass-panel p {
        font-size: 1rem;
    }

    /* Prizes */
    .prizes-section {
        padding: 4rem 5%;
    }
    .prize-image {
        height: 250px;
    }
    .prize-info {
        padding: 1.5rem;
    }
    .prize-info h3 {
        font-size: 1.3rem;
    }

    /* Modal */
    .modal-content {
        padding: 1.5rem;
        width: 90%;
        max-width: 100%;
        max-height: 90vh;
        overflow-y: auto;
    }
    .modal-content h2 {
        font-size: 1.5rem;
    }
    .close-btn {
        top: 0.5rem;
        right: 0.5rem;
    }

    /* Preloader */
    .loader-content h2 {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    .pokeball-loader {
        width: 55px;
        height: 55px;
    }

    /* Footer */
    footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    footer .links a {
        display: block;
        margin: 0.5rem 0;
    }

    /* WhatsApp Button */
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }
}

    h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .glass-panel h2 { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   POKÉDEX STATS COUNTER SECTION
═══════════════════════════════════════════════════════════ */
.pokedex-section {
    padding: 5rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.6);
    border-top: 4px solid #222;
}

/* ── Device Shell ─────────────────────────────────── */
.pokedex-device {
    display: flex;
    align-items: stretch;
    background: #CC0000;
    border: 5px solid #000;
    border-radius: 20px 20px 30px 30px;
    box-shadow:
        10px 10px 0px #000,
        inset 0 2px 0 rgba(255,255,255,0.2),
        inset 0 -4px 0 rgba(0,0,0,0.3),
        0 0 60px rgba(230,0,0,0.25);
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.pokedex-device::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    z-index: 10;
}

/* ── Hinge Screws ─────────────────────────────────── */
.pokedex-hinge {
    width: 22px;
    background: #A00000;
    border-right: 3px solid #000;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 12px 0;
}

.pokedex-hinge.right {
    border-right: none;
    border-left: 3px solid #000;
}

.pokedex-hinge::before,
.pokedex-hinge::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #777, #222);
    border: 1px solid #000;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.15);
}

/* ── Screen Wrap ──────────────────────────────────── */
.pokedex-screen-wrap {
    flex: 1;
    padding: 1.5rem 1.8rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* ── LED Header ───────────────────────────────────── */
.pokedex-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.pokedex-led {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.5);
    box-shadow: 0 0 6px currentColor;
    flex-shrink: 0;
}

.led-red    { background: #FF3B3B; color: #FF3B3B; animation: ledPulse 1.8s ease-in-out infinite; }
.led-yellow { background: #FFD600; color: #FFD600; animation: ledPulse 1.8s ease-in-out 0.4s infinite; }
.led-green  { background: #00E676; color: #00E676; animation: ledPulse 1.8s ease-in-out 0.8s infinite; }

@keyframes ledPulse {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

.pokedex-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    margin-left: auto;
}

.blink-cursor { animation: blink 1s step-end infinite; }

@keyframes blink {
    0%,100% { opacity: 1; }
    50%      { opacity: 0; }
}

/* ── Main Screen ──────────────────────────────────── */
.pokedex-screen {
    background: #0D1F0F;
    border: 4px solid #000;
    border-radius: 10px;
    padding: 1.6rem 1.8rem;
    box-shadow:
        inset 0 0 30px rgba(0,200,60,0.06),
        inset 0 2px 4px rgba(0,0,0,0.6),
        0 0 20px rgba(0,230,118,0.08);
    position: relative;
    overflow: hidden;
}

.screen-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0,0,0,0.08) 3px,
        rgba(0,0,0,0.08) 4px
    );
    pointer-events: none;
    z-index: 2;
}

.pokedex-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(0,230,118,0.45);
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 3;
}

/* ── Stats Row ────────────────────────────────────── */
.pokedex-stats {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
    position: relative;
    z-index: 3;
}

.pdx-stat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0,230,118,0.05);
    border: 1px solid rgba(0,230,118,0.15);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    transition: background 0.3s;
}

.pdx-stat:hover { background: rgba(0,230,118,0.09); }

.pdx-icon {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.4));
}

.pdx-value {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    color: #00E676;
    text-shadow: 0 0 12px rgba(0,230,118,0.5);
    transition: color 0.3s;
}

.pdx-stat.sold .pdx-value {
    color: #FF5252;
    text-shadow: 0 0 12px rgba(255,82,82,0.5);
}

.pdx-desc {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(0,230,118,0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.2rem;
}

.pdx-stat.sold .pdx-desc { color: rgba(255,82,82,0.6); }

.pdx-divider {
    width: 1px;
    height: 70px;
    background: linear-gradient(to bottom, transparent, rgba(0,230,118,0.3), transparent);
    flex-shrink: 0;
}

/* ── Progress Bar ─────────────────────────────────── */
.pdx-progress-wrap { position: relative; z-index: 3; margin-bottom: 1rem; }

.pdx-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(0,230,118,0.4);
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

#pdx-pct { color: rgba(0,230,118,0.7); font-size: 0.75rem; }

.pdx-progress-track {
    height: 14px;
    background: rgba(0,0,0,0.5);
    border: 2px solid rgba(0,230,118,0.2);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.pdx-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #B71C1C, #E53935, #FF5252);
    border-radius: 20px;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.pdx-progress-fill::after {
    content: '';
    position: absolute;
    top: 2px; left: 8px; right: 8px;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
}

.pdx-progress-shine {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 12px,
        rgba(0,0,0,0.12) 12px,
        rgba(0,0,0,0.12) 14px
    );
    border-radius: 20px;
}

.pdx-footer-text {
    font-size: 0.6rem;
    color: rgba(0,230,118,0.3);
    letter-spacing: 2px;
    text-align: right;
    font-weight: 700;
    position: relative;
    z-index: 3;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 600px) {
    .pokedex-hinge { width: 14px; }
    .pokedex-screen-wrap { padding: 1rem 1rem 1.2rem; }
    .pokedex-stats { flex-direction: column; gap: 0.8rem; }
    .pdx-divider {
        width: 80%; height: 1px;
        background: linear-gradient(to right, transparent, rgba(0,230,118,0.3), transparent);
    }
    .pdx-value { font-size: 2.4rem; }
}
