/* ============================================
   Bolão Copa 2026 — Premium Dark Theme
   Mobile First · Glassmorphism · Animations
   ============================================ */

:root {
    --bg-deep: #0a1628;
    --bg-field: #0d2818;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.12);
    --gold: #ffd700;
    --gold-dim: #c9a800;
    --neon-green: #00ff88;
    --neon-blue: #00d4ff;
    --accent-red: #ff4757;
    --text-primary: #f0f4f8;
    --text-secondary: rgba(240, 244, 248, 0.65);
    --text-muted: rgba(240, 244, 248, 0.4);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 64px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background */
.app-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.app-bg__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 255, 136, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(255, 215, 0, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #0a1628 0%, #0d1f35 40%, #0a2818 100%);
}

.app-bg__particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 30%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.15) 0%, transparent 100%);
    animation: twinkle 8s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* App Shell */
.app {
    position: relative;
    z-index: 1;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    padding: 0 16px;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.header__title {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--gold) 0%, #fff 50%, var(--neon-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex: 1;
    text-align: center;
}

.header__back {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.header__back svg { width: 20px; height: 20px; }
.header__back:active { transform: scale(0.9); }

.header__cart {
    position: relative;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-icon {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
    transition: var(--transition);
}

.header__cart:active .cart-icon {
    transform: scale(0.85) rotate(-8deg);
}

.header__cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: linear-gradient(135deg, var(--gold), #ff8c00);
    color: #0a1628;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
    transition: var(--transition);
    animation: badge-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header__cart-badge.pulse {
    animation: badge-pulse 0.5s ease;
}

@keyframes badge-pop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Main */
.main {
    flex: 1;
    padding: 20px 16px calc(24px + var(--safe-bottom));
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.view-enter {
    animation: viewIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes viewIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden { display: none !important; }

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 28px;
}

.hero__emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 8px;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.hero__subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Category Cards */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

/* Tablet e desktop: 4 cards na mesma linha */
@media (min-width: 600px) {
    .cards-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }
}

.card-category {
    position: relative;
    background-color: var(--bg-card);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 0;
    text-align: center;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    width: 100%;
    min-width: 0;
}

@media (min-width: 600px) {
    .card-category {
        min-height: 420px;
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        gap: 16px;
    }
    .card-category {
        min-height: 460px;
    }
}

.card-category--campeao {
    background-image: url('../img/campeao.png');
}

.card-category--vice {
    background-image: url('../img/vice.png');
}

.card-category--artilheiro {
    background-image: url('../img/artilheiro.png');
}

.card-category--congonhas {
    background-image: url('../img/bolao.png');
}

.card-category--external .card-category__prize {
    display: none;
}

.card-category--external .card-category__external-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.35;
}

.card-category--external {
    text-decoration: none;
    color: inherit;
}

.card-category--external .btn--secondary-outline {
    background: rgba(0, 255, 136, 0.12);
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 136, 0.45);
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.15);
    pointer-events: none;
}


.card-category::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.15) 0%,
        rgba(10, 22, 40, 0.55) 45%,
        rgba(10, 22, 40, 0.92) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.card-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--neon-green), var(--neon-blue));
    opacity: 0.6;
    z-index: 2;
}

.card-category__prize {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 18px;
    background: rgba(10, 22, 40, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.45);
    border-radius: var(--radius-md);
    box-shadow: 0 0 28px rgba(255, 215, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    min-width: 140px;
    pointer-events: none;
}

.card-category__prize-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.card-category__prize-value {
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    font-variant-numeric: tabular-nums;
}

.card-category__prize-value--pulse {
    animation: prizePulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes prizePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); color: var(--neon-green); }
    100% { transform: scale(1); }
}

.card-category__prize-meta {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.card-category__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 24px 20px;
}

.card-category:hover {
    border-color: rgba(255, 215, 0, 0.35);
    box-shadow: var(--shadow-glow);
}

.card-category:active {
    transform: scale(0.98);
}

.card-category:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.card-category--disabled {
    cursor: not-allowed;
    opacity: 0.55;
    filter: grayscale(0.4);
}

.card-category--disabled:hover {
    border-color: var(--glass-border);
    box-shadow: none;
    transform: none;
}

.card-category--disabled:active {
    transform: none;
}

.card-category--disabled .btn {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    box-shadow: none;
    cursor: not-allowed;
}

.apostas-fechadas {
    margin-bottom: 16px;
    padding: 14px 16px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-red);
    background: rgba(255, 71, 87, 0.12);
    border: 1px solid rgba(255, 71, 87, 0.35);
    border-radius: var(--radius-sm);
}

.card-category__icon {
    font-size: 2.8rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.card-category__title {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.card-category__price {
    font-size: clamp(1.1rem, 2.8vw, 1.6rem);
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.card-category__price small {
    font-size: clamp(0.65rem, 1.5vw, 0.85rem);
    font-weight: 500;
    color: var(--text-secondary);
}

@media (min-width: 600px) {
    .card-category__content {
        padding: 18px 10px;
    }

    .card-category__content .btn {
        padding: 12px 10px;
        font-size: clamp(0.7rem, 1.8vw, 0.85rem);
        letter-spacing: 0.02em;
    }

    .card-category__prize {
        min-width: 100px;
        padding: 10px 8px;
        top: 40%;
    }

    .card-category__prize-value {
        font-size: clamp(1rem, 3vw, 1.6rem);
    }

    .card-category__prize-label,
    .card-category__prize-meta {
        font-size: 0.55rem;
    }

    .card-category__tag {
        font-size: 0.65rem;
        padding: 3px 8px;
        margin-bottom: 10px;
    }
}

.card-category__tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 255, 136, 0.12);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-green);
    margin-bottom: 16px;
}

.card-category__tag.hidden-tag { display: none; }

/* Countdown — página inicial */
.countdown {
    position: relative;
    margin-top: 28px;
    padding: 28px 20px 24px;
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.08) 0%, rgba(0, 255, 136, 0.05) 50%, rgba(10, 22, 40, 0.6) 100%);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.countdown__glow {
    position: absolute;
    top: -50%;
    left: 50%;
    width: 120%;
    height: 100%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: countdownGlow 3s ease-in-out infinite alternate;
}

@keyframes countdownGlow {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.countdown__title {
    position: relative;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.countdown__subtitle {
    position: relative;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.countdown__aviso {
    position: relative;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.45;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.countdown__timer {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
}

.countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    flex: 1 1 0;
    max-width: 33%;
}

.countdown__digits {
    font-size: clamp(1.35rem, 5.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    padding: clamp(6px, 2vw, 10px) clamp(4px, 2vw, 14px);
    min-width: 2em;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: linear-gradient(180deg, #1a3050 0%, #0a1628 100%);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4), 0 0 16px rgba(255, 215, 0, 0.15);
    background-image: linear-gradient(180deg, #fff 0%, var(--gold) 45%, #e6a800 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.countdown__label {
    font-size: clamp(0.5rem, 2.2vw, 0.65rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-top: 6px;
    white-space: nowrap;
}

.countdown__sep {
    font-size: clamp(1.1rem, 4.5vw, 2.5rem);
    font-weight: 800;
    color: var(--neon-green);
    line-height: 1;
    padding-bottom: clamp(14px, 5vw, 22px);
    flex-shrink: 0;
    animation: sepBlink 1s step-end infinite;
    text-shadow: 0 0 16px rgba(0, 255, 136, 0.6);
}

@keyframes sepBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.countdown__expired {
    position: relative;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--neon-green);
    padding: 16px 0 4px;
    animation: viewIn 0.5s ease;
}

.countdown--ended {
    border-color: rgba(0, 255, 136, 0.35);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.15);
}

.countdown--ended .countdown__glow {
    background: radial-gradient(ellipse, rgba(0, 255, 136, 0.2) 0%, transparent 70%);
}

@media (min-width: 480px) {
    .countdown__unit {
        flex: 0 1 auto;
        max-width: none;
        min-width: 72px;
    }
    .countdown__timer {
        gap: 12px;
        align-items: center;
    }
    .countdown__digits {
        min-width: 2.8em;
        width: auto;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn:active { transform: scale(0.96); }

.btn--primary {
    background: linear-gradient(135deg, var(--gold) 0%, #ff8c00 100%);
    color: #0a1628;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn--primary:hover {
    box-shadow: 0 6px 28px rgba(255, 215, 0, 0.45);
}

.btn--glow {
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 4px 32px rgba(255, 215, 0, 0.55); }
}

.btn--secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn--secondary:hover {
    background: var(--bg-card-hover);
}

.btn--danger {
    background: rgba(255, 71, 87, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(255, 71, 87, 0.3);
    padding: 8px 16px;
    font-size: 0.8rem;
    width: auto;
}

.btn--small {
    padding: 10px 18px;
    font-size: 0.85rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Selection Views */
.view-header {
    text-align: center;
    margin-bottom: 24px;
}

.view-header__icon { font-size: 2rem; margin-bottom: 8px; }

.view-header__title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.view-header__subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Search */
.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.15);
}

.search-box input::placeholder { color: var(--text-muted); }

.search-box__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    pointer-events: none;
}

/* Teams Grid */
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

@media (min-width: 480px) {
    .teams-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 768px) {
    .teams-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }
}

.team-card {
    position: relative;
    aspect-ratio: 1;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition);
    padding: 6px;
    overflow: hidden;
}

.team-card:active { transform: scale(0.92); }

.team-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: var(--shadow-glow);
}


/* O segredo para o Card do Campeão empolgar geral */
.card-campeao {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.6), rgba(212, 175, 55, 0.15)), 
                url('sua-imagem-gerada.jpg') no-repeat center center;
    background-size: cover;
    border: 2px solid rgba(212, 175, 55, 0.4); /* Borda de Ouro sutil */
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(4px); /* Efeito vidro fosco premium */
    transition: all 0.3s ease-in-out;
}

/* Efeito quando o usuário passa o mouse ou toca no celular */
.card-campeao:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.9); /* Ouro brilha mais forte */
    box-shadow: 0 15px 40px 0 rgba(212, 175, 55, 0.3); /* Neon dourado explode atrás */
}


.team-card.selected {
    border-color: var(--neon-green);
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.2);
}

.team-card__flag {
    width: 40px;
    height: 28px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.team-card__name {
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    color: var(--text-secondary);
}

.team-card__check {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #0a1628;
    font-weight: 800;
}

/* Strikers / Figurinhas */
.strikers-country {
    margin-bottom: 28px;
}

.section-label--country {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label__flag {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.section-label__badge {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.section-label--sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.section-label--sub::after {
    display: none;
}

.strikers-subgroup {
    margin-bottom: 16px;
}

.sticker-card__club {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.strikers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 480px) {
    .strikers-grid { grid-template-columns: repeat(3, 1fr); }
}

.sticker-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.sticker-card:active { transform: scale(0.95); }

.sticker-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: var(--shadow-glow);
}

.sticker-card.selected {
    border-color: var(--neon-green);
}

.sticker-card__photo-wrap {
    aspect-ratio: 3/4;
    background: linear-gradient(180deg, #1a3050 0%, #0f2438 50%, #0d2818 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 8px 10px 0;
    overflow: hidden;
}

.sticker-card__photo {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.sticker-card__photo-wrap--fallback::after {
    content: '⚽';
    font-size: 3rem;
    opacity: 0.5;
    display: block;
    margin: auto;
    padding-bottom: 40%;
}

.sticker-card__info {
    padding: 10px;
    text-align: center;
}

.sticker-card__name {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.sticker-card__country {
    font-size: 0.7rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.sticker-card__country img {
    width: 16px;
    height: 11px;
    border-radius: 2px;
}

.sticker-card__check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #0a1628;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0,255,136,0.4);
}

/* Custom player input */
.custom-player {
    background: var(--bg-card);
    border: 1px dashed var(--glass-border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 8px;
}

.custom-player__title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.custom-player__row {
    display: flex;
    gap: 8px;
}

.custom-player__row input {
    flex: 1;
    padding: 12px 14px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

.custom-player__row input:focus {
    border-color: var(--gold);
}

.custom-player__row .btn {
    width: auto;
    white-space: nowrap;
    padding: 12px 18px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    position: relative;
    background: linear-gradient(165deg, rgba(20, 40, 60, 0.95) 0%, rgba(10, 30, 20, 0.98) 100%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 24px 32px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-card);
    animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-secondary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 3;
    padding: 0;
}

.modal__close:hover,
.modal__close:focus-visible {
    background: rgba(255, 71, 87, 0.2);
    border-color: rgba(255, 71, 87, 0.5);
    color: var(--accent-red);
    outline: none;
}

.modal__close:active {
    transform: scale(0.9);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.8) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.modal__icon {
    font-size: 3rem;
    margin-bottom: 12px;
    animation: bounce 1s ease infinite;
}

.modal__title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--gold), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal__detail {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.modal__detail strong {
    color: var(--gold);
}

.modal__question {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Checkout */
.checkout-section {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}

.checkout-section__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-group {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.checkout-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.checkout-group__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.checkout-group__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
}

.checkout-group__price {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.checkout-item__flag {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
}

.checkout-item__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #1a3050;
}

.checkout-item__name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

.checkout-item__remove {
    background: none;
    border: none;
    color: var(--accent-red);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    opacity: 0.6;
    transition: var(--transition);
}

.checkout-item__remove:hover { opacity: 1; }

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 0;
    margin-top: 8px;
    border-top: 2px solid var(--gold);
}

.checkout-total__label {
    font-size: 1rem;
    font-weight: 600;
}

.checkout-total__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
}

/* Form */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.12);
}

/* Pix Payment */
.pix-section {
    text-align: center;
}

.pix-qr {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    display: inline-block;
    margin: 16px 0;
    box-shadow: var(--shadow-card);
}

.pix-qr img {
    width: 200px;
    height: 200px;
    display: block;
}

.pix-copy {
    margin: 16px 0;
}

.pix-copy__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pix-copy__code {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 0.7rem;
    word-break: break-all;
    color: var(--text-secondary);
    max-height: 80px;
    overflow-y: auto;
    text-align: left;
}

.pix-copy__btn {
    margin-top: 10px;
}

.pix-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-sm);
    margin: 16px 0;
}

.pix-status__spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.pix-status__text {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
}

/* Success Screen */
.success-screen {
    text-align: center;
    padding: 40px 20px;
}

.success-screen__icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.success-screen__title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--neon-green);
    margin-bottom: 8px;
}

.success-screen__text {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart__icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-cart__text {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.demo-banner {
    background: rgba(255, 140, 0, 0.12);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.8rem;
    color: #ff8c00;
    margin-bottom: 16px;
    text-align: center;
}

/* Toast */
.toast {
    position: fixed;
    bottom: calc(24px + var(--safe-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 300;
    background: rgba(10, 22, 40, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-card);
    animation: toastIn 0.3s ease;
    max-width: 90%;
    text-align: center;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.toast--error {
    border-color: rgba(255, 71, 87, 0.4);
    color: var(--accent-red);
}

.toast--success {
    border-color: rgba(0, 255, 136, 0.4);
    color: var(--neon-green);
}

/* Loading */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
}

.loading__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading__text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
