/* ===================================
   BOLÃO PRÊMIO 2025 - MOBILE FIRST
   =================================== */

:root {
  --caixa-blue: #005da8;
  --caixa-light-blue: #4db8a8;
  --caixa-orange: #FF9800;
  --caixa-green: #32bcad;
  --bg-gradient: linear-gradient(135deg, #005da8 0%, #4db8a8 100%);
  --white: #FFFFFF;
  --gray-bg: #f5f5f5;
  --text-dark: #2d3748;
  --text-muted: #4a5568;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

body {
  background-color: var(--gray-bg);
  color: var(--text-dark);
  min-height: 100vh;
  width: 100%;
  max-width: 500px; /* Limite para visualização em desktop parecendo mobile */
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Utilitários */
.hidden { display: none !important; }

/* Layout de Tela Cheia (Verificação/Login) */
.fullscreen-page {
  background: var(--bg-gradient);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}

.logo-large {
  width: 280px;
  margin-bottom: 60px;
}

.title-white {
  color: white;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 32px;
}

/* Botões Mobile */
.btn-mobile {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-mobile:active { opacity: 0.8; }

.btn-orange { background: var(--caixa-orange); color: white; }
.btn-blue { background: var(--caixa-blue); color: white; }
.btn-outline-white { background: transparent; border: 2px solid white; color: white; }

/* Card de Login */
.mobile-card {
  background: white;
  border-radius: 12px;
  padding: 32px 24px;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.card-logo {
  width: 140px;
  margin-bottom: 12px;
}

.card-title {
  font-size: 20px;
  color: var(--caixa-blue);
  margin-bottom: 24px;
}

.input-group {
  margin-bottom: 24px;
  border-bottom: 1px solid #d0d0d0;
  display: flex;
  align-items: center;
  padding: 12px 0;
}

.input-group i { color: #666; margin-right: 12px; }

.mobile-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  background: transparent;
}

/* Header App */
.app-header {
  background: var(--caixa-blue);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-logo { height: 32px; }

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section Mobile */
.hero-mobile {
  background: var(--bg-gradient);
  padding: 32px 20px;
  color: white;
}

.hero-greeting { font-size: 16px; margin-bottom: 4px; }
.hero-welcome { font-size: 14px; opacity: 0.9; margin-bottom: 20px; }
.hero-title { font-size: 32px; font-weight: bold; line-height: 1.1; margin-bottom: 16px; }
.hero-img { width: 100%; margin-top: 20px; }

/* Countdown Section */
.countdown-bar {
  background: white;
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.countdown-label { font-size: 13px; font-weight: bold; color: #666; margin-bottom: 10px; }

.timer-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.timer-box {
  background: #f7fafc;
  padding: 8px;
  border-radius: 6px;
  min-width: 55px;
}

.timer-val { font-size: 20px; font-weight: bold; color: var(--caixa-blue); display: block; }
.timer-unit { font-size: 11px; color: #718096; }

/* Bolão Cards Mobile */
.app-content { padding: 16px; flex: 1; }

.app-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-banner { width: 100%; height: 60px; object-fit: cover; }

.card-inner {
  padding: 20px;
  text-align: center;
  background-image: url('https://static.bolt.host/bolao/backgroud-trevos.png');
  background-size: cover;
}

.prize-text { font-size: 26px; font-weight: 900; color: var(--caixa-blue); margin: 8px 0; }
.prize-sub { font-size: 14px; color: #666; margin-bottom: 16px; }

.divider-line { height: 1px; background: #eee; margin: 16px 0; }

.ball-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

.ball {
  width: 30px;
  height: 30px;
  background: var(--caixa-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.multiplier-box {
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin: 16px 0;
}

.multiplier-val { font-size: 18px; font-weight: bold; color: var(--caixa-blue); }

/* Payment/QR Code Mobile */
.payment-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.payment-title { font-size: 16px; font-weight: bold; margin-bottom: 16px; color: #333; }

.row-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.label-info { color: #666; }
.val-info { font-weight: bold; }

.qr-wrapper {
  border: 2px solid #eee;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.pix-payload {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  font-size: 11px;
  word-break: break-all;
  margin-bottom: 16px;
  border: 1px solid #eee;
}

/* Footer Button */
.footer-btn-container {
  padding: 20px;
  text-align: center;
}

.btn-exit {
  background: white;
  border: 1px solid #ddd;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: bold;
  font-size: 14px;
  color: #666;
}

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

.animate-fade { animation: fadeIn 0.4s ease-out forwards; }
