/* =================================================================
   @Millies.ie - Official Black Friday Giveaway (€1,500 Gift Set)
   Deep Velvet Burgundy, Champagne Gold & Luxury Beauty Aesthetic
   ================================================================= */

:root {
  --bg-page: #fdf7f4;
  --bg-card: #ffffff;
  --text-main: #141113;
  --text-muted: #5e484a;
  --text-dim: #8c7274;

  --primary-color: #2b080f;
  --primary-hover: #1c0409;
  --primary-dark: #120205;
  --primary-red: #a81d33;
  --primary-burgundy: #851325;
  --primary-gold: #d4af37;
  --primary-amber: #e59a1f;

  --accent-light: #fdf5f2;
  --accent-border: #edd5cb;
  --accent-soft: #f7e4dc;

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-card: 0 20px 50px rgba(43, 8, 15, 0.08), 0 4px 20px rgba(20, 17, 19, 0.04);
  --shadow-btn: 0 10px 25px rgba(168, 29, 51, 0.4);
  --border-radius-card: 28px;
  --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: linear-gradient(180deg, #fdf6f2 0%, #faf1ec 50%, #f7ebe4 100%);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Top Announcement */
.top-announcement {
  background: #150508;
  color: #fdf5f2;
  font-size: 0.85rem;
  padding: 11px 16px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(21, 5, 8, 0.55);
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
}

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

.live-pulse {
  width: 8px;
  height: 8px;
  background: #e74c3c;
  border-radius: 50%;
  box-shadow: 0 0 10px #e74c3c;
  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: #f5c542; font-weight: 800; }

/* 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(237, 213, 203, 0.75);
  position: relative;
}

/* Collab Header Tag */
.collab-header {
  margin-bottom: 1rem;
}

.collab-tag {
  display: inline-block;
  background: linear-gradient(135deg, #2b080f 0%, #5c1421 100%);
  color: #f5c542;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 3px 10px rgba(43, 8, 15, 0.2);
}

/* 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, #a81d33 0%, #d4af37 50%, #2b080f 100%);
  padding: 4px;
  box-shadow: 0 8px 24px rgba(168, 29, 51, 0.35);
}

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

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

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

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

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

.giveaway-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #a81d33;
  max-width: 480px;
  line-height: 1.35;
}

/* CTA Button */
.cta-wrapper { margin: 1.2rem 0 2.2rem; }
.bottom-cta { margin: 1.6rem 0 2rem; }

.claim-button {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(135deg, #a81d33 0%, #851325 55%, #680d1b 100%);
  color: #ffffff;
  border: 1px solid #d4af37;
  border-radius: 50px;
  padding: 16px 28px;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-btn);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.claim-button:hover {
  background: linear-gradient(135deg, #be263d 0%, #a81d33 55%, #851325 100%);
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 14px 34px rgba(168, 29, 51, 0.52);
}

.claim-button:active { transform: translateY(1px) scale(0.99); }

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

@keyframes pulseButton {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.btn-icon { display: flex; align-items: center; color: #f5c542; }
.btn-text { letter-spacing: -0.01em; }

/* 3-Step Flow */
.steps-flow-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 1rem 0 2rem;
  border-bottom: 1px solid #edd5cb;
  margin-bottom: 2rem;
}

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

.step-num-badge {
  width: 24px;
  height: 24px;
  background: #a81d33;
  color: #f5c542;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 2px 6px rgba(168, 29, 51, 0.3);
}

.step-icon-box {
  width: 52px;
  height: 52px;
  background: #fdf5f2;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a81d33;
  margin-bottom: 8px;
  border: 1px solid #edd5cb;
  transition: var(--transition);
}

.step-col:hover .step-icon-box {
  transform: translateY(-3px);
  background: #f7e4dc;
  color: #851325;
}

.step-title { font-size: 0.96rem; font-weight: 700; margin-bottom: 4px; color: #141113; }
.step-desc { font-size: 0.76rem; color: #5e484a; line-height: 1.35; }

.step-arrow {
  display: flex;
  align-items: center;
  margin-top: 36px;
  opacity: 0.8;
}

/* Showcase Poster */
.showcase-section { margin-bottom: 2rem; }

.showcase-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(43, 8, 15, 0.16), 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #edd5cb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-img-wrapper:hover {
  transform: scale(1.015);
  box-shadow: 0 16px 44px rgba(168, 29, 51, 0.22);
}

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

.showcase-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(21, 5, 8, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fdf5f2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(212, 175, 55, 0.5);
}

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

/* Highlights */
.basket-highlights {
  background: #fdf5f2;
  border-radius: 20px;
  padding: 1.4rem;
  margin-bottom: 1.6rem;
  text-align: left;
  border: 1px solid #edd5cb;
}

.highlights-title { font-size: 1.02rem; font-weight: 800; color: #2b080f; margin-bottom: 1rem; }

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

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #141113;
  border: 1px solid #f7e4dc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

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

/* Trust Footer */
.trust-footer { border-top: 1px solid #edd5cb; padding-top: 1.5rem; }

.trust-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5e484a;
}

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

.disclaimer-text {
  font-size: 0.72rem;
  color: #8c7274;
  line-height: 1.5;
  max-width: 520px;
  margin: 0 auto;
}

/* =========================================================
   Interactive Verification Locker Modal (OGAds Offers)
========================================================= */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active { display: flex; }

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

.modal-container {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(168, 29, 51, 0.2);
  border: 1px solid #edd5cb;
  z-index: 2;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

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

.modal-badge {
  background: #fdf5f2;
  color: #a81d33;
  border: 1px solid #edd5cb;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
}

.close-btn {
  background: #f7e4dc;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  color: #5e484a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #141113;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.84rem;
  color: #5e484a;
  line-height: 1.4;
  margin-bottom: 12px;
}

.timer-box {
  background: #fdf5f2;
  border: 1px solid #edd5cb;
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #5e484a;
}

.timer-countdown {
  font-family: monospace;
  font-size: 0.95rem;
  color: #a81d33;
  font-weight: 800;
}

.offers-header-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 8px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #8c7274;
}

.live-status-pill {
  color: #10b981;
  font-weight: 800;
}

.offers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Offer Card */
.offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fdf5f2;
  border: 1px solid #edd5cb;
  border-radius: 16px;
  padding: 12px 14px;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.offer-card:hover {
  transform: translateY(-2px);
  border-color: #a81d33;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(168, 29, 51, 0.15);
}

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

.offer-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #edd5cb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

.offer-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #141113;
}

.offer-instruction {
  font-size: 0.76rem;
  color: #5e484a;
  line-height: 1.3;
}

.offer-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #a81d33;
  margin-top: 2px;
}

.offer-action-btn {
  background: #a81d33;
  color: #ffffff;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(168, 29, 51, 0.3);
  transition: var(--transition);
  animation: pulseRegisterBtn 1.8s infinite ease-in-out;
}

@keyframes pulseRegisterBtn {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(168, 29, 51, 0.3);
  }
  50% {
    transform: scale(1.055);
    box-shadow: 0 6px 16px rgba(168, 29, 51, 0.52);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(168, 29, 51, 0.3);
  }
}

.offer-card:hover .offer-action-btn {
  background: #851325;
  transform: scale(1.08);
}

/* Skeleton Loading */
.offer-skeleton-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fdf5f2;
  border-radius: 16px;
  border: 1px solid #edd5cb;
}

.skeleton-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #edd5cb;
  animation: shimmer 1.5s infinite;
}

.skeleton-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skeleton-bar {
  height: 12px;
  border-radius: 6px;
  background: #edd5cb;
  animation: shimmer 1.5s infinite;
}

.skeleton-bar.title { width: 70%; height: 14px; }
.skeleton-bar.sub { width: 90%; }

@keyframes shimmer {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.auto-check-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #edd5cb;
  font-size: 0.72rem;
  color: #8c7274;
  text-align: left;
}

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

/* =========================================================
   iOS & TikTok Popup
========================================================= */
.ios-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.ios-popup-background {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18, 2, 5, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ios-popup-content {
  position: relative;
  background: linear-gradient(180deg, #1f0408 0%, #100204 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 24px;
  width: 100%;
  max-width: 360px;
  padding: 1.4rem 1.3rem 1.3rem;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75), 0 0 35px rgba(168, 29, 51, 0.3);
  z-index: 2;
  color: #ffffff;
  animation: popUpAnim 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popUpAnim {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.ios-popup-close {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.ios-popup-close:hover { background: rgba(255,255,255,0.2); color: #fff; }

.ios-gif-container {
  margin: 0.5rem auto 1rem;
  max-width: 210px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  background: #000;
}

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

.ios-steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 12px 14px;
  border-radius: 14px;
}

.ios-step-row { display: flex; align-items: center; gap: 10px; }

.ios-step-badge {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #a81d33;
  border: 1px solid #d4af37;
  color: #f5c542;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ios-step-text { font-size: 0.82rem; color: #cbd5e1; line-height: 1.35; }
.ios-step-text strong { color: #f5c542; }

/* Winner Toast */
.winner-toast {
  position: fixed;
  bottom: 24px; left: 24px;
  background: #ffffff;
  border: 1px solid #edd5cb;
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  z-index: 998;
  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;
  flex-shrink: 0;
  border: 2px solid #a81d33;
}

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

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

.toast-text-box strong { font-size: 0.82rem; color: #141113; }
.toast-text-box span { font-size: 0.74rem; color: #a81d33; font-weight: 600; }
.toast-text-box small { font-size: 0.68rem; color: #8c7274; }

/* Mobile Optimizations */
@media (max-width: 520px) {
  .page-wrapper { margin: 0.8rem auto 2.5rem; padding: 0 0.75rem; }
  .main-card { padding: 1.6rem 1.2rem; border-radius: 22px; }
  .handle-name { font-size: 1.55rem; }
  .giveaway-title { font-size: 1.02rem; }
  .steps-flow-container { gap: 4px; }
  .step-icon-box { width: 44px; height: 44px; }
  .step-title { font-size: 0.85rem; }
  .step-desc { font-size: 0.7rem; }
  .highlights-grid { grid-template-columns: 1fr; }
  .winner-toast { left: 12px; right: 12px; bottom: 16px; max-width: none; }
  .modal-container { padding: 1.4rem 1.1rem; }
}

