:root {
    --brand-color: #ff385c;
    --brand-hover: #d9324e;
    --text-dark: #222222;
    --text-light: #717171;
    --bg-light: #ffffff;
    --bg-gray: #f7f7f7;
    --shadow-card: 0 6px 16px rgba(0,0,0,0.08);
}

body { font-family: 'Circular', -apple-system, BlinkMacSystemFont, Roboto, sans-serif; margin: 0; color: var(--text-dark); background: var(--bg-light); overflow-x: hidden; }

/* Prueba social de tráfico (badge flotante) */
.social-proof-badge {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px 10px 14px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    max-width: 280px;
}
.social-proof-badge .social-proof-close {
    pointer-events: auto;
}
.social-proof-close {
    margin-left: 4px;
    padding: 0;
    width: 22px;
    height: 22px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.social-proof-close:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.social-proof-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: social-proof-pulse 2s ease-in-out infinite;
}
@keyframes social-proof-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { opacity: 0.9; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
.social-proof-icon {
    font-size: 0.9rem;
    opacity: 0.9;
    flex-shrink: 0;
}
.social-proof-text {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

/* Banner de verificación de email */
.verification-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #fff8e7 0%, #fff3d6 100%);
    border-bottom: 1px solid #f0e6cc;
    color: #5c4a1a;
    font-size: 0.9rem;
    flex-wrap: wrap;
}
.verification-banner.hidden { display: none !important; }
.verification-banner-btn {
    padding: 6px 14px;
    background: var(--brand-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
}
.verification-banner-btn:hover { opacity: 0.95; }
.verification-banner-close {
    margin-left: auto;
    padding: 0;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(0,0,0,0.06);
    color: #5c4a1a;
    font-size: 1.2rem;
    line-height: 1;
    border-radius: 6px;
    cursor: pointer;
}
.verification-banner-close:hover { background: rgba(0,0,0,0.12); }

/* Selector de idioma */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-actions .btn-login { margin-left: 0; }
.lang-selector {
    display: flex;
    align-items: center;
    gap: 4px;
}
.lang-selector-header { margin-right: 4px; }
.lang-selector-btn {
    padding: 6px 10px;
    border: 1px solid #ddd;
    background: #fff;
    color: #717171;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.lang-selector-btn .lang-flag { font-size: 1.2rem; line-height: 1; }
.lang-selector-btn:hover { border-color: var(--brand-color); transform: scale(1.05); }
.lang-selector-btn.active { background: var(--brand-color); color: #fff; border-color: var(--brand-color); }
.lang-selector-btn[aria-pressed="true"] {
    background: var(--brand-color);
    color: #fff;
    border-color: var(--brand-color);
    box-shadow: 0 2px 6px rgba(255, 56, 92, 0.3);
}
.footer-lang-selector { margin-top: 12px; }
.footer-lang-selector .lang-selector { justify-content: center; }
.footer-lang-selector .lang-selector-btn .lang-flag { font-size: 1.1rem; }
.social-proof-badge[aria-hidden="true"] {
    display: none;
}

/* Contador deseos en header del progress bar */
.progress-deseos-counter {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 800;
}

/* HEADER */
header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 20px 80px; border-bottom: 1px solid #ebebeb; position: sticky; top: 0; background: white; z-index: 100; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--brand-color); display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.nav-links a { text-decoration: none; color: var(--text-dark); margin-left: 24px; font-weight: 500; font-size: 0.95rem; cursor: pointer; }
.nav-links a:hover { color: var(--brand-color); }

/* BOTÓN LOGIN / MI CUENTA (en desktop va después de nav-links y wallet) */
.btn-login {
    background: transparent; border: 1px solid #ddd; padding: 8px 16px; border-radius: 20px;
    font-weight: bold; margin-left: 12px; cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; gap: 8px;
}
.btn-login:hover { border-color: var(--text-dark); box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.btn-login .btn-login-chevron { font-size: 0.75em; opacity: 0.9; }

/* Menú móvil tipo app: hamburger + drawer */
.nav-toggle { display: none; background: none; border: none; padding: 10px; margin-left: auto; cursor: pointer; color: var(--text-dark); font-size: 1.35rem; border-radius: 8px; transition: background 0.2s; }
.nav-toggle:hover { background: var(--bg-gray); }
.nav-toggle:focus { outline: none; }
.nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 199; opacity: 0; transition: opacity 0.25s ease; }
.nav-close { display: none; background: none; border: none; padding: 12px 16px; font-size: 1.25rem; color: var(--text-dark); cursor: pointer; align-self: flex-end; margin: 0 0 8px 0; border-radius: 8px; transition: background 0.2s; }
.nav-close:hover { background: var(--bg-gray); }

/* HERO & BANNER */
.hero-section { padding: 40px 80px; background: var(--bg-gray); text-align: center; }

.banner-grid {
    display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 200px 200px;
    gap: 15px; max-width: 1000px; margin: 0 auto 40px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.banner-item { position: relative; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.banner-item:hover { transform: scale(1.03); }

.item-main { grid-row: 1 / 3; background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?q=80&w=1000&auto=format&fit=crop'); }
.item-top { background-image: url('https://images.unsplash.com/photo-1548199973-03cce0bbc87b?q=80&w=800&auto=format&fit=crop'); }
.item-bottom { background-image: url('https://images.unsplash.com/photo-1531206715517-5c0ba140b2b8?q=80&w=800&auto=format&fit=crop'); }

.banner-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white; padding: 20px; box-sizing: border-box;
    font-weight: bold; text-shadow: 0 2px 4px rgba(0,0,0,0.5); text-align: left;
}

h1 { font-size: 2.5rem; margin-bottom: 10px; font-weight: 800; letter-spacing: -0.5px;}
.subtitle { color: var(--text-light); font-size: 1.1rem; margin-bottom: 50px; }

/* PROGRESS BAR + STATS + TICKER (bloque unificado) */
.progress-container { max-width: 850px; margin: 0 auto 0; text-align: left; }
.progress-container.progress-hero { margin-bottom: 20px; }

.progress-hero {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 8px 32px rgba(255, 56, 92, 0.12), 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(255, 56, 92, 0.2);
}

.progress-header {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
    gap: 14px; margin-bottom: 18px;
}
.progress-header .cycle-badge {
    font-weight: 800; font-size: 1.35rem; letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ff385c 0%, #d9324e 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 56, 92, 0.3);
}
.progress-deseos-counter-header {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    min-width: 10ch;
    text-align: right;
}
.progress-dates {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 0.9rem; color: var(--text-light);
}
.progress-date-label { font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.progress-date { font-weight: 700; color: var(--text-dark); }
.progress-date-sep { color: var(--brand-color); font-weight: bold; }

.progress-bar-wrap { position: relative; margin-top: 4px; }
.progress-bar-bg {
    position: relative;
    background: linear-gradient(to bottom, #2d2d2d 0%, #1a1a1a 100%);
    height: 40px; border-radius: 20px; overflow: hidden;
    box-shadow: inset 0 3px 12px rgba(0,0,0,0.4), 0 4px 20px rgba(0,0,0,0.15);
}
.progress-bar-fill {
    position: relative; z-index: 2; overflow: hidden;
    background: linear-gradient(90deg, #ff1744 0%, #ff385c 25%, #ff6b8a 50%, #ff385c 75%, #d9324e 100%);
    background-size: 200% 100%;
    height: 100%; width: 0%; border-radius: 20px;
    box-shadow: 0 0 30px rgba(255, 56, 92, 0.6), 0 0 60px rgba(255, 56, 92, 0.25);
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    animation: progress-glow 2.5s ease-in-out infinite;
}
.progress-bar-fill .progress-bar-shine {
    position: absolute; left: 0; top: 0; right: 0; height: 45%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
    border-radius: 20px 20px 0 0;
    pointer-events: none;
}
@keyframes progress-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 56, 92, 0.6), 0 0 60px rgba(255, 56, 92, 0.25); }
    50% { box-shadow: 0 0 40px rgba(255, 56, 92, 0.8), 0 0 80px rgba(255, 56, 92, 0.35); }
}
.progress-bar-glow {
    position: absolute; left: 0; top: 0; height: 100%; width: 0%;
    border-radius: 20px; z-index: 1;
    background: linear-gradient(90deg, transparent, rgba(255, 56, 92, 0.2));
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.progress-pct-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    pointer-events: none;
    z-index: 3;
}

/* TICKER BAR (Recaudo + Blockchain) */
.ticker-bar {
    max-width: 850px; margin: 0 auto 48px;
    background: var(--bg-light);
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid #ebebeb;
}
.ticker-inner {
    display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.ticker-solana-icon {
    width: 26px; height: 26px;
    flex-shrink: 0;
    color: var(--brand-color);
}
.ticker-solana-icon path { fill: currentColor; }
.ticker-label { color: var(--text-light); font-size: 0.95rem; font-weight: 600; }
.ticker-amount {
    color: var(--brand-color);
    font-size: 1.35rem; font-weight: 800;
    letter-spacing: 0.3px;
}
.ticker-link {
    color: var(--brand-color);
    font-size: 0.9rem; font-weight: 600;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    transition: color 0.2s;
}
.ticker-link:hover { color: var(--brand-hover); text-decoration: underline; }

/* STATS */
.stats-grid { 
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 850px; margin: 0 auto 20px; 
}
.stat-box {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    background: linear-gradient(160deg, #ffffff 0%, #fefafa 100%);
    border-radius: 20px; padding: 28px 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08), 0 2px 8px rgba(255, 56, 92, 0.06);
    border: 1px solid rgba(255, 56, 92, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1), 0 4px 16px rgba(255, 56, 92, 0.12);
}
.stat-box .stat-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(255, 56, 92, 0.15) 0%, rgba(217, 50, 78, 0.1) 100%);
    border-radius: 16px;
    font-size: 1.6rem; color: var(--brand-color);
    margin-bottom: 16px;
}
.stat-box h3 { 
    font-size: 2.5rem; margin: 0; font-weight: 800; line-height: 1.2;
    background: linear-gradient(135deg, #ff385c 0%, #d9324e 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}
.stat-box p { 
    margin: 10px 0 0; color: var(--text-light); font-size: 0.8rem; 
    text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; 
}

/* HALL OF FAME */
/* Alternancia blanco/gris en bloques del index (fondo a todo el ancho) */
.section-block {
    width: 100%;
    padding: 60px 80px;
    box-sizing: border-box;
}
.section-block-inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.plans-section.section-block { background: #fff; }
.crecimiento-ciclo-section.section-block { background: #f0f0f0; }
.hall-of-fame-section.section-block { background: #fff; }

.hall-of-fame-section {
    padding: 60px 24px 80px;
    background: #fff;
}
.hall-of-fame-section .section-title { margin-bottom: 8px; }
.hall-subtitle { color: var(--text-light); font-size: 1.05rem; margin-bottom: 32px; text-align: center; }
/* Visible: 4 tarjetas; el resto en carrusel horizontal */
.hof-carousel-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto; overflow-y: hidden;
    padding: 12px 0 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
@media (max-width: 899px) {
    .hof-carousel-wrap { max-width: 1020px; } /* 4 × 240px + 3 × 20px */
}
@media (max-width: 599px) {
    .hof-carousel-wrap { max-width: 900px; } /* 4 × 210px + 3 × 20px */
}
.hof-carousel-wrap::-webkit-scrollbar { height: 8px; }
.hof-carousel-wrap::-webkit-scrollbar-track { background: rgba(0,0,0,0.06); border-radius: 4px; }
.hof-carousel-wrap::-webkit-scrollbar-thumb { background: rgba(255, 56, 92, 0.35); border-radius: 4px; }
.hof-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 210px;
    gap: 20px;
    padding: 0 8px;
    width: max-content;
}
@media (min-width: 600px) {
    .hof-carousel { grid-auto-columns: 240px; }
}
@media (min-width: 900px) {
    .hof-carousel { grid-auto-columns: 260px; }
}
.hof-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    min-height: 268px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hof-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 56, 92, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.hof-card-banner-wrap {
    height: 120px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    flex-shrink: 0;
}
.hof-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hof-card-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}
.hof-card-cycle {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--text-light); margin-bottom: 8px;
}
.hof-card-name {
    font-size: 1.05rem; font-weight: 800; margin: 0 0 6px; color: var(--text-dark);
}
.hof-card-prize {
    font-size: 0.95rem; font-weight: 700; color: var(--brand-color); margin: 0 0 8px;
    line-height: 1.25;
}
.hof-card-date {
    font-size: 0.8rem; color: var(--text-light); margin: auto 0 0; font-weight: 600;
}
.hof-empty-msg {
    text-align: center; color: var(--text-light); padding: 48px 24px;
    font-size: 1.05rem; font-weight: 600; margin: 0;
}
.hof-carousel-wrap:not(:has(.hof-card)) .hof-carousel {
    display: block; width: 100%;
}
/* Nuestro impacto social (misma estética que Hall of Fame) */
.impacto-social-section.section-block { background: #f0f0f0; }
.impacto-social-section {
    padding: 60px 24px 80px;
    background: #f0f0f0;
}
.impacto-carousel-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 0 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.impacto-carousel-wrap::-webkit-scrollbar { height: 8px; }
.impacto-carousel-wrap::-webkit-scrollbar-track { background: rgba(0,0,0,0.06); border-radius: 4px; }
.impacto-carousel-wrap::-webkit-scrollbar-thumb { background: rgba(255, 56, 92, 0.35); border-radius: 4px; }
.impacto-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 210px;
    gap: 20px;
    padding: 0 8px;
    width: max-content;
}
@media (min-width: 600px) {
    .impacto-carousel { grid-auto-columns: 240px; }
}
@media (min-width: 900px) {
    .impacto-carousel { grid-auto-columns: 260px; }
}
.impacto-carousel-wrap:not(:has(.hof-card)) .impacto-carousel {
    display: block;
    width: 100%;
}
.impacto-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 700;
}
.impacto-card-stats .stat-recaudado { color: var(--brand-color); }
.impacto-card-stats .stat-veces { color: var(--brand-color); }
.impacto-card-desc { font-size: 0.85rem; margin-bottom: 8px; color: #717171; }
.hof-cta { text-align: center; margin-top: 28px; }
.hof-link {
    color: var(--brand-color); font-weight: 700; text-decoration: none;
    font-size: 0.95rem;
}
.hof-link:hover { text-decoration: underline; }

/* TU CRECIMIENTO ESTE CICLO (beneficios garantizados) */
.crecimiento-ciclo-section {
    background: #f0f0f0;
}
.crecimiento-ciclo-section .section-title { margin-bottom: 8px; }
.crecimiento-subtitle {
    text-align: center; color: var(--text-light); font-size: 1.1rem; line-height: 1.5;
    max-width: 600px; margin: 0 auto 36px; font-weight: 600;
}
.crecimiento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    margin: 0;
}
@media (max-width: 1024px) {
    .crecimiento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .crecimiento-grid { grid-template-columns: 1fr; }
}
.crecimiento-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.crecimiento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 56, 92, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
}
.crecimiento-card-image-wrap {
    height: 120px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f8f8 0%, #eee 100%);
}
.crecimiento-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.crecimiento-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.crecimiento-card-categoria {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-color);
    margin-bottom: 10px;
}
.crecimiento-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.crecimiento-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 56, 92, 0.15) 0%, rgba(217, 50, 78, 0.08) 100%);
    border-radius: 12px;
    font-size: 1.2rem;
    color: var(--brand-color);
    flex-shrink: 0;
}
.crecimiento-card-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
}
.crecimiento-card-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}
.crecimiento-card-desc p { margin: 0 0 8px; }
.crecimiento-card-desc p:last-child { margin-bottom: 0; }
.crecimiento-card-desc ul { margin: 0 0 8px; padding-left: 20px; }
.crecimiento-card-desc li { margin-bottom: 4px; }

/* Página Beneficios (todos los beneficios) */
.beneficios-list-section {
    padding: 40px 0 80px;
    background: linear-gradient(180deg, var(--bg-gray) 0%, #fff 100%);
}
.beneficios-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
    margin: 0;
}
.beneficios-page-card .crecimiento-card-desc {
    font-size: 0.95rem;
}
@media (min-width: 900px) {
    .beneficios-page-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
    .beneficios-page-grid { grid-template-columns: repeat(4, 1fr); }
}

/* PLANES */
.plans-section { padding: 60px 80px; }
.plans-section .section-title { margin-bottom: 12px; }
/* Bloques unificados: contenido centrado (max-width en .section-block-inner) */
.section-subtitle-unified {
    text-align: center; color: var(--text-light); font-size: 1.05rem; line-height: 1.5;
    max-width: 600px; margin: 0 auto 36px;
}
.section-cta {
    text-align: center; margin-top: 28px;
}
.btn-cta-link {
    display: inline-block; text-decoration: none; min-width: 280px; max-width: 320px;
    text-align: center; box-sizing: border-box; padding: 14px 24px;
}
.btn-cta-link:hover { color: white; }

.section-title { text-align: center; font-size: 2rem; margin-bottom: 50px; font-weight: 700; }
.plans-subtitle {
    text-align: center; color: var(--text-light); font-size: 1.05rem; line-height: 1.5;
    max-width: 560px; margin: 0 auto 40px;
}
.plans-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.plan-card {
    background: white; border: 1px solid #dddddd; border-radius: 20px; padding: 24px; width: 280px;
    transition: all 0.3s ease; position: relative; display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.plan-header { margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.plan-name { font-size: 1.4rem; font-weight: 800; margin-bottom: 5px; }
.plan-price { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); }
.plan-features { list-style: none; padding: 0; margin: 0 0 30px; flex-grow: 1; }
.plan-features li { margin-bottom: 12px; color: var(--text-light); display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.btn-primary {
    background: var(--brand-color); color: white; border: none; padding: 14px; width: 100%; border-radius: 8px;
    font-size: 1rem; font-weight: 700; cursor: pointer; transition: background 0.2s;
}
.btn-primary:hover { background: var(--brand-hover); }
.btn-primary:disabled { background: #ccc; cursor: not-allowed; }

/* SELECTORES */
.selection-area { display: none; padding: 60px 80px; background: white; border-top: 1px solid #eee; animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.grid-container {
    display: grid;
    /* Por defecto (móvil/tablet) se adapta */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px; /* Más espacio entre tarjetas */
    max-width: 1200px; /* Un poco más ancho el contenedor principal */
    margin: 30px auto;
    padding: 0 20px; /* Margen lateral en móviles */
}

/* En pantallas grandes, forzamos 4 columnas exactas */
@media (min-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}
.grid-item { position: relative; border: 2px solid #eee; border-radius: 12px; padding: 20px; cursor: pointer; text-align: center; transition: all 0.2s; background: white; user-select: none; }
.grid-item:hover { border-color: #ccc; transform: scale(1.02); }
.grid-item.selected { border-color: var(--brand-color); background-color: #fff0f3; }
.wish-badge { position: absolute; top: -10px; right: -10px; background: var(--brand-color); color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.9rem; box-shadow: 0 3px 8px rgba(0,0,0,0.2); opacity: 0; transform: scale(0); transition: all 0.2s; z-index: 10; }
.grid-item.selected .wish-badge { opacity: 1; transform: scale(1); }
.wish-remove-btn { position: absolute; top: -10px; left: -10px; background: white; border: 1px solid #ddd; color: #555; width: 28px; height: 28px; border-radius: 50%; display: none; align-items: center; justify-content: center; font-weight: bold; font-size: 1rem; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.1); z-index: 11; }
.wish-remove-btn:hover { background: #eee; color: #000; }
.grid-item.selected .wish-remove-btn { display: flex; }
.item-icon { font-size: 2.2rem; margin-bottom: 15px; display: block; color: #555; }
.item-title { font-weight: bold; display: block; font-size: 0.95rem; }

/* MODALS */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 200; backdrop-filter: blur(4px); }
.modal { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; padding: 40px; width: 400px; border-radius: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.3); }

/* Checkout modal: scroll interno cuando el contenido es largo (ej. formulario PayPal tarjeta) */
#checkout-modal.modal-overlay { align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
#checkout-modal .modal { max-height: min(90vh, 800px); overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 0.85rem; color: var(--text-dark); }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; box-sizing: border-box; font-size: 1rem; outline: none; }
.form-group input:focus, .form-group select:focus { border-color: var(--brand-color); }

.social-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.btn-social { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; border: 1px solid #333; border-radius: 8px; background: white; color: var(--text-dark); font-weight: 600; cursor: pointer; transition: background 0.1s; }
.btn-social:hover { background: #f7f7f7; }
.divider { display: flex; align-items: center; margin: 20px 0; color: #717171; font-size: 0.8rem; }
.divider::before, .divider::after { content: ""; flex: 1; border-bottom: 1px solid #ddd; }

/* DASHBOARD (MI CUENTA) */
.dashboard-overlay { 
    display: none; position: fixed; top: 0; right: 0; width: 500px; height: 100%; 
    background: white; z-index: 300; box-shadow: -5px 0 30px rgba(0,0,0,0.2); 
    overflow-y: auto; padding: 40px; box-sizing: border-box; 
    animation: slideInRight 0.3s ease;
}
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* BOTÓN CERRAR PANEL */
.close-dashboard-btn {
    position: absolute; top: 25px; right: 25px;
    background: none; border: none; font-size: 2rem; 
    color: #ccc; cursor: pointer; z-index: 10;
    transition: color 0.2s;
}
.close-dashboard-btn:hover { color: var(--text-dark); }

/* Label Miembro Premium (debajo del correo en Mi Cuenta) */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #ff385c 0%, #d9324e 50%, #b82a45 100%);
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(255, 56, 92, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.25);
    animation: premium-badge-glow 2.5s ease-in-out infinite;
}
.premium-badge i {
    font-size: 0.9em;
    opacity: 0.95;
}
@keyframes premium-badge-glow {
    0%, 100% { box-shadow: 0 3px 12px rgba(255, 56, 92, 0.45), inset 0 1px 0 rgba(255,255,255,0.2); }
    50% { box-shadow: 0 4px 18px rgba(255, 56, 92, 0.6), inset 0 1px 0 rgba(255,255,255,0.2); }
}

/* Label "Unirme a la comunidad" (usuarios sin compras) */
.community-cta-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-color);
    background: rgba(255, 56, 92, 0.08);
    border: 1px solid rgba(255, 56, 92, 0.25);
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.community-cta-badge:hover {
    background: rgba(255, 56, 92, 0.14);
    border-color: rgba(255, 56, 92, 0.4);
}

/* Tabs Mis Participaciones (Ciclo actual / Ciclos anteriores) */
.history-tabs {
    display: flex; gap: 0; border-bottom: 1px solid #eee; margin-bottom: 12px;
}
.history-tab {
    flex: 1; padding: 10px 14px; border: none; background: #f5f5f5; color: #717171;
    font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
    border-radius: 8px 8px 0 0; margin: 0 2px 0 0;
}
.history-tab:last-child { margin: 0 0 0 2px; }
.history-tab:hover { background: #eee; color: var(--text-dark); }
.history-tab.active { background: white; color: var(--brand-color); border-bottom: 2px solid var(--brand-color); margin-bottom: -1px; }
.history-tab-panel {
    display: none; max-height: 320px; overflow-y: auto; padding-top: 8px;
}
.history-tab-panel.active { display: block; }

/* Scroll Horizontal */
.history-scroll-container {
    display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px;
    scroll-snap-type: x mandatory; padding-top: 10px; 
}
.history-scroll-container::-webkit-scrollbar { height: 6px; }
.history-scroll-container::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }

.block-card { 
    flex: 0 0 280px; scroll-snap-align: start;
    border: 1px solid #eee; border-radius: 16px; padding: 20px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: transform 0.2s;
    background: white; display: flex; flex-direction: column; justify-content: space-between;
}
.block-card:hover { transform: translateY(-2px); border-color: var(--brand-color); }
.block-status { 
    display: inline-block; padding: 4px 10px; border-radius: 12px; 
    font-size: 0.7rem; font-weight: bold; background: #e6fffa; color: #047857; margin-bottom: 10px; width: fit-content;
}
.wish-summary-list { font-size: 0.9rem; color: #444; margin: 10px 0; padding-left: 0; list-style: none; }
.wish-summary-list li { margin-bottom: 4px; display: flex; gap: 8px; }

/* FOOTER */
footer { background: var(--bg-gray); padding: 40px 80px; margin-top: 60px; border-top: 1px solid #ddd; font-size: 0.9rem; color: var(--text-light); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-col h4 { color: var(--text-dark); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-light); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-color); }
.footer-newsletter { display: flex; flex-direction: column; gap: 10px; }
.footer-newsletter input { padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 0.9rem; width: 100%; box-sizing: border-box; }
.footer-newsletter input:focus { outline: none; border-color: var(--brand-color); }
.footer-newsletter button { background: var(--brand-color); color: white; border: none; padding: 10px 18px; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 0.9rem; transition: background 0.2s; }
.footer-newsletter button:hover { background: var(--brand-hover); }
.footer-socials { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-socials a { color: var(--text-light); font-size: 1.3rem; transition: color 0.2s; }
.footer-socials a:hover { color: var(--brand-color); }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid #e0e0e0; text-align: center; color: var(--text-light); font-size: 0.85rem; }

/* --- RESPONSIVE: breakpoints unificados (992 → 768 → 480) --- */
@media (max-width: 992px) {
    header { padding: 18px 40px; }
    .hero-section { padding: 32px 40px; }
    .section-block { padding: 50px 40px; }
    .plans-section { padding: 50px 40px; }
    footer { padding: 36px 40px; }
    .progress-container.progress-hero { padding: 20px 24px; }
    .ticker-bar { padding: 14px 20px; margin-left: 40px; margin-right: 40px; }
    .page-header { padding: 60px 24px; }
    .page-header h1 { font-size: 2.5rem; }
    .page-header p { font-size: 1.1rem; }
    .content-section { padding: 0 24px 60px; gap: 32px; }
    .cycles-history-section { padding: 0 24px 60px; }
    .active-cycle-card { margin: -40px 24px 40px; padding: 28px 24px; }
}
@media (max-width: 768px) {
    /* Menú tipo app: hamburger + drawer deslizante */
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-close { display: flex; align-items: center; justify-content: center; }
    .nav-backdrop { display: block; pointer-events: none; }
    body.nav-open .nav-backdrop { pointer-events: auto; opacity: 1; }
    body.nav-open { overflow: hidden; }
    .nav-links {
        position: fixed; top: 0; right: 0; width: 85%; max-width: 320px; height: 100%;
        background: var(--bg-light); box-shadow: -4px 0 24px rgba(0,0,0,0.15);
        flex-direction: column; align-items: stretch; justify-content: flex-start;
        padding: 24px 0 32px; gap: 0; z-index: 200;
        transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
        overflow-y: auto;
    }
    body.nav-open .nav-links { transform: translateX(0); }
    .nav-links a {
        margin-left: 0; padding: 16px 24px; font-size: 1.05rem; border-bottom: 1px solid #f0f0f0;
        display: flex; align-items: center; gap: 12px; min-height: 48px; box-sizing: border-box;
    }
    .nav-links a:hover { background: var(--bg-gray); color: var(--brand-color); }
    .nav-links .btn-wallet {
        margin: 12px 24px 0; width: calc(100% - 48px); justify-content: center; padding: 14px 16px;
        border-radius: 12px; font-size: 1rem;
    }
    .nav-links .nav-close { margin: 0 24px 16px auto; }
    header { padding: 14px 20px; gap: 10px; }
    .nav-links a { margin-left: 0; font-size: 0.9rem; }
    .btn-wallet { margin-left: 0; padding: 6px 12px; font-size: 0.9rem; }
    .header-actions { gap: 6px; }
    .lang-selector-btn { padding: 5px 8px; }
    .lang-selector-btn .lang-flag { font-size: 1rem; }
    .btn-login { margin-left: 0; padding: 8px 12px; }
    .btn-login-chevron { font-size: 0.7em; opacity: 0.85; }
    .logo { font-size: 1.3rem; }
    header, .hero-section, .crecimiento-ciclo-section, .plans-section, footer { padding: 20px; }
    .section-block { padding: 40px 20px; }
    .section-block-inner { padding: 0 4px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-col:nth-child(3) { grid-column: 1 / -1; }
    .footer-col:nth-child(4) { grid-column: 1 / -1; }
    .banner-grid { grid-template-columns: 1fr; grid-template-rows: 200px 150px 150px; }
    .item-main { grid-row: 1; }
    .stats-grid { grid-template-columns: 1fr; }
    .modal, .dashboard-overlay { width: 92%; max-width: 100%; padding: 24px; box-sizing: border-box; }
    .progress-container.progress-hero { padding: 16px 18px; }
    .progress-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .progress-deseos-counter-header { text-align: left; }
    .ticker-bar { margin-left: 20px; margin-right: 20px; padding: 12px 16px; }
    .ticker-inner { flex-direction: column; gap: 8px; text-align: center; }
    .page-header { padding: 48px 16px; }
    .page-header h1 { font-size: 2rem; }
    .page-header p { font-size: 1rem; }
    h1 { font-size: 1.85rem; }
    .subtitle { font-size: 1rem; margin-bottom: 32px; }
    .section-title { font-size: 1.6rem; margin-bottom: 28px; }
    .selection-area { padding: 40px 20px; }
    .grid-container { padding: 0 12px; gap: 20px; }
    .plans-container { gap: 20px; }
    .plan-card { width: 100%; max-width: 320px; }
    .content-section { padding: 0 20px 48px; grid-template-columns: 1fr; text-align: center; }
    .content-section.reverse { direction: ltr; }
    .cycles-history-section { padding: 0 20px 48px; }
    .active-cycle-card { margin: -30px 20px 32px; padding: 24px 20px; }
    .history-grid { grid-template-columns: 1fr; }
    .legal-content { padding: 32px 20px 60px !important; }
    .social-proof-badge { left: 10px; bottom: 10px; right: 10px; max-width: none; padding: 8px 12px; font-size: 0.75rem; }
}
@media (max-width: 480px) {
    header { padding: 12px 16px; }
    .btn-login-text { display: none; }
    .btn-login { padding: 8px 10px; min-width: 44px; }
    .btn-login-chevron { margin-left: 2px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col:nth-child(3), .footer-col:nth-child(4) { grid-column: 1; }
    .modal, .dashboard-overlay { width: 100%; margin: 0; border-radius: 0; min-height: 100vh; }
    .page-header h1 { font-size: 1.65rem; }
    .page-header { padding: 36px 12px; }
    .section-title { font-size: 1.4rem; }
    .btn-cta-link { min-width: 100%; max-width: 100%; }
    .profile-edit-grid { grid-template-columns: 1fr !important; }
}

/* --- ESTILOS PARA PÁGINAS DE CONTENIDO --- */

/* Cabecera de Página (Más pequeña que el Home) */
.page-header {
    padding: 80px 20px; text-align: center; color: white;
    background-size: cover; background-position: center; position: relative;
    margin-bottom: 28px;
}
.page-header::before {
    content: ""; position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.5); /* Oscurecer imagen */
}
.page-header-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.page-header h1 { font-size: 3rem; margin-bottom: 10px; }
.page-header p { font-size: 1.2rem; opacity: 0.9; }

/* Contenedores de Texto e Imagen */
.content-section {
    max-width: 1000px; margin: 0 auto 80px; padding: 0 40px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.content-section.reverse { direction: rtl; } /* Imagen a la derecha */
.content-section.reverse .text-col { direction: ltr; } /* Texto normal */

.text-col h2 { font-size: 2rem; color: var(--text-dark); margin-bottom: 20px; }
.text-col p { font-size: 1.1rem; line-height: 1.8; color: #555; margin-bottom: 20px; }

.img-col img {
    width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.img-col img:hover { transform: scale(1.02); }

/* Grid de Pasos (Para Cómo Funciona) */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; max-width: 1000px; margin: 0 auto; }
.step-card { padding: 30px; background: white; border: 1px solid #eee; border-radius: 15px; }
.step-number { font-size: 3rem; font-weight: 800; color: var(--brand-color); opacity: 0.3; margin-bottom: -10px; display: block; }
.step-card h3 { font-size: 1.3rem; margin-bottom: 10px; }

/* Grid de Causas */
.causes-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.cause-img-card { position: relative; height: 300px; border-radius: 15px; overflow: hidden; }
.cause-img-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.cause-img-card:hover img { transform: scale(1.1); }
.cause-overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: white; padding: 20px; }

@media (max-width: 768px) {
    .content-section { grid-template-columns: 1fr; text-align: center; }
    .content-section.reverse { direction: ltr; }
}

/* --- ESTILOS PÁGINA CICLOS --- */

/* Ciclo Activo (Hero Card) */
.active-cycle-card {
    background: white; border-radius: 20px; padding: 40px; margin: -50px auto 60px;
    max-width: 900px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); position: relative; z-index: 10;
    border: 2px solid var(--brand-color); text-align: center;
}
.active-badge { 
    background: #e6fffa; color: #047857; padding: 8px 16px; border-radius: 30px; 
    font-weight: 800; text-transform: uppercase; font-size: 0.9rem; display: inline-block; margin-bottom: 15px;
}

/* Grid de Historial */
.cycles-history-section { padding: 0 40px 80px; max-width: 1100px; margin: 0 auto; }
.history-title { text-align: center; font-size: 2rem; margin-bottom: 40px; }

.history-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }

.past-cycle-card {
    background: white; border: 1px solid #eee; border-radius: 15px; overflow: hidden;
    transition: transform 0.3s;
}
.past-cycle-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.pc-header { 
    background: #f9f9f9; padding: 15px 20px; border-bottom: 1px solid #eee; 
    display: flex; justify-content: space-between; align-items: center;
}
.pc-header h3 { margin: 0; font-size: 1.1rem; }
.pc-status { font-size: 0.8rem; color: #777; background: #eee; padding: 4px 10px; border-radius: 10px; font-weight: bold; }

.pc-body { padding: 20px; }
.pc-stat-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.95rem; color: #555; }
.pc-stat-row strong { color: #222; }
.pc-stat-row.highlight { color: var(--brand-color); font-weight: bold; font-size: 1.1rem; margin-top: 15px; padding-top: 15px; border-top: 1px solid #f0f0f0; }

.pc-footer { 
    padding: 15px 20px; background: #fff0f3; color: var(--brand-hover); font-size: 0.9rem; font-weight: 600; text-align: center;
}

/* --- BOTÓN WALLET --- */
.btn-wallet {
    background: #AB9FF2; /* Color Phantom */
    color: #2c2c2c;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex; align-items: center; gap: 8px;
}
.btn-wallet:hover {
    background: #9a8ee0;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(171, 159, 242, 0.4);
}
.wallet-connected {
    background: #e0e0e0;
    color: #555;
    border: 1px solid #ccc;
}

/* --- NUEVAS TARJETAS DE DESEOS "HERO" --- */
.wish-card-modern {
    background: white;
    border-radius: 20px; /* Bordes más redondeados */
    overflow: hidden; /* Crucial para que la imagen no se salga */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    border: 3px solid transparent; /* Borde transparente listo para el hover/select */
    display: flex;
    flex-direction: column;
    padding: 0; /* Asegura que no haya espacio interno */
}

.wish-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Estado seleccionado */
.wish-card-modern.selected {
    border-color: var(--brand-color);
    box-shadow: 0 10px 30px rgba(255, 56, 92, 0.2);
}

/* Banner de Imagen HERO (Full Width) */
.wish-card-banner {
    width: 100%;
    height: 200px; /* Más alta para efecto Hero */
    background-size: cover;
    background-position: center;
    position: relative;
    margin: 0; /* Asegura que pegue a los bordes */
}

/* Controles flotantes */
.wish-controls {
    position: absolute; top: 15px; right: 15px; z-index: 10; display: flex; gap: 8px;
}

/* Contenido de la tarjeta (Rediseñado) */
.wish-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Fila superior con Título e Icono a la izquierda y Precio a la derecha */
.wish-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.title-group {
    display: flex; align-items: center; gap: 12px;
}

.card-icon-box {
    width: 42px; height: 42px;
    background: var(--bg-gray); color: var(--text-light);
    border-radius: 12px; /* Icono cuadrado redondeado moderno */
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
    transition: 0.3s;
}
.wish-card-modern:hover .card-icon-box,
.wish-card-modern.selected .card-icon-box {
    background: var(--brand-color); color: white;
}

.card-title {
    margin: 0; font-size: 0.95rem; font-weight: 800; line-height: 1.2;
}

.card-description {
    margin: 0; font-size: 0.9rem; color: #666; line-height: 1.6;
}

/* Ajustes de los badges existentes */
.wish-badge { position: relative; top: auto; right: auto; opacity: 0; transform: scale(0); transition: 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.wish-card-modern.selected .wish-badge { opacity: 1; transform: scale(1); }
.wish-remove-btn { position: relative; top: auto; left: auto; display: none; background: rgba(255,255,255,0.9); }
.wish-card-modern.selected .wish-remove-btn { display: flex; }

/* --- MURO DE LA FAMA (GANADORES) --- */
.hall-of-fame-section {
    background: #fff;
    padding: 60px 20px;
    text-align: center;
}

.winners-public-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.winner-card-public {
    background: white;
    border: 1px solid #eee;
    border-top: 4px solid #ffd700; /* Borde Dorado */
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.winner-card-public:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.winner-badge {
    background: #ffd700; color: #333;
    font-size: 0.7rem; font-weight: 800;
    padding: 5px 10px; border-radius: 20px;
    text-transform: uppercase;
    display: inline-block; margin-bottom: 15px;
}

.winner-avatar-large {
    width: 80px; height: 80px;
    background: #f0f0f0; border-radius: 50%;
    margin: 0 auto 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: white; font-weight: bold;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.winner-name { font-size: 1.2rem; font-weight: 800; margin: 0 0 5px 0; color: #333; }
.winner-prize { color: var(--brand-color); font-weight: bold; font-size: 1.1rem; }

/* --- ESTILOS DEL DASHBOARD ACTUALIZADOS --- */

.status-pill {
    font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: 12px; text-transform: uppercase; letter-spacing: 0.5px;
}
.status-pill.active { background: #e6fffa; color: #00c853; }
.status-pill.closed { background: #eee; color: #777; }
.status-pill.win { background: #fffde7; color: #fbc02d; border: 1px solid #fbc02d; animation: glow 2s infinite; }

.wallet-pill {
    font-size: 0.75rem; background: #f3f0ff; color: #6b46c1; padding: 2px 8px; border-radius: 4px; margin-left: 5px;
}

.block-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.block-divider {
    height: 1px; background: #eee; margin: 5px 0;
}

/* TARJETA GANADORA */
.winner-dashboard-card {
    border: 2px solid #ffd700;
    background: linear-gradient(to bottom right, #fffff0, #fff);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.15);
}

.winner-celebration-box {
    background: #fff; border: 1px solid #f9f9f9;
    padding: 15px; border-radius: 10px; margin-bottom: 15px;
    display: flex; gap: 15px; align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

/* TARJETA CERRADA */
.closed-dashboard-card {
    opacity: 0.8; filter: grayscale(0.2);
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }
    100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.2); }
}

/* =========================================
   ESTILOS PÁGINA: CÓMO FUNCIONA (HOW.HTML)
   ========================================= */

/* HERO SECTION */
.how-hero {
    height: 60vh;
    min-height: 400px;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; color: white; padding: 20px;
}
.how-hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -1px; }
.how-hero p { font-size: 1.25rem; opacity: 0.9; max-width: 600px; font-weight: 300; }

/* SECCIONES GENERALES */
.section-padding { padding: 80px 20px; }
.section-title { text-align: center; font-size: 2.2rem; font-weight: 800; margin-bottom: 15px; color: #111; }
.section-subtitle { text-align: center; color: #666; max-width: 600px; margin: 0 auto 50px auto; font-size: 1.1rem; line-height: 1.6; }

/* PASO A PASO (TIMELINE CARDS) */
.steps-container { background: #fff; }
.steps-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto;
}
.step-card {
    background: white; border-radius: 20px; padding: 35px 25px;
    text-align: left; position: relative; transition: all 0.3s ease;
    border: 1px solid #f0f0f0; box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.step-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--brand-color); }

.step-badge {
    width: 40px; height: 40px; background: #f5f5f5; color: #333; font-weight: 800;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; font-size: 1.1rem; transition: 0.3s;
}
.step-card:hover .step-badge { background: var(--brand-color); color: white; }

.step-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; color: #222; }
.step-desc { font-size: 0.95rem; color: #666; line-height: 1.6; }

/* LA FÓRMULA (ECONOMÍA) */
.formula-section { background: #f8f9fa; }
.formula-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1100px; margin: 0 auto;
}
.formula-card {
    background: white; border-radius: 24px; padding: 40px 30px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: transform 0.3s;
}
.formula-card:hover { transform: scale(1.02); }

.chart-circle {
    width: 120px; height: 120px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; font-weight: 800; color: white; margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); position: relative;
}
/* Colores Específicos */
.f-60 .chart-circle { background: linear-gradient(135deg, #00c853, #009624); }
.f-30 .chart-circle { background: linear-gradient(135deg, #2d3436, #000000); }
.f-10 .chart-circle { background: linear-gradient(135deg, #ff9f43, #ee5253); }

.f-label { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; color: #2d3436; }
.f-desc { font-size: 0.95rem; color: #636e72; line-height: 1.5; }

/* BLOCKCHAIN BANNER */
.blockchain-section {
    background: #0f0f0f; color: white; text-align: center; padding: 100px 20px;
    position: relative; overflow: hidden;
}
.blockchain-bg-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 20rem; opacity: 0.03; color: white; pointer-events: none;
}

/* FAQ MEJORADO */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: white; border: 1px solid #eee; border-radius: 12px; margin-bottom: 15px;
    overflow: hidden; transition: all 0.3s;
}
.faq-item:hover { border-color: #ddd; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.faq-question {
    padding: 20px 25px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-size: 1.05rem; color: #333;
}
.faq-answer {
    padding: 0 25px 25px 25px; color: #666; line-height: 1.6; display: none; border-top: 1px solid #f9f9f9; padding-top: 20px;
}
.faq-item.active .faq-answer { display: block; animation: fadeIn 0.3s; }
.faq-item.active .faq-question { color: var(--brand-color); }
.faq-icon { transition: transform 0.3s; font-size: 0.8rem; color: #999; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--brand-color); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE (Cómo funciona) */
@media (max-width: 768px) {
    .how-hero { min-height: 320px; padding: 24px 20px; }
    .how-hero h1 { font-size: 2rem; }
    .how-hero p { font-size: 1rem; }
    .section-padding { padding: 50px 20px; }
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .blockchain-section { padding: 60px 20px; }
}
@media (max-width: 480px) {
    .how-hero h1 { font-size: 1.6rem; }
    .section-padding { padding: 36px 16px; }
    .blockchain-section { padding: 48px 16px; }
}

/* --- INPUT DE TELÉFONO HÍBRIDO --- */
.phone-input-container {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin-bottom: 15px; /* Espacio igual al de otros inputs */
}

.country-select {
    width: 110px;
    padding: 12px 10px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 8px 0 0 8px; /* Redondeado solo a la izquierda */
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    appearance: none; /* Quita el estilo por defecto del navegador */
    -webkit-appearance: none;
    /* Flecha personalizada */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
}

.country-select:focus {
    border-color: var(--brand-color);
    background-color: white;
}

/* Ajuste para el input de número que va al lado */
.phone-input-container input {
    flex: 1; /* Toma el resto del espacio */
    border-radius: 0 8px 8px 0 !important; /* Redondeado solo a la derecha */
    border-left: none !important; /* Quita el borde izquierdo para fusionar */
    margin-bottom: 0 !important; /* Quita el margen inferior del input individual */
}

.phone-input-container input:focus {
    border-color: var(--brand-color);
    box-shadow: none; /* Opcional: quita sombra para mantener limpieza */
    z-index: 2; /* Para que el borde activo se vea sobre el select */
}

/* Utilidad para ocultar elementos (si no la tienes ya) */
.hidden {
    display: none !important;
}

/* Estilos del Input Híbrido de Teléfono */
.phone-input-container {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.country-select {
    width: 110px;
    padding: 12px 10px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 8px 0 0 8px;
    border-right: none;
    cursor: pointer;
}

.phone-input-container input {
    flex: 1;
    border-radius: 0 8px 8px 0 !important;
    border-left: 1px solid #ddd; /* Separador sutil */
}

.phone-input-container input:focus {
    z-index: 2; /* Para que el borde de foco se vea bien */
}

/* --- AJUSTES LIBRERÍA INTL-TEL-INPUT --- */

/* 1. Asegurar que el contenedor de la librería ocupe el ancho completo */
.iti {
    width: 100%;
    margin-bottom: 15px; /* Mantener el margen inferior uniforme */
    display: block; /* Asegura que se comporte como bloque */
}

/* 2. Estilizar el input específico de la librería */
/* Usamos un selector más específico para garantizar que se aplique */
.iti input[type="tel"] {
    width: 100%;
    /* El padding-left es CLAVE. La librería lo calcula, pero a veces falla.
       Lo forzamos con !important para asegurar el espacio de la bandera.
       Probamos con 50px, si sigue montado, súbelo a 60px o 70px. */
    padding: 12px 12px 12px 100px !important; 
    border: 1px solid #ddd; /* Borde gris suave como los otros inputs */
    border-radius: 8px;     /* Bordes redondeados */
    font-size: 1rem;
    background: #f9f9f9;    /* Fondo gris claro */
    transition: all 0.3s ease; /* Transición suave para el foco */
    height: auto; /* Permitir que el padding defina la altura */
    box-sizing: border-box; /* Asegura que el padding no aumente el ancho total */
}

/* 3. Estilo cuando el input tiene el foco */
.iti input[type="tel"]:focus {
    background: white;
    border-color: var(--brand-color); /* Color de marca al enfocar */
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1); /* Sombra suave de enfoque */
}

/* 4. Ajuste de la lista desplegable de países */
.iti__country-list {
    z-index: 1050 !important; /* Un z-index alto para que quede sobre el modal */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid #eee;
    font-family: inherit; /* Heredar la fuente del sitio */
    margin-top: 5px; /* Un pequeño espacio debajo del input */
}

/* 5. Ocultar mensajes de validación por defecto */
#valid-msg, #error-msg { display: none; }

/* =========================================
   ESTILOS DEL FORMULARIO DE LOGIN/REGISTRO
   ========================================= */

/* Contenedor del campo (Label + Input) */
.input-group {
    margin-bottom: 15px;
    width: 100%;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

/* Wrapper para posicionar el ícono dentro del input */
.input-wrapper {
    position: relative;
    width: 100%;
}

/* El Ícono (User, Lock, Envelope) */
.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1rem;
    pointer-events: none; /* Para que el clic pase a través del ícono al input */
    z-index: 10;
}

/* Estilo general de los Inputs (Texto, Email, Password) */
.input-wrapper input {
    width: 100%;
    padding: 12px 15px 12px 45px; /* 45px a la izquierda para dejar espacio al ícono */
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: #f9f9f9;
    transition: 0.3s;
    box-sizing: border-box; /* IMPORTANTE: Para que el padding no rompa el ancho */
}

.input-wrapper input:focus {
    background: white;
    border-color: var(--brand-color, #ff385c); /* Usa tu color de marca o el fallback */
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* CORRECCIÓN ESPECÍFICA PARA EL TELÉFONO */
/* El input del teléfono no usa .input-wrapper ni íconos internos, 
   así que aseguramos que no se vea afectado por el padding del ícono */
.iti {
    width: 100%;
    display: block;
    margin-bottom: 15px;
}

/* Clase de utilidad para ocultar elementos */
.hidden {
    display: none !important;
}

/* Botón de acción principal */
.btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

/* Estilos del Toggle (¿No tienes cuenta?) */
.auth-toggle {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: #999;
    font-size: 0.85rem;
    position: relative;
}

/* Botones Sociales */
.social-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-social {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-social:hover {
    background: #f0f0f0;
}

.input-clean {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.9rem;
}
.btn-outline {
    border: 1px solid #333;
    background: transparent;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}
.btn-outline:hover { background: #eee; }

/* --- ESTILOS DE ACORDEÓN (DASHBOARD) --- */

.accordion-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    transition: background 0.3s;
    text-align: left;
}

.accordion-header:hover {
    background: #f7f7f7;
}

.accordion-header span i {
    color: var(--brand-color);
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

/* Contenido Oculto/Visible */
.accordion-content {
    padding: 0 15px 15px 15px;
    /* La animación de altura es compleja con height auto, 
       usaremos una transición de opacidad simple o display */
    animation: fadeIn 0.3s ease-in-out;
}

.hidden {
    display: none !important;
}

/* Animación de la flecha */
.icon-arrow {
    transition: transform 0.3s ease;
    color: #999;
}

.icon-arrow.rotate {
    transform: rotate(180deg);
    color: var(--brand-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- REDISEÑO COMPACTO TARJETA GANADOR --- */

/* 1. El contenedor principal */
.winner-dashboard-card {
    /* Usamos altura automática, pero quitamos la altura mínima grande */
    height: auto !important;
    min-height: auto !important; 
    border: 2px solid #FFD700;
    background: linear-gradient(to bottom right, #fffdf0, #fff);
    /* Importante: Si algo se sale un poco, que se vea, no que se corte */
    overflow: visible !important; 
    padding-bottom: 10px; /* Poco espacio al final */
}

/* 2. La caja interna de celebración (Más delgada) */
.winner-celebration-box {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 10px;
    /* Reducimos drásticamente el padding interno */
    padding: 8px 10px; 
    /* Reducimos el margen vertical */
    margin: 10px 0; 
    display: flex;
    align-items: center;
    /* Menos espacio entre imagen y texto */
    gap: 10px; 
    width: 100%;
    box-sizing: border-box;
}

/* 3. LA CLAVE: Reducir la imagen del premio */
.winner-celebration-box img {
    flex-shrink: 0;
    background: white;
    object-fit: contain; /* Asegura que se vea toda la imagen */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 6px;
    /* FORZAMOS UN TAMAÑO PEQUEÑO */
    width: 50px !important; 
    height: 50px !important;
}

/* 4. Compactar los textos */
.winner-celebration-box div {
    /* Asegura que el texto se centre verticalmente con la imagen pequeña */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Texto "¡Felicitaciones! Ganaste:" */
.winner-celebration-box p {
    margin: 0 0 2px 0; /* Casi sin margen abajo */
    font-size: 0.8rem; /* Letra pequeña */
    color: #666;
}

/* Nombre del premio */
.winner-celebration-box h3 {
    margin: 0;
    font-size: 0.95rem; /* Título más pequeño */
    line-height: 1.1; /* Líneas bien pegadas */
    font-weight: 700;
    color: var(--text-dark);
}

/* --- AJUSTE MÓVIL PARA EL DISEÑO COMPACTO --- */
@media (max-width: 480px) {
    /* En celular, mantenemos la estructura horizontal pero ajustamos tamaños */
    .winner-celebration-box img {
        width: 40px !important; /* Aún más pequeña en móvil */
        height: 40px !important;
    }
    .winner-celebration-box h3 {
        font-size: 0.9rem;
    }
}

.pagination-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}
.btn-page {
    padding: 5px 12px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
}
.btn-page:disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}
.btn-page:hover:not(:disabled) {
    background: var(--brand-color);
    color: white;
    border-color: var(--brand-color);
}