/* =================================================================
   @mednasah - Official eFootball™ Golden Ticket Giveaway
   VIP Dark & Radiant Gold Luxury Design System
   ================================================================= */

:root {
  --bg-page: #0a0b0e;
  --bg-card: #12141a;
  --bg-card-sub: #181a24;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --primary-gold: #f59e0b;
  --primary-gold-light: #fbbf24;
  --primary-gold-dark: #b45309;
  --gold-glow: rgba(245, 158, 11, 0.45);
  
  --accent-efootball-blue: #0284c7;
  --accent-efootball-cyan: #38bdf8;
  --accent-green: #10b981;
  
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(245, 158, 11, 0.15);
  --shadow-btn: 0 10px 30px rgba(245, 158, 11, 0.45);
  --border-radius-card: 26px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background: radial-gradient(circle at 50% 0%, #1e1b13 0%, #0d0e12 60%, #070709 100%);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Top Sticky Golden Announcement Bar */
.top-announcement {
  background: linear-gradient(90deg, #111217 0%, #1f1b0f 50%, #111217 100%);
  color: #fde047;
  font-size: 0.86rem;
  padding: 10px 16px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
}

.announcement-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.live-pulse {
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 12px #f59e0b;
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.highlight-slot {
  color: #fde047;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(253, 224, 71, 0.5);
}

/* Page Wrapper */
.page-wrapper {
  max-width: 620px;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem;
}

.main-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow-card);
  padding: 2.2rem 1.8rem;
  text-align: center;
  border: 1px solid rgba(245, 158, 11, 0.28);
  position: relative;
  overflow: hidden;
}

.main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fbbf24, #f59e0b, transparent);
  animation: topGlow 4s linear infinite;
}

@keyframes topGlow {
  0% { transform: translateX(-30%); }
  100% { transform: translateX(30%); }
}

/* Profile Header */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.6rem;
}

.avatar-wrapper {
  position: relative;
  width: 125px;
  height: 125px;
  margin-bottom: 1.1rem;
}

.avatar-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe066 0%, #f59e0b 50%, #b45309 100%);
  padding: 4px;
  box-shadow: 0 8px 26px var(--gold-glow);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #000;
  display: block;
}

.story-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 2px dashed rgba(245, 158, 11, 0.65);
  border-radius: 50%;
  animation: rotateRing 14s linear infinite;
  pointer-events: none;
}

@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.handle-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.handle-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.verified-badge {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.giveaway-title {
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff7ed 0%, #fbbf24 60%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 2px;
}

.badge-vip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde047;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vip-icon {
  font-size: 0.85rem;
}

/* Glowing Gold CTA Button */
.cta-wrapper {
  margin: 1.4rem 0 1.8rem;
}

.claim-button {
  width: 100%;
  padding: 1.05rem 1.6rem;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 60%, #b45309 100%);
  color: #0b0c10;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.claim-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: shineBtn 2.8s infinite;
}

@keyframes shineBtn {
  0% { left: -120%; }
  35% { left: 160%; }
  100% { left: 160%; }
}

.claim-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 36px rgba(245, 158, 11, 0.6);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
}

.claim-button:active {
  transform: translateY(0);
}

.pulse-btn {
  animation: pulseGoldBtn 2.2s infinite;
}

@keyframes pulseGoldBtn {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.btn-icon {
  display: flex;
  align-items: center;
  color: #0b0c10;
}

/* 3-Step Process Flow */
.steps-flow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card-sub);
  border-radius: 20px;
  padding: 1.25rem 0.9rem;
  margin-bottom: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  gap: 4px;
}

.step-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-num-badge {
  position: absolute;
  top: -8px;
  right: 18%;
  background: #f59e0b;
  color: #0b0c10;
  font-size: 0.68rem;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.step-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.step-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
  max-width: 140px;
}

.step-arrow {
  opacity: 0.45;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Showcase Section */
.showcase-section {
  margin-bottom: 1.8rem;
}

.showcase-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.65);
  border: 2px solid rgba(245, 158, 11, 0.35);
  transition: var(--transition);
  background: #000;
}

.showcase-img-wrapper:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.25);
}

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

.showcase-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 17, 23, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde047;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

/* Highlights Grid */
.basket-highlights {
  background: var(--bg-card-sub);
  border-radius: 20px;
  padding: 1.4rem 1.2rem;
  margin-bottom: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.highlights-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 0.9rem;
  letter-spacing: 0.01em;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  color: var(--text-main);
  transition: var(--transition);
}

.highlight-item:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
}

.highlight-icon {
  font-size: 1.1rem;
}

/* Trust Badges & Disclaimer */
.trust-footer {
  margin-top: 1.2rem;
}

.trust-icons {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.trust-icon {
  font-size: 1rem;
}

.disclaimer-text {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

/* ========================================================
   Interactive Delivery & Account Confirmation Modal
   ======================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  background: #14161f;
  border: 1px solid rgba(245, 158, 11, 0.38);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 1.8rem 1.4rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 158, 11, 0.15);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-header {
  text-align: left;
  margin-bottom: 1.2rem;
}

.modal-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.modal-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: var(--transition);
}

.close-btn:hover {
  color: #fff;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.modal-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.8rem;
}

.modal-subtitle strong {
  color: #fbbf24;
}

.timer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  color: #fca5a5;
  font-weight: 600;
}

.timer-countdown {
  font-size: 1rem;
  font-weight: 800;
  color: #ef4444;
}

/* Modal Body & Offers */
.offers-header-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.offers-count-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.offers-refresh-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.76rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.offers-refresh-btn:hover {
  color: #fbbf24;
}

.offers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1rem;
}

.offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1d29;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 16px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.offer-card:hover {
  background: #202433;
  border-color: rgba(245, 158, 11, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.offer-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.offer-thumb {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.offer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.offer-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.offer-instruction {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.offer-pill {
  font-size: 0.66rem;
  font-weight: 800;
  color: #fde047;
  margin-top: 3px;
  letter-spacing: 0.03em;
}

.offer-action-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b0c10;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.auto-check-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  padding: 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: left;
}

.pulsing-radar {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  flex-shrink: 0;
  animation: pulseLive 1.4s infinite;
}

/* iOS & TikTok In-App Browser Redirect Popup */
.ios-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.ios-popup-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.ios-popup-content {
  position: relative;
  background: #161822;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 24px;
  max-width: 420px;
  width: 100%;
  padding: 1.6rem 1.4rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.ios-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
}

.ios-gif-container {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ios-instruction-gif {
  width: 100%;
  display: block;
}

.ios-popup-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.ios-popup-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.ios-popup-desc strong {
  color: #fbbf24;
}

/* Winner Toast Notification */
.winner-toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(18, 20, 28, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  z-index: 999;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 340px;
}

.winner-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-img-box {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #f59e0b;
  flex-shrink: 0;
}

.toast-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toast-text-box {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.toast-text-box strong {
  font-size: 0.82rem;
  color: #fff;
}

.toast-text-box span {
  font-size: 0.74rem;
  color: #fbbf24;
  margin-top: 1px;
}

.toast-text-box small {
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* Responsive Styles */
@media (max-width: 480px) {
  .page-wrapper {
    margin: 0.8rem auto 2.5rem;
    padding: 0 0.75rem;
  }

  .main-card {
    padding: 1.6rem 1.1rem;
    border-radius: 22px;
  }

  .handle-name {
    font-size: 1.55rem;
  }

  .avatar-wrapper {
    width: 110px;
    height: 110px;
  }

  .giveaway-title {
    font-size: 0.95rem;
  }

  .claim-button {
    font-size: 1.05rem;
    padding: 0.95rem 1.2rem;
  }

  .steps-flow-container {
    padding: 1rem 0.6rem;
  }

  .step-icon-box {
    width: 42px;
    height: 42px;
  }

  .step-title {
    font-size: 0.82rem;
  }

  .step-desc {
    font-size: 0.68rem;
  }

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

  .winner-toast {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: 12px;
  }
}
