/* ========================================================
   DK Sorteador - Estilos Modernos & Responsivos (Mobile-First)
   Tema Oficial: Dark Aquarismo Neon (Matching Reference Layout)
   dkaquarismo.com.br
   ======================================================== */

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #38bdf8;
    --secondary: #0d9488;
    --secondary-light: #2dd4bf;
    --accent: #f59e0b;
    --danger: #ef4444;
    --success: #10b981;
    --success-dark: #059669;
    
    --bg-main: #0c101b;
    --bg-navbar: #0f1423;
    --bg-card: #151b2c;
    --bg-card-hover: #1c243a;
    --bg-input: #0f1423;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #222d45;
    --border-glow: rgba(2, 132, 199, 0.4);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
    --glow-blue: 0 0 20px rgba(2, 132, 199, 0.35);
    --glow-green: 0 0 20px rgba(16, 185, 129, 0.35);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    padding-bottom: 95px; /* Espaço para barra flutuante */
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ========================================================
   TOP NAVBAR (Brand Logo + Meus Números)
   ======================================================== */
.site-navbar {
    background: rgba(15, 20, 35, 0.95);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.nav-logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #0284c7;
    box-shadow: 0 0 14px rgba(2, 132, 199, 0.5);
    object-fit: cover;
    background: #000;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-slogan {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.btn-meus-numeros {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1.5px solid #0284c7;
    color: #38bdf8;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 0 12px rgba(2, 132, 199, 0.25);
}

.btn-meus-numeros:hover {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(2, 132, 199, 0.6);
    transform: translateY(-1px);
}

/* ========================================================
   HERO BANNER (Destaque da Rifa Principal)
   ======================================================== */
.hero-card {
    background: linear-gradient(145deg, #151b2c 0%, #0d121f 100%);
    border: 2px solid #0284c7;
    box-shadow: 0 0 25px rgba(2, 132, 199, 0.25);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 20px auto 25px auto;
    position: relative;
    overflow: hidden;
}

.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid #0284c7;
    color: #38bdf8;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width: 768px) {
    .hero-content {
        grid-template-columns: 320px 1fr;
        align-items: center;
    }
}

.hero-image-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 16/10;
    box-shadow: var(--shadow);
    background: #090d16;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-price-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.hero-details h2 {
    font-size: 1.55rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hero-details p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.progress-bar-container {
    margin-bottom: 18px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #cbd5e1;
    font-weight: 700;
}

.progress-track {
    background: #0f1423;
    border-radius: 999px;
    height: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
}

.progress-fill {
    background: linear-gradient(90deg, #0284c7, #10b981);
    height: 100%;
    border-radius: 999px;
    transition: width 0.5s ease;
    width: 0%;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero-participate {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-hero-participate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* ========================================================
   SEÇÃO "AÇÕES DISPONÍVEIS" (Matching Reference Image)
   ======================================================== */
.section-acoes-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 900;
    color: #f8fafc;
    margin: 25px 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.campaign-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}

@media(min-width: 640px) {
    .campaign-card {
        flex-direction: row;
        align-items: center;
    }
}

.campaign-card:hover {
    border-color: #0284c7;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.25);
    transform: translateY(-2px);
}

.campaign-thumb-wrap {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: #090d16;
}

@media(min-width: 640px) {
    .campaign-thumb-wrap {
        width: 150px;
        height: 105px;
    }
}

.campaign-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campaign-pct-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255,255,255,0.2);
    color: #38bdf8;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 3px 8px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.campaign-pct-badge.closed {
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.9);
}

.campaign-info {
    flex: 1;
}

.campaign-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 4px;
}

.campaign-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.campaign-meta {
    font-size: 0.78rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-campaign-action {
    background: #10b981;
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    transition: all 0.15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-campaign-action:hover {
    background: #059669;
    transform: scale(1.02);
}

.btn-campaign-action.closed {
    background: #334155;
    color: #94a3b8;
    cursor: default;
    pointer-events: none;
}

/* ========================================================
   NAVEGAÇÃO POR ABAS
   ======================================================== */
.tabs-nav {
    display: flex;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 6px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.4);
}

.section-block {
    display: none;
}

.section-block.active {
    display: block;
    animation: fadeIn 0.25s ease-in;
}

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

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.section-title h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
}

/* ========================================================
   CARD DE SELEÇÃO RÁPIDA DE COTAS
   ======================================================== */
.quick-select-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
}

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

.quick-select-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: #f8fafc;
}

.quick-select-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.quick-qty-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.btn-qty {
    background: #1e293b;
    border: 1px solid #334155;
    color: #f1f5f9;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-qty:hover {
    background: #334155;
    border-color: #0284c7;
    color: #38bdf8;
    transform: translateY(-1px);
}

.btn-qty.btn-surpresinha {
    background: rgba(2, 132, 199, 0.15);
    border-color: #0284c7;
    color: #38bdf8;
}

.btn-qty.btn-surpresinha:hover {
    background: #0284c7;
    color: #ffffff;
}

.btn-qty.btn-limpar {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #f87171;
}

.btn-qty.btn-limpar:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Barra de Busca e Filtros */
.filter-search-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 240px;
}

.search-icon {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.search-box input {
    flex: 1;
    padding: 8px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #ffffff;
    outline: none;
    transition: border 0.15s;
}

.search-box input:focus {
    border-color: var(--primary);
}

.btn-search-go {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-search-go:hover {
    background: var(--primary-dark);
}

.status-filters {
    display: flex;
    gap: 4px;
    background: #0f1423;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.filter-tab {
    background: none;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
}

.filter-tab.active {
    background: #0284c7;
    color: #ffffff;
}

/* Box dos Chips de Números Selecionados */
.selected-chips-box {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.selected-chips-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.82rem;
    color: #cbd5e1;
}

.btn-clear-all {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.selected-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 120px;
    overflow-y: auto;
    padding: 2px;
}

.num-chip {
    background: rgba(2, 132, 199, 0.2);
    border: 1px solid #0284c7;
    color: #38bdf8;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.num-chip:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #f87171;
}

.chip-remove {
    font-size: 0.95rem;
    line-height: 1;
    color: var(--text-muted);
}

/* ========================================================
   LEGENDA E GRADE DE NÚMEROS (00 até 100)
   ======================================================== */
.raffle-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

.dot-free { background-color: #142033; border: 1.5px solid #28344e; }
.dot-selected { background-color: #0284c7; box-shadow: 0 0 6px rgba(2, 132, 199, 0.8); }
.dot-reserved { background-color: #3b2805; border: 1.5px solid #b45309; }
.dot-paid { background-color: #064e3b; border: 1.5px solid #059669; }

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 25px;
}

@media(min-width: 480px) {
    .numbers-grid { grid-template-columns: repeat(8, 1fr); gap: 10px; }
}
@media(min-width: 768px) {
    .numbers-grid { grid-template-columns: repeat(10, 1fr); gap: 10px; }
}

.num-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #151b2c;
    border: 1.5px solid #28344e;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.05rem;
    color: #f1f5f9;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    position: relative;
}

.num-cell:hover:not(.reserved):not(.paid) {
    border-color: #38bdf8;
    background: #1c273e;
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.num-cell.free {
    background: #142033;
    border-color: #1e3a5f;
    color: #f8fafc;
}

.num-cell.selected {
    background: #0284c7 !important;
    border-color: #38bdf8 !important;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(2, 132, 199, 0.8);
    transform: scale(1.05);
}

.num-cell.reserved {
    background: #2b1d06;
    border-color: #b45309;
    color: #fbbf24;
    cursor: not-allowed;
    opacity: 0.85;
}

.num-cell.reserved::after {
    content: "Reservado";
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fcd34d;
}

.num-cell.paid {
    background: #04382a;
    border-color: #059669;
    color: #6ee7b7;
    cursor: not-allowed;
    opacity: 0.9;
}

.num-cell.paid::after {
    content: "Pago";
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #34d399;
}

@keyframes cellPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.8); }
    50% { transform: scale(1.15); box-shadow: 0 0 0 12px rgba(2, 132, 199, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.num-cell.highlight-pulse {
    animation: cellPulse 0.8s ease-in-out 2;
    border-color: #38bdf8 !important;
    z-index: 10;
}

/* ========================================================
   BARRA FLUTUANTE DE SELEÇÃO (Sticky Bottom Bar)
   ======================================================== */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(14px);
    color: #ffffff;
    padding: 14px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.5);
    z-index: 100;
    border-top: 1px solid var(--border);
}

.sticky-bottom-bar.show {
    display: flex;
    animation: slideUp 0.25s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.bar-info p {
    font-size: 0.82rem;
    color: #94a3b8;
}

.bar-info strong {
    font-size: 1.25rem;
    color: #38bdf8;
    font-weight: 800;
}

.btn-checkout {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-checkout:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

/* ========================================================
   MODAIS (Dark Theme Moderno)
   ======================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 999;
}

.modal-overlay.open {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.modal-card {
    background: #151b2c;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    padding: 24px;
    position: relative;
    color: #f8fafc;
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #1e293b;
    border: 1px solid var(--border);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.modal-close-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

.modal-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #ffffff;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Formulários */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #e2e8f0;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.3);
}

/* Caixa PIX dentro do Modal */
.pix-box {
    background: rgba(16, 185, 129, 0.08);
    border: 1.5px dashed #059669;
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: center;
    margin: 16px 0;
}

.qr-wrapper {
    display: inline-block;
    background: #ffffff;
    padding: 12px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    margin-bottom: 12px;
}

.pix-copy-area {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.pix-code-input {
    background: #0f1423;
    font-family: monospace;
    font-size: 0.82rem;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    flex-grow: 1;
    color: #38bdf8;
    text-overflow: ellipsis;
}

.btn-copy {
    background: #0284c7;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.btn-whatsapp {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    text-decoration: none;
}

/* Modal Meus Números Resultados */
.my-numbers-results {
    margin-top: 16px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.my-number-item {
    background: #0f1423;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-status {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.badge-pago { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid #10b981; }
.badge-reservado { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid #f59e0b; }

/* ========================================================
   VITRINE DE PEIXES & VOTAÇÃO
   ======================================================== */
.fish-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media(min-width: 640px) {
    .fish-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width: 1024px) {
    .fish-grid { grid-template-columns: repeat(3, 1fr); }
}

.fish-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.fish-card:hover {
    border-color: #0284c7;
    transform: translateY(-3px);
}

.fish-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/11;
    overflow: hidden;
    background: #090d16;
}

.fish-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fish-votes-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.fish-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fish-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.fish-species {
    font-size: 0.8rem;
    color: #38bdf8;
    font-style: italic;
    margin-bottom: 8px;
}

.fish-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.btn-vote {
    width: 100%;
    background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.1s;
}

.btn-vote.voted {
    background: var(--success);
    pointer-events: none;
}

/* ========================================================
   SORTEADOR OFICIAL / ROLETA DIGITAL
   ======================================================== */
.sorteador-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.roulette-display {
    background: #090d16;
    color: #38bdf8;
    border-radius: var(--radius-md);
    padding: 35px 20px;
    margin: 20px 0;
    font-family: "Courier New", Courier, monospace;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 4px;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.8);
    border: 2px solid #38bdf8;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.winner-card {
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 20px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.winner-card h4 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 6px;
}

/* Canvas Confetti */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

/* ========================================================
   ÍCONES E LINKS DE REDES SOCIAIS (Instagram & YouTube)
   ======================================================== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #151b2c;
    border: 1.5px solid var(--border);
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(225, 48, 108, 0.6);
}

.social-btn.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(255, 0, 0, 0.6);
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    background: #151b2c;
    border: 1.5px solid var(--border);
    color: #cbd5e1;
    transition: all 0.25s ease;
}

.footer-social-btn:hover {
    transform: translateY(-2px);
}

.footer-social-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(225, 48, 108, 0.5);
}

.footer-social-btn.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(255, 0, 0, 0.5);
}

