/* ==========================================================================
   eFootball™ Official Campaign Event — 1:1 Pixel-Accurate Theme
   ========================================================================== */

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

body {
  background-color: #03050a;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* Perfect Proportional & Centered eFootball Atmosphere Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(3, 5, 10, 0.65), rgba(3, 5, 10, 0.82)),
    url('splash-bg.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* App Viewport (Matches screenshot 515px) */
.app-viewport {
  width: 100%;
  max-width: 515px;
  background-color: rgba(7, 9, 18, 0.75);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(0, 48, 180, 0.25), 0 0 50px rgba(0, 0, 0, 0.9);
  position: relative;
}

@media (min-width: 540px) {
  .app-viewport {
    margin: 10px 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #1a2030;
  }
}

/* 1. Hero Banner */
.hero-banner-wrap {
  width: 100%;
  position: relative;
  background: #000;
  line-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* 2. Live Notification Ticker */
.ticker-bar {
  display: flex;
  align-items: center;
  background: #0f131f;
  border-top: 1px solid #1a2235;
  border-bottom: 1px solid #1a2235;
  padding: 6px 10px;
  overflow: hidden;
  gap: 8px;
}

.ticker-speaker {
  font-size: 13px;
  color: #ffd700;
  flex-shrink: 0;
}

.ticker-content {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-items {
  display: inline-flex;
  gap: 22px;
  animation: tickerSlide 26s linear infinite;
}

.ticker-items:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.t-msg {
  font-size: 11px;
  font-weight: 700;
  color: #ffd700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.t-coin {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.ticker-chevron {
  font-size: 16px;
  font-weight: 800;
  color: #ffd700;
  flex-shrink: 0;
}

/* 3. Section Titles */
.store-section {
  padding: 14px 12px 6px 12px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  padding: 0 4px;
}

.section-heading {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.text-yellow {
  color: #ffff00;
}

.italic {
  font-style: italic;
}

.section-ends {
  font-size: 11px;
  color: #8b949e;
  font-weight: 500;
}

/* 4. Common Store Cards */
.store-card {
  background: #151821;
  border: 1px solid #232734;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.store-card:hover {
  border-color: #384252;
}

/* Corner LIMITED badge */
.limited-corner-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #ffd000;
  color: #000000;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.4px;
  padding: 2px 7px;
  border-top-left-radius: 12px;
  border-bottom-right-radius: 8px;
  z-index: 5;
}

/* 5. Special Player Carousel */
.player-carousel-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  touch-action: pan-y pinch-zoom;
}

.player-carousel-track {
  display: flex;
  gap: 8px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.player-carousel-track.no-transition {
  transition: none !important;
}

.player-card-item {
  flex: 0 0 calc((100% - 16px) / 3);
  width: calc((100% - 16px) / 3);
  max-width: calc((100% - 16px) / 3);
  box-sizing: border-box;
}

.player-box {
  padding: 10px 6px 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.reward-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
  margin-bottom: 4px;
}

.coin-bonus-line {
  display: flex;
  align-items: center;
  gap: 3px;
}

.bonus-val {
  color: #0088ff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.plus-symbol {
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.player-thumb-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 6px 0;
}

.player-thumb {
  width: 100%;
  max-width: 104px;
  height: auto;
  border-radius: 6px;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

/* Custom eFootball Card Art Component */
.card-art-box {
  width: 100%;
  max-width: 104px;
  aspect-ratio: 98 / 132;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  border: 1.5px solid #d4af37;
}

.card-top-info {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.card-ovr {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 1px 1px 2px #000;
}

.card-pos {
  font-size: 8px;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 1px 1px 2px #000;
}

.card-mid-emblem {
  font-size: 24px;
  text-align: center;
  margin: 2px 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.card-btm-info {
  background: rgba(0, 0, 0, 0.75);
  border-radius: 4px;
  padding: 2px 3px;
  text-align: center;
  backdrop-filter: blur(2px);
}

.card-pname {
  font-size: 7px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.3px;
  display: block;
}

.card-stars {
  font-size: 6px;
  color: #ffd700;
  letter-spacing: 0.5px;
}

/* Player Themes */
.cr7-theme { background: linear-gradient(145deg, #b91c1c, #450a0a); }
.haaland-theme { background: linear-gradient(145deg, #0284c7, #082f49); }
.dinho-theme { background: linear-gradient(145deg, #d97706, #451a03); }
.neymar-theme { background: linear-gradient(145deg, #eab308, #713f12); }
.bellingham-theme { background: linear-gradient(145deg, #7c3aed, #2e1065); }
.rodri-theme { background: linear-gradient(145deg, #059669, #022c22); }
.kdb-theme { background: linear-gradient(145deg, #06b6d4, #164e63); }
.vini-theme { background: linear-gradient(145deg, #2563eb, #172554); }
.zidane-theme { background: linear-gradient(145deg, #1e3a8a, #0f172a); }
.maldini-theme { background: linear-gradient(145deg, #dc2626, #18181b); }
.carlos-theme { background: linear-gradient(145deg, #16a34a, #14532d); }
.gullit-theme { background: linear-gradient(145deg, #ea580c, #431407); }
.pirlo-theme { background: linear-gradient(145deg, #0284c7, #0f172a); }
.nesta-theme { background: linear-gradient(145deg, #0284c7, #1e1b4b); }
.beckham-theme { background: linear-gradient(145deg, #dc2626, #450a0a); }
.gerrard-theme { background: linear-gradient(145deg, #b91c1c, #1f2937); }
.lampard-theme { background: linear-gradient(145deg, #1d4ed8, #0f172a); }
.henry-theme { background: linear-gradient(145deg, #dc2626, #7f1d1d); }
.bergkamp-theme { background: linear-gradient(145deg, #ea580c, #7c2d12); }
.seedorf-theme { background: linear-gradient(145deg, #7c3aed, #1e1b4b); }
.kaka-theme { background: linear-gradient(145deg, #b91c1c, #000000); }
.rivaldo-theme { background: linear-gradient(145deg, #1d4ed8, #701a75); }
.cafu-theme { background: linear-gradient(145deg, #15803d, #713f12); }
.maradona-theme { background: linear-gradient(145deg, #0284c7, #082f49); }
.cruyff-theme { background: linear-gradient(145deg, #ea580c, #431407); }
.beckenbauer-theme { background: linear-gradient(145deg, #b45309, #1c1917); }

.card-remaining-text {
  font-size: 9px;
  color: #ff6a00;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}

.card-remaining-text span {
  color: #ff6a00;
  font-weight: 800;
}

/* Collect Button (Authentic Royal Blue) */
.btn-collect-blue {
  width: 92%;
  background: #1677ff;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 6px 0;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(22, 119, 255, 0.35);
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-collect-blue:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.btn-collect-blue:active {
  transform: scale(0.96);
}

/* Interactive Pagination Dots (10 Dots) */
.pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  padding: 4px 0;
  cursor: pointer;
}

.p-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #343a46;
  cursor: pointer;
  transition: all 0.25s ease;
}

.p-dot:hover {
  background: #64748b;
  transform: scale(1.3);
}

.p-dot.active {
  width: 18px;
  height: 5px;
  border-radius: 3px;
  background: #ffd000;
  box-shadow: 0 0 8px rgba(255, 208, 0, 0.6);
}

/* 6. Coins 3x2 Grid */
.coins-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.coin-box {
  padding: 10px 6px 10px 6px;
}

.coin-visual-wrap {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 6px 0;
}

.coin-graphic-img {
  max-width: 88px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transform: scale(1.1);
}

.coin-count-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 3px;
  line-height: 1;
}

.reward-coin-ico,
.count-coin-ico {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  margin: -6px -2px;
}

.t-coin {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  margin: -3px 0;
}

.count-value {
  color: #0088ff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.card-separator {
  width: 75%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 5px auto;
}

/* 7. Bottom Area / Official Legal Footer */
.store-footer-wrap {
  margin-top: 24px;
  padding: 24px 14px 32px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background-color: #060913;
  background-image: 
    radial-gradient(ellipse at 95% 30%, rgba(0, 48, 180, 0.42) 0%, transparent 55%),
    linear-gradient(135deg, transparent 65%, rgba(0, 50, 180, 0.28) 100%);
  border-top: 1px solid #141b2a;
  position: relative;
}

/* Official eFootball Button Badge */
.footer-badge-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.footer-blue-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #185dec;
  background: linear-gradient(180deg, #1d65f5 0%, #1254df 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 20px;
  box-shadow: 0 0 22px rgba(24, 93, 236, 0.65), 0 2px 8px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  user-select: none;
}

.footer-blue-badge:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 28px rgba(35, 115, 255, 0.8), 0 4px 12px rgba(0, 0, 0, 0.5);
  filter: brightness(1.08);
}

.footer-blue-badge:active {
  transform: translateY(0) scale(0.98);
}

.footer-badge-logo {
  height: 18px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Campaign Info & Copyright */
.footer-info-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 2px;
}

.footer-campaign-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.footer-powered-by {
  font-size: 11.5px;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: 0.2px;
}

.footer-copyright {
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.2px;
  margin-top: 2px;
}

/* Legal Links */
.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.legal-link {
  font-size: 10.5px;
  color: #58a6ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.legal-link:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.legal-dot {
  color: #475569;
  font-size: 9px;
}

/* ==========================================================================
   Modals: Confirmation, Simulation & Success
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Confirmation Box (Clean white style from in-game) */
.confirm-modal-box {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 22px;
  padding: 22px 20px 20px 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  transform: translateY(15px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.modal-overlay.active .confirm-modal-box {
  transform: translateY(0);
}

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

.modal-heading {
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.2px;
}

.modal-x-btn {
  background: #e1edfa;
  border: none;
  color: #298dfc;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.modal-x-btn:hover {
  background: #cfe2f5;
}

.modal-subheading {
  font-size: 13.5px;
  font-weight: 700;
  color: #111111;
  text-align: center;
  margin-bottom: 18px;
}

.reward-preview-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.preview-item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.preview-inner-box {
  width: 74px;
  height: 98px;
  background: #1a202c;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.preview-inner-box.player-inner-box {
  width: auto;
  height: 98px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  padding: 0;
}

.modal-coin-photo {
  max-width: 48px;
  max-height: 42px;
  object-fit: contain;
  display: block;
}

.modal-coin-amount {
  font-size: 14px;
  font-weight: 900;
  color: #0088ff;
  letter-spacing: -0.2px;
}

.modal-player-photo {
  height: 98px;
  width: auto;
  max-width: 74px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.45));
}

.preview-caption {
  font-size: 11px;
  font-weight: 700;
  color: #4b5563;
  text-align: center;
}

.preview-plus-sign {
  font-size: 20px;
  font-weight: 900;
  color: #9ca3af;
  margin-top: -10px;
}

.modal-confirm-btn {
  width: 100%;
  background: #c7ddef;
  color: #298dfc;
  border: none;
  padding: 11px 0;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  user-select: none;
}

.modal-confirm-btn:hover {
  background: #b6d3eb;
}

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

/* Search User Modal (1:1 In-Game Replica) */
.search-modal-box {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  color: #111827;
  border-radius: 22px;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  transform: translateY(15px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.modal-overlay.active .search-modal-box {
  transform: translateY(0);
}

.search-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  text-align: center;
  margin: 0 0 4px 0;
  letter-spacing: -0.2px;
}

.search-modal-subtitle {
  font-size: 13.5px;
  font-weight: 700;
  color: #111111;
  text-align: center;
  margin: 0 0 8px 0;
}

.search-error-msg {
  color: #ff3b30;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 10px 0;
  letter-spacing: -0.1px;
  animation: errorShake 0.3s ease-in-out;
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.search-input-wrap {
  width: 100%;
  margin-bottom: 18px;
}

.search-user-input {
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #828282;
  border-radius: 2px;
  padding: 9px 12px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.search-user-input:focus {
  border-color: #298dfc;
  box-shadow: 0 0 0 2px rgba(41, 141, 252, 0.2);
}

.search-user-input::placeholder {
  color: #737373;
  font-weight: 600;
}

.search-btn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.btn-user-cancel {
  flex: 1;
  background: #c7ddef;
  color: #298dfc;
  border: none;
  border-radius: 14px;
  padding: 11px 0;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, transform 0.1s ease;
  user-select: none;
}

.btn-user-cancel:hover {
  background: #b6d3eb;
}

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

.btn-user-search {
  flex: 1;
  background: #e8e8e8;
  color: #999999;
  border: none;
  border-radius: 14px;
  padding: 11px 0;
  font-size: 15px;
  font-weight: 800;
  cursor: not-allowed;
  text-align: center;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-user-search.active,
.btn-user-search:not(:disabled) {
  background: #298dfc;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(41, 141, 252, 0.35);
}

.btn-user-search.active:hover,
.btn-user-search:not(:disabled):hover {
  background: #1c7de9;
}

.btn-user-search.active:active,
.btn-user-search:not(:disabled):active {
  transform: scale(0.98);
}

/* Search Spinner Overlay (Center eFootball rotating icon) */
.search-modal-box {
  position: relative;
}

.search-spinner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(1.5px);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: wait;
}

.search-spinner-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
  animation: efootballFlip 1.2s infinite linear;
  transform-style: preserve-3d;
}

/* ==========================================================================
   Game Verification Modal (1:1 In-Game Replica)
   ========================================================================== */
.verification-modal-box {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  color: #111827;
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  transform: translateY(15px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
  overflow: hidden;
}

.modal-overlay.active .verification-modal-box {
  transform: translateY(0);
}

.verify-header {
  padding: 16px 20px 14px 20px;
  text-align: center;
}

.verify-title {
  font-size: 17.5px;
  font-weight: 800;
  color: #111827;
  margin: 0;
  letter-spacing: -0.2px;
}

.verify-divider {
  width: 100%;
  height: 1px;
  background: #e5e7eb;
}

.verify-body {
  padding: 18px 20px 16px 20px;
  display: flex;
  flex-direction: column;
}

.verify-subheading {
  font-size: 13.5px;
  font-weight: 600;
  color: #4b5563;
  text-align: center;
  margin: 0 0 16px 0;
}

.verified-user-card {
  background: #edf2f7;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.user-avatar-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.user-verified-badge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  background: #1877f2;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.user-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.user-badge-label {
  font-size: 10px;
  font-weight: 800;
  color: #7b8fa7;
  letter-spacing: 0.5px;
}

.user-badge-name {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.division-form-group {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.division-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #526071;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.division-label-icon {
  font-size: 10px;
  color: #64748b;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.division-select {
  width: 100%;
  height: 44px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 38px 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.division-select:focus {
  border-color: #1877f2;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
}

.select-wrapper::after {
  content: '▼';
  font-size: 10px;
  color: #475569;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.btn-verify-submit {
  width: 100%;
  height: 46px;
  margin-top: 20px;
  background: #1877f2;
  color: #ffffff;
  border: none;
  border-radius: 16px;
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  user-select: none;
}

.btn-verify-submit:hover {
  background: #1267d8;
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.5);
  transform: translateY(-1px);
}

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

.verify-footer-copy {
  font-size: 10.5px;
  font-weight: 500;
  color: #94a3b8;
  text-align: center;
  margin: 16px 0 0 0;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   Please Wait Verifying Modal (1:1 Replica)
   ========================================================================== */
.please-wait-modal-box {
  width: 100%;
  max-width: 350px;
  background: #ffffff;
  color: #111827;
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  transform: translateY(15px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
}

.modal-overlay.active .please-wait-modal-box {
  transform: translateY(0);
}

.pw-header {
  padding: 18px 20px 14px 20px;
}

.pw-title {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  margin: 0;
  letter-spacing: -0.2px;
}

.pw-divider {
  width: 100%;
  height: 1px;
  background: #e5e7eb;
}

.pw-body {
  padding: 26px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pw-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 600px;
  margin-bottom: 12px;
}

.pw-icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
  animation: efootballFlip 1.2s infinite linear;
  transform-style: preserve-3d;
}

.pw-status {
  font-size: 16px;
  font-weight: 700;
  color: #4b5563;
  margin: 0 0 14px 0;
}

.pw-copy {
  font-size: 10.5px;
  font-weight: 500;
  color: #94a3b8;
  margin: 0;
}

/* ==========================================================================
   Google Sign-In Modal (1:1 Replica of Photo 1 & Photo 2)
   ========================================================================== */
.google-modal-box {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  color: #202124;
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.5);
  transform: translateY(15px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
  overflow: hidden;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.modal-overlay.active .google-modal-box {
  transform: translateY(0);
}

.g-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 14px 20px;
}

.g-logo-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.g-header-title {
  font-size: 15px;
  font-weight: 500;
  color: #3c4043;
  letter-spacing: -0.1px;
}

/* Indeterminate Blue Progress Bar (Matches Photo 1) */
.g-header-divider {
  width: 100%;
  height: 3px;
  background: #dadce0;
  position: relative;
  overflow: hidden;
}

.g-progress-bar-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #d2e3fc;
  display: none;
}

.g-header-divider.is-loading .g-progress-bar-line {
  display: block;
}

.g-progress-bar-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 60%;
  background: #1a73e8;
  animation: googleProgressAnim 1.25s infinite ease-in-out;
}

@keyframes googleProgressAnim {
  0% {
    left: -40%;
    width: 30%;
  }
  50% {
    left: 20%;
    width: 65%;
  }
  100% {
    left: 100%;
    width: 40%;
  }
}

.g-body {
  padding: 22px 24px 24px 24px;
  box-sizing: border-box;
}

.g-title {
  font-size: 24px;
  font-weight: 400;
  color: #202124;
  margin: 0 0 6px 0;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.g-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: #3c4043;
  margin: 0 0 20px 0;
}

.g-konami-brand {
  color: #1a73e8;
  font-weight: 500;
  text-decoration: none;
}

/* User identity pill badge (Step 2 - Welcome) */
.g-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px 3px 2px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  margin-bottom: 22px;
  transition: background-color 0.15s, border-color 0.15s;
  user-select: none;
}

.g-user-badge:hover {
  background: #f1f3f4;
  border-color: #dadce0;
}

.g-user-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #3c4043;
}

.g-user-email {
  font-size: 14px;
  font-weight: 500;
  color: #3c4043;
  letter-spacing: -0.1px;
}

/* Inputs & Floating Labels */
.g-input-wrap {
  margin-bottom: 8px;
  width: 100%;
  position: relative;
}

.g-floating-label {
  position: absolute;
  top: -8px;
  left: 12px;
  background: #ffffff;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 500;
  color: #1a73e8;
  display: none;
  z-index: 2;
  pointer-events: none;
}

.g-input-wrap.has-value .g-floating-label,
.g-input-wrap.is-submitting .g-floating-label {
  display: block;
}

.g-input {
  width: 100%;
  height: 50px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  padding: 0 16px;
  font-size: 15px;
  color: #202124;
  background: #ffffff;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  font-family: inherit;
}

.g-input::placeholder {
  color: #5f6368;
}

.g-input-wrap.has-value .g-input::placeholder {
  color: transparent;
}

.g-input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 1px #1a73e8;
}

/* Light blue submitting state matching Photo 1 */
.g-input-wrap.is-submitting .g-input {
  background: #eaf1fb !important;
  border-color: #c7dcfa !important;
  box-shadow: none !important;
}

.g-input.has-error {
  border-color: #d93025 !important;
  box-shadow: 0 0 0 1px #d93025 !important;
}

/* Step 2 Password Box Wrap (Matching Photo 2) */
.g-pwd-box-wrap {
  width: 100%;
  height: 50px;
  border: 1.8px solid #1a73e8;
  border-radius: 6px;
  position: relative;
  background: #ffffff;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  transition: border-color 0.2s;
}

.g-pwd-box-wrap .g-pwd-label {
  display: block;
  position: absolute;
  top: -8px;
  left: 12px;
  background: #ffffff;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 500;
  color: #1a73e8;
  pointer-events: none;
}

.g-pwd-box-wrap.has-error {
  border-color: #d93025 !important;
}

.g-pwd-box-wrap.has-error .g-pwd-label {
  color: #d93025 !important;
}

.g-pwd-input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: #202124;
  padding: 0 14px;
  font-family: inherit;
  box-sizing: border-box;
}


/* Show Password Checkbox Row */
.g-checkbox-wrap {
  margin-top: 14px;
  margin-bottom: 22px;
}

.g-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.g-checkbox-native {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.g-checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #5f6368;
  border-radius: 3px;
  background: #ffffff;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s, border-color 0.15s;
}

.g-checkbox-native:checked + .g-checkbox-custom {
  background-color: #1a73e8;
  border-color: #1a73e8;
}

.g-checkbox-native:checked + .g-checkbox-custom::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.g-checkbox-text {
  font-size: 14px;
  color: #202124;
  font-weight: 400;
}

.g-error-msg {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #d93025;
  font-size: 12px;
  margin-top: 6px;
  font-weight: 400;
}

.g-forgot-wrap {
  margin-top: 10px;
  margin-bottom: 22px;
}

.g-blue-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: #1a73e8;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.g-blue-link-btn:hover {
  text-decoration: underline;
}

.g-disclaimer {
  font-size: 12px;
  line-height: 1.45;
  color: #5f6368;
  margin: 0 0 26px 0;
}

.g-blue-link {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 400;
}

.g-blue-link:hover {
  text-decoration: underline;
}

.g-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.g-create-btn {
  background: none;
  border: none;
  padding: 0;
  color: #1a73e8;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.g-create-btn:hover {
  text-decoration: underline;
}

.g-next-btn {
  background: #1a73e8;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 9px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s, box-shadow 0.15s;
  min-width: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.g-next-btn:hover {
  background: #1765c9;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3);
}

.g-next-btn:active {
  background: #185abc;
}

.g-next-btn.is-disabled-loading {
  background: #b9d5f8 !important;
  color: #ffffff !important;
  cursor: default;
  pointer-events: none;
  box-shadow: none !important;
}

/* ==========================================================================
   Processing Complete Modal (1:1 Replica of media_1789378734748.png)
   ========================================================================== */
.processing-complete-box {
  width: 100%;
  max-width: 375px;
  background: #ffffff;
  color: #111827;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  transform: translateY(15px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.modal-overlay.active .processing-complete-box {
  transform: translateY(0);
}

.pc-header {
  padding: 18px 20px 14px 20px;
}

.pc-title {
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  margin: 0;
  letter-spacing: -0.3px;
}

.pc-divider {
  width: 100%;
  height: 1px;
  background: #e5e7eb;
}

.pc-body {
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.pc-check-circle {
  width: 50px;
  height: 50px;
  background: #1a73e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 18px rgba(26, 115, 232, 0.45);
}

.pc-greeting {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px 0;
}

.pc-username-highlight {
  color: #1a73e8;
  font-weight: 800;
}

.pc-desc {
  font-size: 13.5px;
  color: #4b5563;
  margin: 0 0 4px 0;
  line-height: 1.4;
  font-weight: 500;
}

.pc-wait-notice {
  font-size: 14px;
  font-weight: 700;
  color: #1a73e8;
  margin: 0 0 6px 0;
}

.pc-note {
  font-size: 12px;
  color: #5f6368;
  margin: 0 0 16px 0;
  line-height: 1.4;
  font-weight: 500;
}

.pc-note strong {
  color: #1a73e8;
  font-weight: 700;
}

.pc-reward-card {
  width: 100%;
  background: #ebf3fc;
  border-radius: 16px;
  padding: 16px 12px 14px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  margin-bottom: 20px;
  border: 1px solid #dbeafe;
}

.pc-item-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pc-coin-box {
  width: 96px;
  height: 108px;
  background: #1e222d;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pc-coin-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 6px;
}

.pc-coin-val {
  font-size: 11.5px;
  font-weight: 800;
  color: #38bdf8;
  text-align: center;
  white-space: nowrap;
}

.pc-plus-sign {
  font-size: 18px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 20px;
}

.pc-player-box {
  width: 96px;
  height: 108px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-player-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pc-item-label {
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  margin-top: 6px;
  text-align: center;
}

.pc-home-btn {
  width: 100%;
  background: #1a73e8;
  color: #ffffff;
  border: none;
  border-radius: 28px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.4);
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
  font-family: inherit;
}

.pc-home-btn:hover {
  background: #1765c9;
  box-shadow: 0 10px 28px rgba(26, 115, 232, 0.5);
  transform: translateY(-1px);
}

.pc-home-btn:active {
  background: #185abc;
  transform: translateY(1px);
}

.pc-footer-copy {
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  margin: 14px 0 0 0;
}

/* Simulation Modal */
.sim-modal-box {
  width: 100%;
  max-width: 360px;
  background: #11141e;
  border: 1px solid #232a3d;
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
}

.sim-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #1f2738;
  border-top-color: #1677ff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto 10px auto;
}

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

.sim-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.sim-status {
  font-size: 11px;
  color: #8b949e;
  margin: 2px 0 14px 0;
}

.sim-bar-wrap {
  width: 100%;
  height: 6px;
  background: #1c2333;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.sim-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1677ff, #00d4ff);
  transition: width 0.25s ease;
}

.sim-pct {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  display: block;
  margin-bottom: 12px;
}

.sim-console {
  background: #080a11;
  border: 1px solid #1c2233;
  border-radius: 8px;
  padding: 8px 10px;
  height: 85px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 10px;
  text-align: left;
}

.c-line {
  color: #58a6ff;
  line-height: 1.5;
}
.c-line.ok { color: #3fb950; font-weight: bold; }
.c-line.warn { color: #d29922; }

/* Success Modal */
.success-modal-box {
  width: 100%;
  max-width: 360px;
  background: #11141e;
  border: 1px solid #28334a;
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
}

.success-star-icon {
  font-size: 40px;
  margin-bottom: 4px;
}

.success-title {
  font-size: 22px;
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 0.5px;
}

.success-subtitle {
  font-size: 12px;
  color: #8b949e;
  margin-bottom: 14px;
}

.success-summary-box {
  background: #0b0d15;
  border: 1px solid #1f2738;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
}

.s-reward-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.s-status-badge {
  font-size: 11px;
  color: #3fb950;
  font-weight: 700;
}

.success-disclaimer {
  background: rgba(255, 208, 0, 0.08);
  border: 1px solid rgba(255, 208, 0, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 10px;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 14px;
  text-align: left;
}

/* ==========================================================================
   Official eFootball™ Opening / Splash Loading Screen
   ========================================================================== */
.site-splash-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background-color: #000000;
  background-image: url('splash-bg.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease;
  user-select: none;
  overflow: hidden;
}

.site-splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-center-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateY(0);
}

.splash-icon-box {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 600px;
}

.splash-icon-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.25)) drop-shadow(0 0 24px rgba(18, 93, 236, 0.5));
  animation: efootballFlip 1.4s infinite linear;
  transform-style: preserve-3d;
}

@keyframes efootballFlip {
  0% {
    transform: perspective(600px) rotateY(0deg);
  }
  50% {
    transform: perspective(600px) rotateY(180deg);
  }
  100% {
    transform: perspective(600px) rotateY(360deg);
  }
}

.splash-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.splash-loading-text {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.4px;
  margin: 0;
  font-family: inherit;
}

.splash-dots {
  display: inline-block;
  animation: splashDotPulse 1.2s infinite ease-in-out;
}

@keyframes splashDotPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

.splash-copyright-text {
  font-size: 10px;
  font-weight: 500;
  color: #8892a0;
  margin: 0;
  letter-spacing: 0.3px;
  font-family: inherit;
}
