/* Live chat: no auto prompts handled in JS; keep widget visible */
/* Christmas chat theme v46 - updated */
:root {
  /* Dark theme (default) */
  --bg: #0b0f14;
  --card: #121722;
  --border: #1e2633;
  --text: #e6ecf2;
  --muted: #a9b4c2;
  --primary: #3b82f6;
  --primary-600: #2563eb;
  --danger: #ef4444;
  --danger-600: #dc2626;
  --accent: #22d3ee;
  --bg-image: none; /* per-store override only */

  /* Extended color variables */
  --bg-primary: #0b0f14;
  --bg-secondary: #1a1f2e;
  --bg-tertiary: #232936;
  --card-bg: #121722;
  --border-color: #1e2633;
  --text-primary: #e6ecf2;
  --text-secondary: #c8d1dc;
  --text-muted: #a9b4c2;
  --primary-color: #3b82f6;
  --success: #22c55e;
}

/* FCCOINSUAE-only hero background */
body[data-store="fccoinsuae"] {
  --bg-image: url('/assets/bg-dubai-2.jpg');
}

/* Process timeline (How It Works) */
.process-timeline-section {
  margin: 40px 0;
}

.timeline-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 40px;
}

.process-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 10px;
}

.timeline-step {
  flex: 1;
  text-align: center;
}

.timeline-step .step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 auto 15px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.timeline-step .step-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.timeline-step .step-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.timeline-connector {
  flex: 0 0 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin-bottom: 60px;
}

.about-section {
  margin: 40px 0 0;
  padding: 48px 0;
  background: #0d1220;
  border-top: 1px solid var(--border);
}

.about-section .timeline-title {
  color: var(--text);
}

.about-section .seo-text-block {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.about-card h3 {
  margin: 8px 0 8px;
  color: var(--text);
  font-size: 18px;
}

.about-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.about-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(59,130,246,0.12);
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .process-timeline {
    flex-direction: column;
    gap: 4px;
  }
  .timeline-connector {
    display: none;
  }
  .process-timeline-section {
    margin: 16px 0;
  }
  .timeline-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .timeline-step .step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
    margin: 0 auto 6px;
  }
  .timeline-step .step-content h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .timeline-step .step-content p {
    font-size: 12px;
  }
}

/* Light theme */
[data-theme="light"] {
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --muted: #64748b;
  --primary: #3b82f6;
  --primary-600: #2563eb;
  --danger: #ef4444;
  --danger-600: #dc2626;
  --accent: #06b6d4;

  /* Extended color variables for light theme */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --primary-color: #3b82f6;
  --success: #22c55e;
}

/* Force light theme for admin dashboard */
.admin-page {
  --bg: #ffffff !important;
  --card: #f8f9fa !important;
  --border: #e5e7eb !important;
  --text: #1f2937 !important;
  --muted: #6b7280 !important;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page { min-height: 100%; display: flex; flex-direction: column; }
.bg-pitch { display: none; }
.site-header, .site-footer {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
  background: #0a0a0a;
  z-index: 100010;
  overflow: visible;
}
.site-footer {
  border-top: 1px solid var(--border);
  border-bottom: none;
  margin-top: 0;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0 10px 0;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}
.smallprint { color: var(--muted); font-size: 12px; text-align: center; }
.top-banner { position: sticky; top: 0; z-index: 10000; padding: 14px 16px; text-align: center; font-weight: 600; font-size: 15px; }
.top-banner.success { background: rgba(34,197,94,.95); color: #ffffff; border-bottom: 2px solid #16a34a; box-shadow: 0 2px 8px rgba(34,197,94,.3); }
.top-banner.error { background: rgba(239,68,68,.95); color: #ffffff; border-bottom: 2px solid #dc2626; box-shadow: 0 2px 8px rgba(239,68,68,.3); }
.top-banner.info { background: rgba(59,130,246,.95); color: #ffffff; border-bottom: 2px solid #2563eb; box-shadow: 0 2px 8px rgba(59,130,246,.3); }
.top-banner.sale { background: rgba(244,63,94,.95); color: #ffffff; border-bottom: 2px solid #e11d48; box-shadow: 0 2px 8px rgba(244,63,94,.3); }

.sale-badge { display:inline-flex; align-items:center; gap:6px; padding:4px 8px; border:1px solid #f43f5e; color:#f43f5e; background:rgba(244,63,94,.1); border-radius:999px; font-weight:700; font-size:12px; }
.sale-dot { width:6px; height:6px; border-radius:50%; background:#f43f5e; animation:pulse 1.5s infinite; }

.logo-wrap, .logo, .logo-fallback { display: none; }
.brand-text { text-align: center; font-weight: 900; color: var(--text); letter-spacing: .6px; font-size: 16px; line-height: 1.2; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 8px; }

.rotating-text {
  min-width: 300px;
  text-align: center;
  transition: opacity 0.5s ease-in-out;
}
.brand-icon { height: 1em; width: auto; vertical-align: middle; }
.site-header .header-actions { position: absolute; right: 12px; top: 0; bottom: 0; margin: auto 0; height: fit-content; display: flex; gap: 8px; align-items: center; z-index: 100015; }
.lang-switch { display: flex; gap: 6px; }
.site-header .header-left { position: absolute; left: 12px; top: 0; bottom: 0; margin: auto 0; height: fit-content; display: flex; gap: 8px; align-items: center; }
.site-header .header-left .link-btn { width: 34px; padding: 0; }
.site-header .header-left .live-prices-indicator { width: 34px; padding: 0; gap: 0; }

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
  color: var(--text);
}

.mobile-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 18px;
  line-height: 1;
}

/* WhatsApp Button */
.whatsapp-btn {
  color: var(--text);
  transition: color 0.2s ease;
}

.whatsapp-btn:hover {
  color: #25D366;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.is-open {
  display: flex;
  opacity: 1;
}

.mobile-nav-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  box-sizing: border-box;
  justify-content: flex-start;
  align-items: center;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.brand-text-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: .6px;
  font-size: 18px;
  text-transform: uppercase;
}

.mobile-menu-close {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--text);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.mobile-nav-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 300px;
}

.mobile-nav-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 24px;
  border: 2px solid var(--border);
  background: rgba(16, 23, 35, 0.9);
  color: var(--text);
  border-radius: 15px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 60px;
}

.mobile-nav-btn:hover {
  border-color: #00c853;
  background: rgba(0, 200, 83, 0.1);
  transform: translateY(-2px);
}

.lang-switch-mobile {
  display: flex;
  gap: 10px;
}

.lang-switch-mobile .mobile-nav-btn {
  flex: 1;
}

.instagram-btn-mobile {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border: none !important;
  color: white !important;
}

.instagram-btn-mobile:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3);
}

.back-btn {
  background: rgba(100, 100, 100, 0.2) !important;
  border-color: #666 !important;
  color: #ccc !important;
  margin-top: 20px;
}

.back-btn:hover {
  background: rgba(100, 100, 100, 0.3) !important;
  border-color: #888 !important;
  color: #fff !important;
}
.link-btn, .account-btn { 
  display: inline-flex; align-items: center; justify-content: center; 
  height: 34px; padding: 0 10px; border: 1px solid var(--border); 
  background: var(--card); color: var(--text); border-radius: 10px;
  font-weight: 700; cursor: pointer; text-decoration: none; 
  font-size: 14px; font-family: 'Inter', sans-serif;
}
.link-btn:hover, .account-btn:hover { border-color: #00c853; }

/* Currency Dropdown Styles */
.currency-dropdown {
  position: relative;
  display: inline-block;
  z-index: 100005;
}

#currency-toggle {
  cursor: pointer;
}

.currency-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 180px;
  z-index: 100007 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: visible;
}

.currency-menu.active {
  display: block;
}

.currency-option {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.currency-option:hover {
  background: var(--bg-secondary);
}

/* Language Dropdown Styles */
.lang-dropdown {
  position: relative;
  display: inline-block;
  z-index: 100005;
}

#lang-toggle {
  cursor: pointer;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 180px;
  z-index: 100007 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: visible;
}

.lang-menu.active {
  display: block;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.lang-option:hover {
  background: var(--bg-secondary);
}

/* Mobile Currency Dropdown */
.currency-dropdown-mobile {
  width: 100%;
}

.currency-menu-mobile {
  display: none;
  width: 100%;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  margin-top: 8px;
  overflow: hidden;
}

.currency-menu-mobile.active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.currency-option-mobile {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  font-weight: 500;
}

.currency-option-mobile:hover,
.currency-option-mobile.active {
  background: rgba(0, 200, 83, 0.2);
  border-color: #00c853;
}

/* Mobile Language Dropdown */
.lang-dropdown-mobile {
  width: 100%;
}

.lang-menu-mobile {
  display: none;
  width: 100%;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  margin-top: 8px;
  overflow: hidden;
}

.lang-menu-mobile.active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.lang-option-mobile {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  font-weight: 500;
}

.lang-option-mobile:hover,
.lang-option-mobile.active {
  background: rgba(0, 200, 83, 0.2);
  border-color: #00c853;
}

.instagram-btn {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border: none !important;
  color: white !important;
}

.instagram-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
  border: none !important;
}

.instagram-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-btn svg {
  margin: 0;
}

.live-prices-indicator {
  display: flex; align-items: center; gap: 6px; padding: 6px 10px; 
  background: rgba(0, 200, 83, 0.1); border: 1px solid #00c853; 
  border-radius: 8px; color: #00c853; font-size: 14px; font-weight: 700;
  font-family: 'Inter', sans-serif; height: 34px;
}
.indicator-dot {
  width: 8px; height: 8px; background: #00c853; border-radius: 50%; 
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.main-wrap { position: relative; min-height: 80vh; z-index: 0; }
.main-wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)), var(--bg-image, none) left center/cover no-repeat; }
.content { width: 100%; max-width: 1040px; margin: 0 auto; padding: 16px 24px; position: relative; min-height: inherit; z-index: 0; }
.hero { text-align: center; padding: 8px 0 8px; }
.title { font-size: 32px; line-height: 1.15; margin: 0 0 8px; color: #ffffff; }
.subtitle { font-size: 16px; color: #ffffff; margin: 0; }

.section-title { font-size: 18px; margin: 28px 0 12px; color: var(--text); text-align: center; }

.platform-section { margin-top: 20px; }
.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.platform-grid-three { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.platform-card {
  appearance: none; background: transparent; color: var(--text);
  padding: 0; cursor: pointer; text-align: left; display: block; border: none;
  transition: transform 0.3s ease, z-index 0s 0s;
  position: relative;
  z-index: 1;
}
.platform-card:hover {
  transform: scale(1.15);
  z-index: 10;
}
.platform-image { width: 100%; max-width: 240px; margin: 0 auto; background-color: transparent; display: block; position: relative; overflow: visible; }
.platform-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.platform-image.placeholder { background: repeating-linear-gradient(45deg, #101723 0 10px, #0f1624 10px 20px); border: 1px dashed var(--border); }

/* Price overlay - show on hover only */
.price-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  color: #fff;
  opacity: 0;
  transition: opacity .3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.platform-heading {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.price-label {
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.price-value {
  font-size: 36px;
  font-weight: 800;
}

.platform-image:hover img { filter: brightness(0.9); }
.platform-image:hover .price-overlay { opacity: 1; }
.platform-label { font-weight: 600; }

.quantity-section, .account-section, .dump-section { margin-top: 12px; border: 1px solid var(--border); background: var(--card); border-radius: 16px; padding: 16px; }
.preset-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; justify-content: center; }
.preset-btn { appearance: none; border: 1px solid var(--border); background: var(--card); color: var(--text); padding: 8px 12px; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 13px; transition: all 0.15s ease; }
.preset-btn:hover { border-color: var(--primary); color: var(--primary); }
.preset-btn.active { background: var(--primary); border-color: var(--primary-600); color: #fff; box-shadow: 0 6px 12px rgba(59,130,246,0.25); }
.account-section { padding: 12px; }
.account-section .form { gap: 10px; }
.account-section .form-row { gap: 4px; }
.account-section .form-row input { padding: 8px 10px; }
.account-section .form-row label { font-size: 13px; }
.account-section .actions { margin-top: 12px; }

/* Connect Later Button Tooltip */
#connect-later-btn {
  position: relative;
}

#connect-later-btn::after {
  content: "If you don't know your EA details, you can complete later using the link in your store account or link via email. Contact support if needed.";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: white;
  padding: 16px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.4;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 8px;
}

#connect-later-btn::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1f2937;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  margin-bottom: 2px;
}

#connect-later-btn:hover::after,
#connect-later-btn:hover::before {
  opacity: 1;
  visibility: visible;
}
.is-hidden { display: none; }

.slider-row { margin: 16px 0; }
input[type="range"] {
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--primary) 0%,
    var(--primary) var(--range-progress, 0%),
    rgba(148, 163, 184, 0.28) var(--range-progress, 0%),
    rgba(148, 163, 184, 0.28) 100%
  );
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-top: -7px;
}
input[type="range"]::-moz-range-track {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
}
input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.quantity-readout { color: var(--muted); }

.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 6px; }
.form-row label { color: var(--muted); font-size: 14px; }
.payment-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.payment-option-tile {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)),
    var(--card);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.payment-option-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(59,130,246,.55);
  box-shadow: 0 10px 26px rgba(15,23,42,.16);
}
.payment-option-tile.is-selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
  background:
    linear-gradient(180deg, rgba(59,130,246,.12), rgba(59,130,246,.04)),
    var(--card);
}
.payment-option-tile__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.payment-option-tile__title {
  display: grid;
  gap: 4px;
}
.payment-option-tile__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.payment-option-tile__description {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}
.payment-option-tile__badge {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(59,130,246,.12);
  color: #93c5fd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.payment-option-tile__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.payment-option-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 8px;
  border: 1px solid rgba(148,163,184,.22);
  background: rgba(255,255,255,.03);
  color: #f8fafc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.payment-option-logo--visa {
  background: #1a1f71;
  border-color: #3143c9;
  color: #ffffff;
}
.payment-option-logo--mastercard {
  background: linear-gradient(90deg, #eb001b 0 50%, #f79e1b 50% 100%);
  border-color: rgba(247,158,27,.5);
  color: #fff7ed;
}
.payment-option-logo--amex {
  background: #2e77bc;
  border-color: #5fa4e0;
  color: #ffffff;
}
.payment-option-logo--apple {
  background: #111827;
  border-color: #4b5563;
  color: #ffffff;
}
.payment-option-logo--gpay {
  background: #ffffff;
  border-color: #d1d5db;
  color: #111827;
}
.payment-option-logo--stripe {
  background: #635bff;
  border-color: #8b86ff;
  color: #ffffff;
}
.payment-option-logo--paypal {
  background: #003087;
  border-color: #0070e0;
  color: #ffffff;
}
.payment-option-logo--revolut {
  background: #0b0f19;
  border-color: #3b4254;
  color: #ffffff;
}
.payment-option-logo--payop,
.payment-option-logo--epayouts,
.payment-option-logo--more,
.payment-option-logo--bank,
.payment-option-logo--cash {
  background: rgba(30,41,59,.6);
  color: #e2e8f0;
}
.payment-option-logo--payop {
  border-color: rgba(59,130,246,.35);
}
.payment-option-logo--epayouts {
  border-color: rgba(96,165,250,.3);
}
.payment-option-logo--bank {
  border-color: rgba(148,163,184,.3);
}
.payment-option-logo--cash {
  border-color: rgba(234,179,8,.35);
}
.payment-more-toggle {
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(148,163,184,.3);
  border-radius: 999px;
  background: rgba(15,23,42,.2);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.payment-more-toggle:hover {
  border-color: rgba(59,130,246,.55);
  color: #dbeafe;
}
.payment-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}
.payment-more-grid.is-hidden {
  display: none;
}
.payment-more-grid .payment-option-tile {
  min-height: 84px;
}
.checkout-proof {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15,23,42,.28), rgba(15,23,42,.12));
}
.checkout-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.checkout-review-card {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(148,163,184,.14);
  display: grid;
  gap: 8px;
}
.checkout-review-quote {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #e2e8f0;
}
.checkout-review-meta {
  font-size: 11px;
  color: #fbbf24;
  font-weight: 700;
}
.form-row input {
  appearance: none; width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--text);
}
.form-row input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.form-row textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--text); }
.form-row textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.form-hint { font-size: 12px; color: var(--muted); }
.info-note { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.4); color: #93c5fd; padding: 10px 12px; border-radius: 8px; font-size: 13px; }
.bank-row { margin-top: 6px; color: var(--text); }
.bank-title { font-weight: 700; color: #93c5fd; margin-bottom: 6px; }
.bank-hint { margin-top: 8px; color: var(--muted); }
.form-hint ol { margin: 6px 0 0 16px; padding: 0; }
.form-hint ol li { margin: 2px 0; }

/* Input suffix (e.g., "K") - rendered INSIDE the input field */
.input-with-suffix {
  position: relative;
  display: block;
}
.input-with-suffix input {
  width: 100%;
  padding-right: 44px; /* room for suffix */
}
.input-suffix {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

/* Hide number input spinners for the K-balance input only */
.input-with-suffix input[type="number"]::-webkit-outer-spin-button,
.input-with-suffix input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.input-with-suffix input[type="number"] {
  -moz-appearance: textfield;
  appearance: none;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
}

.price-summary { 
  display: grid; 
  grid-template-columns: 1fr auto; 
  gap: 8px; 
  border-top: 1px solid var(--border); 
  padding-top: 12px; 
  margin-top: 8px; 
}
.price-summary div:nth-child(odd) { color: var(--muted); }
.price-summary div:nth-child(even) { font-weight: 600; }

.actions { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.btn { appearance: none; border: 1px solid var(--border); background: var(--card); color: var(--text); padding: 10px 14px; border-radius: 10px; cursor: pointer; font-weight: 600; }
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--primary); border-color: var(--primary-600); }
.btn-primary:hover { background: var(--primary-600); }
.btn-danger { background: var(--danger); border-color: var(--danger-600); }
.btn-danger:hover { background: var(--danger-600); }
.btn-ghost { background: transparent; }

@media (max-width: 720px) {
  .payment-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .payment-more-grid {
    grid-template-columns: 1fr;
  }
  .checkout-review-grid {
    grid-template-columns: 1fr;
  }
  .payment-option-tile {
    min-height: 88px;
  }
  .payment-option-tile__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .payment-option-tile__title {
    width: 100%;
  }
  .payment-option-tile__badge {
    justify-self: start;
  }
  .payment-option-tile__logos {
    width: 100%;
  }
  .payment-option-logo {
    max-width: 100%;
  }
}

/* Preflight info notice (shown above EA account connect form) */
.info-notice.info-notice--preflight {
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

[data-theme="light"] .info-notice.info-notice--preflight {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.info-notice__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.info-notice__icon {
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
  flex: 0 0 auto;
}

.info-notice__title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.info-notice__list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.info-notice__list strong {
  color: var(--text);
}

.summary { display: grid; gap: 8px; color: var(--muted); }
.summary-label { color: var(--text); font-weight: 600; margin-right: 6px; }
.verification-message { color: #16a34a; }

/* Price Comparison Styles (used in live pricing modal across all stores) */
.price-comparison-box {
  background: rgba(245, 245, 245, 0.5);
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

[data-theme="light"] .price-comparison-box {
  background: rgba(0, 0, 0, 0.03);
}

.price-comparison-title {
  margin: 0 0 6px 0;
  font-size: 13px;
  text-align: center;
  color: #fff;
}

[data-theme="light"] .price-comparison-title {
  color: #333;
}

.price-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
}

.price-comparison-our-price {
  background: #4CAF50;
  color: white;
  padding: 6px;
  border-radius: 4px;
  text-align: center;
}

.price-comparison-competitor {
  background: rgba(255, 255, 255, 0.9);
  padding: 6px;
  border-radius: 4px;
  text-align: center;
}

[data-theme="light"] .price-comparison-competitor {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.price-comparison-label {
  font-size: 9px;
  margin-bottom: 2px;
  opacity: 0.9;
  color: inherit;
}

.price-comparison-competitor .price-comparison-label {
  color: #666;
}

.price-comparison-value {
  font-size: 16px;
  font-weight: bold;
  color: inherit;
}

.price-comparison-competitor .price-comparison-value {
  font-size: 15px;
  color: #333;
}

.price-comparison-badge {
  font-size: 8px;
  margin-top: 2px;
  opacity: 0.9;
}

.price-comparison-savings {
  font-size: 8px;
  margin-top: 2px;
  color: #4CAF50;
}

.price-comparison-summary {
  margin-top: 4px;
  text-align: center;
  font-size: 11px;
  color: #4CAF50;
  font-weight: 600;
}

.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translate(-50%, 12px);
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--primary);
  color: var(--text);
  box-shadow: 0 5px 18px rgba(0, 200, 83, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: all .2s ease;
  z-index: 1100;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noscript { background: #1f2937; color: #f9fafb; padding: 10px 14px; text-align: center; }

/* Modal */
.modal.is-hidden { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100020; /* keep all modals above header/top-banner on every site */
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.modal-content {
  position: relative;
  width: min(720px, 94vw);
  margin: 8vh auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  color: var(--text);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-title { margin: 4px 0 12px; font-size: 18px; }
.modal-header-actions { position: absolute; right: 44px; top: 10px; }
.modal-close { position: absolute; right: 10px; top: 6px; background: transparent; border: none; color: var(--text); font-size: 24px; cursor: pointer; }
.tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; margin-top: 12px; padding: 2px; }
.tab { appearance: none; background: rgba(0, 0, 0, 0.2); color: var(--text); border: 2px solid rgba(255, 255, 255, 0.3); padding: 8px 10px; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; }
.tab:hover { background: rgba(0, 0, 0, 0.3); border-color: rgba(255, 255, 255, 0.5); }
.tab.is-active { background: var(--primary); border-color: rgba(255, 255, 255, 0.7); color: white; }

/* Ensure customer account modal appears fully below the header */
#account-modal {
  align-items: flex-start;
}

#account-modal .modal-content {
  margin: 80px auto 16px; /* push content below ~60px header with a bit of spacing */
  width: min(1000px, 95vw);
  max-width: 1000px;
}

/* Wider raffle modal (match FCCOINSUAE layout) */
#raffle-modal .modal-content {
  width: min(1000px, 95vw);
  max-width: 1000px;
}

/* Make next draw look more premium */
#raffle-modal .raffle-card-expanded {
  position: relative;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
#raffle-modal .raffle-card-expanded::before {
  content: "Next draw";
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .2px;
}
#raffle-modal .raffle-card-expanded .raffle-timer {
  font-size: 40px !important;
}

/* Ensure live pricing modal appears fully below the header and in a compact card */
#live-pricing-modal {
  align-items: flex-start;
}

#live-pricing-modal .modal-content {
  margin: 80px auto 16px;
  max-width: 480px;
}

/* Ensure rewards/FAQ/contact modals appear fully below the header on mobile */
@media (max-width: 768px) {
  #rewards-modal,
  #faq-modal,
  #contact-modal {
    align-items: flex-start;
  }

  #rewards-modal .modal-content,
  #faq-modal .modal-content,
  #contact-modal .modal-content {
    margin: 80px auto 16px;
  }
}

/* Mobile Tabs Dropdown */
.tabs-mobile-dropdown {
  display: none;
  margin-top: 12px;
  margin-bottom: 12px;
}

.tabs-mobile-select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}
.panels { min-height: 240px; }
.tab-panel.is-hidden { display: none; }
.list { display: grid; gap: 8px; }
.totals { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 8px 0 16px; }
.stat-card { border: 1px solid var(--border); background: #0f1624; border-radius: 12px; padding: 12px; }
.stat-label { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.stat-value { font-weight: 700; font-size: 18px; }

.balance-card {
  background: linear-gradient(135deg, #00c853 0%, #00a041 100%);
  color: white;
  border: none;
  position: relative;
  overflow: hidden;
}

.balance-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.balance-card .stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.balance-card .stat-value {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin: 8px 0;
}

.balance-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.balance-details small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
}
.account-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0f1624;
}

.account-item.inactive {
  opacity: 0.6;
}

.account-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.account-toggle input {
  accent-color: #00c853;
}

.badge { padding: 2px 8px; border-radius: 999px; background: #0b7; color: white; font-size: 12px; }
.muted { color: var(--muted); font-size: 13px; }
.select-inline { appearance: none; border: 1px solid var(--border); background: var(--card); color: var(--text); border-radius: 8px; padding: 8px 10px; }
.section-actions .select-inline { min-width: 170px; padding: 8px 12px; }
.section-actions .checkbox-label { white-space: nowrap; }
.form select { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--text); }
/* Ensure admin selects and their menus match theme */
.admin-page select { background: var(--card); color: var(--text); border: 1px solid var(--border); }
.admin-page select option { background: var(--card); color: var(--text); }

/* Admin Page Styles */
.admin-stats { margin: 20px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

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

.payouts-section, .activity-section { margin-top: 24px; border: 1px solid var(--border); background: var(--card); border-radius: 16px; padding: 20px; }

.payouts-list, .activity-list { display: grid; gap: 12px; }

.payout-item {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center;
  padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: #0f1624;
  transition: border-color 0.2s ease;
}
.payout-item:hover { border-color: var(--accent); }

.payout-info { display: grid; gap: 4px; }
.payout-user { font-weight: 600; color: var(--text); }
.payout-method { color: var(--muted); font-size: 14px; }
.payout-amount { font-weight: 700; color: var(--primary); font-size: 18px; }
.payout-date { color: var(--muted); font-size: 12px; }

.payout-actions { display: flex; gap: 8px; }
.payout-actions .btn { padding: 6px 12px; font-size: 12px; }

.empty-state {
  text-align: center; padding: 40px 20px; color: var(--muted);
}
.empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { margin: 0 0 8px; color: var(--text); }
.empty-state p { margin: 0; }

.activity-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; background: #0f1624;
}
.activity-info { display: grid; gap: 2px; }
.activity-action { font-weight: 600; color: var(--text); }
.activity-details { color: var(--muted); font-size: 13px; }
.activity-time { color: var(--muted); font-size: 12px; }

.payout-details { display: grid; gap: 16px; margin-bottom: 20px; }
.detail-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; }
.detail-label { color: var(--muted); font-weight: 500; }
.detail-value { color: var(--text); font-weight: 600; }

.modal-actions { display: flex; gap: 12px; margin-top: 20px; justify-content: flex-end; }
.confirm-message { color: var(--text); margin-bottom: 20px; }

/* Modal notes styling */
.modal-notes {
  margin: 20px 0;
  padding: 0 20px;
}

.modal-notes label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.modal-notes textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  background: #101723;
  color: var(--text);
  transition: border-color 0.3s ease;
}

.modal-notes textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

/* ===== BASIC ADMIN PANEL STYLES ===== */

/* Admin page layout */
.admin-page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  display: flex;
}

/* Admin sidebar */
.admin-sidebar {
  width: 260px;
  background: var(--card);
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  position: relative;
  z-index: 100;
  /* Ensure sidebar is completely fixed */
  transform: none !important;
  transition: none !important;
}


.sidebar-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.sidebar-toggle {
  background: none;
  border: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.sidebar-toggle:hover {
  background: var(--border);
}

.sidebar-menu {
  padding: 16px 0;
}

.menu-section {
  margin-bottom: 24px;
}

.menu-section h3 {
  margin: 0 0 12px 0;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.menu-item:hover {
  background: var(--bg);
  color: var(--text);
}

.menu-item.active {
  background: var(--bg);
  color: var(--primary);
  border-left-color: var(--primary);
}

.menu-icon {
  margin-right: 12px;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* Main content area */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Content sections */
.content-section {
  display: none;
  flex: 1;
}

.content-section.active {
  display: block;
}

/* Sidebar toggle button in header */
.sidebar-toggle-btn {
  background: var(--border);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-right: 16px;
}

.sidebar-toggle-btn:hover {
  background: var(--bg);
  border-color: var(--primary);
}

/* Admin header */
.admin-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}

/* Live Chat Notification Banner */
.chat-notification-banner {
  padding: 16px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  animation: slideDown 0.3s ease-out;
  border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

.chat-notification-banner.is-hidden {
  display: none;
}

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

.notification-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.notification-icon {
  font-size: 32px;
  animation: bounce 2s infinite;
}

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

.notification-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notification-text strong {
  font-size: 16px;
  font-weight: 600;
}

.notification-text span {
  font-size: 13px;
  opacity: 0.9;
}

.notification-actions {
  display: flex;
  gap: 12px;
}

.chat-notification-banner .btn {
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 600;
}

.chat-notification-banner .btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
}

.admin-header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

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

/* Admin content */
.admin-content {
  max-width: none;
  margin: 0;
  padding: 16px 24px;
  width: 100%;
}

/* Sections */
.stats-section,
.traffic-section,
.activity-section,
.payouts-section,
.accounts-section,
.tickets-section,
.transfers-section,
.pricing-section,
.analytics-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.stats-section h2,
.traffic-section h2,
.activity-section h2,
.payouts-section h2,
.accounts-section h2,
.tickets-section h2,
.transfers-section h2,
.pricing-section h2,
.analytics-section h2 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

/* Section headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

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

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.3s ease;
}

.stat-card:hover {
  border-color: var(--primary);
}

.stat-icon {
  font-size: 24px;
  opacity: 0.8;
}

.stat-info {
  flex: 1;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* Traffic content */
.traffic-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.traffic-chart {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.traffic-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.traffic-source-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

.traffic-source-item:hover {
  border-color: var(--primary);
}

.source-info {
  flex: 1;
}

.source-name {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.source-medium {
  font-size: 12px;
  color: var(--muted);
  text-transform: capitalize;
}

.source-stats {
  text-align: right;
}

.source-visitors {
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
}

.source-percentage {
  font-size: 12px;
  color: var(--muted);
}

/* Activity list */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

.activity-item:hover {
  border-color: var(--primary);
}

.activity-icon {
  font-size: 20px;
  opacity: 0.8;
}

.activity-info {
  flex: 1;
}

.activity-description {
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

.activity-time {
  font-size: 12px;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--bg);
}

/* Toast notifications */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  background: var(--success);
  color: white;
  border-color: var(--success);
}

.toast-error {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}

.toast-info {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Admin section styles */
.payout-item,
.account-item,
.ticket-item,
.transfer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 8px;
  transition: border-color 0.3s ease;
}

.payout-item:hover,
.account-item:hover,
.ticket-item:hover,
.transfer-item:hover {
  border-color: var(--primary);
}

.payout-info,
.account-info,
.ticket-info,
.transfer-info {
  flex: 1;
}

.payout-user,
.account-user,
.ticket-user,
.transfer-user {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.payout-method,
.account-platform,
.ticket-subject,
.transfer-platform {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2px;
}

.payout-date,
.account-coins,
.ticket-date,
.transfer-amount {
  font-size: 12px;
  color: var(--muted);
}

.payout-amount {
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
  margin: 0 16px;
}

.payout-actions,
.account-actions,
.ticket-actions,
.transfer-actions {
  display: flex;
  gap: 8px;
}

.ticket-priority {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 16px;
}

.priority-high {
  background: #fecaca;
  color: #991b1b;
}

.priority-medium {
  background: #fed7aa;
  color: #9a3412;
}

.priority-low {
  background: #dcfce7;
  color: #166534;
}

.priority-urgent {
  background: #fecaca;
  color: #991b1b;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

.pricing-override {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.analytics-content {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* Button sizes */
.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-danger {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}

.btn-danger:hover {
  background: var(--danger-600);
  border-color: var(--danger-600);
}

/* Status badges */
.status-connected {
  background: #dcfce7;
  color: #166534;
}

.status-disconnected {
  background: #fecaca;
  color: #991b1b;
}

.status-open {
  background: #fbbf24;
  color: #1f2937;
}

.status-closed {
  background: #6b7280;
  color: white;
}

.status-completed {
  background: #10b981;
  color: white;
}

.status-in_progress {
  background: #3b82f6;
  color: white;
}

/* Account Details Modal */
.account-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.info-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.info-section h4 {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:last-child {
  border-bottom: none;
}

.info-item label {
  font-weight: 500;
  color: var(--muted);
  font-size: 14px;
}

.info-item span {
  font-weight: 600;
  color: var(--text);
}

.balance-amount {
  color: var(--primary) !important;
  font-size: 16px;
  font-weight: 700;
}

.target-amount {
  color: #fbbf24 !important;
  font-size: 16px;
  font-weight: 700;
}

.strategy-badge {
  background: var(--primary);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.strategy-instant {
  background: #10b981;
}

.strategy-scheduled {
  background: #f59e0b;
}

.strategy-manual {
  background: #6b7280;
}

.account-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.account-actions .btn {
  min-width: 140px;
}

/* Responsive design */
@media (max-width: 768px) {
  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1000;
    /* Ensure sidebar is completely fixed on mobile too */
    transform: none !important;
    transition: none !important;
  }
  
  .admin-main {
    margin-left: 0;
  }
  
  .header-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .traffic-content {
    grid-template-columns: 1fr;
  }
  
  .admin-content {
    padding: 12px 16px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .payout-item,
  .account-item,
  .ticket-item,
  .transfer-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .payout-amount,
  .ticket-priority {
    margin: 0;
  }
  
  .payout-actions,
  .account-actions,
  .ticket-actions,
  .transfer-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

.status-badge {
  padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; text-transform: uppercase;
}
.status-pending { background: #fbbf24; color: #1f2937; }
.status-approved { background: #10b981; color: white; }
.status-sent { background: #3b82f6; color: white; }
.status-completed { background: #059669; color: white; }
.status-rejected { background: #ef4444; color: white; }

@media (max-width: 768px) {
  .payout-item { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .payout-actions { justify-content: center; }
  .section-header { flex-direction: column; align-items: stretch; }
  .section-actions { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Authentication Styles */
.auth-modal-content { max-width: 480px; }
.auth-panel { display: block; }
.auth-panel.is-hidden { display: none; }
.auth-subtitle { color: var(--muted); margin-bottom: 20px; font-size: 14px; }
.auth-inline-message,
.auth-inline-error {
  margin: 10px 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}
.auth-inline-message,
.auth-inline-error {
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.06);
  color: #1d4ed8;
}
.auth-inline-message.is-error,
.auth-inline-error {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
}
.auth-inline-message.is-success {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
  color: #15803d;
}
.auth-inline-message.is-info {
  border-color: rgba(59, 130, 246, 0.25);
  background: rgba(59, 130, 246, 0.08);
  color: #1d4ed8;
}
.auth-inline-message.is-hidden,
.auth-inline-error.is-hidden { display: none; }
.auth-form { margin-top: 8px; }
.form-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.form-actions .btn { width: 100%; justify-content: center; }

/* User Status in Header */
.user-status { display: flex; align-items: center; gap: 8px; }
.user-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; font-size: 12px; overflow: hidden; }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.user-name { color: var(--text); font-weight: 500; font-size: 14px; }
.signout-btn { background: transparent; border: none; color: var(--muted); cursor: pointer; font-size: 12px; text-decoration: underline; }
.signout-btn:hover { color: var(--text); }

/* Live Price Updates */
.price-updated {
  animation: priceFlash 2s ease-in-out;
  background: rgba(0, 200, 83, 0.2) !important;
  border-radius: 4px;
  padding: 2px 4px;
}

@keyframes priceFlash {
  0% { background: rgba(0, 200, 83, 0.4); transform: scale(1.05); }
  50% { background: rgba(0, 200, 83, 0.2); }
  100% { background: transparent; transform: scale(1); }
}

.price-timestamp {
  font-family: 'Inter', monospace;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Loading indicator for price updates */
.price-loading {
  opacity: 0.7;
  position: relative;
}

.price-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -20px;
  width: 12px;
  height: 12px;
  border: 2px solid #00c853;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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


/* Live Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100020;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  background: #00c853;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 200, 83, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 200, 83, 0.4);
}

.chat-toggle svg {
  color: white;
}

.chat-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.chat-badge.show {
  opacity: 1;
  transform: scale(1);
}

.chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  height: 500px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  overflow: hidden;
  color: var(--text);
}

.chat-header {
  background: var(--primary);
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.chat-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  font-weight: bold;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.chat-close:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.chat-close:active {
  transform: scale(0.95);
  background: rgba(255,255,255,0.4);
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.bot-message {
  align-self: flex-start;
}

.user-message {
  align-self: flex-end;
}

.message-content {
  background: #f1f5f9;
  color: #1e293b;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
}

.user-message .message-content {
  background: var(--primary);
  color: white;
}

.bot-message .message-content {
  background: #f1f5f9 !important;
  color: #1e293b !important;
}

/* Dark theme bot messages */
[data-theme="dark"] .bot-message .message-content {
  background: #1e293b !important;
  color: #e2e8f0 !important;
}

/* Override eafcshop white primary color for bot messages */
body .bot-message .message-content {
  background: #f1f5f9 !important;
  color: #1e293b !important;
}

[data-theme="dark"] body .bot-message .message-content {
  background: #1e293b !important;
  color: #e2e8f0 !important;
}

/* Ensure visibility for alternative class names (socket-based widget compatibility) */
.chat-messages .customer-message .message-content { background: #ffffff !important; color: #1e293b !important; }
.chat-messages .admin-message .message-content { background: #f1f5f9 !important; color: #1e293b !important; }
[data-theme="dark"] .chat-messages .customer-message .message-content { background: #ffffff !important; color: #1e293b !important; }
[data-theme="dark"] .chat-messages .admin-message .message-content { background: #0f172a !important; color: #e2e8f0 !important; }

/* CHRISTMAS THEME - NUCLEAR OVERRIDE FOR ALL SITES */
body #chat-widget #chat-panel #chat-messages .chat-message.customer-message .message-content,
body #chat-widget #chat-messages .chat-message.customer-message .message-content,
body #chat-panel #chat-messages .chat-message.customer-message .message-content,
#chat-widget #chat-panel #chat-messages .chat-message.customer-message .message-content,
#chat-widget #chat-messages .chat-message.customer-message .message-content,
#chat-panel #chat-messages .chat-message.customer-message .message-content,
#chat-messages .chat-message.customer-message .message-content,
div#chat-messages div.chat-message.customer-message div.message-content,
div.chat-message.customer-message div.message-content,
body #chat-widget #chat-panel #chat-messages .user-message .message-content,
body #chat-widget #chat-messages .user-message .message-content,
body #chat-panel #chat-messages .user-message .message-content,
#chat-widget #chat-panel #chat-messages .user-message .message-content,
#chat-widget #chat-messages .user-message .message-content,
#chat-panel #chat-messages .user-message .message-content,
#chat-messages .user-message .message-content,
div#chat-messages div.user-message div.message-content,
div.user-message div.message-content,
.user-message .message-content {
  background: #c41e3a !important;
  background-color: #c41e3a !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body #chat-widget #chat-panel #chat-messages .chat-message.admin-message .message-content,
body #chat-widget #chat-messages .chat-message.admin-message .message-content,
body #chat-panel #chat-messages .chat-message.admin-message .message-content,
#chat-widget #chat-panel #chat-messages .chat-message.admin-message .message-content,
#chat-widget #chat-messages .chat-message.admin-message .message-content,
#chat-panel #chat-messages .chat-message.admin-message .message-content,
#chat-messages .chat-message.admin-message .message-content,
div#chat-messages div.chat-message.admin-message div.message-content,
div.chat-message.admin-message div.message-content {
  background: #165b33 !important;
  background-color: #165b33 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

#chat-messages .chat-message.bot-message .message-content,
div.chat-message.bot-message div.message-content {
  background: #165b33 !important;
  background-color: #165b33 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Christmas theme - Chat send button */
#chat-widget .chat-send-btn,
.chat-widget .chat-send-btn,
.chat-panel .chat-send-btn,
#chat-panel .chat-send-btn,
button.chat-send-btn {
  background: #c41e3a !important;
  background-color: #c41e3a !important;
  color: #ffffff !important;
}

#chat-widget .chat-send-btn:hover,
.chat-widget .chat-send-btn:hover,
.chat-panel .chat-send-btn:hover,
#chat-panel .chat-send-btn:hover,
button.chat-send-btn:hover {
  background: #a01730 !important;
  background-color: #a01730 !important;
  opacity: 1 !important;
}

.message-time {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  align-self: flex-end;
}

.user-message .message-time {
  align-self: flex-start;
}

.chat-input-area {
  padding: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-input-area input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg) !important;
  color: var(--text) !important;
  font-size: 14px;
  outline: none;
}

/* Ensure input text is visible in all themes */
.chat-input-area input::placeholder {
  color: var(--muted) !important;
}

[data-theme="light"] .chat-input-area input {
  background: #ffffff !important;
  color: #1e293b !important;
}

[data-theme="dark"] .chat-input-area input {
  background: #121722 !important;
  color: #e6ecf2 !important;
}

.chat-input-area input:focus {
  border-color: var(--primary);
}

/* Force visible text color for customer chat input - override any theme issues */
.chat-widget .chat-input-area input,
.chat-widget #chat-input {
  color: #1e293b !important;
  background: #ffffff !important;
  -webkit-text-fill-color: #1e293b !important;
}

[data-theme="dark"] .chat-widget .chat-input-area input,
[data-theme="dark"] .chat-widget #chat-input {
  color: #e6ecf2 !important;
  background: #121722 !important;
  -webkit-text-fill-color: #e6ecf2 !important;
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.chat-send-btn:hover {
  background: var(--primary-600);
  transform: scale(1.05);
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Mobile Navigation - Simple and Reliable */
@media screen and (max-width: 768px) {
  /* Hide theme toggle on mobile (keep IG, live prices, language & currency visible) */
  .theme-toggle-icons {
    display: none !important;
    visibility: hidden !important;
  }

  /* Simplify header actions on mobile */
  .header-actions {
    display: none !important;
    visibility: hidden !important;
  }

  /* Small 3-line menu button sized like IG/live buttons */
  .mobile-menu-btn {
    display: flex !important;
    visibility: visible !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-direction: column !important;
  }

  /* Simplify header for mobile */
  .site-header {
    padding: 10px 12px !important;
    height: 60px !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
  }

  .brand-text {
    display: flex !important;
    flex: 1;
    justify-content: center;
    font-size: 14px;
  }

  .rotating-text {
    min-width: 0 !important;
    font-size: 14px !important;
  }

  /* Put header-left icons and menu button on one centered row */
  .header-left,
  .header-actions {
    position: static !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .header-left {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Make all header-left buttons consistent size on mobile */
  .header-left .link-btn,
  .header-left a.link-btn {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Hide extra header icons on mobile */
  .instagram-btn,
  .live-prices-indicator {
    display: none !important;
  }

  .whatsapp-btn {
    width: 34px !important;
    height: 34px !important;
  }

  /* Center dropdowns on mobile */
  .lang-dropdown,
  .currency-dropdown {
    position: relative !important;
  }

  .lang-menu,
  .currency-menu {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    min-width: 200px !important;
  }

  /* Hide footer partner links on mobile */
  .partner-column,
  .partner-link {
    display: none !important;
  }

  /* Larger touch targets for buttons */
  .platform-card .btn,
  .quantity-btn,
  .buy-btn {
    min-height: 48px;
    font-size: 1rem;
  }

  /* Better quantity selector on mobile */
  .quantity-selector {
    gap: 8px;
  }

  .quantity-btn {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  /* Scale down Christmas Sale badge */
  .bf-floating-badge {
    transform: scale(0.85);
    bottom: 10px;
    left: 10px;
  }
  
  /* Make live prices square same size as Instagram button */
  .live-prices-indicator {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    font-size: 10px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    flex-direction: column !important;
    line-height: 1 !important;
  }
  
  .indicator-dot {
    width: 4px !important;
    height: 4px !important;
  }
  
  .live-text {
    font-size: 8px !important;
    font-weight: 600 !important;
    margin-top: 2px !important;
  }
  
  /* Sticky mobile CTA bar */
  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    background: var(--card);
    border-top: 1px solid var(--border);
    display: none; /* toggled via JS */
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
  }
  .mobile-sticky-cta .summary {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: var(--text-secondary);
  }
  .mobile-sticky-cta .summary .line {
    line-height: 1.2;
  }
  .mobile-sticky-cta .total {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
  }
  .mobile-sticky-cta .btn-primary {
    min-width: 120px;
    height: 40px;
    border-radius: 10px;
    font-weight: 700;
  }
  
  .header-actions {
    right: 15px !important;
    top: 12px !important;
    z-index: 10 !important;
  }
  
  /* Mobile nav overlay - compact dropdown */
  .mobile-nav-overlay {
    position: absolute !important;
    top: 60px !important;           /* just below the header */
    right: 12px !important;
    left: auto !important;
    width: 190px !important;        /* compact dropdown width */
    height: auto !important;
    max-height: calc(100vh - 70px) !important;
    z-index: 100020 !important;
    background: transparent !important;  /* no extra overlay */
    backdrop-filter: none !important;    /* remove blur */
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  .mobile-nav-content {
    width: 100% !important;
    height: auto !important;
    padding: 4px 6px !important;
    align-items: stretch !important;
    margin: 0 !important;
    max-width: 100% !important;
    background: var(--card) !important;           /* solid background like currency dropdown */
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
  }

  .mobile-nav-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start !important;
  }

  .mobile-nav-btn {
    width: 100%;
    text-align: left;
    padding: 10px 12px !important;
    line-height: 1.3 !important;
    min-height: auto !important;
    border: none !important;
    background: transparent !important;
    border-radius: 8px !important;
    font-size: 14px !important;
  }

  .mobile-nav-btn:hover {
    background: rgba(0, 200, 83, 0.1) !important;
    transform: none !important;
  }

  .instagram-btn-mobile {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: white !important;
  }

  .lang-menu-mobile,
  .currency-menu-mobile {
    display: none;
    flex-direction: column;
    gap: 6px;
    margin: 6px 0 12px 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px;
  }

  .lang-menu-mobile.active,
  .currency-menu-mobile.active {
    display: flex;
  }

  .lang-option-mobile,
  .currency-option-mobile {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
    font-size: 13px;
  }
  
  /* Content spacing and centering */
  .main-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .content {
    padding: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  /* Center platform cards side by side */
  .platform-section:not(.is-hidden) {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 50vh !important;
  }

  .platform-section.is-hidden {
    display: none !important;
  }
  
  .platform-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  /* 3-column grid on tablet: show 2 columns, then 1 column on mobile */
  .platform-grid-three {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    max-width: 500px !important;
  }

  /* Make platform cards full-width when stacked on mobile */
  .platform-card {
    width: 100% !important;
    max-width: 280px !important;
    min-width: 0 !important;
  }
  
  .platform-image {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Mobile background positioning - show Burj Khalifa */
  .main-wrap::before {
    background-position: left center !important;
    background-size: cover !important;
  }
}

@media (max-width: 640px) {
  .title { font-size: 24px; }
  .platform-image { max-width: 280px; }
  .stats-grid { grid-template-columns: 1fr; }
  .auth-modal-content { margin: 4vh auto; width: 90vw; }
  .price-timestamp {
    top: 5px;
    right: 5px;
    padding: 6px 8px;
    font-size: 10px;
  }

  /* Reduce spacing on smaller mobile screens */
  .hero {
    padding: 4px 0 !important;
  }

  .platform-section:not(.is-hidden) {
    min-height: 45vh !important;
    padding: 10px 0 !important;
  }

  .platform-section.is-hidden {
    display: none !important;
  }

  /* Hide tabs on small mobile screens, show dropdown */
  .tabs {
    display: none !important;
  }

  .tabs-mobile-dropdown {
    display: block !important;
  }

  .modal-title {
    font-size: 18px;
    margin-bottom: 20px !important;
  }
  
  .platform-grid {
    gap: 10px !important;
    max-width: 300px !important;
  }

  /* 3-column grid on mobile: single column */
  .platform-grid-three {
    grid-template-columns: 1fr !important;
    max-width: 280px !important;
  }

  .platform-card {
    width: 100% !important;
    max-width: 280px !important;
    min-width: 0 !important;
  }
  
  /* Additional mobile menu improvements */
  .mobile-nav-content {
    padding: 15px;
  }
  
  .mobile-nav-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
  }
  
  .mobile-nav-items {
    gap: 25px;
  }
  
  .mobile-nav-section {
    gap: 12px;
  }
  
  .mobile-nav-btn {
    padding: 12px 16px;
    font-size: 15px;
  }
}

  
  .chat-widget {
    bottom: 10px;
    right: 10px;
  }
  
  .chat-panel {
    width: 320px;
    height: 450px;
    right: 10px;
    bottom: 80px;
  }
  
  .chat-toggle {
    width: 50px;
    height: 50px;
  }
}

/* Support Tickets Section */
.tickets-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.tickets-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticket-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s ease;
}

.ticket-item:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.ticket-info {
  flex: 1;
}

.ticket-id {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
}

.ticket-customer {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.ticket-message {
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.ticket-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-date {
  color: var(--muted);
  font-size: 12px;
}

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

.ticket-status {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.ticket-status.open {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.ticket-status.in-progress {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.ticket-status.resolved {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.ticket-status.closed {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}

.ticket-reply-section {
  margin: 12px 0;
  padding: 12px;
  background: rgba(0, 200, 83, 0.05);
  border: 1px solid rgba(0, 200, 83, 0.2);
  border-radius: 8px;
}

.ticket-reply-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 8px;
  outline: none;
}

.ticket-reply-input:focus {
  border-color: #00c853;
}

.ticket-reply-input::placeholder {
  color: var(--muted);
}

/* Archived Sections */
.archived-section {
  background: rgba(107, 114, 128, 0.05);
  border-color: rgba(107, 114, 128, 0.2);
}

.archived-section .section-title {
  color: #6b7280;
}

/* Payout Status */
.payout-status {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 4px;
  display: inline-block;
}

.payout-status.status-approved {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.payout-status.status-rejected {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.payout-status.status-pending {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

/* Payment Methods Footer */
.payment-methods {
  display: none;
}

.payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.payment-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.payment-icon svg {
  transition: transform 0.3s ease;
}

.payment-icon:hover svg {
  transform: scale(1.1);
}

.sell-flow-section {
  display: block;
}

.sell-flow-container {
  width: 60%;
  max-width: 420px;
  margin: 0;
  text-align: left;
}

.sell-flow-container .input-group,
.sell-flow-container .payout-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
}

.sell-flow-container .btn {
  align-self: flex-start;
}

.account-section {
  display: block;
}

.account-section.is-hidden {
  display: none !important;
}

.account-card {
  width: 30%;
  max-width: 280px;
  margin: 0;
  text-align: left;
}

.account-actions {
  justify-content: flex-start;
}

.dashboard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}

.btn.btn-secondary {
  background: rgba(0, 200, 83, 0.15);
  border: 1px solid rgba(0, 200, 83, 0.5);
  color: #00c853;
}

.btn.btn-secondary:hover {
  background: rgba(0, 200, 83, 0.25);
}

.dump-all-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
}

.dump-all-toggle label {
  font-size: 14px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-item {
  background: #111725;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
}

.faq-item h3 {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--text);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.3;
  font-size: 12px;
}

.platform-card[data-platform="pc"] .platform-image img { transform: none; }

.features-section {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 16px;
  align-items: stretch;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 200, 83, 0.12);
  color: #00c853;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.feature-testimonial {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  padding: 20px;
  display: grid;
  gap: 12px;
  text-align: left;
}

.testimonial-quote {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.7;
}

.testimonial-author {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.testimonial-quote,
.testimonial-author {
  transition: opacity 0.25s ease-in-out;
}

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

.account-status-section,
.transfer-feed-section,
.payouts-table-section {
  margin-top: 24px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
}

.status-table {
  display: grid;
  gap: 12px;
}

.status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 160px 140px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #101723;
}

.status-row.inactive {
  opacity: 0.55;
}

.status-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.status-toggle input {
  accent-color: #00c853;
}

.transfer-feed {
  display: grid;
  gap: 12px;
}

.transfer-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #101723;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.transfer-status {
  font-weight: 700;
  text-transform: uppercase;
}

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

.payouts-table {
  overflow-x: auto;
}

.payouts-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.payouts-table thead {
  background: #101723;
}

.payouts-table th,
.payouts-table td {
  border: 1px solid var(--border);
  padding: 12px;
  font-size: 13px;
  color: var(--text);
  text-align: left;
}

.payouts-table tbody tr:nth-child(even) {
  background: rgba(15, 22, 36, 0.6);
}

.payouts-table input[type="text"] {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0e1420;
  color: var(--text);
}

@media (max-width: 960px) {
  .status-row {
    grid-template-columns: 1fr;
  }
}

.analytics-section,
.top-sellers-section,
.funnel-section {
  margin-top: 24px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
}

.sales-chart {
  display: grid;
  gap: 16px;
}

.sales-chart-bars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 12px;
  align-items: end;
}

.sales-chart-bar {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.55), rgba(34, 197, 94, 0.15));
  border-radius: 10px 10px 4px 4px;
  position: relative;
  padding: 12px 10px 50px;
  overflow: hidden;
}

.sales-chart-bar .bar-revenue {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 40px;
  background: #22c55e;
  border-radius: 6px 6px 2px 2px;
}

.sales-chart-bar .bar-coins {
  position: absolute;
  left: 8px;
  right: 26px;
  bottom: 40px;
  background: rgba(59, 130, 246, 0.7);
  border-radius: 6px 6px 2px 2px;
}

.sales-chart-label {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.sales-chart-value {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
  font-weight: 600;
}

.sales-chart-legend {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}

.sales-chart-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sales-chart-legend .legend-item::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.sales-chart-legend .legend-item.revenue::before {
  background: #22c55e;
}

.sales-chart-legend .legend-item.coins::before {
  background: rgba(59, 130, 246, 0.7);
}

.top-sellers-list {
  display: grid;
  gap: 12px;
}

.top-sellers-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #101723;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px 120px;
  gap: 12px;
  align-items: center;
}

.top-sellers-item .seller-name {
  font-weight: 600;
}

.top-sellers-item .seller-email {
  font-size: 12px;
  color: var(--muted);
}

.funnel-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.funnel-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #101723;
  padding: 16px;
  display: grid;
  gap: 6px;
}

.funnel-step {
  font-size: 13px;
  color: var(--muted);
}

.funnel-value {
  font-size: 20px;
  font-weight: 700;
}

.funnel-rate {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .top-sellers-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* New Pricing Interface Styles */
.pricing-platform-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.pricing-platform-section h3 {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
}

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-tier {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-tier label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  margin: 0;
}

.pricing-tier input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.pricing-tier input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pricing-tier .price-unit {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 400;
}

.pricing-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.pricing-actions .btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
}

.status-text {
  font-size: 14px;
  color: #6b7280;
}

@media (max-width: 768px) {
  .pricing-tiers {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .pricing-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

.warning-message {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 193, 7, 0.15);
  border: 1px solid rgba(255, 193, 7, 0.4);
  color: #facc15;
  font-size: 13px;
  line-height: 1.5;
}

/* Progress UI */
.progress-wrap { display: grid; gap: 10px; margin-top: 8px; }
.progress-label { color: var(--muted); font-size: 14px; }
.progress-bar { width: 100%; height: 14px; background: #0e1420; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, #22c55e, #16a34a); width: 0%; transition: width .3s ease; }
.progress-eta { color: var(--muted); font-size: 12px; }

/* Live Pricing Modal Styles */
.pricing-info-content {
  text-align: center;
  padding: 2rem;
}

.pricing-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.pricing-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #555;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--card);
  border-radius: 8px;
  text-align: left;
  color: var(--text);
}

.feature-icon {
  font-size: 1.5rem;
  min-width: 2rem;
}

/* Premium Feature Cards for Live Pricing Modal */
.pricing-features-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding: 0 8px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4CAF50, #22c55e);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.25);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card-icon {
  font-size: 32px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: subtle-pulse 3s ease-in-out infinite;
}

.feature-card-text {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Unique gradient accents for each card */
.feature-card-1::before {
  background: linear-gradient(90deg, #FFD700, #FFA500);
}

.feature-card-2::before {
  background: linear-gradient(90deg, #4CAF50, #22c55e);
}

.feature-card-3::before {
  background: linear-gradient(90deg, #2196F3, #00BCD4);
}

/* Subtle pulse animation */
@keyframes subtle-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Light theme adjustments */
[data-theme="light"] .feature-card {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.04) 100%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .feature-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.15);
}

/* Mobile responsive */
@media (max-width: 640px) {
  .pricing-features-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-card {
    padding: 14px 10px;
  }

  .feature-card-icon {
    font-size: 28px;
  }

  .feature-card-text {
    font-size: 11px;
  }
}

/* Admin Live Visitors Styles */
.visitors-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.visitor-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.visitor-stat .stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.visitor-stat .stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: #2c3e50;
}

.visitors-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.visitors-table th,
.visitors-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.visitors-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
}

.visitors-table tr:hover {
  background: #f8f9fa;
}

/* Admin Staff Management Styles */
.staff-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.staff-table th,
.staff-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.staff-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
}

.staff-table tr:hover {
  background: #f8f9fa;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.status-badge.active {
  background: #d4edda;
  color: #155724;
}

.status-badge.inactive {
  background: #f8d7da;
  color: #721c24;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
}

.btn-danger {
  background: #dc3545;
  color: white;
  border: 1px solid #dc3545;
}

.btn-danger:hover {
  background: #c82333;
  border-color: #bd2130;
}

/* Full Width Section Styles */
.full-width-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.full-width-table {
  width: 100%;
  table-layout: auto;
}

/* Search Container Styles */
.search-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1rem;
}

.search-input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  font-size: 0.9rem;
  min-width: 300px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input::placeholder {
  color: var(--muted);
}

/* Section Actions Layout */
.section-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .search-container {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .search-input {
    min-width: 200px;
    flex: 1;
  }

  .section-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Admin Orders and Customers Table Styles */
.orders-table,
.customers-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.orders-table th,
.orders-table td,
.customers-table th,
.customers-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.orders-table th,
.customers-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.orders-table tr:hover,
.customers-table tr:hover {
  background: #f8f9fa;
}

.orders-table tr:last-child td,
.customers-table tr:last-child td {
  border-bottom: none;
}

/* Order History Styles */
.order-history-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.order-history-section h4 {
  margin-bottom: 1rem;
  color: #2c3e50;
  font-size: 1.1rem;
}

.order-history-list {
  max-height: 300px;
  overflow-y: auto;
}

.order-history-item {
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
}

.order-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.order-id {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
}

.order-date {
  color: #6b7280;
  font-size: 0.85rem;
}

.order-amount {
  font-weight: 600;
  color: #059669;
  font-size: 0.9rem;
}

/* Status Badge Styles */
.status-badge.verify {
  background: #f3e8ff;
  color: #7c3aed;
}

.status-badge.paid {
  background: #d1fae5;
  color: #065f46;
}

.status-badge.completed {
  background: #dcfce7;
  color: #166534;
}

.status-badge.in-progress {
  background: #dbeafe;
  color: #1e40af;
}

.status-badge.wrong-info {
  background: #fef3c7;
  color: #92400e;
}

.status-badge.failed {
  background: #fde2e7;
  color: #be185d;
}

.status-badge.rejected {
  background: #fee2e2;
  color: #dc2626;
}

/* Status Change Section */
.status-change-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.status-change-section h4 {
  margin-bottom: 1rem;
  color: #2c3e50;
  font-size: 1.1rem;
}

.status-controls {
  display: grid;
  gap: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #374151;
}

/* TIP Button Styles (removed) */

/* Improved Checkbox Styles */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.checkbox-label:hover {
  background: #f9fafb;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #10b981;
  border-color: #10b981;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-text {
  color: #10b981;
  font-weight: 500;
}

.checkbox-label:has(input[type="checkbox"]:checked) {
  background: #ecfdf5;
  border: 1px solid #d1fae5;
}

.checkbox-text {
  color: #374151;
  font-size: 14px;
  transition: all 0.2s ease;
}


/* Modal Content Improvements */
.info-section {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item label {
  font-weight: 600;
  color: #374151;
  min-width: 120px;
}

.info-item span {
  color: #6b7280;
  text-align: right;
}

/* Responsive Table Styles */
@media (max-width: 768px) {
  .orders-table,
  .customers-table {
    font-size: 0.8rem;
  }

  .orders-table th,
  .orders-table td,
  .customers-table th,
  .customers-table td {
    padding: 0.5rem;
  }

  .order-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Customer Dashboard Order Styles */
.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  background: white;
  transition: box-shadow 0.2s;
}

.order-item:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.order-info {
  flex: 1;
}

.order-id {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.order-details {
  color: #6b7280;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.order-date {
  color: #9ca3af;
  font-size: 0.8rem;
}

.order-status {
  margin-left: 1rem;
}

/* Status badges for customer dashboard */
.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Order Status Message */
.status-message {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.status-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.status-text strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.status-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Sales Analytics Styles */
.analytics-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.analytics-tabs .tab {
  background: none;
  border: none;
  padding: 0.75rem 1rem;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.analytics-tabs .tab:hover {
  color: var(--text);
}

.analytics-tabs .tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.analytics-panel {
  display: none;
}

.analytics-panel.active {
  display: block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.stat-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.stat-change {
  font-size: 0.8rem;
  font-weight: 500;
}

.stat-change.positive {
  color: #10b981;
}

.stat-change.negative {
  color: var(--danger);
}

.chart-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.chart-container h3 {
  margin: 0 0 1rem 0;
  color: var(--text);
  font-size: 1.1rem;
}

.chart-placeholder {
  height: 300px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-style: italic;
}

.daily-stats,
.weekly-stats,
.monthly-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.stat-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-item strong {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Theme Toggle Icons */
.theme-toggle-icons {
  display: none !important; /* Hidden - light theme not fully working */
  gap: 4px;
}

.theme-icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.theme-icon-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.05);
}

.theme-icon-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Rewards Popup Modal Styles */
.rewards-modal-content {
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
}

.rewards-main-selection {
  display: block;
}

.selection-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.selection-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.selection-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.selection-icon {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.selection-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.selection-card p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
}

.container-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.back-btn {
  background: var(--muted);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: var(--primary);
}

.container-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.rewards-points-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.points-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.points-label {
  color: var(--muted);
  font-weight: 500;
}

.points-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.daily-bonus-btn {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #333;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.daily-bonus-btn:hover {
  transform: scale(1.05);
}

.daily-bonus-btn:disabled {
  background: var(--muted);
  cursor: not-allowed;
  transform: none;
}


.rewards-container {
  display: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
  padding: 1.5rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.game-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.game-card h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text);
}

.game-card p {
  margin: 0 0 1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.spin-wheel-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 1rem;
}

.spin-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  transition: transform 3s cubic-bezier(0.25, 0.1, 0.25, 1);
  border: 6px solid var(--border);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.wheel-section {
  position: absolute;
  width: 50%;
  height: 50%;
  transform-origin: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: white;
  font-size: 12px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.wheel-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid var(--primary);
  z-index: 10;
}

/* Large Spin Wheel Modal Styles */
.spin-wheel-modal-content {
  max-width: 600px;
  text-align: center;
}

.spin-wheel-game-container {
  position: relative;
  width: 450px;
  height: 450px;
  margin: 20px auto;
}

.spin-wheel-large {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  transition: transform 4s cubic-bezier(0.25, 0.1, 0.25, 1);
  border: 15px solid #2c3e50;
  box-shadow:
    0 0 40px rgba(0, 0, 0, 0.6),
    inset 0 0 30px rgba(255, 255, 255, 0.1),
    0 0 0 8px rgba(52, 152, 219, 0.3),
    0 0 0 12px rgba(46, 204, 113, 0.2);
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.1) 70%);
  overflow: hidden;
}

.wheel-section-large {
  position: absolute;
  width: 50%;
  height: 50%;
  transform-origin: 100% 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.wheel-section-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.wheel-section-large:hover {
  transform: scale(1.05);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.4);
}

.prize-icon {
  font-size: 28px;
  margin-bottom: 5px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.prize-text {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #f39c12, #e67e22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 20px rgba(0, 0, 0, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.3);
  border: 4px solid #2c3e50;
  z-index: 20;
}

.center-logo {
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.wheel-pointer-large {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 60px solid #e74c3c;
  z-index: 15;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.wheel-pointer-large::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -20px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 40px solid #c0392b;
}

.spin-wheel-controls {
  margin-top: 30px;
}

.btn-large {
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 12px;
  min-width: 200px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
  transition: all 0.3s ease;
}

.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
}

.btn-large:disabled {
  opacity: 0.6;
  transform: none;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.spin-result-large {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  min-height: 24px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.scratch-card {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 1rem 0;
  position: relative;
  cursor: pointer;
}

.scratch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #c0c0c0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #666;
}

.dice-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.dice {
  width: 40px;
  height: 40px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text);
}

.game-button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin: 0.5rem;
  transition: all 0.3s ease;
  width: 100%;
}

.game-button:hover {
  background: #0891b2;
}

.game-button:disabled {
  background: var(--muted);
  cursor: not-allowed;
}

.reward-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.reward-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.reward-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.reward-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.reward-description {
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.reward-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.reward-button {
  width: 100%;
  padding: 0.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.reward-button:hover {
  background: var(--primary-600);
}

.reward-button:disabled {
  background: var(--muted);
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .rewards-modal-content {
    max-width: 95vw;
    margin: 1rem;
  }

  .rewards-points-display {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

  .rewards-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .spin-wheel-container {
    width: 120px;
    height: 120px;
  }
}

/* Analytics styling - using dark theme variables */

/* Customer Table Styles */
.customers-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.customers-table th,
.customers-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.customers-table th {
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.customers-table td {
  color: var(--text);
  font-size: 14px;
}

.customers-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.05);
}

.table-container {
  overflow-x: auto;
  margin-bottom: 20px;
}

.search-input {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  width: 250px;
  margin-right: 12px;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.customer-stats {
  display: flex;
  gap: 24px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

/* Customer Details Modal */
.customer-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.detail-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.detail-section h4 {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:last-child {
  border-bottom: none;
}

.info-item label {
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}

.info-item span {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

.orders-list {
  max-height: 200px;
  overflow-y: auto;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 8px;
}

.order-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-id {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.order-details {
  color: var(--muted);
  font-size: 12px;
}

.order-date {
  color: var(--muted);
  font-size: 11px;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.active {
  background: #10b981;
  color: white;
}

.status-badge.inactive {
  background: #ef4444;
  color: white;
}

.status-badge.pending {
  background: #f59e0b;
  color: white;
}

.status-badge.completed {
  background: #10b981;
  color: white;
}

.status-badge.failed {
  background: #ef4444;
  color: white;
}

.status-badge.refunded {
  background: #6b7280;
  color: white;
}

/* Orders Table Styles */
.orders-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.orders-table th,
.orders-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.orders-table th {
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.orders-table td {
  color: var(--text);
  font-size: 14px;
}

.orders-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.05);
}

.order-stats {
  display: flex;
  gap: 24px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 16px;
}

/* Order Details Modal */
.order-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.status-update-form {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.status-update-form select {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
}

/* Order Status Badges */
.status-badge.paid {
  background: #10b981;
  color: white;
}

.status-badge.verify {
  background: #3b82f6;
  color: white;
}

.status-badge.in_process {
  background: #f59e0b;
  color: white;
}

.status-badge.shipped {
  background: #8b5cf6;
  color: white;
}

.status-badge.completed {
  background: #10b981;
  color: white;
}

.status-badge.failed {
  background: #ef4444;
  color: white;
}

.status-badge.wrong_info {
  background: #f97316;
  color: white;
  font-weight: 600;
}

.status-badge.fraud {
  background: #dc2626;
  color: white;
}

.status-badge.refunded {
  background: #6b7280;
  color: white;
}

.status-badge.chargeback {
  background: #991b1b;
  color: white;
}

.status-badge.pending {
  background: #f59e0b;
  color: white;
}

/* Order notes styling for customer account */
.order-notes {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 4px;
  padding: 8px;
  margin-top: 8px;
  font-size: 0.875rem;
}

.order-notes strong {
  color: #92400e;
}

.order-platform {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 8px;
}

/* ===== NEW CUSTOMER DASHBOARD STYLES ===== */

/* Customer Dashboard Container */
.customer-dashboard {
  max-width: 900px;
  width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
}

/* Customer Stats Overview */
.customer-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.customer-stats .stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #374151;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.customer-stats .stat-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.stat-icon {
  font-size: 1.5rem;
  opacity: 0.7;
  color: #6b7280;
}

.stat-content {
  flex: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

/* Overview Tab Styles */
.overview-section {
  margin-bottom: 2rem;
}

.overview-section h3 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.25rem;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 4px solid #3b82f6;
}

.activity-item.loading {
  border-left-color: #f59e0b;
}

.activity-icon {
  font-size: 1.5rem;
}

.activity-content {
  flex: 1;
}

.activity-text {
  font-weight: 500;
  color: #374151;
}

.activity-time {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  border-color: #3b82f6;
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.action-icon {
  font-size: 2rem;
}

.action-text {
  font-weight: 600;
  color: #374151;
}

/* Orders Tab Styles */
.orders-section h3 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.25rem;
}

.orders-filter {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: #e5e7eb;
  color: #374151;
}

.filter-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem;
  text-align: center;
}

.loading-icon {
  font-size: 2rem;
  opacity: 0.6;
}

.loading-text {
  color: #6b7280;
  font-size: 1rem;
}

/* Order Item Styles */
.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.order-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.order-info {
  flex: 1;
}

.order-id {
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.25rem;
}

.order-details {
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.order-date {
  font-size: 0.875rem;
  color: #9ca3af;
}

.order-platform {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.order-status {
  margin-left: 1rem;
}

/* Order Card Styles */
.order-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.order-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.order-card .order-id {
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
}

.order-card .order-status {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-left: 0;
}

.order-status.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.order-status.status-paid {
  background: #dbeafe;
  color: #1e40af;
}

.order-status.status-completed {
  background: #d1fae5;
  color: #065f46;
}

.order-status.status-shipped {
  background: #d1fae5;
  color: #065f46;
}

.order-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.order-card .order-info {
  flex: 1;
}

.order-coins {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

/* Cashback Tab Styles */
.cashback-section h3 {
  margin-bottom: 1.5rem;
  color: #374151;
  font-size: 1.25rem;
}

.cashback-balance-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #374151;
  margin-bottom: 2rem;
}

.balance-icon {
  font-size: 2.5rem;
  opacity: 0.7;
  color: #6b7280;
}

.balance-content {
  flex: 1;
}

.balance-label {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.balance-amount {
  font-size: 2rem;
  font-weight: 700;
  /* Override global .balance-amount color (used elsewhere) */
  color: #111827 !important;
  margin-bottom: 0.5rem;
}

.balance-description {
  font-size: 0.875rem;
  color: #9ca3af;
}

.cashback-history h4 {
  margin-bottom: 1rem;
  color: #374151;
  font-size: 1.125rem;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem;
  text-align: center;
  background: #f9fafb;
  border-radius: 12px;
  border: 2px dashed #d1d5db;
}

.empty-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.empty-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #6b7280;
}

.empty-description {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Prizes Tab Styles */
.prizes-section h3 {
  margin-bottom: 1.5rem;
  color: #374151;
  font-size: 1.25rem;
}

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

.prize-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #374151;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.prize-stat:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.prize-icon {
  font-size: 1.5rem;
  opacity: 0.7;
  color: #6b7280;
}

.prize-content {
  flex: 1;
}

.prize-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.prize-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.prizes-history h4 {
  margin-bottom: 1rem;
  color: #374151;
  font-size: 1.125rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .customer-stats {
    grid-template-columns: 1fr;
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
  }
  
  .orders-filter {
    justify-content: center;
  }
  
  .order-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .order-status {
    margin-left: 0;
    align-self: flex-end;
  }
  
  .cashback-balance-card {
    flex-direction: column;
    text-align: center;
  }
  
  .prizes-stats {
    grid-template-columns: 1fr;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .customers-table,
  .orders-table {
    font-size: 12px;
  }
  
  .customers-table th,
  .customers-table td,
  .orders-table th,
  .orders-table td {
    padding: 8px 12px;
  }
  
  .customer-stats,
  .order-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .customer-details-grid,
  .order-details-grid {
    grid-template-columns: 1fr;
  }
  
  .search-input {
    width: 100%;
    margin-right: 0;
    margin-bottom: 12px;
  }
  
  .status-update-form {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================
   LIVE ORDER STATUS PAGE STYLES
   ============================================ */

/* Main Container */
.live-status-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px;
}

/* Order Status Header */
.order-status-header {
  text-align: center;
  margin-bottom: 12px;
}

/* Grid Layout */
.status-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  align-items: start;
}

.status-main {
  min-width: 0;
}

.status-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

/* Sidebar Card */
.sidebar-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-item {
  display: flex;
  gap: 8px;
  padding: 8px;
  margin-bottom: 8px;
  background: var(--bg-secondary);
  border-radius: 6px;
  align-items: center;
}

.sidebar-item:last-child {
  margin-bottom: 0;
}

/* Instagram Ad Box Animations */
@keyframes instagramPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(240, 148, 51, 0.15), inset 0 0 30px rgba(220, 38, 67, 0.1), 0 0 0 0 rgba(220, 38, 67, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(240, 148, 51, 0.25), inset 0 0 30px rgba(220, 38, 67, 0.15), 0 0 20px 5px rgba(220, 38, 67, 0.2);
  }
}

@keyframes instagramButtonGlow {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(220, 38, 67, 0.4), 0 0 20px rgba(240, 148, 51, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 25px rgba(220, 38, 67, 0.6), 0 0 30px rgba(240, 148, 51, 0.4);
    transform: scale(1.02);
  }
}

@keyframes instagramGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#instagram-ad-inner {
  animation: instagramPulse 3s ease-in-out infinite;
}

#instagram-follow-btn {
  background-size: 200% 200%;
  animation: instagramButtonGlow 2s ease-in-out infinite, instagramGradient 3s ease infinite;
}

#instagram-follow-btn:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 8px 30px rgba(220, 38, 67, 0.6), 0 0 40px rgba(240, 148, 51, 0.5) !important;
  animation: none;
}

#instagram-follow-btn:active {
  transform: scale(0.98) !important;
}

#instagram-rotating-text {
  animation: fadeIn 0.5s ease-in;
}

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

.sidebar-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.sidebar-content {
  flex: 1;
  min-width: 0;
}

.sidebar-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  font-weight: 500;
}

.sidebar-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
}

.order-details-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
}

/* Responsive - stack sidebar on mobile */
@media (max-width: 768px) {
  .status-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }
}

/* Review & Global Modals
   NOTE: Keep modal z-index above header (100010) and header actions (100015)
   so all popups (auth, contact, FAQ, rewards, account, etc.) sit on top of the header. */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100020;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.is-hidden {
  display: none;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

.modal-body {
  margin-bottom: 0;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.modal-actions .btn {
  flex: 1;
}

/* Form Group Styling */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .modal-content {
    padding: 24px;
  }

  .modal-title {
    font-size: 20px;
    margin: 8px 0 16px !important;
  }

  /* Hide tabs on mobile, show dropdown instead */
  .tabs {
    display: none !important;
  }

  .tabs-mobile-dropdown {
    display: block !important;
  }

  /* Ensure customer dashboard modal fits on mobile */
  .customer-dashboard {
    width: 98vw;
    padding: 16px 12px;
  }
}

/* Error Notice for Wrong Info Status */
.error-notice {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(99, 102, 241, 0.10));
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.14);
  animation: slideDown 0.4s ease;
}

.error-notice.is-hidden {
  display: none !important;
}

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

.error-notice-icon {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
  align-self: center;
  text-align: center;
}

.error-notice-content {
  flex: 1;
  width: 100%;
}

.error-notice-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text) !important;
  margin-bottom: 12px;
  text-shadow: none;
}

.error-notice-message {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.error-notice-list {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.22);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.error-notice-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.error-notice-list ul {
  margin: 0;
  padding-left: 20px;
}

.error-notice-list li {
  margin-bottom: 4px;
}

.error-notice-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .error-notice {
    text-align: left;
  }

  .error-notice-icon {
    font-size: 34px;
  }
}

/* Refunded Notice */
.refunded-notice {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border: 2px solid #3b82f6;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
  animation: slideDown 0.4s ease;
}

.refunded-notice.is-hidden {
  display: none !important;
}

.refunded-notice .notice-icon {
  font-size: 48px;
  line-height: 1;
  flex-shrink: 0;
}

.refunded-notice .notice-content {
  flex: 1;
}

.refunded-notice .notice-title {
  font-size: 22px;
  font-weight: 800;
  color: #1e40af !important;
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.refunded-notice .notice-message {
  font-size: 15px;
  color: #1e40af;
  margin-bottom: 16px;
  line-height: 1.6;
}

.refunded-notice .notice-details {
  font-size: 14px;
  color: #1e40af;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.6);
  padding: 12px 16px;
  border-radius: 8px;
}

.refunded-notice .notice-details strong {
  display: block;
  margin-bottom: 8px;
  color: #1e3a8a;
}

.refunded-notice .notice-details ul {
  margin: 0;
  padding-left: 20px;
}

.refunded-notice .notice-details li {
  margin-bottom: 4px;
}

.refunded-notice .notice-details li:last-child {
  margin-bottom: 0;
}

.refunded-notice .notice-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.refunded-notice .notice-actions .btn {
  flex: 1;
  min-width: 140px;
}

@media (max-width: 768px) {
  .refunded-notice {
    flex-direction: column;
    text-align: center;
  }

  .refunded-notice .notice-icon {
    font-size: 40px;
  }

  .refunded-notice .notice-actions {
    flex-direction: column;
  }

  .refunded-notice .notice-actions .btn {
    width: 100%;
  }
}

.status-badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.status-processing {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.status-badge.status-delivering {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.status-badge.status-shipped {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.status-badge.status-completed {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

/* Order Details Card */
.order-details-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.order-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}

.order-detail-row:last-child {
  margin-bottom: 0;
}

.order-detail-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.order-detail-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 8px;
}

.order-detail-content {
  flex: 1;
}

.order-detail-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  font-weight: 500;
}

.order-detail-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Progress Container */
.progress-container {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.progress-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.progress-percentage {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.progress-bar-wrapper {
  margin-bottom: 12px;
}

.progress-bar-track {
  height: 10px;
  background: var(--bg-secondary);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
  background-size: 200% 100%;
  border-radius: 12px;
  transition: width 0.5s ease;
  position: relative;
  animation: shimmer 2s linear infinite;
}

/* Make the live-status progress bar read as a true "fill" indicator (no sweeping beam). */
.progress-container .progress-bar-fill {
  animation: none;
  background-size: 100% 100%;
}

.progress-container .progress-bar-glow {
  animation: none;
  opacity: 0.35;
}

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

.progress-bar-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5));
  animation: glow 1.5s ease-in-out infinite;
}

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

.progress-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.progress-stat {
  text-align: center;
  padding: 8px;
  background: var(--bg-secondary);
  border-radius: 6px;
}

.progress-stat-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 2px;
  font-weight: 500;
}

.progress-stat-value {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Status Timeline */
.status-timeline {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.status-step {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 6px;
  position: relative;
  transition: all 0.3s ease;
}

.status-step:last-child {
  margin-bottom: 0;
}

.status-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 35px;
  top: 60px;
  width: 2px;
  height: calc(100% - 44px);
  background: var(--border-color);
}

.status-step.status-completed {
  background: rgba(16, 185, 129, 0.1);
}

.status-step.status-completed::after {
  background: #10b981;
}

.status-step.status-active {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-step.status-active::after {
  background: linear-gradient(to bottom, #3b82f6, var(--border-color));
}

.status-step-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.status-step.status-completed .status-step-icon {
  background: #10b981;
  color: white;
  font-weight: bold;
}

.status-step.status-active .status-step-icon {
  background: #3b82f6;
  color: white;
}

.status-step:not(.status-completed):not(.status-active) .status-step-icon {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

.status-step-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.status-step-content {
  flex: 1;
}

.status-step-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.status-step-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* Order Notice */
.order-notice {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.1));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  margin-bottom: 12px;
}

/* Proof Images */
.proof-images-container {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.proof-images-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.proof-images-icon {
  font-size: 32px;
  line-height: 1;
}

.proof-images-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.proof-images-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.proof-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.proof-image-item {
  background: white;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.proof-image-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-align: center;
}

.proof-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notice-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.notice-content {
  font-size: 12px;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Review Section */
.review-section {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.review-header {
  text-align: center;
  margin-bottom: 32px;
}

.review-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.review-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

/* Referral Source Section */
.referral-source-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.referral-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-align: center;
}

.referral-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.referral-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.referral-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Brand-specific colors */
.referral-google {
  border-color: #4285F4;
  color: #4285F4;
}
.referral-google:hover {
  background: rgba(66, 133, 244, 0.1);
  border-color: #4285F4;
}
.referral-google.selected {
  background: rgba(66, 133, 244, 0.2);
  border-color: #4285F4;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.2);
}

.referral-instagram {
  border-color: #E1306C;
  color: #E1306C;
}
.referral-instagram:hover {
  background: rgba(225, 48, 108, 0.1);
  border-color: #E1306C;
}
.referral-instagram.selected {
  background: rgba(225, 48, 108, 0.2);
  border-color: #E1306C;
  box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.2);
}

.referral-facebook {
  border-color: #1877F2;
  color: #1877F2;
}
.referral-facebook:hover {
  background: rgba(24, 119, 242, 0.1);
  border-color: #1877F2;
}
.referral-facebook.selected {
  background: rgba(24, 119, 242, 0.2);
  border-color: #1877F2;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.2);
}

.referral-youtube {
  border-color: #FF0000;
  color: #FF0000;
}
.referral-youtube:hover {
  background: rgba(255, 0, 0, 0.1);
  border-color: #FF0000;
}
.referral-youtube.selected {
  background: rgba(255, 0, 0, 0.2);
  border-color: #FF0000;
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.2);
}

.referral-friend {
  border-color: #00C853;
  color: #00C853;
}
.referral-friend:hover {
  background: rgba(0, 200, 83, 0.1);
  border-color: #00C853;
}
.referral-friend.selected {
  background: rgba(0, 200, 83, 0.2);
  border-color: #00C853;
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.2);
}

.referral-other {
  border-color: #757575;
  color: #757575;
}
.referral-other:hover {
  background: rgba(117, 117, 117, 0.1);
  border-color: #757575;
}
.referral-other.selected {
  background: rgba(117, 117, 117, 0.2);
  border-color: #757575;
  box-shadow: 0 0 0 3px rgba(117, 117, 117, 0.2);
}

/* Other input field */
.referral-other-input {
  margin-top: 12px;
}

.referral-other-field {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.referral-other-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1);
}

.referral-other-field::placeholder {
  color: var(--text-secondary);
}


.review-form {
  max-width: 500px;
  margin: 0 auto;
}

.star-rating {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.star-btn {
  background: none;
  border: none;
  font-size: 48px;
  color: var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.star-btn:hover,
.star-btn.active {
  color: #fbbf24;
  transform: scale(1.1);
}

.star-btn.active {
  animation: starPop 0.3s ease;
}

@keyframes starPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1.1);
  }
}

.review-rating-text {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 24px;
}

.review-text-container {
  margin-bottom: 16px;
}

.review-textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.review-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.review-char-count {
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

#submit-review-btn {
  width: 100%;
}

#review-modal {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 100200;
}

#review-modal .modal-content {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

#review-modal.review-stage-referral .modal-actions {
  display: none !important;
}

#review-modal.review-stage-referral .star-rating,
#review-modal.review-stage-referral #review-rating-text,
#review-modal.review-stage-referral #review-text-container {
  display: none !important;
}

body:has(#review-modal:not(.is-hidden)) {
  overflow: hidden;
}

body:has(#review-modal:not(.is-hidden)) .top-banner,
body:has(#review-modal:not(.is-hidden)) .toty-promo-badge,
body:has(#review-modal:not(.is-hidden)) .flash-sale-promo-badge,
body:has(#review-modal:not(.is-hidden)) .cny-promo-badge,
body:has(#review-modal:not(.is-hidden)) .chat-widget,
body:has(#review-modal:not(.is-hidden)) .chat-notification-banner,
body:has(#review-modal:not(.is-hidden)) iframe[src*="tawk.to"],
body:has(#review-modal:not(.is-hidden)) iframe[title*="tawk" i],
body:has(#review-modal:not(.is-hidden)) iframe[title*="chat" i],
body:has(#review-modal:not(.is-hidden)) div[id*="tawk" i],
body:has(#review-modal:not(.is-hidden)) div[class*="tawk" i] {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.review-thank-you {
  text-align: center;
  padding: 40px 20px;
}

.thank-you-icon {
  font-size: 64px;
  margin-bottom: 16px;
  animation: bounce 1s ease infinite;
}

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

.thank-you-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.thank-you-message {
  font-size: 16px;
  color: var(--text-muted);
}

/* Order Actions */
.order-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.order-actions .btn {
  min-width: 150px;
  padding: 8px 16px;
  font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #review-modal {
    align-items: flex-start;
    padding: max(12px, env(safe-area-inset-top)) 0 max(12px, env(safe-area-inset-bottom));
  }

  #review-modal .modal-content {
    width: min(500px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    margin: 0 auto;
    padding: 20px 16px calc(16px + env(safe-area-inset-bottom));
  }

  #review-modal .modal-header {
    margin-bottom: 20px;
  }

  #review-modal .review-form {
    max-width: none;
  }

  #review-modal .referral-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #review-modal .modal-actions {
    position: sticky;
    bottom: calc(-16px - env(safe-area-inset-bottom));
    margin: 20px -16px 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(15, 22, 36, 0.92), var(--card));
    border-top: 1px solid var(--border);
  }

  .live-status-container {
    padding: 16px;
  }

  .order-details-card {
    padding: 20px;
  }

  .order-detail-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .progress-stats {
    grid-template-columns: 1fr;
  }

  .star-btn {
    font-size: 36px;
  }

  .review-section {
    padding: 24px 16px;
  }

  .order-actions {
    flex-direction: column;
  }

  .order-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  #review-modal .referral-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .progress-percentage {
    font-size: 20px;
  }

  .review-title {
    font-size: 24px;
  }

  .star-btn {
    font-size: 32px;
    gap: 4px;
  }
}

/* Status History Styles */
.status-history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
  padding: 4px;
}

.history-entry {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  transition: all 0.2s ease;
}

.history-entry:hover {
  background: var(--bg-tertiary);
  border-color: var(--primary-color);
}

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

.history-time {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.history-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.history-change {
  color: var(--text-primary);
  font-weight: 500;
}

.old-status {
  color: var(--text-secondary);
  text-decoration: line-through;
}

.new-status {
  color: var(--primary-color);
}

.history-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.history-notes {
  background: var(--bg-primary);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid var(--primary-color);
  font-size: 13px;
  color: var(--text-primary);
  margin-top: 4px;
}

.history-notes strong {
  color: var(--primary-color);
  margin-right: 4px;
}

.loading-text,
.no-history-text,
.error-text {
  text-align: center;
  padding: 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

.error-text {
  color: #ef4444;
}

/* My Details Tab Styles */
.detail-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.detail-container:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.detail-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.detail-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.btn-edit {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}

.btn-edit:hover:not(:disabled) {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-edit:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.detail-edit-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.detail-edit-form.is-hidden {
  display: none;
}

.detail-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s;
}

.detail-input:focus {
  outline: none;
  border-color: var(--primary);
}

.detail-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.details-section {
  padding: 0;
}

/* Toggle Switch for Admin Reviews */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #3b82f6;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Admin Live Chat Panel Styles */
.live-chat-container {
  display: flex;
  gap: 24px;
  height: 700px;
}

.conversations-panel {
  flex: 0 0 350px;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.conversations-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.conversations-header h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
}

.conversations-list {
  display: none !important; /* Hidden - using Zopim tabs now */
}

/* Chat Filter Tabs */
.chat-filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--card);
  border-radius: 8px;
}

.filter-tab {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
  color: var(--text-primary);
}

.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Override for Zopim tabs container */
#admin-conversations-list.zopim-conversation-tabs {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px;
  flex-wrap: wrap;
}

/* Conversation Item Styles */
.conversation-item {
  display: flex !important;
  flex-direction: column;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  min-width: 120px;
  flex: 0 0 auto;
}

.conversation-item:hover {
  display: flex !important;
  background: rgba(59, 130, 246, 0.05);
  border-color: var(--primary);
}

.conversation-item.active {
  display: flex !important;
  background: var(--primary);
  border-color: var(--primary);
}

.conversation-item.active * {
  display: initial !important;
  color: white;
}

/* Simplified conversation name display */
.conversation-name-simple {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  width: 100%;
}

.conversation-item.active .conversation-name-simple {
  color: white;
}

/* Store label below name */
.conversation-store-label {
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  margin-top: 4px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.conversation-item.active .conversation-store-label {
  color: white;
  opacity: 0.9;
}

/* Store-specific color coding */
.conversation-item[data-store="fcutstore"] {
  border-left: 4px solid #00b4d8;
}

.conversation-item[data-store="fcutstore"] .conversation-store-label {
  color: #00b4d8;
}

.conversation-item[data-store="eafcshop"] {
  border-left: 4px solid #8b5cf6;
}

.conversation-item[data-store="eafcshop"] .conversation-store-label {
  color: #8b5cf6;
}

.conversation-item[data-store="fccoinsuae"] {
  border-left: 4px solid #f59e0b;
}

.conversation-item[data-store="fccoinsuae"] .conversation-store-label {
  color: #f59e0b;
}

.conversation-item[data-store="easportspc"] {
  border-left: 4px solid #10b981;
}

.conversation-item[data-store="easportspc"] .conversation-store-label {
  color: #10b981;
}

.conversation-item[data-store="eafccshop"] {
  border-left: 4px solid #ec4899;
}

.conversation-item[data-store="eafccshop"] .conversation-store-label {
  color: #ec4899;
}

/* Active store conversations keep white text */
.conversation-item.active .conversation-store-label {
  color: white !important;
}

/* Flashing animation for conversations waiting for reply */
.conversation-item.waiting-reply {
  animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% {
    border-color: var(--border);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
  50% {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
  }
}

.conversation-item.waiting-reply .conversation-name-simple {
  color: #ef4444;
  animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.conversation-item.active.waiting-reply .conversation-name-simple {
  color: white;
  animation: none;
}

/* Closed conversation styling - grayed out with lower opacity */
.conversation-item.closed {
  opacity: 0.6;
  background: rgba(100, 100, 100, 0.1);
}

.conversation-item.closed:hover {
  opacity: 0.8;
}

.conversation-item.closed .conversation-name-simple {
  font-style: italic;
  color: var(--muted);
}

.conversation-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
}

.conversation-item.active .conversation-avatar {
  background: white;
  color: var(--primary);
}

.conversation-details {
  flex: 1;
  min-width: 0;
}

/* Hide old conversation item elements - we use simplified structure now */
.conversation-header,
.conversation-name,
.message-count,
.conversation-time,
.conversation-preview,
.zopim-tab-preview,
.zopim-tab-meta,
.zopim-tab-time,
.zopim-tab-website,
.zopim-tab-badge {
  display: none !important;
}

.conversation-badge {
  background: var(--primary);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  display: inline-block;
}

/* Admin chat panel styling - NOT for customer widget */
.admin-panel .chat-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.admin-panel .chat-panel.is-hidden {
  display: none;
}

.chat-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.customer-info {
  margin-bottom: 8px;
}

.customer-info h3 {
  margin: 0 0 4px 0;
  color: var(--text);
  font-size: 16px;
}

.customer-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.conversation-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

/* Admin Chat Styles */
.admin-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
}

.admin-chat-messages .chat-message {
  display: flex;
  gap: 12px;
  max-width: 75%;
}

.admin-chat-messages .customer-message {
  align-self: flex-start;
  flex-direction: row;
}

.admin-chat-messages .admin-message {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.admin-chat-messages .message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.admin-chat-messages .message-bubble {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 12px 16px;
  flex: 1;
}

.admin-chat-messages .customer-message .message-bubble {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
}

.admin-chat-messages .admin-message .message-bubble {
  background: #4a90e2;
  border: 1px solid #357abd;
}

.admin-chat-messages .admin-message .message-header strong,
.admin-chat-messages .admin-message .message-time,
.admin-chat-messages .admin-message .message-content {
  color: white !important;
}

.admin-chat-messages .message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.admin-chat-messages .message-header strong {
  color: #333;
  font-size: 14px;
}

.admin-chat-messages .message-time {
  color: #666;
  font-size: 12px;
}

.admin-chat-messages .customer-message .message-time {
  color: #666;
}

.admin-chat-messages .message-content {
  color: #333;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}

.admin-chat-messages .customer-message .message-content {
  color: #1e293b !important;
  background: transparent !important;
}

.admin-chat-messages .customer-message .message-bubble {
  background: #f5f5f5 !important;
  color: #1e293b !important;
}

.admin-chat-messages .customer-message .message-header strong {
  color: #1e293b !important;
}

.admin-chat-messages .customer-message .message-time {
  color: #64748b !important;
}

/* Dark theme support for admin chat */
[data-theme="dark"] .admin-chat-messages .customer-message .message-bubble {
  background: #1e293b !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .admin-chat-messages .customer-message .message-content {
  color: #e2e8f0 !important;
}

[data-theme="dark"] .admin-chat-messages .customer-message .message-header strong {
  color: #e2e8f0 !important;
}

[data-theme="dark"] .admin-chat-messages .customer-message .message-time {
  color: #94a3b8 !important;
}

.admin-chat-messages .message-status {
  margin-top: 6px;
  padding: 4px 8px;
  background: var(--bg);
  border-radius: 4px;
  font-size: 11px;
  color: var(--muted);
  display: inline-block;
}

.admin-chat-input-area {
  padding: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: flex-end;
  background: var(--card);
}

.admin-chat-input-area textarea {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: none;
  min-height: 60px;
}

.admin-chat-input-area textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.admin-chat-input-area button {
  flex-shrink: 0;
}

/* ========================================
   ZOPIM-STYLE CHAT LAYOUT
   ======================================== */

.zopim-chat-wrapper {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
  min-height: 600px;
  position: relative;
}

.zopim-chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  margin-bottom: 0;
}

.zopim-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  gap: 12px;
}

.zopim-empty-state .empty-icon {
  font-size: 64px;
  opacity: 0.5;
}

.zopim-empty-state .empty-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.zopim-empty-state .empty-description {
  font-size: 14px;
}

.zopim-chat-panel {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  min-height: 0;
}

.zopim-chat-panel.is-hidden {
  display: none !important;
}

/* Zopim Header */
.zopim-header {
  padding: 16px 20px;
  background: var(--card);
  border-bottom: 2px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zopim-customer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zopim-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  flex-shrink: 0;
}

.zopim-customer-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.zopim-customer-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.zopim-customer-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.zopim-separator {
  color: var(--border);
}

.zopim-website {
  padding: 2px 8px;
  background: var(--bg);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.zopim-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zopim-status {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  background: #4caf50;
  color: white;
}

.zopim-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.zopim-btn-close {
  background: #ff9800;
  color: white;
}

.zopim-btn-close:hover {
  background: #f57c00;
}

.zopim-btn-archive {
  background: #9e9e9e;
  color: white;
}

.zopim-btn-archive:hover {
  background: #757575;
}

/* Zopim Messages Area */
.zopim-messages-area {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f9f9f9;
}

[data-theme="dark"] .zopim-messages-area {
  background: #1a1a1a;
}

/* Reuse existing message styles but ensure they work */
.zopim-messages-area .chat-message {
  display: flex;
  gap: 12px;
  max-width: 75%;
}

.zopim-messages-area .customer-message {
  align-self: flex-start;
  flex-direction: row;
}

.zopim-messages-area .admin-message {
  align-self: flex-end;
  flex-direction: row-reverse;
}

/* Zopim Input Area */
.zopim-input-wrapper {
  background: var(--card);
  border-top: 2px solid var(--border);
  padding: 12px 20px;
  position: sticky;
  bottom: 0;
  z-index: 5;
}

.zopim-quick-replies {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  max-height: 80px;
  overflow-y: auto;
}

.zopim-quick-replies:empty {
  display: none;
}

.zopim-quick-reply-btn {
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.zopim-quick-reply-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.zopim-input-container {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.zopim-textarea {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: none;
  min-height: 40px;
  max-height: 120px;
}

.zopim-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.zopim-input-buttons {
  display: flex;
  gap: 8px;
}

.zopim-btn-icon {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 18px;
}

.zopim-btn-icon:hover {
  background: var(--border);
}

.zopim-btn-send {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.zopim-btn-send:hover {
  background: #5a7bc7;
  transform: scale(1.05);
}

/* Zopim Bottom Bar (Fixed) */
.zopim-bottom-bar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 100;
}

.zopim-bar-header {
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.zopim-bar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.zopim-conversations-icon {
  font-size: 20px;
}

.zopim-btn-refresh {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.zopim-btn-refresh:hover {
  background: var(--border);
  transform: rotate(180deg);
}

.zopim-conversation-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  overflow-x: auto;
  max-height: 120px;
  overflow-y: auto;
}

.zopim-conversation-tab {
  flex-shrink: 0;
  width: 200px;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.zopim-conversation-tab:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.zopim-conversation-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.zopim-conversation-tab.active * {
  color: white !important;
}

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

.zopim-tab-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zopim-tab-badge {
  background: #f44336;
  color: white;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
}

.zopim-tab-preview {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 4px;
}

.zopim-tab-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}

.zopim-tab-website {
  padding: 2px 6px;
  background: var(--card);
  border-radius: 4px;
  font-size: 10px;
}

/* Admin Chat Panel with Sidebar Layout (Keep for compatibility) */
.admin-chat-panel {
  display: flex !important;
  flex-direction: row;
  flex: 1;
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
}

.admin-chat-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-chat-sidebar {
  width: 350px;
  background: var(--card);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.chat-sidebar-section {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.chat-sidebar-section h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.chat-sidebar-section .admin-chat-input-area {
  padding: 0;
  border: none;
  background: transparent;
  flex-direction: column;
}

.chat-sidebar-section .admin-chat-input-area textarea {
  margin-bottom: 12px;
  min-height: 100px;
}

.btn-block {
  width: 100%;
  display: block;
}

.quick-replies-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-reply-btn {
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-reply-btn:hover {
  background: var(--border);
  border-color: var(--primary);
}

.customer-website {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  padding: 4px 8px;
  background: var(--bg);
  border-radius: 4px;
  display: inline-block;
}

/* Fix dark theme text visibility */
[data-theme="dark"] .admin-chat-messages {
  background: #1a1a1a;
  color: #e0e0e0;
}

[data-theme="dark"] .admin-chat-messages .message-content {
  color: #e0e0e0;
}

[data-theme="dark"] .admin-chat-messages .message-bubble {
  background: #2a2a2a;
  border-color: #3a3a3a;
}

[data-theme="dark"] .admin-chat-messages .admin-message .message-bubble {
  background: #3a4a5a;
}

[data-theme="dark"] .admin-chat-input-area textarea {
  background: #2a2a2a;
  color: #e0e0e0;
  border-color: #3a3a3a;
}

[data-theme="dark"] .chat-sidebar-section {
  border-color: #3a3a3a;
}

[data-theme="dark"] .quick-reply-btn {
  background: #2a2a2a;
  border-color: #3a3a3a;
  color: #e0e0e0;
}

[data-theme="dark"] .quick-reply-btn:hover {
  background: #3a3a3a;
}

/* Coupons admin UI (scoped) */
#coupons-section .coupon-create-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
  align-items: end;
}
#coupons-section .coupon-create-grid input[type="text"],
#coupons-section .coupon-create-grid input[type="number"],
#coupons-section .coupon-create-grid input[type="datetime-local"],
#coupons-section .coupon-create-grid select {
  width: 100%;
}
.coupon-grid {
  display: grid;
  grid-template-columns: 28px 1.1fr 0.9fr 0.8fr 1fr 80px 1.1fr 1.1fr 0.7fr 110px;
  gap: 10px;
  padding: 10px 12px;
  align-items: center;
  border-bottom: 1px solid #eee;
}
.coupon-header {
  background: #fafafa;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1;
}
.coupon-row .btn.btn-danger.btn-sm { padding: 6px 10px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

/* Admin Login Overlay */
.admin-login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.admin-login-overlay.hidden {
  display: none;
}
.admin-login-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}
.login-header {
  text-align: center;
  margin-bottom: 30px;
}
.login-header h2 {
  font-size: 24px;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.login-header p {
  color: #666;
  font-size: 14px;
}
.login-field {
  margin-bottom: 20px;
}
.login-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.login-field input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.login-field input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.login-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  text-align: center;
}
.login-lockout {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  text-align: center;
}
.btn-full {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
}
.login-footer {
  text-align: center;
  margin-top: 20px;
  color: #999;
}

/* EA Details Protection */
.protected-badge {
  font-size: 11px;
  background: #fef3c7;
  color: #92400e;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 500;
}
.ea-protected-overlay {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}
.ea-protected-overlay p {
  color: #64748b;
  margin-bottom: 12px;
  font-size: 14px;
}
.ea-details-hidden {
  display: none;
}
.ea-details-visible {
  display: block;
}

/* PIN Modal */
.pin-input-container {
  text-align: center;
}
.pin-input {
  width: 180px;
  padding: 16px;
  font-size: 24px;
  text-align: center;
  letter-spacing: 8px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: monospace;
}
.pin-input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Dark mode support for login */
[data-theme="dark"] .admin-login-box {
  background: #1e1e1e;
}
[data-theme="dark"] .login-header h2 {
  color: #fff;
}
[data-theme="dark"] .login-header p {
  color: #aaa;
}
[data-theme="dark"] .login-field label {
  color: #ddd;
}
[data-theme="dark"] .login-field input {
  background: #2a2a2a;
  border-color: #3a3a3a;
  color: #fff;
}
[data-theme="dark"] .ea-protected-overlay {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border-color: #444;
}
[data-theme="dark"] .ea-protected-overlay p {
  color: #aaa;
}
[data-theme="dark"] .pin-input {
  background: #2a2a2a;
  border-color: #3a3a3a;
  color: #fff;
}

/* Security logs table */
.login-logs-table {
  overflow-x: auto;
}
.login-logs-table table {
  border-collapse: collapse;
}
.login-logs-table th,
.login-logs-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.login-logs-table th {
  background: #f8fafc;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}
[data-theme="dark"] .login-logs-table th {
  background: #1a1a1a;
}

/* Force deployment - Christmas theme chat update v45 */

/* Mobile Background Image - FCUTSBGM (Mobile Only) */
@media (max-width: 768px) {
  body {
    background-image: url('assets/FCUTSBGM.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  body[data-store="safefccoins"] {
    background-image: none !important;
    background-attachment: scroll !important;
  }
}

/* ============================================
   SAFEFCCOINS - FutCoin.net Inspired Layout
   ============================================ */

/* Hero Intro Section */
.hero-intro {
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-intro {
    padding: 40px 15px;
  }
}

/* Benefits Section */
.benefits-section {
  padding: 40px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.benefit-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 48px;
  height: 48px;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.benefit-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* Section Title Center */
.section-title-center {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 40px;
  color: var(--text);
}

@media (max-width: 768px) {
  .section-title-center {
    font-size: 1.6rem;
    margin: 0 0 30px;
  }
}

/* How It Works Section */
.how-it-works-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.comfort-trade-explanation {
  margin-top: 30px;
}

.trade-method-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 40px;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .trade-method-card {
    padding: 25px 20px;
  }
}

.method-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.trade-method-card h3 {
  font-size: 1.75rem;
  margin: 0 0 15px;
  color: var(--text);
}

.method-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin: 0 0 30px;
}

.steps-list {
  margin: 30px 0;
}

.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-content h4 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--text);
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.safety-features {
  background: var(--bg);
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0 20px;
}

.safety-features h4 {
  font-size: 1.15rem;
  margin: 0 0 15px;
  color: var(--text);
}

.safety-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.safety-features li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.method-note {
  background: rgba(var(--primary-rgb, 66, 133, 244), 0.1);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--text);
  margin-top: 20px;
}

.method-note strong {
  color: var(--primary);
}

/* Social Proof Section */
.social-proof-section {
  padding: 60px 20px;
  background: var(--card-bg);
  margin: 40px 0 0;
}

.reviews-highlight {
  max-width: 1000px;
  margin: 0 auto;
}

.review-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .review-stats {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Platform Section Spacing Adjustment */
#platform-section {
  margin-top: 40px;
}

/* ============================================
   SAFEFCCOINS - Clean Header & Visual Effects
   ============================================ */

/* Clean Minimal Header */
.safefccoins-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
}

.header-left-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.trust-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  animation: pulse-badge 2s ease-in-out infinite;
}

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

.header-center-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 1.1rem;
  }
  .trust-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
  }
  .header-center-section {
    display: none;
  }
}

/* Fade-in Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Apply animations to sections */
.hero-intro {
  animation: fadeInUp 0.8s ease-out;
}

.benefits-section {
  animation: fadeIn 1s ease-out 0.3s backwards;
}

.benefit-card {
  animation: fadeInUp 0.6s ease-out backwards;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

.platform-section {
  animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.how-it-works-section {
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

/* Enhanced Benefit Cards */
.benefit-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  border-color: var(--primary);
}

/* Animated Icons */
.benefit-icon {
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Platform Cards with Gradient Overlay */
.platform-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb, 66, 133, 244), 0.1), rgba(var(--secondary-rgb, 234, 67, 53), 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.platform-card:hover::after {
  opacity: 1;
}

.platform-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

/* Staggered platform card animation - appear one by one */
body[data-store="safefccoins"] .platform-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

body[data-store="safefccoins"] .platform-card:nth-child(1) {
  animation-delay: 0.1s;
}

body[data-store="safefccoins"] .platform-card:nth-child(2) {
  animation-delay: 0.3s;
}

body[data-store="safefccoins"] .platform-card:nth-child(3) {
  animation-delay: 0.5s;
}

/* Hero Section Enhancements */
.hero-subtitle {
  animation: fadeIn 1s ease-out 0.5s backwards;
}

/* Smooth Transitions */
* {
  transition: background-color 0.2s ease, color 0.2s ease;
}

button, .link-btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover, .link-btn:hover {
  transform: translateY(-1px);
}

button:active, .link-btn:active {
  transform: translateY(0);
}

/* Gradient Text Effects */
.section-title-center {
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

/* Stats Animation */
.stat-number {
  animation: fadeInUp 1s ease-out backwards;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item:nth-child(1) .stat-number { animation-delay: 0.2s; }
.stat-item:nth-child(2) .stat-number { animation-delay: 0.4s; }
.stat-item:nth-child(3) .stat-number { animation-delay: 0.6s; }

/* Trade Method Card Enhancement */
.trade-method-card {
  animation: fadeInUp 1s ease-out 0.3s backwards;
  position: relative;
  overflow: hidden;
}

.trade-method-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 18px;
  z-index: -1;
  animation: gradient-rotate 3s linear infinite;
}

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

/* Step Items Animation */
.step-item {
  animation: fadeInUp 0.6s ease-out backwards;
}

.step-item:nth-child(1) { animation-delay: 0.5s; }
.step-item:nth-child(2) { animation-delay: 0.7s; }
.step-item:nth-child(3) { animation-delay: 0.9s; }

.step-number {
  transition: all 0.3s ease;
}

.step-item:hover .step-number {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb, 66, 133, 244), 0.4);
}

/* Social Proof Section */
.social-proof-section {
  animation: fadeIn 1s ease-out 0.8s backwards;
  background: linear-gradient(135deg, var(--card-bg), var(--bg));
}

/* ============================================
   SAFEFCCOINS - Rebuild Override
   ============================================ */

:root {
  --secondary: #f97316;
  --secondary-rgb: 249, 115, 22;
  --primary-rgb: 59, 130, 246;
}

body[data-store="safefccoins"] {
  --bg: #07111f;
  --card: #0e1a2d;
  --border: rgba(148, 163, 184, 0.16);
  --text: #f6f7fb;
  --muted: #a8b7c9;
  --primary: #FFD700;
  --primary-600: #FFA500;
  --accent: #FFD700;
  --bg-primary: #07111f;
  --bg-secondary: #0d1829;
  --bg-tertiary: #13233a;
  --card-bg: rgba(14, 26, 45, 0.84);
  --text-primary: #f6f7fb;
  --text-secondary: #c6d2df;
  --text-muted: #93a4b8;
  --border-color: rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(ellipse 800px 600px at 20% 10%, rgba(255, 215, 0, 0.25), transparent),
    radial-gradient(ellipse 700px 500px at 80% 20%, rgba(255, 165, 0, 0.28), transparent),
    radial-gradient(ellipse 900px 600px at 50% 80%, rgba(255, 215, 0, 0.18), transparent),
    linear-gradient(180deg, #07111f 0%, #0a0e1a 32%, #07111f 100%);
  background-attachment: fixed;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

body[data-store="safefccoins"] * {
  box-sizing: border-box;
}

body[data-store="safefccoins"] .site-header,
body[data-store="safefccoins"] .site-footer {
  background: rgba(4, 10, 20, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

body[data-store="safefccoins"] .brand-text,
body[data-store="safefccoins"] .section-title-center,
body[data-store="safefccoins"] .hero .title,
body[data-store="safefccoins"] .section-kicker,
body[data-store="safefccoins"] .comparison-title,
body[data-store="safefccoins"] .platform-heading {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

body[data-store="safefccoins"] .main-wrap {
  position: relative;
  overflow: hidden;
}

body[data-store="safefccoins"] .main-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 90%);
  pointer-events: none;
  z-index: 1;
}

/* Glow effects temporarily removed */

body[data-store="safefccoins"] .content {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

body[data-store="safefccoins"] .reveal-section {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

body[data-store="safefccoins"] .reveal-section.is-visible,
body[data-store="safefccoins"] .hero.reveal-section {
  opacity: 1;
  transform: translateY(0);
}

body[data-store="safefccoins"] .safefccoins-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 5px 18px;
  z-index: 100020;
  transition: transform 0.3s ease-in-out;
}

body[data-store="safefccoins"] .safefccoins-header.header-hidden {
  transform: translateY(-100%);
}

/* Ensure footer is below modal */
body[data-store="safefccoins"] .site-footer {
  z-index: 1 !important;
  position: relative !important;
}

/* Footer layout - simple single column */
body[data-store="safefccoins"] .footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

body[data-store="safefccoins"] .footer-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body[data-store="safefccoins"] .footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body[data-store="safefccoins"] .footer-contact-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 18px;
  text-decoration: none;
  color: #f8fafc;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 215, 0, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-store="safefccoins"] .footer-contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 0, 0.38);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

body[data-store="safefccoins"] .footer-contact-button {
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

body[data-store="safefccoins"] .footer-contact-label {
  color: rgba(255, 215, 0, 0.78);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-store="safefccoins"] .footer-contact-card strong {
  font-size: 1.05rem;
  color: #ffffff;
}

body[data-store="safefccoins"] .footer-contact-meta {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  body[data-store="safefccoins"] .footer-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Also ensure header is below modal */
body[data-store="safefccoins"] .site-header {
  z-index: 100020 !important;
}

/* Add padding to body to compensate for fixed header */
body[data-store="safefccoins"] {
  padding-top: 30px;
}

@media (max-width: 768px) {
  body[data-store="safefccoins"] {
    padding-top: 25px;
  }
}

body[data-store="safefccoins"] .brand-home-link {
  text-decoration: none;
}

body[data-store="safefccoins"] .header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 6px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    linear-gradient(135deg, rgba(34,197,94,0.08), rgba(56,189,248,0.06));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

body[data-store="safefccoins"] .safefccoins-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 10px 14px;
}

body[data-store="safefccoins"] .wordmark-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #03111f;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(14, 165, 233, 0.22);
}

body[data-store="safefccoins"] .wordmark-stack {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body[data-store="safefccoins"] .brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.18);
}

body[data-store="safefccoins"] .rotating-text {
  letter-spacing: 0.18em;
  font-size: 0.94rem;
  font-weight: 700;
}

body[data-store="safefccoins"] .wordmark-subline {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-store="safefccoins"] .header-left {
  display: none;
}

body[data-store="safefccoins"] .safefccoins-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

body[data-store="safefccoins"] .link-btn,
body[data-store="safefccoins"] .theme-icon-btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

body[data-store="safefccoins"] .header-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  color: #f8fafc;
  text-decoration: none;
}

body[data-store="safefccoins"] .header-pill:hover {
  background: rgba(255,255,255,0.08);
}

body[data-store="safefccoins"] .pill-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-store="safefccoins"] .pill-value {
  color: var(--text-secondary);
  font-size: 0.84rem;
}

body[data-store="safefccoins"] .buy-pill {
  background: linear-gradient(135deg, rgba(34,197,94,0.22), rgba(14,165,233,0.14));
  border-color: rgba(34,197,94,0.2);
}

body[data-store="safefccoins"] .account-pill {
  min-width: 170px;
  justify-content: space-between;
}

body[data-store="safefccoins"] .menu-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

body[data-store="safefccoins"] .menu-bars {
  display: inline-grid;
  gap: 4px;
}

body[data-store="safefccoins"] .menu-bars span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

body[data-store="safefccoins"] .hero-safefccoins {
  padding: 56px 0 24px;
  scroll-margin-top: 100px;
}

body[data-store="safefccoins"] .hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

body[data-store="safefccoins"] .hero-copy,
body[data-store="safefccoins"] .hero-screen,
body[data-store="safefccoins"] .story-card,
body[data-store="safefccoins"] .protection-card,
body[data-store="safefccoins"] .scroll-panel,
body[data-store="safefccoins"] .platform-intro,
body[data-store="safefccoins"] #platform-section .platform-card,
body[data-store="safefccoins"] .comparison-section,
body[data-store="safefccoins"] .social-proof-section,
body[data-store="safefccoins"] .trade-method-card {
  background: linear-gradient(180deg, rgba(14, 26, 45, 0.9), rgba(10, 18, 32, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(18px);
}

body[data-store="safefccoins"] .hero-copy {
  border-radius: 34px;
  padding: 36px;
}

body[data-store="safefccoins"] .hero-eyebrow,
body[data-store="safefccoins"] .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d9f99d;
  background: rgba(34, 197, 94, 0.12);
}

body[data-store="safefccoins"] .hero .title {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

body[data-store="safefccoins"] .hero .subtitle {
  margin: 0;
  max-width: 62ch;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

body[data-store="safefccoins"] .hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 26px;
}

body[data-store="safefccoins"] .hero-proof-chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  font-size: 0.92rem;
}

body[data-store="safefccoins"] .hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body[data-store="safefccoins"] .hero-stat-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-store="safefccoins"] .hero-stat-card strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: #ffffff;
}

body[data-store="safefccoins"] .hero-stat-card span {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

body[data-store="safefccoins"] .hero-visual {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body[data-store="safefccoins"] .hero-main-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  animation: subtle-float 6s ease-in-out infinite;
}

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

body[data-store="safefccoins"] .hero-screen {
  width: min(100%, 420px);
  padding: 26px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}

body[data-store="safefccoins"] .screen-topline,
body[data-store="safefccoins"] .screen-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: #93c5fd;
}

body[data-store="safefccoins"] .screen-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-store="safefccoins"] .screen-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}

body[data-store="safefccoins"] .hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.8;
  animation: safefccoinsFloat 8s ease-in-out infinite;
}

body[data-store="safefccoins"] .hero-orb-one {
  width: 180px;
  height: 180px;
  top: 12%;
  left: 2%;
  background: rgba(34, 197, 94, 0.22);
}

body[data-store="safefccoins"] .hero-orb-two {
  width: 220px;
  height: 220px;
  right: 5%;
  bottom: 12%;
  background: rgba(56, 189, 248, 0.18);
  animation-delay: -3s;
}

@keyframes safefccoinsFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -20px, 0); }
}

body[data-store="safefccoins"] .trust-strip {
  margin: 10px 0 28px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

body[data-store="safefccoins"] .trust-strip-track {
  display: flex;
  gap: 32px;
  width: max-content;
  padding: 14px 20px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f8fafc;
  animation: safefccoinsMarquee 24s linear infinite;
}

@keyframes safefccoinsMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

body[data-store="safefccoins"] .safety-story,
body[data-store="safefccoins"] .protection-grid,
body[data-store="safefccoins"] .scroll-panels {
  margin: 28px 0;
}

body[data-store="safefccoins"] .story-grid,
body[data-store="safefccoins"] .protection-layout,
body[data-store="safefccoins"] .scroll-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body[data-store="safefccoins"] .story-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

body[data-store="safefccoins"] .story-card,
body[data-store="safefccoins"] .protection-card,
body[data-store="safefccoins"] .scroll-panel {
  border-radius: 28px;
  padding: 28px;
}

body[data-store="safefccoins"] .story-card h2,
body[data-store="safefccoins"] .scroll-panel h3,
body[data-store="safefccoins"] .protection-card h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.15;
}

body[data-store="safefccoins"] .story-card p,
body[data-store="safefccoins"] .scroll-panel p,
body[data-store="safefccoins"] .protection-card p,
body[data-store="safefccoins"] .platform-subtitle {
  color: var(--text-secondary);
  line-height: 1.7;
}

body[data-store="safefccoins"] .emphasis-card {
  display: grid;
  gap: 12px;
  align-content: center;
}

body[data-store="safefccoins"] .emphasis-line {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 600;
}

body[data-store="safefccoins"] .platform-section {
  margin: 34px 0 24px;
}

body[data-store="safefccoins"] .platform-intro {
  padding: 28px;
  border-radius: 28px;
  margin-bottom: 18px;
}

body[data-store="safefccoins"] .platform-grid-three {
  gap: 18px;
}

body[data-store="safefccoins"] .platform-card {
  border-radius: 28px;
  overflow: hidden;
}

body[data-store="safefccoins"] .platform-image img {
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
}

body[data-store="safefccoins"] .price-overlay {
  background: linear-gradient(180deg,
    rgba(255, 215, 0, 0.05) 0%,
    rgba(255, 165, 0, 0.15) 30%,
    rgba(0, 0, 0, 0.85) 100%);
  backdrop-filter: blur(8px);
  gap: 12px;
  padding: 20px;
}

body[data-store="safefccoins"] .platform-image:hover .price-overlay,
body[data-store="safefccoins"] .platform-card:hover .price-overlay {
  opacity: 1 !important;
  background: linear-gradient(180deg,
    rgba(255, 215, 0, 0.2) 0%,
    rgba(255, 165, 0, 0.3) 30%,
    rgba(0, 0, 0, 0.95) 100%);
}

body[data-store="safefccoins"] .price-value {
  color: #FFD700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  font-size: 28px;
  font-weight: 800;
  margin-top: 8px;
}

body[data-store="safefccoins"] .platform-heading {
  color: #FFA500;
  text-shadow: 0 0 10px rgba(255, 165, 0, 0.4);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

body[data-store="safefccoins"] .price-label {
  color: rgba(255, 215, 0, 0.8);
  font-size: 14px;
  margin-bottom: 4px;
}

/* Removed conflicting quantity-section styles - see modal styles below */

body[data-store="safefccoins"] .preset-row {
  gap: 10px;
}

body[data-store="safefccoins"] .preset-btn {
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
}

body[data-store="safefccoins"] .preset-btn:hover,
body[data-store="safefccoins"] .preset-btn.active {
  background: rgba(34,197,94,0.16);
  border-color: rgba(34,197,94,0.42);
}

body[data-store="safefccoins"] .quantity-readout,
body[data-store="safefccoins"] .actions {
  margin-top: 18px;
}

body[data-store="safefccoins"] .btn,
body[data-store="safefccoins"] .primary-btn {
  border-radius: 999px;
}

body[data-store="safefccoins"] .btn-primary,
body[data-store="safefccoins"] .primary-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: none;
}

body[data-store="safefccoins"] .btn-ghost,
body[data-store="safefccoins"] .btn-secondary {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
}

body[data-store="safefccoins"] .protection-index,
body[data-store="safefccoins"] .scroll-panel-tag {
  display: inline-flex;
  margin-bottom: 16px;
  color: #93c5fd;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

body[data-store="safefccoins"] .scroll-panel {
  position: relative;
  top: 0;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

body[data-store="safefccoins"] .scroll-panel:nth-child(2) {
  transform: translateY(36px);
}

body[data-store="safefccoins"] .scroll-panel:nth-child(3) {
  transform: translateY(72px);
}

body[data-store="safefccoins"] .scroll-panel:hover,
body[data-store="safefccoins"] .protection-card:hover,
body[data-store="safefccoins"] .story-card:hover {
  border-color: rgba(255, 215, 0, 0.34);
}

body[data-store="safefccoins"] .comparison-section,
body[data-store="safefccoins"] .social-proof-section,
body[data-store="safefccoins"] .how-it-works-section {
  margin-top: 120px;
  border-radius: 30px;
}

body[data-store="safefccoins"] .comparison-section,
body[data-store="safefccoins"] .social-proof-section {
  padding: 34px;
}

body[data-store="safefccoins"] .comparison-table td,
body[data-store="safefccoins"] .comparison-table th {
  border-color: rgba(255,255,255,0.08);
}

body[data-store="safefccoins"] .table-header-badge,
body[data-store="safefccoins"] .method-badge {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
}

body[data-store="safefccoins"] .review-stats {
  gap: 16px;
}

body[data-store="safefccoins"] .stat-item {
  padding: 26px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

body[data-store="safefccoins"] .stat-number {
  background: linear-gradient(135deg, #22c55e, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body[data-store="safefccoins"] .trade-method-card::before {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.75), rgba(56, 189, 248, 0.75));
}

body[data-store="safefccoins"] .ramadan-decoration,
body[data-store="safefccoins"] .ramadan-greeting {
  display: none !important;
}

body[data-store="safefccoins"] .mobile-nav-overlay {
  background:
    radial-gradient(circle at top right, rgba(14,165,233,0.14), transparent 20%),
    rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(14px);
}

body[data-store="safefccoins"] .safefccoins-side-nav {
  margin-left: auto;
  width: min(470px, 92vw);
  height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top, rgba(34,197,94,0.14), transparent 18%),
    linear-gradient(180deg, rgba(3, 10, 22, 0.985), rgba(7, 17, 31, 0.985));
  box-shadow: -24px 0 80px rgba(2, 6, 23, 0.5);
  padding: 18px;
}

body[data-store="safefccoins"] .mobile-nav-header {
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

body[data-store="safefccoins"] .side-nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

body[data-store="safefccoins"] .side-nav-title {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

body[data-store="safefccoins"] .side-nav-subtitle {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 4px;
}

body[data-store="safefccoins"] .mobile-nav-close {
  align-self: center;
}

body[data-store="safefccoins"] .mobile-nav-items {
  gap: 18px;
  padding-top: 18px;
}

body[data-store="safefccoins"] .side-nav-section {
  display: grid;
  gap: 10px;
}

body[data-store="safefccoins"] .side-nav-section-label {
  color: #93c5fd;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 6px;
}

body[data-store="safefccoins"] .mobile-nav-btn {
  justify-content: flex-start;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.08);
  color: #f8fafc;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

body[data-store="safefccoins"] .mobile-nav-btn:hover {
  transform: translateX(4px);
  border-color: rgba(255, 215, 0, 0.28);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.09), rgba(255,255,255,0.03));
}

body[data-store="safefccoins"] .featured-nav-btn {
  min-height: 82px;
  display: grid;
  gap: 4px;
  align-content: center;
  background: linear-gradient(135deg, rgba(34,197,94,0.16), rgba(14,165,233,0.12));
}

body[data-store="safefccoins"] .featured-nav-btn span {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-store="safefccoins"] .featured-nav-btn small {
  color: var(--text-secondary);
}

body[data-store="safefccoins"] .mobile-nav-inline-group {
  display: grid;
  gap: 8px;
}

body[data-store="safefccoins"] .mobile-nav-inline-btn {
  width: 100%;
}

body[data-store="safefccoins"] .side-nav-menu {
  position: static;
  display: grid;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body[data-store="safefccoins"] .side-nav-menu .lang-option,
body[data-store="safefccoins"] .side-nav-menu .currency-option {
  width: 100%;
  text-align: left;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
}

body[data-store="safefccoins"] .side-nav-theme-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.conversation-item[data-store="safefccoins"] {
  border-left: 4px solid #22c55e;
}

.conversation-item[data-store="safefccoins"] .conversation-store-label {
  color: #22c55e;
}

@media (max-width: 1100px) {
  body[data-store="safefccoins"] .hero-shell,
  body[data-store="safefccoins"] .story-grid,
  body[data-store="safefccoins"] .protection-layout,
  body[data-store="safefccoins"] .scroll-panel-grid {
    grid-template-columns: 1fr;
  }

  body[data-store="safefccoins"] .scroll-panel:nth-child(2),
  body[data-store="safefccoins"] .scroll-panel:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 720px) {
  body[data-store="safefccoins"] .content {
    width: min(100% - 20px, 100%);
  }

  body[data-store="safefccoins"] .safefccoins-header {
    padding: 12px 14px;
  }

  body[data-store="safefccoins"] .header-shell {
    padding: 4px;
    border-radius: 22px;
  }

  body[data-store="safefccoins"] .wordmark-subline,
  body[data-store="safefccoins"] .account-pill .pill-label,
  body[data-store="safefccoins"] .account-pill .pill-value,
  body[data-store="safefccoins"] .buy-pill .pill-label {
    display: none;
  }

  body[data-store="safefccoins"] .account-pill,
  body[data-store="safefccoins"] .buy-pill,
  body[data-store="safefccoins"] .menu-toggle-btn {
    min-width: 0;
    padding: 0 14px;
    min-height: 48px;
  }

  body[data-store="safefccoins"] .safefccoins-header-actions {
    gap: 8px;
  }

  body[data-store="safefccoins"] .hero-safefccoins {
    padding-top: 28px;
  }

  body[data-store="safefccoins"] .hero-copy,
  body[data-store="safefccoins"] .hero-screen,
  body[data-store="safefccoins"] .story-card,
  body[data-store="safefccoins"] .protection-card,
  body[data-store="safefccoins"] .scroll-panel,
  body[data-store="safefccoins"] .platform-intro,
  body[data-store="safefccoins"] .comparison-section,
  body[data-store="safefccoins"] .social-proof-section,
  body[data-store="safefccoins"] .trade-method-card {
    border-radius: 24px;
    padding: 22px;
  }

  body[data-store="safefccoins"] .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  body[data-store="safefccoins"] .platform-grid-three {
    gap: 14px;
  }

  body[data-store="safefccoins"] .comparison-section,
  body[data-store="safefccoins"] .social-proof-section,
  body[data-store="safefccoins"] .how-it-works-section {
    margin-top: 72px;
  }
}

/* ============================================
   SAFEFCCOINS - Black Header with Logo
   ============================================ */

/* Black header background */
.safefccoins-header {
  background: #000000 !important;
  border-bottom: 2px solid #1a1a1a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.header-shell {
  background: transparent !important;
}

/* Logo styling */
.safefccoins-logo-link {
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 60px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-logo-img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Adjust header pills for black background */
.safefccoins-header-actions .header-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.safefccoins-header-actions .header-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.safefccoins-header-actions .buy-pill {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  color: white;
}

.safefccoins-header-actions .buy-pill:hover {
  background: linear-gradient(135deg, #059669, #047857);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .header-logo-img {
    height: 45px;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .header-logo-img {
    height: 38px;
    max-width: 160px;
  }
}

/* ============================================
   SAFEFCCOINS - Full Black Theme
   ============================================ */

/* Black body background */
body {
  background: #000000 !important;
  color: #ffffff;
}

/* Remove logo container outline */
.safefccoins-logo-link {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.safefccoins-logo-link:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Page background */
.page {
  background: #000000;
}

/* Main content area */
.main-wrap {
  background: #000000;
}

/* Card backgrounds - dark theme */
.benefit-card,
.platform-card,
.trade-method-card,
.stat-item {
  background: #0a0a0a !important;
  border-color: #1a1a1a !important;
}

/* Platform cards - fit images properly */
.platform-card {
  padding: 0 !important;
  overflow: hidden;
  background: transparent !important;
  border: 2px solid #1a1a1a !important;
}

.platform-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Green accent color to match images instead of blue */
:root {
  --primary: #10b981;
  --primary-rgb: 16, 185, 129;
  --secondary: #059669;
  --text: #ffffff;
  --text-secondary: #a0a0a0;
  --card-bg: #0a0a0a;
  --bg: #000000;
  --border: #1a1a1a;
}

/* Update all blue to green */
.hero-subtitle,
.benefit-title,
.section-title-center {
  color: #ffffff !important;
}

/* Green accents */
.benefit-icon {
  color: #10b981 !important;
}

.trust-badge {
  background: linear-gradient(135deg, #10b981, #059669) !important;
}

/* Platform cards hover with green */
.platform-card:hover {
  border-color: #10b981 !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3) !important;
}

.platform-card::after {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1)) !important;
}

/* Social proof section */
.social-proof-section {
  background: #0a0a0a !important;
}

/* How it works section */
.how-it-works-section {
  background: #000000;
}

.safety-features {
  background: #0a0a0a !important;
  border: 1px solid #1a1a1a;
}

/* Method badge green */
.method-badge {
  background: linear-gradient(135deg, #10b981, #059669) !important;
}

/* Step numbers green */
.step-number {
  background: #10b981 !important;
}

/* Stats green */
.stat-number {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Text colors for dark theme */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
}

p {
  color: #d0d0d0;
}

/* Sections */
.hero-intro,
.benefits-section,
.platform-section {
  background: transparent;
}

/* Fix section backgrounds */
section {
  background: transparent;
}

/* ============================================
   SAFEFCCOINS - NEW HEADER LAYOUT
   ============================================ */

/* New Header Structure: Left (Currency/Lang) | Center (Logo) | Right (Buy Coins/Account) */
.header-shell-new {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 15px 30px;
  background: #000000;
}

/* Left Controls */
.header-left-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}

/* Center Logo */
.header-center-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-center-logo .header-logo-img {
  height: 50px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

/* Right Actions */
.header-right-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

/* Header Dropdowns */
.header-dropdown {
  position: relative;
}

.header-control-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.header-control-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.dropdown-arrow {
  font-size: 0.7rem;
  opacity: 0.7;
}

.header-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  min-width: 120px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  padding: 4px;
}

.header-dropdown-menu.is-hidden {
  display: none;
}

.header-dropdown-item {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 10px 14px;
  text-align: left;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.header-dropdown-item:hover {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

/* Header Action Buttons */
.header-action-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.header-action-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.buy-coins-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  color: #ffffff;
}

.buy-coins-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* SAFEFCCOINS Gold Header Button */
body[data-store="safefccoins"] .buy-coins-btn {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
  border: none !important;
  color: #000000 !important;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

body[data-store="safefccoins"] .buy-coins-btn:hover {
  background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%) !important;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  transform: translateY(-1px);
}

/* How It Works Info Section */
.how-it-works-info-section {
  padding: 80px 20px 60px;
  background: var(--bg);
  margin-top: 60px;
}

.how-it-works-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.how-it-works-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-it-works-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.how-it-works-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.how-it-works-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 30px 0 15px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.how-it-works-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #cbd5e0;
  margin-bottom: 16px;
}

/* SAFEFCCOINS How It Works Styling */
body[data-store="safefccoins"] .how-it-works-info-section {
  background: #1a1d24;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Diagonal stripe pattern */
body[data-store="safefccoins"] .how-it-works-info-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 80px,
    rgba(255, 215, 0, 0.02) 80px,
    rgba(255, 215, 0, 0.02) 160px
  );
  pointer-events: none;
  z-index: 0;
}

/* Geometric accent shapes in corners */
body[data-store="safefccoins"] .how-it-works-info-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top left, rgba(255, 215, 0, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body[data-store="safefccoins"] .how-it-works-container {
  position: relative;
  z-index: 1;
}

body[data-store="safefccoins"] .how-it-works-image img {
  border: 2px solid #FFD700;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), 0 8px 32px rgba(0, 0, 0, 0.5);
}

body[data-store="safefccoins"] .how-it-works-text h2 {
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

body[data-store="safefccoins"] .how-it-works-text h3 {
  color: #FFA500;
  text-shadow: 0 0 8px rgba(255, 165, 0, 0.4);
}

body[data-store="safefccoins"] .how-it-works-text p {
  color: #e2e8f0;
}

/* Why Choose Info Section */
.why-choose-info-section {
  padding: 60px 20px 80px;
  background: var(--bg);
}

.why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-choose-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.why-choose-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.why-choose-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #cbd5e0;
  margin-bottom: 16px;
}

/* SAFEFCCOINS Why Choose Styling */
body[data-store="safefccoins"] .why-choose-info-section {
  background: #1e2128;
  position: relative;
  overflow: hidden;
}

/* Grid dot pattern */
body[data-store="safefccoins"] .why-choose-info-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 215, 0, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* Geometric accent shape bottom right */
body[data-store="safefccoins"] .why-choose-info-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at bottom right, rgba(255, 165, 0, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body[data-store="safefccoins"] .why-choose-container {
  position: relative;
  z-index: 1;
}

body[data-store="safefccoins"] .why-choose-image img {
  border: 2px solid #FFD700;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), 0 8px 32px rgba(0, 0, 0, 0.5);
}

body[data-store="safefccoins"] .why-choose-text h2 {
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

body[data-store="safefccoins"] .why-choose-text p {
  color: #e2e8f0;
}

/* Combined Info Section */
.combined-info-section {
  padding: 80px 20px;
  background: var(--bg);
  margin-top: 60px;
}

.info-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.info-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.info-block.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.info-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.info-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.info-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #cbd5e0;
  margin-bottom: 16px;
}

/* SAFEFCCOINS Combined Info Section Styling */
body[data-store="safefccoins"] .combined-info-section {
  background: #1a1d24;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Diagonal stripe pattern */
body[data-store="safefccoins"] .combined-info-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 80px,
    rgba(255, 215, 0, 0.02) 80px,
    rgba(255, 215, 0, 0.02) 160px
  );
  pointer-events: none;
  z-index: 0;
}

/* Geometric accent shapes */
body[data-store="safefccoins"] .combined-info-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.03), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body[data-store="safefccoins"] .info-content-wrapper {
  position: relative;
  z-index: 1;
}

body[data-store="safefccoins"] .info-image img {
  border: 2px solid #FFD700;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), 0 8px 32px rgba(0, 0, 0, 0.5);
}

body[data-store="safefccoins"] .info-text h2 {
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

body[data-store="safefccoins"] .info-text p {
  color: #e2e8f0;
}

/* Responsive */
@media (max-width: 900px) {
  .how-it-works-container,
  .why-choose-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .how-it-works-image,
  .why-choose-image {
    justify-content: center;
  }

  .how-it-works-image img,
  .why-choose-image img {
    max-width: 400px;
  }

  .info-block,
  .info-block.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .info-block.reverse .info-image {
    order: 1;
  }

  .info-block.reverse .info-text {
    order: 2;
  }

  .info-image img {
    max-width: 400px;
  }

  .info-content-wrapper {
    gap: 60px;
  }
}

@media (max-width: 640px) {
  .how-it-works-info-section,
  .why-choose-info-section,
  .combined-info-section {
    padding: 60px 20px;
  }

  .how-it-works-text h2,
  .why-choose-text h2,
  .info-text h2 {
    font-size: 1.6rem;
  }

  .how-it-works-text h3 {
    font-size: 1.3rem;
  }

  .info-content-wrapper {
    gap: 50px;
  }
}

/* How It Works Modal Styles */
.modal-image-header {
  margin: -20px -20px 15px -20px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #000;
  text-align: center;
}

.modal-header-image {
  width: 25%;
  max-width: 150px;
  height: auto;
  display: inline-block;
  margin: 10px auto;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 15px;
}

.faq-item {
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.faq-item p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
  font-size: 0.85rem;
}

/* SAFEFCCOINS How It Works Modal Styling */
body[data-store="safefccoins"] .how-it-works-modal-content {
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
}

body[data-store="safefccoins"] .modal-image-header {
  background: #0a0a0a;
  border-bottom: 2px solid #FFD700;
}

body[data-store="safefccoins"] .modal-header-image {
  border: 2px solid #FFD700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

body[data-store="safefccoins"] #how-it-works-title {
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  text-align: center;
  font-size: 1.4rem;
  margin: 15px 0;
}

body[data-store="safefccoins"] .faq-item {
  background: #1a1a1a;
  border: 2px solid #333;
  transition: all 0.3s ease;
}

body[data-store="safefccoins"] .faq-item:hover {
  border-color: #FFD700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
}

body[data-store="safefccoins"] .faq-item h3 {
  color: #FFA500;
  text-shadow: 0 0 6px rgba(255, 165, 0, 0.3);
  font-size: 0.95rem;
}

body[data-store="safefccoins"] .faq-item p {
  color: #cbd5e0;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Mobile Menu Button */
.header-mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}

.header-mobile-menu-btn .menu-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-mobile-menu-btn .menu-bars span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

/* Gold Pagebreak with Glow */
.header-pagebreak {
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    #FFD700 20%,
    #FFA500 50%,
    #FFD700 80%,
    transparent 100%
  );
  box-shadow:
    0 0 10px rgba(255, 215, 0, 0.8),
    0 0 20px rgba(255, 215, 0, 0.5),
    0 0 30px rgba(255, 215, 0, 0.3);
  animation: gold-pulse 3s ease-in-out infinite;
}

@keyframes gold-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow:
      0 0 10px rgba(255, 215, 0, 0.8),
      0 0 20px rgba(255, 215, 0, 0.5),
      0 0 30px rgba(255, 215, 0, 0.3);
  }
  50% {
    opacity: 0.8;
    box-shadow:
      0 0 15px rgba(255, 215, 0, 1),
      0 0 30px rgba(255, 215, 0, 0.7),
      0 0 45px rgba(255, 215, 0, 0.5);
  }
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .header-shell-new {
    grid-template-columns: auto 1fr auto;
    padding: 12px 20px;
    gap: 15px;
  }

  .header-left-controls {
    order: 1;
  }

  .header-center-logo {
    order: 2;
  }

  .header-center-logo .header-logo-img {
    height: 40px;
    max-width: 180px;
  }

  .header-right-actions {
    order: 3;
  }

  .header-control-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  .simple-hero-container {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .simple-hero-right {
    order: 1;
  }

  .simple-hero-left {
    order: 2;
    padding-right: 0;
    text-align: center;
  }

  .simple-hero-buttons {
    justify-content: center;
  }

  .simple-hero-image {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .header-shell-new {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 10px 12px;
    gap: 8px;
  }

  .header-left-controls {
    order: 1;
    gap: 6px;
    justify-content: flex-start;
  }

  .header-control-btn {
    padding: 6px 8px;
    font-size: 0.76rem;
  }

  .header-center-logo {
    order: 2;
    justify-content: center;
  }

  .header-center-logo .header-logo-img {
    height: 34px;
    max-width: 132px;
  }

  .header-right-actions {
    order: 3;
    gap: 6px;
    justify-content: flex-end;
  }

  .header-action-btn {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .account-btn-header {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .buy-coins-btn {
    display: inline-flex !important;
  }

  .simple-hero {
    padding: 34px 16px 50px;
    min-height: auto;
  }

  .simple-hero-container {
    gap: 20px !important;
  }

  .simple-hero-right {
    width: 100%;
  }

  .simple-hero-image {
    max-width: min(100%, 340px);
  }

  .simple-hero-title {
    font-size: 1.7rem;
  }

  .simple-hero-subtitle {
    font-size: 0.96rem;
    margin-bottom: 22px;
  }

  .simple-hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }
}

/* ============================================
   SAFEFCCOINS - SIMPLE CLEAN DESIGN
   ============================================ */

/* Simple Hero Section - Always visible */
body[data-store="safefccoins"] .simple-hero,
.simple-hero {
  background: #000000;
  padding: 80px 20px;
  min-height: 600px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
}

body[data-store="safefccoins"] .simple-hero-container,
.simple-hero-container {
  max-width: 1800px;
  width: 100%;
  display: grid !important;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
}

body[data-store="safefccoins"] .simple-hero-left,
body[data-store="safefccoins"] .simple-hero-right,
body[data-store="safefccoins"] .simple-hero-title,
body[data-store="safefccoins"] .simple-hero-subtitle,
body[data-store="safefccoins"] .simple-hero-buttons,
body[data-store="safefccoins"] .simple-hero-image {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Ensure main content areas are visible */
body[data-store="safefccoins"] .main-wrap,
body[data-store="safefccoins"] .content,
body[data-store="safefccoins"] .platform-section:not(.is-hidden),
body[data-store="safefccoins"] .platform-grid-three:not(.is-hidden) {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

body[data-store="safefccoins"] .platform-grid-three:not(.is-hidden) {
  display: grid !important;
}

/* Ensure platform section hides when is-hidden class is added */
body[data-store="safefccoins"] .platform-section.is-hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.simple-hero-left {
  padding-right: 20px;
}

.simple-hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.simple-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #b3b3b3;
  margin: 0 0 30px 0;
}

.simple-hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-hero-secondary {
  background: transparent;
  color: #10b981;
  border: 2px solid #10b981;
}

.btn-hero-secondary:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #059669;
  color: #059669;
}

/* SAFEFCCOINS Gold/Black Button Theme */
body[data-store="safefccoins"] .btn-hero-primary {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
  color: #000000 !important;
  border: none !important;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}

body[data-store="safefccoins"] .btn-hero-primary:hover {
  background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 6px 20px rgba(0, 0, 0, 0.4);
}

body[data-store="safefccoins"] .btn-hero-secondary {
  background: transparent !important;
  color: #FFD700 !important;
  border: 2px solid #FFD700 !important;
  font-weight: 600;
}

body[data-store="safefccoins"] .btn-hero-secondary:hover {
  background: rgba(255, 215, 0, 0.1) !important;
  border-color: #FFA500 !important;
  color: #FFA500 !important;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.simple-hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.simple-hero-image {
  width: 100%;
  max-width: 1800px;
  height: auto;
}

/* SAFEFCCOINS - Hero image (no sharp edges) */
body[data-store="safefccoins"] .simple-hero-image {
  position: relative;
}

/* Gold glowing text effect */
.gold-glow {
  color: #FFD700 !important;
  text-shadow:
    0 0 10px rgba(255, 215, 0, 0.8),
    0 0 20px rgba(255, 215, 0, 0.6),
    0 0 30px rgba(255, 215, 0, 0.4),
    0 0 40px rgba(255, 215, 0, 0.2);
  animation: gold-text-pulse 3s ease-in-out infinite;
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .simple-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .simple-hero-left {
    padding-right: 0;
    text-align: center;
  }

  .simple-hero-title {
    font-size: 2rem;
  }

  .simple-hero-subtitle {
    font-size: 1rem;
  }

  .simple-hero-buttons {
    justify-content: center;
  }

  .simple-hero-image {
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .simple-hero {
    padding: 60px 20px;
    min-height: auto;
  }

  .simple-hero-title {
    font-size: 1.6rem;
  }

  .simple-hero-subtitle {
    font-size: 0.95rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .simple-hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }

  .simple-hero-image {
    max-width: 100%;
  }
}

/* ============================================
   SAFEFCCOINS - Fix Platform Cards & Compact Hero
   ============================================ */

/* Platform cards - PERFECT fit for images - SAFEFCCOINS SPECIFIC */
body[data-store="safefccoins"] .platform-section .platform-card,
body[data-store="safefccoins"] #platform-section .platform-card,
body[data-store="safefccoins"] .platform-card {
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 2px solid #1a1a1a !important;
  border-radius: 12px !important;
  display: block !important;
  max-width: none !important;
  width: 100% !important;
}

body[data-store="safefccoins"] .platform-section .platform-image,
body[data-store="safefccoins"] #platform-section .platform-image,
body[data-store="safefccoins"] .platform-image {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
}

body[data-store="safefccoins"] .platform-section .platform-image img,
body[data-store="safefccoins"] #platform-section .platform-image img,
body[data-store="safefccoins"] .platform-image img {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: top !important;
  border-radius: 0 !important;
}

/* Platform Section Heading with Gold Glow */
.platform-section-heading {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFD700;
  margin: 0 0 40px 0;
  text-shadow:
    0 0 10px rgba(255, 215, 0, 0.8),
    0 0 20px rgba(255, 215, 0, 0.6),
    0 0 30px rgba(255, 215, 0, 0.4),
    0 0 40px rgba(255, 215, 0, 0.2);
  animation: gold-text-pulse 3s ease-in-out infinite;
}

@keyframes gold-text-pulse {
  0%, 100% {
    text-shadow:
      0 0 10px rgba(255, 215, 0, 0.8),
      0 0 20px rgba(255, 215, 0, 0.6),
      0 0 30px rgba(255, 215, 0, 0.4),
      0 0 40px rgba(255, 215, 0, 0.2);
  }
  50% {
    text-shadow:
      0 0 15px rgba(255, 215, 0, 1),
      0 0 30px rgba(255, 215, 0, 0.8),
      0 0 45px rgba(255, 215, 0, 0.6),
      0 0 60px rgba(255, 215, 0, 0.4);
  }
}

/* Remove any inherited spacing */
body[data-store="safefccoins"] #platform-section {
  max-width: 900px !important;
  margin: 30px auto 0 !important;
  padding: 24px !important;
  background: #0a0a0a !important;
  border: 2px solid #FFD700 !important;
  border-radius: 20px !important;
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.35),
    0 8px 32px rgba(0, 0, 0, 0.45) !important;
}

body[data-store="safefccoins"] .platform-grid-three {
  gap: 20px;
  max-width: 100% !important;
  align-items: stretch !important;
}

/* Quantity Section - Gold & Black Theme - Inline */
body[data-store="safefccoins"] #quantity-section {
  position: relative !important;
  background: #0a0a0a !important;
  background-image: none !important;
  border: 2px solid #FFD700 !important;
  border-radius: 20px !important;
  padding: 40px !important;
  margin: 30px auto 0 !important;
  max-width: 900px !important;
  width: 100% !important;
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.5),
    0 0 40px rgba(255, 215, 0, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.5) !important;
}

body[data-store="safefccoins"] #platform-section,
body[data-store="safefccoins"] #quantity-section,
body[data-store="safefccoins"] #checkout-section,
body[data-store="safefccoins"] #account-section,
body[data-store="safefccoins"] #dump-section,
body[data-store="safefccoins"] #progress-section {
  width: min(900px, 100%) !important;
  box-sizing: border-box !important;
}

body[data-store="safefccoins"] #quantity-section.is-hidden {
  display: none !important;
}

body[data-store="safefccoins"] #checkout-section,
body[data-store="safefccoins"] #account-section,
body[data-store="safefccoins"] #dump-section,
body[data-store="safefccoins"] #progress-section {
  max-width: 900px !important;
  margin: 30px auto 0 !important;
}

body[data-store="safefccoins"] .section-title {
  color: #FFD700 !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

body[data-store="safefccoins"] .platform-icon-small {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
  display: block !important;
}

body[data-store="safefccoins"] .preset-btn {
  background: #1a1a1a !important;
  border: 2px solid #FFD700 !important;
  color: #FFD700 !important;
  font-weight: 700;
  transition: all 0.3s ease;
}

body[data-store="safefccoins"] .preset-btn:hover {
  background: #FFD700 !important;
  color: #000000 !important;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

body[data-store="safefccoins"] .preset-btn.active {
  background: #FFD700 !important;
  color: #000000 !important;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

body[data-store="safefccoins"] #quantity-slider {
  accent-color: #FFD700;
}

body[data-store="safefccoins"] .quantity-readout {
  color: #ffffff;
  font-size: 1.1rem;
}

body[data-store="safefccoins"] .quantity-readout strong {
  color: #FFD700;
}

body[data-store="safefccoins"] .btn-primary {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
  border: none !important;
  color: #000000 !important;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
}

body[data-store="safefccoins"] .btn-primary:hover {
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

body[data-store="safefccoins"] .btn-ghost {
  background: transparent !important;
  border: 2px solid #FFD700 !important;
  color: #FFD700 !important;
}

body[data-store="safefccoins"] .btn-ghost:hover {
  background: rgba(255, 215, 0, 0.1) !important;
}

/* Features Section - Grey Theme - Inside Quantity Overlay */
body[data-store="safefccoins"] #features-section,
body[data-store="safefccoins"] .features-section {
  position: relative !important;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-top: 20px !important;
  box-shadow: none !important;
}

body[data-store="safefccoins"] #features-section.is-hidden,
body[data-store="safefccoins"] .features-section.is-hidden {
  display: none !important;
}

body[data-store="safefccoins"] .feature-item {
  color: #e2e8f0 !important;
  background: transparent !important;
}

body[data-store="safefccoins"] .feature-icon {
  filter: drop-shadow(0 0 6px rgba(203, 213, 225, 0.4));
}

body[data-store="safefccoins"] .testimonial-quote {
  color: #cbd5e0 !important;
  font-style: italic;
  border-left: 3px solid #4a5568;
  padding-left: 15px;
}

body[data-store="safefccoins"] .features-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  display: block;
}

/* Override all blue theme elements with gold/black */
body[data-store="safefccoins"] .tab.is-active {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
  border-color: #FFD700 !important;
  color: #000000 !important;
}

body[data-store="safefccoins"] .tab {
  border-color: rgba(255, 215, 0, 0.3) !important;
  background: rgba(0, 0, 0, 0.3) !important;
}

body[data-store="safefccoins"] .tab:hover {
  border-color: rgba(255, 215, 0, 0.5) !important;
  background: rgba(255, 215, 0, 0.1) !important;
}

body[data-store="safefccoins"] input[type="text"],
body[data-store="safefccoins"] input[type="email"],
body[data-store="safefccoins"] input[type="password"],
body[data-store="safefccoins"] input[type="number"],
body[data-store="safefccoins"] textarea,
body[data-store="safefccoins"] select {
  border-color: rgba(255, 215, 0, 0.2) !important;
  background: rgba(0, 0, 0, 0.4) !important;
}

body[data-store="safefccoins"] input:focus,
body[data-store="safefccoins"] textarea:focus,
body[data-store="safefccoins"] select:focus {
  border-color: #FFD700 !important;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1) !important;
}

body[data-store="safefccoins"] .modal-content {
  border: 2px solid rgba(255, 215, 0, 0.3) !important;
}

body[data-store="safefccoins"] .modal-header {
  border-bottom-color: rgba(255, 215, 0, 0.2) !important;
}

body[data-store="safefccoins"] a:not(.btn) {
  color: #FFD700 !important;
}

body[data-store="safefccoins"] a:not(.btn):hover {
  color: #FFA500 !important;
}

/* Override modal backgrounds and elements */
body[data-store="safefccoins"] .modal-backdrop {
  background: rgba(0, 0, 0, 0.85) !important;
}

body[data-store="safefccoins"] .modal-content {
  background: #0a0a0a !important;
  border: 2px solid rgba(255, 215, 0, 0.3) !important;
}

body[data-store="safefccoins"] .modal-title {
  color: #FFD700 !important;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

body[data-store="safefccoins"] .modal-subtitle {
  color: rgba(255, 215, 0, 0.7) !important;
}

body[data-store="safefccoins"] .auth-subtitle {
  color: rgba(255, 215, 0, 0.6) !important;
}

/* Override any buttons/links inside modals with blue */
body[data-store="safefccoins"] .modal button:not(.btn):not(.btn-primary):not(.btn-ghost):not(.btn-danger),
body[data-store="safefccoins"] .modal .link-button {
  color: #FFD700 !important;
}

body[data-store="safefccoins"] .modal button:not(.btn):not(.btn-primary):not(.btn-ghost):not(.btn-danger):hover,
body[data-store="safefccoins"] .modal .link-button:hover {
  color: #FFA500 !important;
}

/* Override form labels in modals */
body[data-store="safefccoins"] .modal label {
  color: rgba(255, 215, 0, 0.9) !important;
}

/* Override detail labels and values */
body[data-store="safefccoins"] .detail-label {
  color: rgba(255, 215, 0, 0.7) !important;
}

body[data-store="safefccoins"] .detail-value {
  color: #FFD700 !important;
}

/* Override FAQ items */
body[data-store="safefccoins"] .faq-item h3 {
  color: #FFD700 !important;
}

body[data-store="safefccoins"] .faq-item p {
  color: rgba(255, 215, 0, 0.8) !important;
}

/* Override any remaining --primary usage in modals */
body[data-store="safefccoins"] .modal *:not(.btn-primary) {
  --primary: #FFD700 !important;
  --primary-600: #FFA500 !important;
}

/* Override checkout section, account section, and all related elements */
body[data-store="safefccoins"] .checkout-section,
body[data-store="safefccoins"] .account-section,
body[data-store="safefccoins"] .quantity-section,
body[data-store="safefccoins"] .dump-section {
  background: #0a0a0a !important;
  border: 2px solid rgba(255, 215, 0, 0.3) !important;
}

body[data-store="safefccoins"] .section-title {
  color: #FFD700 !important;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

body[data-store="safefccoins"] .preset-btn {
  border-color: rgba(255, 215, 0, 0.3) !important;
  background: rgba(0, 0, 0, 0.3) !important;
  color: rgba(255, 215, 0, 0.9) !important;
}

body[data-store="safefccoins"] .preset-btn:hover {
  border-color: rgba(255, 215, 0, 0.6) !important;
  background: rgba(255, 215, 0, 0.1) !important;
}

body[data-store="safefccoins"] .preset-btn.active {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
  border-color: #FFD700 !important;
  color: #000000 !important;
  box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3) !important;
}

/* Override all form elements in account/checkout sections */
body[data-store="safefccoins"] .account-section .form-row label,
body[data-store="safefccoins"] .checkout-section .form-row label {
  color: rgba(255, 215, 0, 0.9) !important;
}

body[data-store="safefccoins"] #platform-section,
body[data-store="safefccoins"] #quantity-section,
body[data-store="safefccoins"] #checkout-section,
body[data-store="safefccoins"] #account-section,
body[data-store="safefccoins"] #dump-section,
body[data-store="safefccoins"] #progress-section {
  width: min(1220px, calc(100% - 32px)) !important;
  max-width: 1220px !important;
  margin: 30px auto 0 !important;
  padding: 32px !important;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.98) 0%, rgba(7, 7, 7, 0.98) 100%) !important;
  border: 2px solid rgba(255, 215, 0, 0.32) !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48), 0 0 24px rgba(255, 215, 0, 0.14) !important;
  box-sizing: border-box !important;
}

body[data-store="safefccoins"] #platform-section .platform-grid-three {
  gap: 18px !important;
}

body[data-store="safefccoins"] #features-section,
body[data-store="safefccoins"] .features-section {
  max-width: 460px !important;
  margin: 8px auto 0 !important;
}

body[data-store="safefccoins"] .features-image {
  width: 100% !important;
  max-width: 460px !important;
  max-height: 145px !important;
  margin: 0 auto !important;
  object-fit: cover !important;
}

body[data-store="safefccoins"] #quantity-section .slider-row {
  margin-bottom: 10px !important;
}

body[data-store="safefccoins"] #quantity-section .quantity-readout {
  margin-bottom: 10px !important;
}

body[data-store="safefccoins"] #quantity-section .actions {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

body[data-store="safefccoins"] #platform-section .platform-card {
  border-radius: 18px !important;
}

body[data-store="safefccoins"] #platform-section .platform-image {
  aspect-ratio: 0.82 !important;
  min-height: 0 !important;
}

body[data-store="safefccoins"] #platform-section .platform-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body[data-store="safefccoins"] #platform-section .platform-section-heading,
body[data-store="safefccoins"] #quantity-section .section-title,
body[data-store="safefccoins"] #checkout-section .section-title {
  margin-bottom: 24px !important;
}

@media (max-width: 768px) {
  body[data-store="safefccoins"] #platform-section,
  body[data-store="safefccoins"] #quantity-section,
  body[data-store="safefccoins"] #checkout-section,
  body[data-store="safefccoins"] #account-section,
  body[data-store="safefccoins"] #dump-section,
  body[data-store="safefccoins"] #progress-section {
    width: calc(100% - 20px) !important;
    padding: 22px !important;
    border-radius: 20px !important;
  }

  body[data-store="safefccoins"] #platform-section .platform-image {
    aspect-ratio: 1.02 !important;
  }

  body[data-store="safefccoins"] #features-section,
  body[data-store="safefccoins"] .features-section,
  body[data-store="safefccoins"] .features-image {
    max-width: 100% !important;
  }
}

body[data-store="safefccoins"] select {
  border-color: rgba(255, 215, 0, 0.3) !important;
  background: rgba(0, 0, 0, 0.4) !important;
  color: #FFD700 !important;
}

body[data-store="safefccoins"] select:focus {
  border-color: #FFD700 !important;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1) !important;
}

/* Override checkout summary */
body[data-store="safefccoins"] .checkout-summary {
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 215, 0, 0.3) !important;
}

body[data-store="safefccoins"] .summary-row {
  color: rgba(255, 215, 0, 0.8) !important;
}

body[data-store="safefccoins"] .summary-row strong {
  color: #FFD700 !important;
}

body[data-store="safefccoins"] .summary-row.total {
  color: #FFD700 !important;
  border-top-color: rgba(255, 215, 0, 0.3) !important;
}

/* Override payment method cards */
body[data-store="safefccoins"] .payment-method-card {
  border-color: rgba(255, 215, 0, 0.3) !important;
  background: rgba(0, 0, 0, 0.3) !important;
}

body[data-store="safefccoins"] .payment-method-card:hover,
body[data-store="safefccoins"] .payment-method-card.selected {
  border-color: #FFD700 !important;
  background: rgba(255, 215, 0, 0.1) !important;
}

body[data-store="safefccoins"] .payment-method-card.selected {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3) !important;
}

/* Override instruction boxes */
body[data-store="safefccoins"] #bank-instructions,
body[data-store="safefccoins"] #cash-fields {
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 215, 0, 0.3) !important;
}

body[data-store="safefccoins"] .testimonial-author {
  color: #a0aec0;
  opacity: 0.9;
}

/* COMPACT HERO SECTION */
.hero-safefccoins {
  padding: 30px 20px 20px !important;
  margin-bottom: 20px !important;
}

.hero-safefccoins .hero-eyebrow {
  font-size: 0.8rem !important;
  margin-bottom: 8px !important;
}

.hero-safefccoins .title {
  font-size: 1.8rem !important;
  line-height: 1.2 !important;
  margin: 0 0 8px 0 !important;
  font-weight: 700 !important;
}

.hero-safefccoins .subtitle {
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  margin: 0 0 12px 0 !important;
  opacity: 0.85;
}

.hero-safefccoins .hero-proof-row {
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.hero-safefccoins .hero-proof-chip {
  padding: 4px 10px !important;
  font-size: 0.75rem !important;
}

/* Compact stats grid */
.hero-safefccoins .hero-stat-grid {
  gap: 12px !important;
  margin: 15px 0 0 0 !important;
}

.hero-safefccoins .hero-stat-card {
  padding: 12px !important;
  background: #0a0a0a !important;
  border: 1px solid #1a1a1a !important;
  border-radius: 8px !important;
}

.hero-safefccoins .hero-stat-card strong {
  font-size: 1.3rem !important;
  line-height: 1 !important;
  display: block !important;
  margin: 0 0 4px 0 !important;
  font-weight: 700 !important;
  color: #10b981 !important;
}

.hero-safefccoins .hero-stat-card span {
  font-size: 0.75rem !important;
  line-height: 1.2 !important;
  display: block !important;
  margin: 0 !important;
  opacity: 0.7;
}

/* Override default large styles */
body[data-store="safefccoins"] .hero-copy {
  padding: 20px !important;
  border-radius: 20px !important;
}

body[data-store="safefccoins"] .hero .title {
  font-size: clamp(1.6rem, 4vw, 2.4rem) !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.15 !important;
}

body[data-store="safefccoins"] .hero .subtitle {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

body[data-store="safefccoins"] .hero-proof-row {
  margin: 12px 0 15px !important;
  gap: 8px !important;
}

body[data-store="safefccoins"] .hero-proof-chip {
  padding: 6px 12px !important;
  font-size: 0.75rem !important;
}

body[data-store="safefccoins"] .hero-stat-card {
  padding: 12px !important;
}

body[data-store="safefccoins"] .hero-stat-card strong {
  font-size: 1.2rem !important;
  margin-bottom: 4px !important;
}

body[data-store="safefccoins"] .hero-stat-card span {
  font-size: 0.75rem !important;
}

body[data-store="safefccoins"] .hero-screen {
  width: min(100%, 320px) !important;
  padding: 18px !important;
  border-radius: 20px !important;
}

body[data-store="safefccoins"] .screen-card {
  margin-top: 12px !important;
  padding: 12px !important;
  border-radius: 16px !important;
}

body[data-store="safefccoins"] .screen-card strong {
  font-size: 0.9rem !important;
  margin-top: 6px !important;
}

body[data-store="safefccoins"] .hero-orb-one {
  width: 120px !important;
  height: 120px !important;
}

body[data-store="safefccoins"] .hero-orb-two {
  width: 140px !important;
  height: 140px !important;
}

/* Mobile - even more compact */
@media (max-width: 768px) {
  .hero-safefccoins {
    padding: 20px 15px 15px !important;
  }

  .hero-safefccoins .title {
    font-size: 1.4rem !important;
  }

  .hero-safefccoins .subtitle {
    font-size: 0.85rem !important;
  }

  .hero-safefccoins .hero-stat-card {
    padding: 10px !important;
  }

  .hero-safefccoins .hero-stat-card strong {
    font-size: 1.1rem !important;
  }

  .hero-safefccoins .hero-stat-card span {
    font-size: 0.7rem !important;
  }

  body[data-store="safefccoins"] .hero-copy {
    padding: 16px !important;
  }

  body[data-store="safefccoins"] .hero-screen {
    width: 100% !important;
    padding: 14px !important;
  }

  body[data-store="safefccoins"] .hero-main-image {
    max-width: 100%;
    padding: 10px;
  }
}

/* Price overlay positioning - don't affect card size */
.price-overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 15px !important;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.7), transparent) !important;
  z-index: 2 !important;
}

/* Ensure button has no default browser spacing */
button.platform-card {
  border: 2px solid #1a1a1a !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  cursor: pointer !important;
  position: relative !important;
}

button.platform-card * {
  box-sizing: border-box !important;
}

/* ========================================
   SAFE with 5% Coupon Theme - Gold Edition
   ======================================== */

/* SAFE Theme Color Variables */
:root {
  --safe-gold: #FFD700;
  --safe-dark-gold: #FFA500;
  --safe-light-gold: #FFED4E;
  --safe-shield: #FFD700;
}

/* SAFE with 5% Coupon Promo Badge */
.safe-coupon-promo-badge {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 10000;
  animation: slideInLeft 0.5s ease-out;
  display: none; /* Hidden by default */
}

body.safe-coupon-theme-enabled .safe-coupon-promo-badge {
  display: block; /* Show only when theme is enabled */
}

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

.safe-badge-content {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--safe-gold) 0%, var(--safe-dark-gold) 100%);
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 165, 0, 0.3);
  border: 2px solid var(--safe-light-gold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.safe-badge-content:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 165, 0, 0.4);
}

.safe-badge-icon {
  font-size: 40px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: shieldPulse 2s ease-in-out infinite;
}

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

.safe-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.safe-badge-title {
  font-weight: 700;
  font-size: 16px;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.safe-badge-discount {
  font-weight: 800;
  font-size: 24px;
  color: #000000;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.safe-badge-code {
  font-size: 12px;
  color: #1a1a1a;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.safe-badge-ends {
  font-size: 11px;
  color: #1a1a1a;
  font-weight: 500;
  font-style: italic;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .safe-coupon-promo-badge {
    bottom: 20px;
    left: 20px;
  }

  .safe-badge-content {
    padding: 12px 16px;
    gap: 10px;
  }

  .safe-badge-icon {
    font-size: 32px;
  }

  .safe-badge-title {
    font-size: 13px;
  }

  .safe-badge-discount {
    font-size: 20px;
  }

  .safe-badge-code {
    font-size: 10px;
    padding: 2px 6px;
  }

  .safe-badge-ends {
    font-size: 9px;
  }
}

/* Apply Button Gold Theme when SAFE theme is active */
body.safe-coupon-theme-enabled #apply-coupon {
  background: linear-gradient(135deg, var(--safe-gold) 0%, var(--safe-dark-gold) 100%) !important;
  border: 2px solid var(--safe-light-gold) !important;
  color: #000000 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease !important;
}

body.safe-coupon-theme-enabled #apply-coupon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
  background: linear-gradient(135deg, var(--safe-light-gold) 0%, var(--safe-gold) 100%) !important;
}

/* Hide when theme is NOT enabled */
body:not(.safe-coupon-theme-enabled) .safe-coupon-promo-badge {
  display: none !important;
}
