/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d03f;
    --accent-gold-dark: #b8941a;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --border-gold: #d4af37;
    --shadow-gold: rgba(212, 175, 55, 0.3);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-dark);
    color: var(--text-white);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Padrão de fundo geométrico */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, rgba(212, 175, 55, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(212, 175, 55, 0.03) 87.5%, rgba(212, 175, 55, 0.03)),
        linear-gradient(150deg, rgba(212, 175, 55, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(212, 175, 55, 0.03) 87.5%, rgba(212, 175, 55, 0.03)),
        linear-gradient(30deg, rgba(212, 175, 55, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(212, 175, 55, 0.03) 87.5%, rgba(212, 175, 55, 0.03)),
        linear-gradient(150deg, rgba(212, 175, 55, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(212, 175, 55, 0.03) 87.5%, rgba(212, 175, 55, 0.03));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    z-index: 0;
    pointer-events: none;
}

/* Header */
.main-header {
    position: relative;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Garantir que não haja espaço entre header e banner */
.main-header + .main-banner {
    margin-top: 0;
    padding-top: 0;
}

/* Barra dourada decorativa - removida para banner colado ao header */

/* Menu Hambúrguer - Esquerda */
.menu-left {
    flex: 0 0 auto;
}

.hamburger-menu {
    background: transparent;
    border: 2px solid var(--border-gold);
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--shadow-gold);
}

.hamburger-menu:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 15px var(--shadow-gold);
    transform: scale(1.05);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Logo - Lado Esquerdo (próximo ao menu hambúrguer) */
.logo-center {
    flex: 0 0 auto;
    text-align: left;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-image {
    height: 45px;
    width: auto;
    max-width: 200px;
    min-width: 0;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    transition: all 0.3s ease;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
}

.logo-image:hover {
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
    transform: scale(1.05);
}

@media (hover: none) {
    .logo-image:hover {
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
        transform: scale(1);
    }
}

/* Botões Header - Direita */
.header-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Header - Usuário Autenticado */
.header-user-info {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.2rem;
}

.btn-depositar {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    background: linear-gradient(135deg, #32cd32 0%, #28a428 100%);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.3);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.btn-depositar:hover {
    background: linear-gradient(135deg, #28a428 0%, #228b22 100%);
    box-shadow: 0 6px 20px rgba(50, 205, 50, 0.5);
    transform: translateY(-2px);
}

.btn-depositar:active {
    transform: translateY(0);
}

.user-info-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-balance-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.user-balance-name {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
}

.user-balance-amount {
    font-size: 1.1rem;
    color: #32cd32;
    font-weight: 700;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(50, 205, 50, 0.5);
}

.user-profile-wrapper {
    position: relative;
    flex-shrink: 0;
}

.user-profile-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #32cd32;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(50, 205, 50, 0.3);
    position: relative;
    z-index: 1000;
}

.user-profile-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.user-profile-icon:hover {
    background: #28a428;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.5);
}

.user-profile-icon.active {
    background: #28a428;
}

/* Dropdown do Perfil */
.profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: linear-gradient(135deg, #2d1b4e 0%, #1a0d2e 100%);
    border: 2px solid #32cd32;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(50, 205, 50, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10001;
    overflow: hidden;
    padding: 0.5rem 0;
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.2rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    min-height: 48px;
}

.dropdown-item svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    flex-shrink: 0;
    stroke-width: 2;
}

.dropdown-item:hover {
    background: rgba(50, 205, 50, 0.15);
    color: #32cd32;
}

.dropdown-item:hover svg {
    stroke: #32cd32;
}

.dropdown-item-danger {
    color: #ff4444;
}

.dropdown-item-danger svg {
    stroke: #ff4444;
}

.dropdown-item-danger:hover {
    background: rgba(255, 68, 68, 0.15);
    color: #ff6666;
}

.dropdown-item-danger:hover svg {
    stroke: #ff6666;
}

.dropdown-divider {
    height: 1px;
    background: rgba(50, 205, 50, 0.3);
    margin: 0.5rem 0;
}

.btn-register,
.btn-login {
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--border-gold);
    background: transparent;
    color: var(--accent-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-register::before,
.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-register:hover::before,
.btn-login:hover::before {
    left: 0;
}

.btn-register:hover,
.btn-login:hover {
    color: var(--primary-dark);
    box-shadow: 0 0 20px var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-login {
    background: var(--gradient-gold);
    color: var(--primary-dark);
}

.btn-login::before {
    background: transparent;
}

.btn-login:hover {
    background: var(--accent-gold-light);
    color: var(--primary-dark);
}

/* Menu Lateral */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    transition: left 0.4s ease;
}

.sidebar-menu.active {
    left: 0;
}

.sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.sidebar-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    border-right: 3px solid var(--border-gold);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.8);
    padding: 2rem;
    overflow-y: auto;
}

.sidebar-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: 2px solid var(--border-gold);
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: rotate(90deg);
    box-shadow: 0 0 15px var(--shadow-gold);
}

.menu-list {
    list-style: none;
    margin-top: 4rem;
}

.menu-list li {
    margin-bottom: 1rem;
}

.menu-list a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.menu-list a:hover {
    border-left-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    padding-left: 2rem;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Conteúdo Principal */
.main-content {
    position: relative;
    z-index: 1;
    padding: 2rem 2rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Banner Principal */
.main-banner {
    text-align: center;
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 999;
    line-height: 0;
}

.banner-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    border: none;
    border-top: 2px solid var(--border-gold);
    border-bottom: 3px solid var(--border-gold);
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 5px 20px var(--shadow-gold);
    background-color: transparent;
    padding: 0;
    display: block;
    object-fit: cover;
    margin: 0;
    line-height: 0;
    font-size: 0;
}

/* Limitar altura do banner no desktop */
@media (min-width: 769px) {
    .banner-image {
        max-height: 150px;
        object-fit: cover;
        object-position: center;
    }
}

/* Barra de Jogos */
.games-bar {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ff6b35 100%);
    width: 100%;
    padding: 1rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3), 0 2px 10px rgba(255, 107, 53, 0.2);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    max-width: 100vw;
}

.games-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.games-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.3);
    letter-spacing: 4px;
    margin: 0;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    box-sizing: border-box;
}

/* Seção de Times */
.match-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin: 4rem 0;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-width: 0;
    max-width: 400px;
    box-sizing: border-box;
}

.team-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid var(--border-gold);
    background: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--shadow-gold), inset 0 0 30px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.team-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px var(--shadow-gold);
}

.team-logo img,
.team-logo svg {
    width: 80%;
    height: 80%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.team-logo svg {
    max-width: 100%;
    max-height: 100%;
}

/* Logo Santos */
.santos-logo {
    background: rgba(255, 255, 255, 0.05);
}

.team-logo img {
    max-width: 100%;
    max-height: 100%;
}

/* Logo Palmeiras */
.palmeiras-logo {
    background: rgba(0, 100, 55, 0.1);
}

.team-percentage {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-gold);
    text-shadow: 0 0 20px var(--shadow-gold);
    letter-spacing: 2px;
}

.team-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--border-gold);
    background: transparent;
    color: var(--accent-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    min-width: 220px;
}

.team-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    transition: left 0.3s ease;
    z-index: -1;
}

.team-button:hover::before {
    left: 0;
}

.team-button:hover {
    color: var(--primary-dark);
    box-shadow: 0 0 30px var(--shadow-gold);
    transform: translateY(-3px);
}

/* Controles de Aposta */
.bet-controls {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.bet-input-container {
    width: 100%;
    max-width: 100%;
    animation: slideDown 0.3s ease;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .bet-input-container {
        max-width: 280px;
    }
}

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

.bet-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid var(--border-gold);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px var(--shadow-gold);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.bet-input-wrapper .bet-label {
    margin-bottom: 0.2rem;
}

.bet-label {
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bet-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid var(--border-gold);
    border-radius: 4px;
    padding: 0.5rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.bet-input-group:focus-within {
    box-shadow: 0 0 15px var(--shadow-gold);
    border-color: var(--accent-gold-light);
}

.bet-currency {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0 0.3rem;
    user-select: none;
}

.bet-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem;
    outline: none;
    text-align: center;
    font-family: 'Inter', sans-serif;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.bet-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.bet-input::-webkit-outer-spin-button,
.bet-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.bet-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Informações de Retorno e Reembolso */
.bet-return-info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
    padding: 0.8rem;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.bet-return-item,
.bet-refund-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 4px;
    min-height: 36px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.bet-return-label,
.bet-refund-label {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bet-return-value {
    color: var(--accent-gold-light);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px var(--shadow-gold);
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.bet-refund-value {
    color: #4CAF50;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
    margin-left: 0.5rem;
}

/* Ajustes para mobile - campos de retorno mais compactos */
@media (max-width: 768px) {
    .bet-return-info {
        margin-top: 0.4rem;
        padding: 0.6rem 0.5rem;
        gap: 0.45rem;
    }

    .bet-return-item,
    .bet-refund-item {
        padding: 0.4rem 0.35rem;
        gap: 0.4rem;
        min-height: 32px;
    }

    .bet-return-label,
    .bet-refund-label {
        font-size: 0.72rem;
        line-height: 1.3;
    }

    .bet-return-value,
    .bet-refund-value {
        font-size: 0.88rem;
        letter-spacing: 0.3px;
    }
}

.bet-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.bet-confirm,
.bet-cancel {
    flex: 1;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid var(--border-gold);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
    min-height: 44px;
}

.bet-confirm {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}

.bet-confirm:hover {
    background: var(--accent-gold-light);
    box-shadow: 0 0 20px var(--shadow-gold);
    transform: translateY(-2px);
}

.bet-cancel {
    background: transparent;
    color: var(--accent-gold);
    border-color: var(--border-gold);
}

.bet-cancel:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 15px var(--shadow-gold);
    transform: translateY(-2px);
}

.bet-cancel:active,
.bet-confirm:active {
    transform: translateY(0);
}

/* Divisor X */
.match-divider {
    font-size: 5rem;
    font-weight: 900;
    color: var(--text-white);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    opacity: 0.3;
    margin: 0 1rem;
}

/* Banner de Reembolso */
.refund-banner {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin-top: 4rem;
    box-shadow: 0 5px 30px var(--shadow-gold);
    border-top: 3px solid var(--accent-gold-dark);
    border-bottom: 3px solid var(--accent-gold-dark);
    letter-spacing: 1px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 4rem);
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Responsividade - Tablet */
@media (max-width: 1024px) {
    .header-container {
        padding: 1rem 1.5rem;
        gap: 0.9rem;
    }

    .logo-center {
        margin-left: 0.9rem;
    }

    .logo-image {
        height: 40px;
        max-width: 180px;
    }

    .header-user-info {
        gap: 1rem;
    }

    .btn-depositar {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .user-balance-name {
        font-size: 0.8rem;
    }

    .user-balance-amount {
        font-size: 1rem;
    }

    .user-profile-icon {
        width: 36px;
        height: 36px;
    }

    .user-profile-icon svg {
        width: 20px;
        height: 20px;
    }

    .profile-dropdown {
        min-width: 180px;
        top: calc(100% + 8px);
    }

    .dropdown-item {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .dropdown-item svg {
        width: 18px;
        height: 18px;
    }

    .banner-image {
        max-width: 90%;
        border-width: 2.5px;
        padding: 0.45rem;
    }

    .games-bar {
        padding: 0.9rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .games-title {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    .match-section {
        gap: 3rem;
        padding: 2.5rem 1.5rem;
    }

    .team-logo {
        width: 180px;
        height: 180px;
    }

    .team-percentage {
        font-size: 2.5rem;
    }

    .match-divider {
        font-size: 4rem;
    }
}

/* Responsividade - Mobile Grande e Tablet Pequeno */
@media (max-width: 768px) {
    .header-container {
        padding: 0.8rem 1rem;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0.8rem;
    }

    .main-content {
        padding: 1rem 0 2rem;
    }

    .games-bar {
        padding: 0.8rem 1rem;
        margin-bottom: 1.5rem;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        border-top-width: 1.5px;
        border-bottom-width: 1.5px;
        box-shadow: 0 3px 15px rgba(255, 107, 53, 0.25), 0 2px 8px rgba(255, 107, 53, 0.15);
    }

    .games-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3), 0 0 8px rgba(255, 255, 255, 0.2);
    }

    .menu-left {
        flex: 0 0 auto;
    }

    .logo-center {
        flex: 0 0 auto;
        text-align: left;
        margin-left: 0;
    }

    .logo-image {
        height: 35px;
        max-width: 150px;
    }

    .header-actions {
        flex: 1 1 auto;
        justify-content: flex-end;
        gap: 0.5rem;
        min-width: 0;
    }

    .header-user-info {
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .btn-depositar {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        order: 1;
        flex: 0 0 auto;
    }

    .user-info-group {
        order: 2;
        flex: 0 0 auto;
        gap: 0.6rem;
    }

    .user-balance-info {
        flex: 0 0 auto;
    }

    .user-balance-name {
        font-size: 0.75rem;
    }

    .user-balance-amount {
        font-size: 0.95rem;
    }

    .user-profile-icon {
        width: 34px;
        height: 34px;
        order: 3;
    }

    .user-profile-icon svg {
        width: 18px;
        height: 18px;
    }

    .profile-dropdown {
        min-width: 170px;
        top: calc(100% + 8px);
        right: -10px;
    }

    .dropdown-item {
        padding: 0.75rem 0.9rem;
        font-size: 0.85rem;
        min-height: 42px;
    }

    .dropdown-item svg {
        width: 16px;
        height: 16px;
    }

    .btn-register,
    .btn-login {
        padding: 0.5rem 0.9rem;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .main-content {
        padding: 1rem 0 2rem;
    }

    .main-banner {
        margin: 0;
        padding: 0 1rem 1rem;
    }

    .banner-image {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-bottom-width: 2px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 3px 15px var(--shadow-gold);
    }

    .match-section {
        flex-direction: row;
        gap: 0.5rem;
        padding: 1.5rem 0.5rem;
        margin: 2rem 0;
        flex-wrap: nowrap;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .team-container {
        flex: 1;
        min-width: 0;
        max-width: 100%;
        width: 100%;
        gap: 0.6rem;
        box-sizing: border-box;
        overflow: hidden;
        padding: 0 0.2rem;
    }

    .team-logo {
        width: 90px;
        height: 90px;
        border-width: 3px;
    }

    .team-logo svg {
        width: 100%;
        height: 100%;
    }

    .team-percentage {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
    }

    .match-divider {
        font-size: 1.5rem;
        margin: 0 0.3rem;
        transform: rotate(0deg);
        opacity: 0.3;
        flex-shrink: 0;
    }

    .team-button {
        width: 100%;
        max-width: none;
        min-width: auto;
        padding: 0.65rem 0.4rem;
        font-size: 0.7rem;
        letter-spacing: 0.2px;
        line-height: 1.3;
        min-height: 44px;
    }

    .bet-input-wrapper {
        padding: 0.7rem 0.6rem;
        gap: 0.5rem;
    }

    .bet-label {
        font-size: 0.75rem;
        margin-bottom: 0.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .bet-input-group {
        padding: 0.35rem 0.3rem;
        gap: 0.3rem;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .bet-input {
        font-size: 0.9rem;
        padding: 0.35rem 0.2rem;
        min-width: 0;
        max-width: 100%;
    }

    .bet-currency {
        font-size: 0.9rem;
        padding: 0 0.2rem;
        flex-shrink: 0;
    }

    .bet-confirm,
    .bet-cancel {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
        min-height: 40px;
    }

    .bet-return-info {
        padding: 0.5rem 0.4rem;
        gap: 0.35rem;
        margin-top: 0.3rem;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .bet-return-item,
    .bet-refund-item {
        padding: 0.35rem 0.25rem;
        gap: 0.25rem;
        min-height: 28px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .bet-return-label,
    .bet-refund-label {
        font-size: 0.65rem;
        flex: 1;
        min-width: 0;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: calc(100% - 70px);
    }

    .bet-return-value,
    .bet-refund-value {
        font-size: 0.72rem;
        flex-shrink: 0;
        margin-left: 0.2rem;
        white-space: nowrap;
        max-width: 65px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .refund-banner {
        font-size: 0.9rem;
        padding: 1rem 1.5rem;
        margin-top: 3rem;
        line-height: 1.5;
        letter-spacing: 0.5px;
    }

    .sidebar-content {
        width: 100%;
        max-width: 100%;
    }

    .sidebar-close {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }

    .menu-list {
        margin-top: 3rem;
    }

    .menu-list a {
        font-size: 1rem;
        padding: 0.9rem 1.2rem;
    }
}

/* Responsividade - Mobile Pequeno */
@media (max-width: 480px) {
    .header-container {
        padding: 0.7rem 0.8rem;
        gap: 0.6rem;
        justify-content: flex-start;
    }

    .main-content {
        padding: 0.8rem 0 1.5rem;
    }

    .games-bar {
        padding: 0.7rem 0.8rem;
        margin-bottom: 1.2rem;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        border-top-width: 1.5px;
        border-bottom-width: 1.5px;
        box-shadow: 0 2px 12px rgba(255, 107, 53, 0.25), 0 1px 6px rgba(255, 107, 53, 0.15);
    }

    .games-title {
        font-size: 1.3rem;
        letter-spacing: 1.5px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 6px rgba(255, 255, 255, 0.2);
        line-height: 1.2;
    }

    .logo-center {
        flex: 0 0 auto;
        text-align: left;
        margin-left: 0;
    }

    .logo-image {
        height: 32px;
        max-width: 130px;
    }

    .header-actions {
        flex: 1 1 auto;
        justify-content: flex-end;
        min-width: 0;
    }

    .header-user-info {
        gap: 0.6rem;
        flex-wrap: wrap;
    }

    .btn-depositar {
        padding: 0.55rem 0.9rem;
        font-size: 0.75rem;
        order: 1;
        width: auto;
    }

    .user-info-group {
        order: 2;
        gap: 0.5rem;
    }

    .user-balance-info {
        min-width: 0;
    }

    .user-balance-name {
        font-size: 0.7rem;
    }

    .user-balance-amount {
        font-size: 0.9rem;
    }

    .user-profile-icon {
        width: 32px;
        height: 32px;
        order: 3;
    }

    .user-profile-icon svg {
        width: 16px;
        height: 16px;
    }

    .profile-dropdown {
        min-width: 160px;
        top: calc(100% + 6px);
        right: -15px;
    }

    .dropdown-item {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
        min-height: 40px;
    }

    .dropdown-item svg {
        width: 16px;
        height: 16px;
    }

    .btn-register,
    .btn-login {
        padding: 0.45rem 0.7rem;
        font-size: 0.7rem;
        letter-spacing: 0.3px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hamburger-menu {
        padding: 0.5rem 0.7rem;
    }

    .hamburger-menu span {
        width: 22px;
        height: 2px;
    }

    .main-content {
        padding: 0.8rem 0 1.5rem;
    }

    .main-banner {
        margin: 0;
        padding: 0 0.8rem 1rem;
    }

    .banner-image {
        max-width: 100%;
        border-bottom-width: 2px;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5), 0 2px 10px var(--shadow-gold);
    }

    .match-section {
        gap: 0.4rem;
        padding: 1.2rem 0.4rem;
        margin: 1.5rem 0;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .team-container {
        flex: 1;
        min-width: 0;
        max-width: 100%;
        width: 100%;
        gap: 0.5rem;
        box-sizing: border-box;
        overflow: hidden;
        padding: 0 0.15rem;
    }

    .team-logo {
        width: 80px;
        height: 80px;
        border-width: 2.5px;
    }

    .team-logo svg {
        width: 100%;
        height: 100%;
    }

    .team-percentage {
        font-size: 1.2rem;
        letter-spacing: 0.3px;
    }

    .match-divider {
        font-size: 1.3rem;
        margin: 0 0.2rem;
        transform: rotate(0deg);
        opacity: 0.25;
        flex-shrink: 0;
    }

    .team-button {
        width: 100%;
        max-width: none;
        padding: 0.6rem 0.35rem;
        font-size: 0.65rem;
        letter-spacing: 0.15px;
        line-height: 1.25;
        min-height: 42px;
    }

    .bet-input-wrapper {
        padding: 0.6rem 0.5rem;
        gap: 0.4rem;
    }

    .bet-label {
        font-size: 0.7rem;
        margin-bottom: 0.1rem;
        letter-spacing: 0.3px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.2;
    }

    .bet-input-group {
        padding: 0.3rem 0.25rem;
        gap: 0.25rem;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .bet-input {
        font-size: 0.85rem;
        padding: 0.3rem 0.15rem;
        min-width: 0;
        max-width: 100%;
    }

    .bet-currency {
        font-size: 0.85rem;
        padding: 0 0.15rem;
        flex-shrink: 0;
    }

    .bet-confirm,
    .bet-cancel {
        padding: 0.55rem 0.6rem;
        font-size: 0.7rem;
        min-height: 38px;
    }

    .bet-return-info {
        padding: 0.5rem;
        gap: 0.4rem;
        margin-top: 0.3rem;
        width: 100%;
    }

    .bet-return-item,
    .bet-refund-item {
        padding: 0.35rem 0.25rem;
        gap: 0.25rem;
        min-height: 30px;
        flex-direction: column;
        align-items: flex-start;
    }

    .bet-return-label,
    .bet-refund-label {
        font-size: 0.65rem;
        width: 100%;
        line-height: 1.2;
    }

    .bet-return-value,
    .bet-refund-value {
        font-size: 0.8rem;
        width: 100%;
        text-align: left;
        margin-top: 0.1rem;
    }

    .refund-banner {
        font-size: 0.8rem;
        padding: 0.9rem 1.2rem;
        margin-top: 2.5rem;
        line-height: 1.6;
        letter-spacing: 0.3px;
        width: calc(100% - 2rem);
        margin-left: auto;
        margin-right: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .sidebar-content {
        padding: 1.5rem;
    }

    .sidebar-close {
        width: 32px;
        height: 32px;
        font-size: 1.4rem;
        top: 0.8rem;
        right: 0.8rem;
    }

    .menu-list {
        margin-top: 2.5rem;
    }

    .menu-list a {
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
    }
}

/* Responsividade - Mobile Muito Pequeno */
@media (max-width: 360px) {
    .header-container {
        padding: 0.6rem 0.6rem;
        gap: 0.5rem;
        justify-content: flex-start;
    }

    .main-content {
        padding: 0.6rem 0 1.2rem;
    }

    .games-bar {
        padding: 0.6rem 0.6rem;
        margin-bottom: 1rem;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        border-top-width: 1px;
        border-bottom-width: 1px;
        box-shadow: 0 2px 10px rgba(255, 107, 53, 0.25), 0 1px 5px rgba(255, 107, 53, 0.15);
    }

    .games-title {
        font-size: 1.1rem;
        letter-spacing: 1px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 5px rgba(255, 255, 255, 0.2);
        line-height: 1.3;
    }

    .logo-center {
        flex: 0 0 auto;
        text-align: left;
        margin-left: 0;
    }

    .logo-image {
        height: 28px;
        max-width: 110px;
    }

    .header-actions {
        flex: 1 1 auto;
        justify-content: flex-end;
        min-width: 0;
        gap: 0.4rem;
    }

    .header-user-info {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .btn-depositar {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
        order: 1;
        width: auto;
    }

    .user-info-group {
        order: 2;
        gap: 0.4rem;
    }

    .user-balance-info {
        min-width: 0;
    }

    .user-balance-name {
        font-size: 0.65rem;
    }

    .user-balance-amount {
        font-size: 0.85rem;
    }

    .user-profile-icon {
        width: 30px;
        height: 30px;
        order: 3;
    }

    .user-profile-icon svg {
        width: 14px;
        height: 14px;
    }

    .profile-dropdown {
        min-width: 150px;
        top: calc(100% + 5px);
        right: -20px;
        border-radius: 8px;
    }

    .dropdown-item {
        padding: 0.65rem 0.75rem;
        font-size: 0.75rem;
        gap: 0.6rem;
        min-height: 38px;
    }

    .dropdown-item svg {
        width: 14px;
        height: 14px;
    }

    .btn-register,
    .btn-login {
        padding: 0.4rem 0.6rem;
        font-size: 0.65rem;
        letter-spacing: 0.2px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .banner-image {
        max-width: 100%;
        border-bottom-width: 2px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), 0 2px 8px var(--shadow-gold);
    }

    .match-section {
        gap: 0.3rem;
        padding: 1rem 0.3rem;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .team-container {
        flex: 1;
        min-width: 0;
        max-width: 100%;
        width: 100%;
        gap: 0.4rem;
        box-sizing: border-box;
        overflow: hidden;
        padding: 0 0.1rem;
    }

    .team-logo {
        width: 70px;
        height: 70px;
        border-width: 2px;
    }

    .team-logo svg {
        width: 100%;
        height: 100%;
    }

    .team-percentage {
        font-size: 1.1rem;
        letter-spacing: 0.2px;
    }

    .team-button {
        max-width: none;
        padding: 0.55rem 0.3rem;
        font-size: 0.6rem;
        letter-spacing: 0.1px;
        line-height: 1.2;
        min-height: 40px;
    }

    .bet-input-wrapper {
        padding: 0.55rem 0.45rem;
        gap: 0.35rem;
    }

    .bet-label {
        font-size: 0.65rem;
        margin-bottom: 0.1rem;
        letter-spacing: 0.2px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.2;
    }

    .bet-input-group {
        padding: 0.25rem 0.2rem;
        gap: 0.2rem;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .bet-input {
        font-size: 0.8rem;
        padding: 0.25rem 0.1rem;
        min-width: 0;
        max-width: 100%;
    }

    .bet-currency {
        font-size: 0.8rem;
        padding: 0 0.1rem;
        flex-shrink: 0;
    }

    .bet-confirm,
    .bet-cancel {
        padding: 0.5rem 0.5rem;
        font-size: 0.65rem;
        min-height: 36px;
        letter-spacing: 0.3px;
    }

    .bet-return-info {
        padding: 0.4rem 0.3rem;
        gap: 0.3rem;
        margin-top: 0.25rem;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .bet-return-item,
    .bet-refund-item {
        padding: 0.3rem 0.2rem;
        gap: 0.2rem;
        min-height: 26px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .bet-return-label,
    .bet-refund-label {
        font-size: 0.6rem;
        flex: 1;
        min-width: 0;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        letter-spacing: 0.15px;
        max-width: calc(100% - 70px);
    }

    .bet-return-value,
    .bet-refund-value {
        font-size: 0.7rem;
        flex-shrink: 0;
        margin-left: 0.15rem;
        white-space: nowrap;
        letter-spacing: 0.2px;
        max-width: 65px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Em telas muito pequenas (menor que 360px), empilhar verticalmente */
    @media (max-width: 360px) {
        .bet-return-item,
        .bet-refund-item {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.15rem;
            padding: 0.28rem 0.2rem;
            min-height: auto;
            width: 100%;
            max-width: 100%;
        }

        .bet-return-label,
        .bet-refund-label {
            width: 100%;
            font-size: 0.58rem;
            margin-bottom: 0.05rem;
            white-space: normal;
            overflow: visible;
            text-overflow: clip;
            max-width: 100%;
        }

        .bet-return-value,
        .bet-refund-value {
            width: 100%;
            text-align: left;
            font-size: 0.68rem;
            margin-left: 0;
            margin-top: 0.05rem;
            max-width: 100%;
            overflow: visible;
            text-overflow: clip;
        }
    }

.refund-banner {
    font-size: 0.75rem;
    padding: 0.8rem 1rem;
    width: calc(100% - 1.6rem);
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.no-matches-message {
    text-align: center;
    padding: 3rem 1rem;
    color: #ffffff;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin: 2rem auto;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-matches-message p {
    margin: 0;
}

@media (max-width: 768px) {
    .no-matches-message {
        padding: 2rem 1rem;
        font-size: 1rem;
        margin: 1.5rem 1rem;
    }
}

    .match-divider {
        font-size: 1.1rem;
        margin: 0 0.15rem;
        opacity: 0.2;
        flex-shrink: 0;
    }
}

/* Ajustes para orientação landscape no mobile */
@media (max-width: 768px) and (orientation: landscape) and (min-height: 400px) {
    .games-bar {
        padding: 0.6rem 1rem;
        margin-bottom: 1rem;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        border-top-width: 1.5px;
        border-bottom-width: 1.5px;
    }

    .games-title {
        font-size: 1.3rem;
        letter-spacing: 2px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3), 0 0 8px rgba(255, 255, 255, 0.2);
    }

    .match-section {
        gap: 1rem;
        padding: 1.5rem;
    }

    .match-divider {
        transform: rotate(0deg);
        font-size: 1.8rem;
        opacity: 0.3;
    }

    .team-logo {
        width: 100px;
        height: 100px;
    }

    .team-logo svg {
        width: 100%;
        height: 100%;
    }

    .team-percentage {
        font-size: 1.6rem;
    }

    .team-button {
        padding: 0.7rem 1rem;
        font-size: 0.75rem;
    }

    .banner-image {
        max-width: 100%;
        border-width: 2px;
        padding: 0.4rem;
    }

    .main-banner {
        margin: 1.5rem 0 2rem;
    }

    .refund-banner {
        margin-top: 2rem;
        font-size: 0.85rem;
        padding: 0.9rem 1.2rem;
    }
}

/* Ajustes para touch em mobile */
@media (max-width: 768px) {
    .hamburger-menu,
    .btn-register,
    .btn-login,
    .team-button,
    .sidebar-close {
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
    }

    /* Melhorar área de toque */
    .hamburger-menu {
        min-width: 44px;
        min-height: 44px;
    }

    .btn-register,
    .btn-login {
        min-height: 44px;
    }
}

/* Prevenir zoom em inputs no iOS */
@media (max-width: 768px) {
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Melhorar scroll no mobile */
@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
    }

    .main-content {
        min-height: calc(100vh - 80px);
        padding-top: 0;
    }

    .main-banner {
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0.8rem;
    }

    /* Melhorar imagem do banner */
    .banner-image {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: 0;
        border-top-width: 2px;
        border-bottom-width: 2px;
    }

    .match-section {
        padding: 2rem 1rem;
    }

    .refund-banner {
        width: calc(100% - 2rem);
        margin-left: auto;
        margin-right: auto;
    }

    .refund-banner {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Garantir que botões não quebrem */
    .btn-register,
    .btn-login {
        white-space: nowrap;
    }

    .team-button {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* Melhorar performance no mobile */
@media (max-width: 768px) {
    /* Reduzir animações para melhor performance */
    .team-logo::before {
        animation-duration: 15s;
    }

    /* Otimizar transições */
    * {
        transition-timing-function: ease-out;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-container {
    animation: fadeIn 0.6s ease forwards;
}

.team-container:nth-child(1) {
    animation-delay: 0.2s;
}

.team-container:nth-child(3) {
    animation-delay: 0.4s;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-light);
}

/* Modal de Cadastro */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

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

.modal-container {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
    border: 2px solid var(--border-gold);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--shadow-gold);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
    animation: modalFadeIn 0.3s ease;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--border-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    box-shadow: 0 0 10px var(--shadow-gold);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px var(--shadow-gold);
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}

.modal-close {
    background: transparent;
    border: 2px solid var(--border-gold);
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    position: relative;
    z-index: 1;
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
    touch-action: manipulation;
    flex-shrink: 0;
}

.modal-close:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: rotate(90deg);
    box-shadow: 0 0 15px var(--shadow-gold);
}

.modal-body {
    padding: 0;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
}

/* Banner Promocional do Cadastro */
.register-banner {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    display: block;
    line-height: 0;
    font-size: 0;
}

.register-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border: none;
}

/* Banner Promocional do Login */
.login-banner {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    display: block;
    line-height: 0;
    font-size: 0;
}

.login-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border: none;
}

/* Formulário de Login */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem 2rem 2rem;
    background: #ffffff;
}

.login-welcome {
    margin-bottom: 0.5rem;
}

.welcome-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
    margin: 0;
    text-align: left;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: -0.5rem;
    flex-wrap: wrap;
}

.login-options .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    flex: 1;
    min-width: 0;
    padding: 0.2rem 0;
    min-height: 44px;
}

.login-options .checkbox-text {
    font-size: 0.9rem;
    color: #333333;
    white-space: nowrap;
    user-select: none;
    line-height: 1.4;
}

.login-options .checkbox-input {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #ff0000;
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0.1);
    touch-action: manipulation;
}

.forgot-password-link {
    color: #ff0000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    white-space: nowrap;
    padding: 0.3rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.forgot-password-link:hover {
    color: #cc0000;
    text-decoration: underline;
}

.btn-login-submit {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #ff0000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background: #ff0000;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0.2);
}

.btn-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 0, 0, 0.5);
    background: #cc0000;
    border-color: #cc0000;
}

.btn-login-submit:active {
    transform: translateY(0);
}

.login-footer {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.login-footer-text {
    font-size: 0.9rem;
    color: #666666;
    margin: 0;
    line-height: 1.6;
    padding: 0 0.5rem;
}

.register-link {
    color: #ff0000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0;
    min-height: 44px;
    justify-content: center;
}

.register-link:hover {
    color: #cc0000;
    text-decoration: underline;
}

.register-link::after {
    content: '→';
    font-size: 1rem;
    transition: transform 0.3s ease;
    margin-left: 0.2rem;
}

.register-link:hover::after {
    transform: translateX(3px);
}

/* Formulário de Cadastro */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem 2rem 2rem;
    background: #ffffff;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333333;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
    min-height: 48px;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0.1);
}

.form-input::placeholder {
    color: #999999;
}

.form-input:focus {
    border-color: #ff0000;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

.form-input:invalid:not(:placeholder-shown) {
    border-color: #ff6b6b;
}

/* Grupo de telefone */
.phone-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.phone-code {
    padding: 1rem 0.8rem;
    background: #f5f5f5;
    color: #666666;
    font-weight: 600;
    font-size: 1rem;
    border-right: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.phone-input {
    flex: 1;
    border: none;
    padding: 1rem 1.2rem;
    background: transparent;
}

.phone-input-group:focus-within {
    border-color: #ff0000;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

/* Grupo de senha */
.password-input-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.password-input {
    flex: 1;
    border: none;
    padding: 1rem 1.2rem;
    background: transparent;
}

.password-toggle {
    background: transparent;
    border: none;
    padding: 1rem 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    transition: color 0.3s ease;
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0.1);
    touch-action: manipulation;
}

.password-toggle:hover {
    color: #ff0000;
}

.eye-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.password-input-group:focus-within {
    border-color: #ff0000;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

.form-error {
    font-size: 0.85rem;
    color: #ff6b6b;
    margin-top: 0.25rem;
    min-height: 1.2rem;
    display: block;
    padding-left: 0.5rem;
}

/* Checkbox de termos */
.form-checkbox-group {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-checkbox-group .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #333333;
    padding: 0.3rem 0;
    min-height: 44px;
    align-items: center;
}

.form-checkbox-group .checkbox-input {
    width: 20px;
    height: 20px;
    margin-top: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #ff0000;
    min-width: 20px;
    min-height: 20px;
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0.1);
    touch-action: manipulation;
}

.form-checkbox-group .checkbox-text {
    flex: 1;
    line-height: 1.4;
}

.link-termos {
    color: #ff0000;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-termos:hover {
    color: #cc0000;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.btn-submit,
.btn-cancel {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--border-gold);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.btn-submit {
    background: #ff0000;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    border-color: #ff0000;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 0, 0, 0.5);
    background: #cc0000;
    border-color: #cc0000;
}

.btn-submit:active {
    transform: translateY(0);
}

/* Responsividade - Modal */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 2rem;
    }

    .modal-container {
        max-width: 95%;
        margin: 0 auto;
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-header {
        padding: 1rem 1.2rem;
        position: sticky;
        top: 0;
        z-index: 10;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
        border-radius: 8px 8px 0 0;
    }

    .modal-title {
        font-size: 1.4rem;
        letter-spacing: 1.5px;
    }

    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.9rem;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .register-banner,
    .login-banner {
        border-radius: 8px 8px 0 0;
    }

    .register-form,
    .login-form {
        padding: 1.2rem 1.3rem 1.5rem;
        gap: 1.1rem;
    }

    .welcome-title {
        font-size: 1.15rem;
    }

    .login-options {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.8rem;
        margin-top: -0.3rem;
        flex-wrap: wrap;
    }

    .login-options .checkbox-label {
        flex: 0 0 auto;
        min-width: auto;
        gap: 0.5rem;
    }

    .login-options .checkbox-text {
        font-size: 0.88rem;
    }

    .login-options .checkbox-input {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
    }

    .forgot-password-link {
        align-self: center;
        font-size: 0.88rem;
        padding: 0.5rem 0;
    }

    .form-input {
        padding: 0.95rem 1.1rem;
        font-size: 0.98rem;
        min-height: 48px;
    }

    .password-toggle {
        padding: 0.95rem 1.1rem;
        min-width: 48px;
        min-height: 48px;
    }

    .form-actions {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 0.5rem;
    }

    .btn-submit,
    .btn-login-submit {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.98rem;
        min-height: 50px;
    }

    .login-footer {
        margin-top: 0.8rem;
        padding-top: 1.2rem;
    }

    .login-footer-text {
        font-size: 0.88rem;
        line-height: 1.7;
    }

    .register-link {
        font-size: 0.88rem;
        padding: 0.3rem 0;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 0;
        padding-top: 0.5rem;
        align-items: flex-start;
    }

    .modal-container {
        max-width: 100%;
        margin: 0 auto;
        max-height: calc(100vh - 1rem);
        border-radius: 12px 12px 0 0;
        border-left: none;
        border-right: none;
        border-top: 2px solid var(--border-gold);
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--shadow-gold);
    }

    .modal-header {
        padding: 0.9rem 1rem;
        position: sticky;
        top: 0;
        z-index: 10;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
    }

    .modal-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .modal-close {
        width: 38px;
        height: 38px;
        font-size: 1.8rem;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .register-banner,
    .login-banner {
        border-radius: 12px 12px 0 0;
    }

    .register-form,
    .login-form {
        padding: 1rem 1.1rem 1.2rem;
        gap: 1rem;
    }

    .welcome-title {
        font-size: 1.05rem;
        margin-bottom: 0.3rem;
    }

    .login-options {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.6rem;
        margin-top: -0.2rem;
        padding: 0.3rem 0;
    }

    .login-options .checkbox-label {
        flex: 1;
        min-width: 0;
        gap: 0.5rem;
    }

    .login-options .checkbox-text {
        font-size: 0.85rem;
        white-space: normal;
        line-height: 1.3;
    }

    .login-options .checkbox-input {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
        flex-shrink: 0;
    }

    .forgot-password-link {
        align-self: center;
        font-size: 0.83rem;
        padding: 0.4rem 0;
        white-space: nowrap;
        text-align: right;
    }

    .form-input {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
        min-height: 46px;
    }

    .phone-code {
        padding: 0.9rem 0.7rem;
        font-size: 0.95rem;
        min-height: 46px;
    }

    .phone-input {
        padding: 0.9rem 1rem;
        min-height: 46px;
    }

    .password-input {
        padding: 0.9rem 1rem;
        min-height: 46px;
    }

    .password-toggle {
        padding: 0.9rem 1rem;
        min-width: 46px;
        min-height: 46px;
    }

    .form-actions {
        margin-top: 0.5rem;
        padding-top: 1rem;
    }

    .btn-submit,
    .btn-login-submit {
        padding: 0.95rem 1.2rem;
        font-size: 0.95rem;
        min-height: 48px;
        letter-spacing: 0.8px;
    }

    .login-footer {
        margin-top: 0.7rem;
        padding-top: 1rem;
    }

    .login-footer-text {
        font-size: 0.85rem;
        line-height: 1.6;
        padding: 0;
    }

    .register-link {
        font-size: 0.85rem;
        padding: 0.2rem 0;
    }

    .form-error {
        font-size: 0.8rem;
        padding-left: 0.4rem;
    }
}

@media (max-width: 360px) {
    .modal-overlay {
        padding: 0;
        align-items: flex-start;
    }

    .modal-container {
        max-width: 100%;
        border-radius: 0;
        max-height: 100vh;
        margin: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        border-bottom: none;
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.8);
    }

    .modal-header {
        padding: 0.8rem 0.9rem;
        border-radius: 0;
        position: sticky;
        top: 0;
        z-index: 10;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
    }

    .modal-title {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }

    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.7rem;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .register-banner,
    .login-banner {
        border-radius: 0;
    }

    .register-form,
    .login-form {
        padding: 0.9rem 0.95rem 1rem;
        gap: 0.9rem;
    }

    .welcome-title {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .login-options {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        margin-top: -0.1rem;
        padding: 0.2rem 0;
        flex-wrap: wrap;
    }

    .login-options .checkbox-label {
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.5rem;
    }

    .login-options .checkbox-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .login-options .checkbox-input {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
    }

    .forgot-password-link {
        align-self: center;
        font-size: 0.78rem;
        padding: 0.3rem 0;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .form-input {
        padding: 0.85rem 0.9rem;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .phone-code {
        padding: 0.85rem 0.6rem;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .phone-input {
        padding: 0.85rem 0.9rem;
        min-height: 44px;
    }

    .password-input {
        padding: 0.85rem 0.9rem;
        min-height: 44px;
    }

    .password-toggle {
        padding: 0.85rem 0.9rem;
        min-width: 44px;
        min-height: 44px;
    }

    .form-actions {
        margin-top: 0.4rem;
        padding-top: 0.9rem;
    }

    .btn-submit,
    .btn-login-submit {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
        min-height: 46px;
        letter-spacing: 0.5px;
    }

    .login-footer {
        margin-top: 0.6rem;
        padding-top: 0.9rem;
    }

    .login-footer-text {
        font-size: 0.8rem;
        line-height: 1.6;
        padding: 0;
    }

    .register-link {
        font-size: 0.8rem;
        padding: 0.2rem 0;
        gap: 0.2rem;
    }

    .register-link::after {
        font-size: 0.9rem;
    }

    .form-error {
        font-size: 0.75rem;
        padding-left: 0.3rem;
        min-height: 1rem;
    }
}

/* ============================================
   MODAL DE DEPÓSITO
   ============================================ */

/* Modal de Depósito - Overlay */
.deposit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.deposit-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Modal de Depósito - Container */
.deposit-modal-container {
    background: linear-gradient(135deg, #2d1b4e 0%, #1a0d2e 100%);
    border: 2px solid #32cd32;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(-20px);
    transition: transform 0.3s ease;
}

.deposit-modal.active .deposit-modal-container {
    transform: scale(1) translateY(0);
    animation: modalFadeIn 0.3s ease;
}

/* Header do Depósito */
.deposit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #2d1b4e 0%, #1a0d2e 100%);
    border-bottom: 2px solid #32cd32;
    position: sticky;
    top: 0;
    z-index: 100;
}

.deposit-back-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    border-radius: 50%;
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(50, 205, 50, 0.2);
}

.deposit-back-btn svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
}

.deposit-back-btn:hover {
    background: rgba(50, 205, 50, 0.2);
    transform: scale(1.1);
}

.deposit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-align: center;
    flex: 1;
    letter-spacing: 1px;
}

.deposit-header-spacer {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

/* Conteúdo do Depósito */
.deposit-content {
    flex: 1;
    padding: 1.5rem;
    background: linear-gradient(135deg, #2d1b4e 0%, #1a0d2e 100%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Modal de Saque - Mesmos estilos do Depósito */
.withdraw-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 0;
}

.withdraw-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Modal de Saque - Container */
.withdraw-modal-container {
    background: linear-gradient(135deg, #2d1b4e 0%, #1a0d2e 100%);
    border: 2px solid #32cd32;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
    -webkit-overflow-scrolling: touch;
}

.withdraw-modal.active .withdraw-modal-container {
    transform: scale(1) translateY(0);
    animation: modalFadeIn 0.3s ease;
}

/* Header do Saque - Mesmos estilos do Depósito */
.withdraw-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #2d1b4e 0%, #1a0d2e 100%);
    border-bottom: 2px solid #32cd32;
    position: sticky;
    top: 0;
    z-index: 100;
}

.withdraw-back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(50, 205, 50, 0.3);
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.withdraw-back-btn:hover {
    background: rgba(50, 205, 50, 0.2);
    border-color: #32cd32;
    transform: scale(1.05);
}

.withdraw-back-btn:active {
    transform: scale(0.95);
}

.withdraw-back-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.withdraw-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    font-family: 'Inter', sans-serif;
    flex: 1;
    text-align: center;
    letter-spacing: 1px;
}

.withdraw-header-spacer {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

/* Conteúdo do Saque - Mesmos estilos do Depósito */
.withdraw-content {
    flex: 1;
    padding: 1.5rem;
    background: linear-gradient(135deg, #2d1b4e 0%, #1a0d2e 100%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Banner de Saldo */
.withdraw-balance-banner {
    background: rgba(147, 51, 234, 0.25);
    border: 1px solid rgba(147, 51, 234, 0.4);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.withdraw-balance-text {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

/* Aviso de Segurança */
.withdraw-security-notice {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 0 0 1.75rem 0;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

/* Formulário de Saque */
.withdraw-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.withdraw-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.withdraw-label {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.withdraw-select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(50, 205, 50, 0.4);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 3rem;
    transition: all 0.2s ease;
    min-height: 48px;
    box-sizing: border-box;
}

.withdraw-select:hover {
    border-color: rgba(50, 205, 50, 0.6);
    background-color: rgba(255, 255, 255, 0.12);
}

.withdraw-select:focus {
    border-color: #32cd32;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(50, 205, 50, 0.1);
}

.withdraw-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(50, 205, 50, 0.4);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
    min-height: 48px;
}

.withdraw-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.withdraw-input:hover {
    border-color: rgba(50, 205, 50, 0.6);
    background-color: rgba(255, 255, 255, 0.12);
}

.withdraw-input:focus {
    border-color: #32cd32;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(50, 205, 50, 0.1);
}

.withdraw-amount-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.withdraw-currency {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.withdraw-amount-input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(50, 205, 50, 0.4);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    outline: none;
    text-align: right;
    transition: all 0.2s ease;
    min-height: 48px;
    box-sizing: border-box;
}

.withdraw-amount-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.withdraw-amount-input:hover {
    border-color: rgba(50, 205, 50, 0.6);
    background-color: rgba(255, 255, 255, 0.12);
}

.withdraw-amount-input:focus {
    border-color: #32cd32;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(50, 205, 50, 0.1);
}

.withdraw-limits {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffa500;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    margin-top: 0.5rem;
}

.withdraw-limits-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: #ffa500;
}

.withdraw-quick-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.withdraw-quick-values .quick-value-btn {
    padding: 0.85rem 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(50, 205, 50, 0.4);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    text-align: center;
    min-height: 48px;
}

.withdraw-quick-values .quick-value-btn:hover {
    background: rgba(50, 205, 50, 0.25);
    border-color: #32cd32;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(50, 205, 50, 0.2);
}

.withdraw-quick-values .quick-value-btn:active {
    transform: translateY(0);
}

.withdraw-error {
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
    font-family: 'Inter', sans-serif;
    padding-left: 0.5rem;
}

.withdraw-submit-wrapper {
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.withdraw-submit-btn {
    width: 100%;
    padding: 1.15rem 1.5rem;
    background: linear-gradient(135deg, #32cd32 0%, #28a428 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.4);
    letter-spacing: 0.5px;
    min-height: 56px;
    text-transform: uppercase;
    -webkit-tap-highlight-color: rgba(50, 205, 50, 0.3);
}

.withdraw-submit-btn:hover {
    background: linear-gradient(135deg, #28a428 0%, #228b22 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 205, 50, 0.6);
}

.withdraw-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(50, 205, 50, 0.4);
}

.withdraw-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Instruções */
.deposit-instructions {
    margin-bottom: 2rem;
}

.deposit-instructions-text {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* Formulário de Depósito */
.deposit-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.deposit-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.deposit-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* Input de Valor */
.deposit-amount-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(50, 205, 50, 0.3);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.deposit-amount-input-wrapper:focus-within {
    border-color: #32cd32;
    box-shadow: 0 0 15px rgba(50, 205, 50, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.deposit-currency {
    font-size: 1.3rem;
    font-weight: 700;
    color: #32cd32;
    flex-shrink: 0;
}

.deposit-amount-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    outline: none;
    padding: 0;
    min-width: 0;
    font-family: 'Inter', sans-serif;
}

.deposit-amount-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.deposit-min-value {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: -0.5rem;
}

/* Botões de Valores Rápidos */
.deposit-quick-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.quick-value-btn {
    padding: 0.9rem 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(50, 205, 50, 0.3);
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    min-height: 48px;
}

.quick-value-btn:hover {
    background: rgba(50, 205, 50, 0.2);
    border-color: #32cd32;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.3);
}

.quick-value-btn:active {
    transform: translateY(0);
}

/* Input de CPF */
.deposit-cpf-input {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(50, 205, 50, 0.3);
    border-radius: 12px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    min-height: 48px;
    box-sizing: border-box;
}

.deposit-cpf-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.deposit-cpf-input:focus {
    border-color: #32cd32;
    box-shadow: 0 0 15px rgba(50, 205, 50, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

/* Input Genérico */
.deposit-input {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(50, 205, 50, 0.3);
    border-radius: 12px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    min-height: 48px;
    box-sizing: border-box;
}

.deposit-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.deposit-input:focus {
    border-color: #32cd32;
    box-shadow: 0 0 15px rgba(50, 205, 50, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

/* Erro */
.deposit-error {
    font-size: 0.85rem;
    color: #ff4444;
    margin-top: -0.5rem;
    padding-left: 0.5rem;
    min-height: 1.2rem;
    display: block;
}

/* Botão de Depositar */
.deposit-submit-wrapper {
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.deposit-submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #32cd32 0%, #28a428 100%);
    border: none;
    border-radius: 12px;
    color: #1a0d2e;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(50, 205, 50, 0.4);
    min-height: 56px;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: rgba(50, 205, 50, 0.3);
}

.deposit-submit-btn:hover {
    background: linear-gradient(135deg, #28a428 0%, #228b22 100%);
    box-shadow: 0 6px 30px rgba(50, 205, 50, 0.6);
    transform: translateY(-2px);
}

.deposit-submit-btn:active {
    transform: translateY(0);
}

.deposit-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsividade - Modal de Depósito */
@media (max-width: 768px) {
    .deposit-modal-container {
        border-radius: 0;
    }

    .deposit-header {
        padding: 1rem 1.2rem;
    }

    .deposit-title {
        font-size: 1.3rem;
    }

    .deposit-content,
    .withdraw-content {
        padding: 1.2rem 1.2rem;
    }

    .withdraw-header {
        padding: 1rem 1.2rem;
    }

    .withdraw-title {
        font-size: 1.3rem;
    }

    .deposit-instructions-text {
        font-size: 0.9rem;
    }

    .deposit-amount-input-wrapper {
        padding: 0.9rem 1rem;
    }

    .deposit-currency {
        font-size: 1.2rem;
    }

    .deposit-amount-input {
        font-size: 1.3rem;
    }

    .deposit-quick-values,
    .withdraw-quick-values {
        gap: 0.6rem;
    }

    .deposit-quick-values .quick-value-btn,
    .withdraw-quick-values .quick-value-btn {
        padding: 0.8rem 0.4rem;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .deposit-cpf-input,
    .deposit-input,
    .withdraw-select,
    .withdraw-input {
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }

    .deposit-submit-btn,
    .withdraw-submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 50px;
    }

    .withdraw-balance-banner {
        padding: 0.9rem 1rem;
    }

    .withdraw-balance-text {
        font-size: 0.9rem;
    }

    .withdraw-security-notice {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .withdraw-label {
        font-size: 0.9rem;
        margin-bottom: 0.65rem;
    }

    .withdraw-amount-input-wrapper {
        gap: 0.6rem;
        margin-bottom: 0.65rem;
    }

    .withdraw-amount-input {
        padding: 0.9rem 1rem;
        font-size: 1.1rem;
    }

    .withdraw-currency {
        font-size: 1.1rem;
    }

    .withdraw-limits {
        font-size: 0.75rem;
        gap: 0.4rem;
    }

    .withdraw-limits-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .deposit-header {
        padding: 0.9rem 1rem;
    }

    .deposit-title {
        font-size: 1.2rem;
    }

    .deposit-content,
    .withdraw-content {
        padding: 1rem 1rem;
    }

    .withdraw-header {
        padding: 0.9rem 1rem;
    }

    .withdraw-title {
        font-size: 1.2rem;
    }

    .deposit-instructions-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .deposit-amount-input-wrapper {
        padding: 0.85rem 0.9rem;
    }

    .deposit-currency {
        font-size: 1.1rem;
    }

    .deposit-amount-input {
        font-size: 1.2rem;
    }

    .deposit-quick-values,
    .withdraw-quick-values {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .deposit-quick-values .quick-value-btn,
    .withdraw-quick-values .quick-value-btn {
        padding: 0.75rem 0.3rem;
        font-size: 0.85rem;
        min-height: 42px;
    }

    .deposit-cpf-input,
    .deposit-input,
    .withdraw-select,
    .withdraw-input {
        padding: 0.85rem 0.9rem;
        font-size: 0.95rem;
        min-height: 46px;
    }

    .deposit-submit-btn,
    .withdraw-submit-btn {
        padding: 0.95rem 1.2rem;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .withdraw-balance-banner {
        padding: 0.85rem 0.9rem;
    }

    .withdraw-balance-text {
        font-size: 0.85rem;
    }

    .withdraw-security-notice {
        font-size: 0.7rem;
        margin-bottom: 1.25rem;
    }

    .withdraw-label {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    .withdraw-amount-input-wrapper {
        gap: 0.55rem;
        margin-bottom: 0.6rem;
    }

    .withdraw-amount-input {
        padding: 0.85rem 0.9rem;
        font-size: 1rem;
    }

    .withdraw-currency {
        font-size: 1rem;
    }

    .withdraw-limits {
        font-size: 0.7rem;
        gap: 0.35rem;
    }

    .withdraw-limits-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 360px) {
    .deposit-header {
        padding: 0.8rem 0.9rem;
    }

    .deposit-title {
        font-size: 1.1rem;
    }

    .deposit-back-btn {
        width: 36px;
        height: 36px;
        min-width: 40px;
        min-height: 40px;
    }

    .deposit-back-btn svg {
        width: 20px;
        height: 20px;
    }

    .deposit-header-spacer {
        width: 36px;
        height: 36px;
    }

    .deposit-content,
    .withdraw-content {
        padding: 0.9rem 0.9rem;
    }

    .withdraw-header {
        padding: 0.8rem 0.9rem;
    }

    .withdraw-title {
        font-size: 1.1rem;
    }

    .withdraw-back-btn {
        width: 36px;
        height: 36px;
    }

    .withdraw-back-btn svg {
        width: 18px;
        height: 18px;
    }

    .withdraw-header-spacer {
        width: 36px;
        height: 36px;
    }

    .deposit-instructions-text {
        font-size: 0.8rem;
    }

    .deposit-amount-input-wrapper {
        padding: 0.8rem 0.85rem;
    }

    .deposit-currency {
        font-size: 1rem;
    }

    .deposit-amount-input {
        font-size: 1.1rem;
    }

    .deposit-quick-values,
    .withdraw-quick-values {
        gap: 0.4rem;
    }

    .deposit-quick-values .quick-value-btn,
    .withdraw-quick-values .quick-value-btn {
        padding: 0.7rem 0.25rem;
        font-size: 0.8rem;
        min-height: 40px;
    }

    .withdraw-balance-banner {
        padding: 0.75rem 0.8rem;
    }

    .withdraw-balance-text {
        font-size: 0.75rem;
    }

    .withdraw-security-notice {
        font-size: 0.65rem;
        margin-bottom: 1rem;
    }

    .withdraw-label {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .withdraw-select,
    .withdraw-input {
        padding: 0.75rem 0.8rem;
        font-size: 0.85rem;
        min-height: 42px;
    }

    .withdraw-amount-input-wrapper {
        gap: 0.45rem;
        margin-bottom: 0.5rem;
    }

    .withdraw-amount-input {
        padding: 0.75rem 0.8rem;
        font-size: 0.9rem;
    }

    .withdraw-currency {
        font-size: 0.9rem;
    }

    .withdraw-limits {
        font-size: 0.65rem;
        gap: 0.3rem;
    }

    .withdraw-limits-icon {
        width: 12px;
        height: 12px;
    }

    .withdraw-submit-btn {
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
        min-height: 44px;
    }

    .deposit-cpf-input,
    .deposit-input {
        padding: 0.8rem 0.85rem;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .deposit-submit-btn {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
        min-height: 46px;
    }
}

/* ============================================
   MODAL DE CONFIRMAÇÃO DE BILHETE
   ============================================ */

.bet-confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.bet-confirmation-modal.active {
    opacity: 1;
    visibility: visible;
    display: flex !important;
}

.bet-confirmation-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 100%;
    padding: 2rem;
    text-align: center;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
}

.bet-confirmation-modal.active .bet-confirmation-container {
    transform: scale(1) translateY(0);
}

.bet-confirmation-header {
    margin-bottom: 1.5rem;
}

.bet-confirmation-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333333;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.bet-confirmation-code {
    font-size: 2rem;
    font-weight: 700;
    color: #555555;
    margin: 1.5rem 0;
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
}

.bet-confirmation-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 2rem 0 1.5rem;
}

.bet-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    min-height: 48px;
    color: #ffffff;
}

.bet-action-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.bet-action-print {
    background: #1e3a8a;
}

.bet-action-print:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
}

.bet-action-view {
    background: #1e3a8a;
}

.bet-action-view:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
}

.bet-action-whatsapp {
    background: #25d366;
}

.bet-action-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.bet-confirmation-instruction {
    font-size: 0.85rem;
    color: #666666;
    margin: 1rem 0 1.5rem;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

.bet-confirmation-ok {
    background: #8b5cf6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    min-height: 44px;
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
}

.bet-confirmation-ok:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.bet-confirmation-ok:active {
    transform: translateY(0);
}

/* Responsive para Mobile */
@media (max-width: 768px) {
    .bet-confirmation-container {
        padding: 1.5rem;
        max-width: 95%;
    }

    .bet-confirmation-title {
        font-size: 1.1rem;
    }

    .bet-confirmation-code {
        font-size: 1.75rem;
        margin: 1.25rem 0;
    }

    .bet-confirmation-actions {
        gap: 0.65rem;
        margin: 1.5rem 0 1.25rem;
    }

    .bet-action-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .bet-action-btn svg {
        width: 18px;
        height: 18px;
    }

    .bet-confirmation-instruction {
        font-size: 0.8rem;
        margin: 0.85rem 0 1.25rem;
    }

    .bet-confirmation-ok {
        padding: 0.75rem 2.5rem;
        font-size: 0.95rem;
        min-height: 42px;
    }
}

@media (max-width: 480px) {
    .bet-confirmation-container {
        padding: 1.25rem;
        max-width: 100%;
        border-radius: 12px;
    }

    .bet-confirmation-title {
        font-size: 1rem;
    }

    .bet-confirmation-code {
        font-size: 1.5rem;
        margin: 1rem 0;
        letter-spacing: 1px;
    }

    .bet-confirmation-actions {
        gap: 0.6rem;
        margin: 1.25rem 0 1rem;
    }

    .bet-action-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        min-height: 42px;
        gap: 0.6rem;
    }

    .bet-action-btn svg {
        width: 16px;
        height: 16px;
    }

    .bet-confirmation-instruction {
        font-size: 0.75rem;
        margin: 0.75rem 0 1rem;
    }

    .bet-confirmation-ok {
        padding: 0.7rem 2rem;
        font-size: 0.9rem;
        min-height: 40px;
        max-width: 120px;
    }
}

/* ============================================
   MODAL DE APOSTA
   ============================================ */

.modal-aposta {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.modal-aposta-content {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
    border: 2px solid var(--border-gold);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--shadow-gold);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
    animation: modalFadeIn 0.3s ease;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.modal-aposta[style*="display: flex"] .modal-aposta-content {
    transform: scale(1) translateY(0);
}

.modal-aposta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--border-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    position: relative;
}

.modal-aposta-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    box-shadow: 0 0 10px var(--shadow-gold);
}

.modal-aposta-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px var(--shadow-gold);
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}

.modal-aposta-close {
    background: transparent;
    border: 2px solid var(--border-gold);
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    position: relative;
    z-index: 1;
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
    touch-action: manipulation;
    flex-shrink: 0;
}

.modal-aposta-close:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: rotate(90deg);
    box-shadow: 0 0 15px var(--shadow-gold);
}

.modal-aposta-body {
    padding: 2rem;
    background: transparent;
}

.modal-bet-match-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(50, 205, 50, 0.08);
    border: 1px solid rgba(50, 205, 50, 0.3);
    border-radius: 8px;
}

.modal-bet-match-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.modal-bet-match-item:not(:last-child) {
    border-bottom: 1px solid rgba(50, 205, 50, 0.2);
    padding-bottom: 0.75rem;
}

.modal-bet-match-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-bet-match-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

.modal-bet-input-wrapper {
    margin-bottom: 2rem;
}

.modal-bet-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-bet-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-gold);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.modal-bet-input-group:focus-within {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px var(--shadow-gold);
    border-color: var(--accent-gold-light);
}

.modal-bet-currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-right: 0.75rem;
    min-width: 35px;
}

.modal-bet-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.5rem 0;
    outline: none;
    width: 100%;
    min-height: 44px;
}

.modal-bet-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.modal-bet-return-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
}

.modal-bet-return-item,
.modal-bet-refund-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

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

.modal-bet-return-label,
.modal-bet-refund-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-bet-return-value,
.modal-bet-refund-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.modal-aposta-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--border-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.02) 100%);
}

.modal-bet-confirm,
.modal-bet-cancel {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 48px;
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
    touch-action: manipulation;
}

.modal-bet-confirm {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px var(--shadow-gold);
}

.modal-bet-confirm:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-gold);
}

.modal-bet-confirm:active:not(:disabled) {
    transform: translateY(0);
}

.modal-bet-confirm:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-bet-cancel {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--border-gold);
}

.modal-bet-cancel:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.modal-bet-cancel:active {
    transform: translateY(0);
}

/* Responsive para Mobile */
@media (max-width: 768px) {
    .modal-aposta-content {
        max-width: 95%;
        border-radius: 10px;
    }

    .modal-aposta-header {
        padding: 1.25rem 1.5rem;
    }

    .modal-aposta-header h2 {
        font-size: 1.5rem;
    }

    .modal-aposta-close {
        width: 36px;
        height: 36px;
        font-size: 1.75rem;
        min-width: 44px;
        min-height: 44px;
    }

    .modal-aposta-body {
        padding: 1.5rem;
    }

    .modal-bet-label {
        font-size: 0.9rem;
    }

    .modal-bet-input {
        font-size: 1.25rem;
    }

    .modal-bet-match-info {
        padding: 0.85rem 1rem;
        gap: 0.6rem;
        margin-bottom: 1.25rem;
    }

    .modal-bet-match-label {
        font-size: 0.8rem;
    }

    .modal-bet-match-value {
        font-size: 0.9rem;
    }

    .modal-bet-return-info {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .modal-bet-return-label,
    .modal-bet-refund-label {
        font-size: 0.85rem;
    }

    .modal-bet-return-value,
    .modal-bet-refund-value {
        font-size: 1.1rem;
    }

    .modal-aposta-footer {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .modal-bet-confirm,
    .modal-bet-cancel {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .modal-aposta-content {
        max-width: 100%;
        border-radius: 8px;
    }

    .modal-aposta-header {
        padding: 1rem 1.25rem;
    }

    .modal-aposta-header h2 {
        font-size: 1.25rem;
    }

    .modal-aposta-body {
        padding: 1.25rem;
    }

    .modal-bet-input-group {
        padding: 0.4rem 0.75rem;
    }

    .modal-bet-currency {
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }

    .modal-bet-input {
        font-size: 1.1rem;
    }

    .modal-bet-match-info {
        padding: 0.75rem 0.85rem;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .modal-bet-match-label {
        font-size: 0.75rem;
    }

    .modal-bet-match-value {
        font-size: 0.85rem;
    }

    .modal-bet-return-info {
        padding: 1rem;
    }

    .modal-aposta-footer {
        padding: 1rem 1.25rem;
    }

    .modal-bet-confirm,
    .modal-bet-cancel {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
        min-height: 42px;
    }
}

/* ============================================
   MODAL DE QR CODE DO DEPÓSITO
   ============================================ */

.qr-code-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10003;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.qr-code-modal.active {
    opacity: 1;
    visibility: visible;
}

.qr-code-modal-container {
    background: linear-gradient(135deg, #2d1b4e 0%, #1a0d2e 100%);
    border: 2px solid #32cd32;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    padding: 2rem;
    text-align: center;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(50, 205, 50, 0.3);
}

.qr-code-modal.active .qr-code-modal-container {
    transform: scale(1) translateY(0);
}

.qr-code-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(50, 205, 50, 0.3);
}

.qr-code-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.qr-code-modal-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.qr-code-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.qr-code-modal-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.qr-code-info {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.qr-code-wrapper {
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(50, 205, 50, 0.3);
    margin-bottom: 1.5rem;
}

.qr-code-image {
    width: 300px;
    height: 300px;
    max-width: 100%;
    border-radius: 8px;
    background: #ffffff;
    padding: 0.5rem;
}

.qr-code-copia-cola {
    margin-bottom: 1.5rem;
}

.qr-code-copia-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.qr-code-copia-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.qr-code-copia-input {
    flex: 1;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(50, 205, 50, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    outline: none;
    transition: all 0.2s ease;
    min-width: 0;
    word-break: break-all;
}

.qr-code-copia-input:focus {
    border-color: #32cd32;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(50, 205, 50, 0.1);
}

.qr-code-copia-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, #32cd32 0%, #28a428 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.3);
}

.qr-code-copia-btn:hover {
    background: linear-gradient(135deg, #28a428 0%, #228b22 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 205, 50, 0.5);
}

.qr-code-copia-btn:active {
    transform: translateY(0);
}

.qr-code-copia-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
}

.qr-code-success-message {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid #10b981;
    border-radius: 8px;
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.qr-code-success-message.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 100px;
}

.qr-code-instruction {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.qr-code-modal-btn {
    background: linear-gradient(135deg, #32cd32 0%, #28a428 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.3);
}

.qr-code-modal-btn:hover {
    background: linear-gradient(135deg, #28a428 0%, #228b22 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 205, 50, 0.5);
}

.qr-code-modal-btn:active {
    transform: translateY(0);
}

/* Responsive para Mobile */
@media (max-width: 768px) {
    .qr-code-modal-container {
        padding: 1.5rem;
        max-width: 95%;
    }

    .qr-code-modal-header h2 {
        font-size: 1.25rem;
    }

    .qr-code-image {
        width: 250px;
        height: 250px;
    }

    .qr-code-copia-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }

    .qr-code-copia-input {
        font-size: 0.8rem;
        padding: 0.85rem 0.9rem;
    }

    .qr-code-copia-btn {
        width: 100%;
        padding: 0.85rem 1.25rem;
        font-size: 0.85rem;
    }

    .qr-code-success-message {
        font-size: 0.85rem;
        padding: 0.7rem 0.9rem;
    }

    .qr-code-info {
        font-size: 0.95rem;
    }

    .qr-code-instruction {
        font-size: 0.85rem;
    }

    .qr-code-modal-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .qr-code-modal-container {
        padding: 1.25rem;
        max-width: 100%;
        border-radius: 12px;
    }

    .qr-code-modal-header h2 {
        font-size: 1.1rem;
    }

    .qr-code-image {
        width: 200px;
        height: 200px;
    }

    .qr-code-copia-wrapper {
        flex-direction: column;
        gap: 0.65rem;
    }

    .qr-code-copia-input {
        font-size: 0.75rem;
        padding: 0.8rem 0.85rem;
    }

    .qr-code-copia-btn {
        width: 100%;
        padding: 0.8rem 1.15rem;
        font-size: 0.8rem;
    }

    .qr-code-copia-btn svg {
        width: 16px;
        height: 16px;
    }

    .qr-code-success-message {
        font-size: 0.8rem;
        padding: 0.65rem 0.8rem;
    }

    .qr-code-info {
        font-size: 0.9rem;
    }

    .qr-code-instruction {
        font-size: 0.8rem;
    }

    .qr-code-modal-btn {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Regras gerais para responsividade em todos os dispositivos móveis */
* {
    -webkit-tap-highlight-color: transparent;
}

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Garantir que imagens sejam responsivas */
img {
    max-width: 100%;
    height: auto;
}

/* Garantir que inputs e botões sejam touch-friendly em mobile */
@media (max-width: 768px) {
    button,
    input,
    select,
    textarea {
        font-size: 16px; /* Previne zoom automático no iOS */
        min-height: 44px; /* Tamanho mínimo recomendado para touch */
    }
}

/* Prevenir overflow horizontal em todos os elementos */
@media (max-width: 480px) {
    * {
        max-width: 100%;
    }
    
    .main-content,
    .match-section,
    .team-container,
    .games-bar,
    .refund-banner {
        width: 100%;
        box-sizing: border-box;
    }
}

