/* Reset e configurações básicas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8fafc;
  overflow-x: hidden;
}

/* Tema escuro para páginas específicas */
.sorteios-dark-body {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  min-height: 100vh;
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header - Igual à referência da imagem */
.header {
  background: #1a1a1a;
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 2rem;
}

.logo {
  flex-shrink: 0;
}

.logo-image {
  height: 32px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #ccc;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: #ffa500;
  background: rgba(255, 165, 0, 0.1);
}

.header-user-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.balance-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: white;
}

.balance-amount {
  font-weight: 600;
  color: #4ade80;
}

.balance-refresh {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: color 0.3s ease;
}

.balance-refresh:hover {
  color: #ffa500;
}

.btn-deposit-modern {
  background: #ffa500;
  color: #1a1a1a;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-deposit-modern:hover {
  background: #ff8c00;
  transform: translateY(-1px);
}

.auth-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-register {
  background: transparent;
  color: #ffa500;
  border: 1px solid #ffa500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-register:hover {
  background: #ffa500;
  color: #1a1a1a;
}

.btn-login {
  background: #ffa500;
  color: #1a1a1a;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: #ff8c00;
  transform: translateY(-1px);
}

.user-menu-modern {
  position: relative;
}

.user-menu-toggle-modern {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ccc;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-menu-toggle-modern:hover {
  background: rgba(255, 165, 0, 0.1);
  color: #ffa500;
}

.user-dropdown-modern {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 0.5rem;
}

.user-dropdown-modern.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.user-info-dropdown {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar-large {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.user-details {
  flex: 1;
}

.user-name-large {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.user-balance-small {
  color: #64748b;
  font-size: 0.875rem;
}

.dropdown-menu {
  padding: 0.5rem;
}

.dropdown-item-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  color: #475569;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.dropdown-item-modern:hover {
  background: #f8fafc;
  color: #1e293b;
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.dropdown-icon.withdraw {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.dropdown-icon.tickets {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.dropdown-icon.transactions {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
}

.dropdown-icon.admin {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.dropdown-icon.logout-icon {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.dropdown-text {
  flex: 1;
}

.dropdown-title {
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 0.125rem;
}

.dropdown-desc {
  font-size: 0.75rem;
  color: #64748b;
}

.dropdown-divider-modern {
  height: 1px;
  background: #e2e8f0;
  margin: 0.5rem 0;
}

/* Main Content Dark */
.main-sorteios-dark {
  padding: 2rem 0;
  min-height: calc(100vh - 80px);
}

/* Banner Principal */
.main-banner {
  padding: 2rem 0;
  background: transparent;
}

.banner-image-container {
  text-align: center;
}

.banner-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Seção de Ganhadores */
.winners-section {
  padding: 3rem 0;
  background: transparent;
}

.winners-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.winners-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.winners-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.8) 100%);
  color: white;
}

.winners-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.winners-title i {
  color: #fbbf24;
}

.winners-total {
  text-align: right;
}

.winners-total-label {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.winners-total-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #10b981;
}

.winners-carousel-container {
  padding: 2rem;
  overflow: hidden;
}

.winners-carousel {
  overflow: hidden;
}

.winners-track {
  display: flex;
  gap: 1rem;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

.winner-card {
  flex: 0 0 280px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.winner-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
}

.winner-icon.green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.winner-icon.orange {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.winner-icon.blue {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.winner-icon.purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.winner-icon.red {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.winner-info {
  flex: 1;
}

.winner-number {
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

.winner-prize {
  font-weight: 700;
  color: #10b981;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.winner-time {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Seção de Sorteios */
.sorteios-section {
  padding: 4rem 0;
  background: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.section-title i {
  color: #667eea;
}

.section-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid de Sorteios - Dark Theme */
.raspadinhas-grid-dark {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.raspadinha-card-dark {
  background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.raspadinha-card-dark:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.raspadinha-image-dark {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.raspadinha-image-dark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.raspadinha-card-dark:hover .raspadinha-image-dark img {
  transform: scale(1.05);
}

.raspadinha-placeholder-dark {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
}

.image-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.price-badge-dark {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1e293b;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.raspadinha-content-dark {
  padding: 1.5rem;
}

.raspadinha-features-dark {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.feature-badge-dark {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.raspadinha-title-dark {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.title-emoji {
  font-size: 1.5rem;
}

.raspadinha-description-dark {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.raspadinha-progress-dark {
  margin-bottom: 1.5rem;
}

.progress-header-dark {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.progress-label-dark {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
}

.progress-status-dark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
}

.progress-status-dark.disponivel {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.progress-status-dark.instantaneo {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.progress-status-dark.vai-pix {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.progress-bar-container-dark {
  background: rgba(255, 255, 255, 0.1);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-bar-fill-dark {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #22c55e 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-footer-dark {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-value-dark {
  color: #10b981;
  font-weight: 700;
  font-size: 1.1rem;
}

.progress-percentage-dark {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.btn-jogar-agora-dark {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
}

.btn-jogar-agora-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.empty-state-raspadinhas-dark {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
  border-radius: 20px;
  color: white;
}

.empty-icon-raspadinhas-dark {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1.5rem;
}

.empty-state-raspadinhas-dark h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.empty-state-raspadinhas-dark p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.btn-voltar-inicio-dark {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-voltar-inicio-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.ver-todos-container {
  text-align: center;
}

.btn-ver-todos {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.btn-ver-todos:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Página de Sorteios - Dark Theme */
.sorteios-dark-body {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  min-height: 100vh;
  color: white;
}

.main-sorteios-dark {
  padding: 2rem 0;
}

.sorteios-hero-dark {
  text-align: center;
  margin-bottom: 3rem;
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 20px;
}

.hero-content-dark h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content-dark p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.hero-stats-dark {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item-dark {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number-dark {
  font-size: 2rem;
  font-weight: 800;
  color: #667eea;
  margin-bottom: 0.5rem;
}

.stat-label-dark {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  text-decoration: none;
  color: #64748b;
  transition: all 0.3s ease;
  border-radius: 12px;
  min-width: 60px;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.mobile-nav-item.active {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

.mobile-nav-item:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.mobile-nav-icon {
  font-size: 1.25rem;
  margin-bottom: 0.125rem;
}

.mobile-nav-text {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
}

/* Modais */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  position: relative;
  z-index: 1001;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modern-modal .modal-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
}

.modal-header-modern {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.modal-icon-modern {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.login-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.register-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.modal-close-modern {
  position: absolute;
  top: -10px;
  right: -10px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group-modern {
  position: relative;
}

.input-container-modern {
  position: relative;
}

.form-input-modern {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-input-modern:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.form-input-modern::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.input-icon-modern {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  z-index: 2;
}

.floating-label {
  position: absolute;
  left: 3rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  pointer-events: none;
  font-size: 1rem;
}

.form-input-modern:focus + .floating-label,
.form-input-modern:not(:placeholder-shown) + .floating-label {
  top: -10px;
  left: 1rem;
  font-size: 0.8rem;
  color: #4facfe;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 0 0.5rem;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  z-index: 2;
}

.btn-modern {
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary-modern {
  background: linear-gradient(45deg, #4facfe, #00f2fe);
  color: white;
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 172, 254, 0.3);
}

.modal-footer-modern {
  text-align: center;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.btn-link-modern {
  background: none;
  border: none;
  color: #4facfe;
  cursor: pointer;
  text-decoration: underline;
  font-size: 1rem;
}

.btn-link-modern:hover {
  color: #00f2fe;
}

.alert {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  text-align: center;
}

.alert-success {
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid #2ecc71;
  color: #2ecc71;
}

.alert-danger {
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

/* Modal de Depósito Dark */
.deposit-modal-dark {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header-dark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header-dark h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.modal-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.modal-body-dark {
  padding: 0;
}

.payment-method-dark {
  margin-bottom: 2rem;
}

.pix-option-dark {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 2px solid rgba(102, 126, 234, 0.3);
}

.pix-icon-dark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.pix-text {
  font-weight: 600;
  font-size: 1.1rem;
}

.quick-amounts-dark {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.quick-amount-dark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.quick-amount-dark:hover,
.quick-amount-dark.selected {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  transform: translateY(-2px);
}

.limits-info-dark {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.btn-confirm-deposit-dark {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-confirm-deposit-dark:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-confirm-deposit-dark:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Modal de Saque */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
}

.modal-body {
  padding: 2rem 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.input-group {
  position: relative;
}

.input-prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.quick-amount {
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  color: #667eea;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
}

.quick-amount:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: translateY(-1px);
}

.pix-group {
  display: flex;
  gap: 0.5rem;
}

.form-select {
  flex: 0 0 100px;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-success {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  color: white;
  width: 100%;
}

.btn-success:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}

.btn-success:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Adicionado botão flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
  background: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  color: white;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* Responsividade */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }

  .mobile-bottom-nav {
    display: block;
  }

  .header-nav {
    display: none !important;
  }

  .header-content {
    justify-content: space-between;
  }

  .header-user-section {
    flex: none;
  }

  .auth-buttons {
    gap: 0.25rem;
  }

  .btn-register,
  .btn-login {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
  }

  .deposit-text {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .raspadinhas-grid-dark {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .quick-amounts-dark {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content-dark h1 {
    font-size: 2rem;
  }

  .hero-stats-dark {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .whatsapp-float {
    bottom: 90px; /* Acima da navegação mobile */
    right: 15px;
  }

  .whatsapp-btn {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .mobile-nav-container {
    padding: 0 0.5rem;
  }

  .mobile-nav-item {
    min-width: 50px;
    padding: 0.375rem;
  }

  .mobile-nav-icon {
    font-size: 1.125rem;
  }

  .mobile-nav-text {
    font-size: 0.7rem;
  }

  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }

  .raspadinha-card-dark {
    margin: 0 0.5rem;
  }

  .whatsapp-float {
    bottom: 85px;
    right: 12px;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}
