/* =====================================================================
   SISTEMA DE SORTEIOS & BOLÃO DO MKMAIKI - LUXURY BLACK & GOLD
   Design VIP Preto e Dourado Metálico de Alta Conversão
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;600;700;800;900&family=Outfit:wght@500;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Paleta Principal Luxury Black & Gold */
    --bg-page: #050505;
    --bg-page-gradient: radial-gradient(circle at 50% 12%, #1c170d 0%, #0d0b07 45%, #030303 100%);
    
    --toolbar-start: #121214;
    --toolbar-end: #070708;
    
    --comprovante-header: #0d0d10;
    --comprovante-bg: #121215;
    --comprovante-border: rgba(245, 158, 11, 0.5);
    --comprovante-box-bg: #18181d;
    --comprovante-footer-bg: #09090b;

    /* Bolinhas de Dezenas */
    --bola-acertada: linear-gradient(135deg, #ffd700 0%, #f59e0b 50%, #d97706 100%);
    --bola-acertada-text: #000000;
    --bola-apostada: #1c1917;
    --bola-apostada-text: #fbbf24;
    --bola-apostada-border: #f59e0b;
    --bola-unselected: #1c1917;
    --bola-unselected-text: #e4e4e7;
    --bola-unselected-border: rgba(255, 255, 255, 0.12);

    --btn-cta-start: #fbbf24;
    --btn-cta-end: #d97706;
    
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --gold-bright: #ffd700;
    --gold-dark: #b45309;
    --gold-border: rgba(245, 158, 11, 0.45);
    --gold-glow: 0 4px 20px rgba(245, 158, 11, 0.35);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-comprovante: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 158, 11, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    position: relative;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    background-color: #050505;
    color: #f4f4f5;
    min-height: 100vh;
    padding-bottom: 80px; /* Espaço para Bottom Navigation Mobile */
    overflow-x: hidden;
}

/* Background com a Foto de Capa Oficial do Bolão da Sorte MKmaiki */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 50% 18%, rgba(212, 175, 55, 0.12) 0%, transparent 65%),
        linear-gradient(180deg, 
            rgba(5, 5, 5, 0.65) 0%, 
            rgba(5, 5, 5, 0.52) 25%, 
            rgba(3, 3, 3, 0.80) 65%, 
            #050505 100%
        ),
        url('/assets/img/capa-bolao.jpg');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    transform: translateZ(0);
}

/* Toolbar Fixa Superior */
.pub-toolbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: linear-gradient(135deg, rgba(18, 18, 20, 0.94), rgba(7, 7, 8, 0.96));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
    border-bottom: 1.5px solid rgba(245, 158, 11, 0.4);
}

.pub-toolbar-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-family: 'Outfit', sans-serif;
}

.pub-toolbar-btns {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pub-toolbar-btns button, .pub-toolbar-btns a {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.pub-toolbar-btns button:hover, .pub-toolbar-btns a:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: #fbbf24;
    color: #fff;
}

.btn-insta-top {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 10px rgba(220, 39, 67, 0.4);
}

.btn-insta-top:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(220, 39, 67, 0.6);
}

.insta-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 10px #fbbf24;
    display: inline-block;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

/* Card de Destaque Instagram Oficial @mkmaiki */
.insta-creator-card {
    background: linear-gradient(135deg, rgba(20, 18, 14, 0.90) 0%, rgba(13, 12, 10, 0.94) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(245, 158, 11, 0.45);
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.1);
    position: relative;
    overflow: hidden;
}

.insta-creator-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.insta-creator-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.insta-avatar-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(45deg, #ffd700, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.insta-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #000000;
    border: 2px solid #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: -0.5px;
    font-family: 'Outfit', sans-serif;
}

.insta-creator-info {
    min-width: 0;
}

.insta-name-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Outfit', sans-serif;
}

.insta-name-badge i {
    color: #fbbf24;
    font-size: 13px;
}

.insta-handle {
    font-size: 11px;
    font-weight: 700;
    color: #fde047;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.insta-role {
    color: #d4d4d8;
    font-weight: 500;
    font-size: 10px;
}

.insta-callout {
    font-size: 10px;
    color: #a1a1aa;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-insta-follow {
    background: linear-gradient(135deg, #ffd700, #f59e0b) !important;
    color: #000000 !important;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.4);
    transition: all 0.2s ease;
    border: none;
}

.btn-insta-follow:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.6);
}

/* Tabs Rápidas Mobile */
.mobile-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 12px 6px;
    max-width: 460px;
    margin: 0 auto;
}

.tab-btn {
    flex: 1;
    background: rgba(24, 24, 27, 0.85);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #d4d4d8;
    padding: 8px 6px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.tab-btn.active {
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
    color: #000000;
    border-color: #ffd700;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
    transform: translateY(-1px);
    font-weight: 900;
}

/* Container Central */
.mobile-app-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 10px 14px 24px;
}

/* Banner de Prêmios e Acúmulo */
.jackpot-banner {
    background: linear-gradient(135deg, rgba(24, 21, 16, 0.90) 0%, rgba(14, 13, 10, 0.93) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 14px 16px;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 15px rgba(245, 158, 11, 0.15);
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1.5px solid rgba(245, 158, 11, 0.5);
}

.jackpot-banner .title {
    font-size: 11px;
    font-weight: 800;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jackpot-banner .amount {
    font-size: 26px;
    font-weight: 900;
    color: #ffd700;
    margin-top: 2px;
    font-family: 'Outfit', sans-serif;
    text-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.jackpot-banner .countdown-mini {
    font-size: 11px;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 10px;
    border-radius: 10px;
    text-align: right;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.jackpot-banner .countdown-mini strong {
    display: block;
    color: #fbbf24;
    font-size: 14px;
}

/* SELETOR INTERATIVO DE 01 A 100 NA CARTELA */
.cartela-picker {
    background: rgba(18, 18, 21, 0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow-comprovante);
    border: 1.5px solid rgba(245, 158, 11, 0.45);
    margin-bottom: 16px;
}

.cartela-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.cartela-header h3 {
    font-size: 15px;
    font-weight: 800;
    color: #fbbf24;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.cartela-counter {
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    border: 1px solid #ffd700;
    color: #000000;
    font-size: 12px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.cartela-actions {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.cartela-actions button {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid rgba(245, 158, 11, 0.3);
    background: #18181c;
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s;
}

.cartela-actions button:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: #fbbf24;
}

/* Grid 10 colunas compacto */
.ball-grid-100 {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
    margin-bottom: 14px;
}

.ball-pick-btn {
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--bola-unselected);
    border: 1px solid var(--bola-unselected-border);
    color: var(--bola-unselected-text);
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.1s, background 0.2s;
}

.ball-pick-btn:hover {
    border-color: rgba(245, 158, 11, 0.4);
}

.ball-pick-btn:active {
    transform: scale(0.9);
}

.ball-pick-btn.selected {
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%) !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
    transform: scale(1.08);
    font-weight: 900;
}

/* Formulário de Participante Integrado */
.quick-form {
    background: #18181c;
    border: 1.5px solid rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    padding: 12px;
    margin-top: 10px;
}

.quick-form .form-row {
    margin-bottom: 10px;
}

.quick-form label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.quick-form input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    outline: none;
    background: #0d0d0f;
    transition: border-color 0.2s;
}

.quick-form input:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3);
}

.btn-confirm-ticket {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 50%, #d97706 100%);
    color: #000000;
    font-size: 15px;
    font-weight: 900;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s ease;
}

.btn-confirm-ticket:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.6);
}

.btn-confirm-ticket:disabled {
    background: #27272a;
    color: #71717a;
    box-shadow: none;
    cursor: not-allowed;
}

/* O COMPROVANTE VIP BLACK & GOLD (PADRÃO BOLÃO MÁGICO) */
.comprovante, .comprovante-card {
    background: rgba(13, 13, 18, 0.93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1.5px solid rgba(245, 158, 11, 0.45);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.15);
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    width: 100%;
}

/* Header do Comprovante */
.mc-header {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #181822 0%, #101016 100%);
    border-bottom: 2.5px solid #f59e0b;
}

.mc-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 950;
    color: #000;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.4);
    font-family: 'Outfit', sans-serif;
    flex-shrink: 0;
    border: 1px solid #fef08a;
}

.mc-brand {
    text-align: left;
}

.mc-title {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffd700;
    line-height: 1.1;
    text-transform: uppercase;
}

.mc-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: #fef08a;
    margin-top: 2px;
}

.mc-fiscal {
    font-size: 8.5px;
    color: #a1a1aa;
    margin-top: 2px;
}

/* Meta Informações (Serial, Concurso, Emissão) */
.mc-meta {
    display: grid;
    grid-template-columns: 1fr 0.9fr 1.3fr;
    margin: 8px 10px;
    border: 1.5px solid rgba(245, 158, 11, 0.25);
    border-radius: 10px;
    overflow: hidden;
    background: #15151c;
}

.mc-meta-cell {
    text-align: center;
    padding: 7px 3px;
    border-right: 1px solid rgba(245, 158, 11, 0.25);
}

.mc-meta-cell:last-child {
    border-right: none;
}

.mc-label {
    font-size: 8px;
    font-weight: 800;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mc-value {
    font-size: 12px;
    font-weight: 900;
    color: #ffffff;
    margin-top: 2px;
    font-family: 'Outfit', sans-serif;
}

/* Banner de Sorteio */
.mc-draw-target {
    margin: 0 10px 8px;
    padding: 6px 10px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px dashed rgba(245, 158, 11, 0.45);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10.5px;
}

.mc-draw-target span {
    color: #a1a1aa;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mc-draw-target strong {
    color: #ffd700;
    font-weight: 800;
}

/* Bloco do Participante */
.mc-participante {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 10px 8px;
    padding: 8px 12px;
    border: 1.5px solid rgba(245, 158, 11, 0.25);
    border-radius: 10px;
    background: #15151c;
}

.mc-icone {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #f59e0b;
}

.mc-conteudo {
    flex: 1;
    min-width: 0;
}

.mc-nome {
    font-size: 14px;
    font-weight: 900;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.mc-contatos {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: #38bdf8;
    margin-top: 1px;
}

.mc-contatos span {
    color: #a1a1aa;
}

/* Bloco de Dezenas */
.mc-jogos {
    margin: 0 10px 8px;
    padding: 10px;
    border: 1.5px solid rgba(245, 158, 11, 0.25);
    border-radius: 12px;
    background: #15151c;
}

.mc-jogos-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px dashed rgba(245, 158, 11, 0.25);
    font-size: 9.5px;
    font-weight: 900;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mc-jogo {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0 8px;
    flex-wrap: wrap;
}

.mc-jogo-num {
    flex: 0 0 14px;
    font-size: 11px;
    font-weight: 900;
    color: #f59e0b;
}

.mc-jogo-dezenas {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.comp-num-badge {
    aspect-ratio: 1;
    width: 100%;
    max-width: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    box-sizing: border-box;
    transition: transform 0.2s;
}

.comp-num-acerto {
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    color: #000000;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
    border: 1.5px solid #ffffff;
    font-weight: 950;
}

.comp-num-normal {
    background: #1c1917;
    color: #fbbf24;
    border: 1.5px solid rgba(245, 158, 11, 0.45);
}

.mc-jogo-resultado {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.mc-aposta-id {
    font-size: 10px;
    color: #a1a1aa;
    font-weight: 600;
}

.mc-acertos {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
}

.mc-acertos.acertou {
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    color: #000000;
    border: 1px solid #ffd700;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.mc-acertos.pendente {
    background: rgba(255, 255, 255, 0.06);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

/* Bloco de Valor */
.mc-valor {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 10px 8px;
    padding: 8px 12px;
    border: 1.5px solid rgba(245, 158, 11, 0.25);
    border-radius: 10px;
    background: #15151c;
    color: #ffffff;
}

.mc-valor-label {
    font-size: 12px;
    font-weight: 900;
    color: #f59e0b;
    text-transform: uppercase;
}

.mc-valor-num {
    margin-left: auto;
    font-size: 17px;
    font-weight: 950;
    color: #ffd700;
    font-family: 'Outfit', sans-serif;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* Rodapé do Comprovante */
.mc-footer {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    margin: 0 10px 10px;
    padding: 9px 12px;
    border-radius: 10px;
    background: #09090d;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #a1a1aa;
    font-size: 9px;
    line-height: 1.45;
}

.mc-footer-icones {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    font-size: 17px;
}

.mc-validade {
    color: #ffd700;
    font-weight: 800;
}

.mc-responsa {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid rgba(245, 158, 11, 0.25);
    font-size: 8px;
    font-weight: 700;
    color: #71717a;
    letter-spacing: 0.3px;
}

/* Botões de Ação Imediata abaixo do Comprovante */
.comp-actions-bar {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0 16px;
}

.btn-comp-action {
    padding: 11px 14px;
    border-radius: 12px;
    border: none;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-comp-print {
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    color: #000;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-comp-print:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-comp-whatsapp {
    background: #22c55e;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-comp-whatsapp:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

/* CTA Acompanhar Resultados (Padrão Bolão Mágico) */
.pub-resultados-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.pub-resultados-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000000;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255,255,255,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.pub-resultados-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.5);
}

.pub-resultados-btn:active {
    transform: scale(0.98);
}

.pub-resultados-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(0, 0, 0, 0.18);
    display: grid;
    place-items: center;
    font-size: 19px;
    flex-shrink: 0;
    color: #000;
}

.pub-resultados-copy {
    min-width: 0;
    flex: 1;
    text-align: left;
}

.pub-resultados-copy strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: #000;
}

.pub-resultados-copy small {
    display: block;
    margin-top: 2px;
    font-size: 10.5px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.75);
}

.pub-resultados-seta {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
}

/* Bottom Navigation Bar Mobile */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(8, 8, 10, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1.5px solid rgba(245, 158, 11, 0.35);
    display: flex;
    justify-content: space-around;
    padding: 6px 0 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.9);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    color: #71717a;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

.bottom-nav-item i {
    font-size: 18px;
}

.bottom-nav-item.active {
    color: #fbbf24;
}

.bottom-nav-item.active i {
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
}

/* Modais */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #141418;
    border: 1.5px solid rgba(245, 158, 11, 0.5);
    border-radius: 18px;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    color: #f4f4f5;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(245, 158, 11, 0.2);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    color: #a1a1aa;
    font-size: 20px;
    cursor: pointer;
}

.modal-close:hover {
    color: #fff;
}

/* Botão de Acompanhar Resultados */
.pub-resultados-wrap {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.pub-resultados-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    color: #000000;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
    cursor: pointer;
    border: none;
    transition: transform 0.1s;
    font-weight: 800;
}

.pub-resultados-btn:active {
    transform: scale(0.98);
}

.pub-resultados-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
    color: #000;
}

.pub-resultados-copy {
    flex: 1;
    text-align: left;
}

.pub-resultados-copy strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
    color: #000;
}

.pub-resultados-copy small {
    display: block;
    font-size: 11px;
    color: rgba(0, 0, 0, 0.7);
    margin-top: 2px;
}

/* Hover e transições dos botões de ação do comprovante */
.btn-action-comprovante {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-action-comprovante:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.btn-action-comprovante:active {
    transform: scale(0.98);
}

/* =====================================================================
   ESTILOS DE IMPRESSÃO / SALVAR PDF (CUPOM & COMPROVANTE OFICIAL)
   ===================================================================== */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Ocultar elementos desnecessários na impressão */
    .pub-toolbar,
    .tab-nav,
    .app-header,
    .quick-form,
    .pub-resultados-wrap,
    .pub-bottom-nav,
    .comprovante-actions-row,
    .btn-action-comprovante,
    .no-print {
        display: none !important;
    }

    #view-comprovante {
        display: block !important;
    }

    #view-apostar,
    #view-resultados,
    #view-regras {
        display: none !important;
    }

    #comprovante-render-area {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .comprovante-card {
        background: #ffffff !important;
        color: #000000 !important;
        border: 2px solid #000000 !important;
        box-shadow: none !important;
        border-radius: 8px !important;
        margin: 0 auto !important;
        max-width: 500px !important;
        page-break-inside: avoid;
    }

    .comprovante-header {
        background: #f4f4f5 !important;
        border-bottom: 2px solid #000000 !important;
    }

    .comprovante-title-wrap h1 {
        color: #000000 !important;
    }

    .comprovante-title-wrap p {
        color: #333333 !important;
    }

    .meta-box {
        background: #fafafa !important;
        border: 1px solid #d4d4d8 !important;
    }

    .meta-box .lbl {
        color: #555555 !important;
    }

    .meta-box .val {
        color: #000000 !important;
        font-weight: 800 !important;
    }

    .participante-box {
        background: #f4f4f5 !important;
        border: 1px solid #d4d4d8 !important;
    }

    .participante-box .name {
        color: #000000 !important;
    }

    .dezenas-box {
        background: #ffffff !important;
        border: 1.5px solid #000000 !important;
    }

    .bola-comprovante.acertada {
        background: #ffd700 !important;
        color: #000000 !important;
        border: 2px solid #000000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .bola-comprovante.apostada {
        background: #f4f4f5 !important;
        color: #000000 !important;
        border: 1.5px solid #333333 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .badge-acertos {
        background: #ffd700 !important;
        color: #000000 !important;
        border: 1px solid #000000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .valor-box {
        background: #f4f4f5 !important;
        border: 1px solid #d4d4d8 !important;
        color: #000000 !important;
    }

    .comprovante-footer {
        background: #f4f4f5 !important;
        color: #000000 !important;
        border-top: 2px solid #000000 !important;
    }
}

