/* ============================================
   MOBILE-FIRST STYLES - ELITE APOSTAS
   ============================================ */

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

:root {
    --primary-green: #1b4622;
    --secondary-green: #2d5a3a;
    --dark-green: #0f2a15;
    --light-green: #4caf50;
    --orange: #ff6b35;
    --yellow: #ffc107;
    --purple: #9c27b0;
    --blue: #2196f3;
    --red: #f44336;
    --background: #f5f5f5;
    --white: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

/* ============================================
   SIDEBAR - MOBILE FIRST (OCULTA POR PADRÃO)
   ============================================ */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: var(--dark-green);
    color: var(--white);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 70px;
}

.sidebar-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}

.sidebar-logo-text {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.close-sidebar-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.nav-item {
    display: block;
    padding: 16px 24px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 15px;
    border-left: 4px solid transparent;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--light-green);
}

.nav-item-logout {
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #ff6b6b !important;
}

.nav-item-logout:hover {
    background: rgba(255, 107, 107, 0.1);
    border-left-color: #ff6b6b;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.invite-btn {
    width: 100%;
    background: var(--yellow);
    border: 2px solid var(--white);
    border-radius: 8px;
    padding: 14px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    min-height: 48px;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
}

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

/* ============================================
   MAIN WRAPPER - MOBILE FIRST
   ============================================ */
.main-wrapper {
    margin-left: 0;
    min-height: 100vh;
    padding-bottom: 80px;
    width: 100%;
}

.page {
    display: none;
    width: 100%;
}

.page.active {
    display: block;
}

/* ============================================
   HEADER - MOBILE FIRST
   ============================================ */
.header {
    background: var(--primary-green);
    color: var(--white);
    padding: 12px 16px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.menu-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.header-logo-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.header-logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
}

.header-logo-text {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-user-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.user-info {
    display: none; /* Oculto no mobile por padrão */
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.user-info.show {
    display: flex;
}

.user-greeting {
    font-size: 13px;
    font-weight: 500;
}

.user-id {
    font-size: 11px;
    opacity: 0.8;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s;
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--error-color);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    min-height: 44px;
}

/* ============================================
   MAIN CONTENT - MOBILE FIRST
   ============================================ */
.main-content {
    width: 100%;
    padding: 16px;
    max-width: 100%;
}

/* ============================================
   BALANCE SECTION - MOBILE FIRST
   ============================================ */
.balance-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.balance-card {
    background: var(--white);
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.balance-card h3 {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.balance-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
}

/* ============================================
   ACTION BUTTONS - MOBILE FIRST
   ============================================ */
.action-buttons-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.action-btn {
    padding: 18px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--white);
    min-height: 64px;
    position: relative;
    overflow: hidden;
}

.deposit-btn {
    background: linear-gradient(135deg, #1b4622 0%, #2d5a3a 100%);
    box-shadow: 0 6px 20px rgba(27, 70, 34, 0.6);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: depositPulseDark 1.5s infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes depositPulseDark {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(27, 70, 34, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 30px rgba(27, 70, 34, 0.9);
        transform: scale(1.03);
        background: linear-gradient(135deg, #2d5a3a 0%, #1b4622 100%);
    }
}

.deposit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.deposit-btn:hover::before {
    left: 100%;
}

.deposit-btn:active {
    transform: scale(0.97);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.6);
    animation: none;
}

.deposit-btn .btn-icon {
    font-size: 28px;
    animation: iconBounce 1.5s infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.withdraw-btn {
    background: var(--success-color);
}

.btn-icon {
    font-size: 20px;
}

/* ============================================
   BANNER CAROUSEL - MOBILE FIRST
   ============================================ */
.banner-section {
    margin-bottom: 16px;
}

.promo-banner-section {
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    width: 100%;
}

.banner-carousel {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.banner-carousel-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50%; /* Aspect ratio para mobile */
    overflow: hidden;
}

.banner-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner-carousel-image.active {
    opacity: 1;
}

.banner-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 5px;
}

/* ============================================
   CATEGORIES SECTION - MOBILE FIRST
   ============================================ */
.categories-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.category-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.category-card:active {
    transform: scale(0.98);
}

.bicho-card {
    background: linear-gradient(135deg, var(--orange) 0%, #ff8c5a 100%);
    color: var(--white);
}

.loterias-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
}

/* Bingo removido */

.category-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

/* Bingo removido */

.category-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ============================================
   PLAY BUTTON - MOBILE FIRST (COM IMAGEM)
   ============================================ */
.play-btn {
    background: var(--yellow);
    border: none;
    padding: 0;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    color: var(--white);
    font-size: 18px;
    position: relative;
    overflow: hidden;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 2;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 12px;
}

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

/* Casino removido */

/* ============================================
   BOTTOM NAVIGATION - MOBILE FIRST
   ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 100;
    width: 100%;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.2s;
    font-size: 11px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    min-width: 60px;
}

.nav-link.active {
    color: var(--primary-green);
}

.nav-icon {
    font-size: 24px;
}

/* ============================================
   MODAL - MOBILE FIRST
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    background: var(--primary-green);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.modal-body {
    padding: 20px;
}

/* ============================================
   RESPONSIVE - TABLET E DESKTOP
   ============================================ */
@media (min-width: 768px) {
    .main-content {
        padding: 24px;
        max-width: 768px;
        margin: 0 auto;
    }

    .categories-section {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Casino removido */

    .banner-carousel-container {
        padding-bottom: 35%;
    }

    .user-info {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }
}

@media (min-width: 1024px) {
    .sidebar {
        transform: translateX(0);
    }

    .main-wrapper {
        margin-left: 280px;
    }

    .bottom-nav {
        left: 280px;
    }

    .categories-section {
        grid-template-columns: repeat(3, 1fr);
    }


    .modal {
        align-items: center;
        padding: 20px;
    }

    .modal-content {
        border-radius: 16px;
        max-width: 600px;
    }

    .modal-header {
        border-radius: 16px 16px 0 0;
    }
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s;
    z-index: 3000;
    font-weight: 500;
    font-size: 14px;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    opacity: 1;
}

.toast.success {
    background: var(--success-color);
}

.toast.error {
    background: var(--error-color);
}

/* ============================================
   JOGO DO BICHO PAGE - MOBILE FIRST
   ============================================ */
.jogo-bicho-main {
    margin-top: 16px;
}

.jogo-bicho-btn {
    width: 100%;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    min-height: 60px;
}

.jogo-bicho-btn:active {
    transform: scale(0.98);
}

.btn-heart {
    font-size: 24px;
}

.modalidades-list {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.modalidade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    min-height: 56px;
}

.modalidade-item:last-child {
    border-bottom: none;
}

.modalidade-item:active {
    background: var(--background);
}

.modalidade-item span:last-child {
    color: var(--text-secondary);
    font-size: 20px;
}

/* ============================================
   LOTERIAS PAGE - MOBILE FIRST
   ============================================ */
.loterias-section {
    margin-top: 16px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.loterias-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.loteria-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: all 0.3s;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.loteria-card:active {
    transform: scale(0.98);
}

.loteria-card.green {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
}

.loteria-card.purple {
    background: linear-gradient(135deg, var(--purple) 0%, #ba68c8 100%);
    color: var(--white);
}

.loteria-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.loteria-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.loteria-play-btn {
    background: var(--yellow);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    min-height: 44px;
}

.loteria-play-btn:active {
    transform: scale(0.98);
}

/* ============================================
   APOSTAS PAGE - MOBILE FIRST
   ============================================ */
.apostas-section {
    margin-top: 16px;
}

.apostas-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aposta-item {
    background: var(--white);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--primary-green);
}

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

.aposta-id {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 13px;
}

.aposta-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.aposta-status.pendente {
    background: #fff3cd;
    color: #856404;
}

.aposta-status.confirmada {
    background: #d4edda;
    color: #155724;
}

.aposta-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
}

.aposta-detail {
    color: var(--text-secondary);
}

.aposta-detail strong {
    color: var(--text-primary);
}

.aposta-valor {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-green);
    margin-top: 12px;
}

/* ============================================
   RESULTADOS PAGE - MOBILE FIRST
   ============================================ */
.resultados-content {
    padding: 16px;
    background: #fff;
    min-height: calc(100vh - 200px);
}

.btn-consultar-resultados {
    width: 100%;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 56px;
}

.btn-consultar-resultados:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.resultados-balance-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.refresh-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    color: var(--text-primary);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resultados-balance {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    text-align: center;
}

.toggle-balance-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    color: var(--text-primary);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resultados-dates-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.resultado-date-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background 0.2s ease;
    min-height: 56px;
}

.resultado-date-item:active {
    background: #f5f5f5;
}

.resultado-date-item:last-child {
    border-bottom: none;
}

.resultado-date-text {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.resultado-date-arrow {
    font-size: 18px;
    color: #999;
}

/* ============================================
   COTAÇÕES PAGE - MOBILE FIRST
   ============================================ */
.cotacoes-content {
    padding: 16px;
    background: #fff;
    min-height: calc(100vh - 200px);
}

.cotacoes-section {
    max-width: 100%;
    margin: 0 auto;
}

.cotacoes-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cotacao-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 16px 0 12px 0;
    text-transform: uppercase;
}

.cotacao-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.cotacao-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #f8f8f8;
    border-radius: 8px;
    transition: background 0.2s ease;
    min-height: 56px;
}

.cotacao-item:active {
    background: #f0f0f0;
}

.cotacao-name {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    flex: 1;
}

.cotacao-value {
    font-size: 14px;
    color: var(--primary-green);
    font-weight: 700;
    text-align: right;
}

.cotacao-divider {
    text-align: center;
    color: #999;
    font-size: 16px;
    margin: 12px 0;
    font-weight: 300;
}

/* ============================================
   MODAL FORM STYLES - MOBILE FIRST
   ============================================ */
.aposta-step {
    margin-bottom: 20px;
}

.aposta-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.sorteios-grid-modal,
.posicoes-grid-modal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.sorteio-card-modal,
.posicao-card-modal {
    background: var(--background);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sorteio-card-modal:active,
.posicao-card-modal:active {
    transform: scale(0.95);
}

.sorteio-card-modal.selected,
.posicao-card-modal.selected {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.grupos-grid-modal {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.grupo-card-modal {
    background: var(--background);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grupo-card-modal:active {
    transform: scale(0.95);
}

.grupo-card-modal.selected {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.grupo-numero {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.grupo-nome {
    font-size: 10px;
    font-weight: 500;
}

.palpite-input-modal {
    width: 100%;
    padding: 16px;
    font-size: 28px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 6px;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
    min-height: 60px;
}

.palpite-input-modal:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(27, 70, 34, 0.1);
}

.palpite-info-modal {
    margin-top: 12px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 12px;
}

.selecoes-info {
    text-align: center;
    font-weight: 600;
    color: var(--primary-green);
    margin-top: 12px;
    font-size: 13px;
}

.valor-input-modal {
    width: 100%;
    padding: 16px;
    font-size: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
    min-height: 56px;
}

.valor-input-modal:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(27, 70, 34, 0.1);
}

.quick-values-modal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.quick-value-btn-modal {
    padding: 12px;
    border: 2px solid var(--border-color);
    background: var(--background);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
    min-height: 48px;
}

.quick-value-btn-modal:active {
    transform: scale(0.95);
}

.resumo-modal {
    background: var(--background);
    border-radius: 12px;
    padding: 16px;
}

.resumo-item-modal {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.resumo-item-modal:last-child {
    border-bottom: none;
}

.resumo-item-modal.resumo-total-modal {
    border-top: 2px solid var(--primary-green);
    margin-top: 12px;
    padding-top: 12px;
    font-size: 18px;
    font-weight: 700;
}

.resumo-item-modal span:first-child {
    color: var(--text-secondary);
    font-weight: 500;
}

.resumo-item-modal span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

.resumo-total-modal span:last-child {
    color: var(--primary-green);
    font-size: 20px;
}

/* ============================================
   MODAL DE DEPÓSITO - MOBILE FIRST
   ============================================ */
.deposito-modal {
    max-width: 90%;
    border-radius: 20px;
    overflow: hidden;
}

.deposito-step {
    padding: 20px 0;
}

.deposito-step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: var(--text-primary);
}

.valor-deposito-input {
    width: 100%;
    padding: 20px;
    font-size: 28px;
    text-align: center;
    border: 3px solid var(--primary-green);
    border-radius: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    background: white;
    color: var(--primary-green);
}

.valor-deposito-input:focus {
    outline: none;
    border-color: var(--success-color);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
    transform: scale(1.02);
}

.quick-values-deposito {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.quick-value-deposito-btn {
    padding: 16px 8px;
    border: 3px solid var(--primary-green);
    background: white;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    color: var(--primary-green);
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
}

.quick-value-deposito-btn .bonus-badge {
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    white-space: nowrap;
    animation: pulseBadge 2s infinite;
}

.quick-value-deposito-btn.bonus-100 {
    border-color: #ff6b35;
}

.quick-value-deposito-btn.bonus-100 .bonus-badge {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    font-size: 12px;
    padding: 5px 10px;
}

@keyframes pulseBadge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.quick-value-deposito-btn:active,
.quick-value-deposito-btn.selected {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: white;
    border-color: var(--primary-green);
    transform: scale(0.95);
    box-shadow: 0 4px 15px rgba(27, 70, 34, 0.3);
}

.quick-value-deposito-btn.bonus-100.selected {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    border-color: #ff6b35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-deposito-confirmar {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
    min-height: 64px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(255, 107, 53, 0.7);
    }
}

.btn-deposito-confirmar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-deposito-confirmar:active::before {
    left: 100%;
}

.btn-deposito-confirmar:active {
    transform: scale(0.98);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.6);
}

.btn-deposito-confirmar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    animation: none;
}

/* ============================================
   MODAL DE PROMOÇÃO - MOBILE FIRST
   ============================================ */
.promocao-modal {
    max-width: 90%;
    border-radius: 24px;
    overflow: hidden;
    animation: slideDown 0.4s ease;
    box-shadow: 0 20px 60px rgba(27, 70, 34, 0.4);
}

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

.promocao-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(27, 70, 34, 0.3);
}

.promocao-header h2 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    flex: 1;
}

.promocao-header .close-modal-btn {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s;
}

.promocao-header .close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.promocao-body {
    padding: 32px 24px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.promocao-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.promocao-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 16px;
    line-height: 1.4;
}

.promocao-subtitle {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 28px;
    line-height: 1.6;
    font-weight: 500;
}

.promocao-subtitle strong {
    color: var(--success-color);
    font-size: 18px;
    font-weight: 700;
}

.promocao-bonus-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.bonus-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: white;
    padding: 20px 16px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(27, 70, 34, 0.3);
    transition: all 0.3s;
}

.bonus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(27, 70, 34, 0.4);
}

.bonus-card.bonus-100 {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
    box-shadow: 0 4px 15px rgba(45, 90, 58, 0.3);
}

.bonus-card-label {
    font-size: 11px;
    opacity: 0.95;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-card-value {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bonus-card-percent {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
    color: var(--yellow);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bonus-card-text {
    font-size: 10px;
    opacity: 0.95;
    margin-top: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-depositar-promocao {
    width: 100%;
    padding: 22px;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    border: none;
    border-radius: 16px;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(27, 70, 34, 0.5);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    animation: pulsePromoGreen 2s infinite;
    min-height: 70px;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulsePromoGreen {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(27, 70, 34, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 35px rgba(27, 70, 34, 0.8);
        transform: scale(1.02);
    }
}

.btn-depositar-promocao::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-depositar-promocao:hover::before {
    left: 100%;
}

.btn-depositar-promocao:hover {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
    box-shadow: 0 10px 40px rgba(27, 70, 34, 0.6);
}

.btn-depositar-promocao:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .promocao-modal {
        max-width: 95%;
    }
    
    .promocao-title {
        font-size: 20px;
    }
    
    .promocao-bonus-cards {
        gap: 10px;
    }
    
    .bonus-card {
        padding: 16px 12px;
    }
    
    .bonus-card-percent {
        font-size: 28px;
    }
}

/* ============================================
   NOTIFICAÇÕES DE DEPÓSITOS - MOBILE FIRST
   ============================================ */
.deposits-notifications {
    position: fixed;
    top: 70px;
    right: 12px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: calc(100% - 24px);
    width: 280px;
    pointer-events: none;
}

.deposit-notification {
    background: linear-gradient(135deg, rgba(27, 70, 34, 0.95) 0%, rgba(45, 90, 58, 0.95) 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.5s ease, fadeOut 0.5s ease 2.5s forwards;
    font-size: 13px;
    line-height: 1.4;
    border-left: 4px solid var(--success-color);
    backdrop-filter: blur(10px);
}

.deposit-notification strong {
    color: var(--yellow);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.deposit-notification .deposit-amount {
    color: var(--success-color);
    font-weight: 700;
    font-size: 15px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Responsivo - ajustar posição no mobile */
@media (max-width: 768px) {
    .deposits-notifications {
        top: 70px;
        right: 12px;
        max-width: calc(100% - 24px);
    }
}

/* ============================================
   BOTÃO COPIAR PIX - MOBILE FIRST
   ============================================ */
.pix-code-container {
    margin-bottom: 24px;
}

.pix-code-container label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-align: left;
}

.pix-code-box {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.pix-code-input {
    flex: 1;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    background: var(--background);
    color: var(--text-primary);
    word-break: break-all;
}

.pix-code-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(27, 70, 34, 0.1);
}

.copy-pix-btn-small {
    padding: 14px 16px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-pix-btn-small:hover {
    background: var(--secondary-green);
    transform: scale(1.05);
}

.copy-pix-btn-small:active {
    transform: scale(0.95);
}

.btn-copiar-pix-grande {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    border: none;
    border-radius: 16px;
    color: white;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(27, 70, 34, 0.5);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulseCopiarPix 2s infinite;
    min-height: 64px;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@keyframes pulseCopiarPix {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(27, 70, 34, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 30px rgba(27, 70, 34, 0.7);
        transform: scale(1.02);
    }
}

.btn-copiar-pix-grande::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-copiar-pix-grande:hover::before {
    left: 100%;
}

.btn-copiar-pix-grande:hover {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
    box-shadow: 0 8px 35px rgba(27, 70, 34, 0.7);
    transform: translateY(-2px);
}

.btn-copiar-pix-grande:active {
    transform: scale(0.98);
    animation: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

