/*
Theme Name: Top Escolhas da Net - Loterias
Theme URI: https://topescolhasdanet.com.br/
Author: Top Escolhas da Net
Author URI: https://topescolhasdanet.com.br/
Description: Tema completo de loterias online com sistema de cadastro, apostas, carrinho e pagamento.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: topescolhas
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121e;
  --bg-card: linear-gradient(145deg, #1a1a2e, #16162a);
  --bg-card-solid: #1a1a2e;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dark: #475569;
  --gold-start: #fbbf24;
  --gold-end: #f59e0b;
  --gold-dark: #d97706;
  --gold-gradient: linear-gradient(135deg, #fbbf24, #f59e0b);
  --red: #ef4444;
  --red-dark: #dc2626;
  --green: #10b981;
  --green-dark: #059669;
  --blue: #2563eb;
  --purple: #8b5cf6;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(251, 191, 36, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.4);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: all 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--gold-start); border-radius: 4px; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(251,191,36,0.3); }
  50% { box-shadow: 0 0 40px rgba(251,191,36,0.6); }
}

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

@keyframes countUp {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.fade-in { animation: fadeIn 0.5s ease both; }
.fade-in-delay-1 { animation: fadeIn 0.5s ease 0.1s both; }
.fade-in-delay-2 { animation: fadeIn 0.5s ease 0.2s both; }
.fade-in-delay-3 { animation: fadeIn 0.5s ease 0.3s both; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.gold-text {
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

/* ============================================
   COMPONENTS: BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  transition: var(--transition);
  border-radius: var(--radius-md);
  text-decoration: none;
}

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

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

.btn-primary {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
}

.btn-primary-lg {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 14px;
}

.btn-primary-lg.glow {
  animation: glow 2s infinite;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 10px 20px;
  font-size: 13px;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
  padding: 8px 14px;
  font-size: 12px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

/* ============================================
   COMPONENTS: CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-static {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.card-body {
  padding: 24px;
}

.card-clickable {
  cursor: pointer;
}

/* ============================================
   COMPONENTS: INPUTS
   ============================================ */
.form-input {
  background: var(--bg-card-solid);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 15px;
  width: 100%;
  outline: none;
  transition: border-color 0.3s;
}

.form-input:focus {
  border-color: var(--gold-start);
}

.form-input::placeholder {
  color: var(--text-dark);
}

.form-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group {
  margin-bottom: 14px;
}

.form-error {
  font-size: 11px;
  color: var(--red);
  margin-top: 4px;
}

/* ============================================
   COMPONENTS: BADGES
   ============================================ */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: rgba(251, 191, 36, 0.15);
  color: var(--gold-start);
}

.badge-red {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
}

/* ============================================
   COMPONENTS: NUMBER BALLS
   ============================================ */
.number-ball {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.number-ball:hover {
  transform: scale(1.15);
}

.number-ball.selected {
  background: var(--gold-start) !important;
  color: var(--bg-primary) !important;
  border-color: var(--gold-end);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.5);
  transform: scale(1.1);
}

.number-ball.extra-selected {
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red-dark);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.5);
  transform: scale(1.1);
}

.number-ball-sm {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.number-ball-xs {
  width: 26px;
  height: 26px;
  font-size: 10px;
}

.number-ball-result {
  width: 44px;
  height: 44px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  cursor: default;
}

.number-ball-gold {
  background: var(--gold-gradient);
  color: var(--bg-primary);
}

.number-ball-red {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.site-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.site-logo-text {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.1;
}

.site-logo-sub {
  font-size: 10px;
  color: var(--gold-start);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-start);
  background: rgba(251, 191, 36, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Cart icon */
.cart-icon {
  position: relative;
  cursor: pointer;
  font-size: 22px;
  padding: 4px;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* User Avatar */
.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--bg-primary);
  cursor: pointer;
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu {
  display: none;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 16px;
  flex-direction: column;
  gap: 4px;
  animation: slideDown 0.3s;
}

.mobile-menu.active {
  display: flex;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  text-align: center;
  padding: 60px 0 40px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
}

/* ============================================
   LOTTERY CARDS
   ============================================ */
.lottery-section {
  margin-bottom: 48px;
}

.lottery-section-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lottery-card {
  padding: 20px;
  cursor: pointer;
}

.lottery-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.lottery-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.lottery-card-name {
  font-weight: 700;
  font-size: 15px;
}

.lottery-card-info {
  font-size: 11px;
  color: var(--text-muted);
}

.lottery-card-jackpot {
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 4px;
}

.lottery-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.lottery-card-countdown {
  font-size: 11px;
  color: var(--text-muted);
}

.lottery-card-price {
  font-size: 12px;
  color: var(--gold-start);
  font-weight: 600;
}

/* Top Jackpot Cards */
.top-jackpot-card {
  padding: 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.top-jackpot-card .card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  opacity: 0.1;
  border-radius: 0 0 0 100%;
}

.top-jackpot-jackpot {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
}

/* ============================================
   PLAY PAGE
   ============================================ */
.play-header {
  padding: 28px;
  position: relative;
  overflow: hidden;
  border: none !important;
  margin-bottom: 28px;
}

.play-header-bg {
  position: absolute;
  right: -20px;
  top: -20px;
  font-size: 120px;
  opacity: 0.15;
}

.play-header-content {
  position: relative;
}

.play-header-title {
  font-size: 28px;
  font-weight: 900;
}

.play-header-meta {
  font-size: 13px;
  opacity: 0.8;
}

.play-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
}

.play-stat-label {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 2px;
}

.play-stat-value {
  font-size: 18px;
  font-weight: 700;
}

.play-stat-jackpot {
  font-size: 32px;
  font-weight: 900;
}

/* Number Selection */
.play-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.numbers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

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

.selection-actions {
  display: flex;
  gap: 8px;
}

/* Order Summary */
.order-summary {
  padding: 24px;
  position: sticky;
  top: 88px;
}

.order-current-game {
  background: rgba(251, 191, 36, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 16px;
}

.order-divider {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: 8px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.order-total {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 800;
}

/* Lines added */
.game-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.game-line + .game-line {
  border-top: 1px solid var(--border-color);
}

/* ============================================
   RESULTS PAGE
   ============================================ */
.result-card {
  padding: 24px;
}

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

.result-lottery-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-prize-label {
  font-size: 11px;
  color: var(--text-muted);
}

.result-prize-value {
  font-size: 18px;
  font-weight: 800;
}

.result-numbers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.result-numbers-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 4px;
}

.result-separator {
  font-size: 16px;
  color: var(--text-dark);
  margin: 0 4px;
}

/* ============================================
   HOW TO PLAY PAGE
   ============================================ */
.step-card {
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* FAQ */
.faq-section {
  padding: 28px;
  margin-top: 32px;
  text-align: center;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
  border-color: rgba(251, 191, 36, 0.2);
}

.faq-item {
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.faq-item summary {
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  color: #e2e8f0;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.6;
}

/* ============================================
   ACCOUNT PAGE
   ============================================ */
.account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--bg-primary);
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.account-stat {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.account-stat-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.account-stat-value {
  font-weight: 800;
  font-size: 18px;
}

.account-stat-label {
  font-size: 11px;
  color: var(--text-muted);
}

.deposit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
}

.deposit-btn {
  padding: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: var(--transition);
}

.deposit-btn:hover {
  border-color: var(--gold-start);
  background: rgba(251, 191, 36, 0.08);
}

/* ============================================
   MODALS & OVERLAYS
   ============================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}

.overlay.hidden {
  display: none;
}

.modal {
  background: linear-gradient(145deg, #1e1e36, #16162a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideDown 0.3s;
}

.modal-lg {
  max-width: 520px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

/* Auth modal tabs */
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.auth-tab.active {
  background: var(--gold-start);
  color: var(--bg-primary);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 90vw);
  background: linear-gradient(180deg, #1a1a2e, #12121e);
  border-left: 1px solid var(--border-color);
  padding: 28px;
  overflow-y: auto;
  z-index: 101;
  animation: slideInRight 0.3s;
}

.cart-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.cart-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}

.cart-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.cart-item {
  padding: 16px;
  margin-bottom: 12px;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cart-item-numbers {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.cart-item-total {
  text-align: right;
  font-weight: 700;
  color: var(--gold-start);
  font-size: 14px;
}

.cart-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: 8px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}

/* ============================================
   PAYMENT
   ============================================ */
.payment-total-box {
  background: rgba(251, 191, 36, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  text-align: center;
}

.payment-total-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.payment-total-value {
  font-size: 32px;
  font-weight: 900;
}

.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.payment-method {
  padding: 16px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.payment-method.selected {
  border-color: var(--gold-start) !important;
  background: rgba(251, 191, 36, 0.08) !important;
}

.payment-method-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.payment-method-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}

.payment-method-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.payment-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
}

.pix-qr-box {
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: var(--radius-md);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pix-code {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-muted);
  word-break: break-all;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(0, 0, 0, 0.2);
  border-top-color: var(--bg-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ============================================
   NOTIFICATIONS
   ============================================ */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease;
}

.notification-success {
  background: linear-gradient(135deg, #059669, #10b981);
}

.notification-error {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.notification.hidden {
  display: none;
}

/* ============================================
   TRUST / FEATURES SECTION
   ============================================ */
.trust-section {
  text-align: center;
  padding: 48px 0;
  margin-bottom: 20px;
}

.trust-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 40px;
}

.trust-card {
  padding: 28px;
  text-align: center;
}

.trust-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.trust-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #0d0d14;
  border-top: 1px solid var(--border-color);
  margin-top: 80px;
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-brand-icon {
  font-size: 28px;
}

.footer-brand-name {
  font-weight: 800;
  font-size: 18px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-heading {
  color: var(--gold-start);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-link {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 8px;
  display: block;
  cursor: pointer;
}

.footer-link:hover {
  color: var(--gold-start);
}

.footer-payments {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-payment-icon {
  font-size: 22px;
  opacity: 0.5;
}

.footer-copyright {
  text-align: center;
  color: var(--text-dark);
  font-size: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .play-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .hero-title {
    font-size: 32px !important;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .grid-auto {
    grid-template-columns: 1fr !important;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .number-ball {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .play-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .selection-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .top-jackpots-grid {
    grid-template-columns: 1fr !important;
  }

  .container {
    padding: 0 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0 24px;
  }
}
