/* GriffinsGigs Modern Design System & Peter Griffin Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --griffin-font: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --griffin-green: #22c55e;
  --griffin-green-glow: rgba(34, 197, 94, 0.35);
  --griffin-green-dark: #15803d;
  --griffin-pants: #16a34a;
  --griffin-blue: #0ea5e9;
  --griffin-navy: #0f172a;
  --griffin-dark-surface: #1e293b;
  --griffin-card-bg: rgba(30, 41, 59, 0.88);
  --griffin-card-border: rgba(255, 255, 255, 0.08);
  --griffin-amber: #f59e0b;
  --griffin-gold: #fbbf24;
  --griffin-clam: #f43f5e;
  --griffin-text: #f8fafc;
  --griffin-muted: #94a3b8;
  --griffin-gradient-primary: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #0d9488 100%);
  --griffin-gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #ea580c 100%);
  --griffin-gradient-hero: linear-gradient(135deg, #090d16 0%, #0f172a 50%, #14281d 100%);
  --griffin-gradient-card: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
}

body {
  font-family: var(--griffin-font) !important;
  color: var(--griffin-text);
  letter-spacing: -0.01em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0b0f19;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--griffin-green);
}

/* Header & Sticky Navigation */
.griffin-sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

.griffin-navbar {
  background: rgba(8, 12, 22, 0.9) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0 !important;
  transition: all 0.25s ease;
}

.griffin-sticky-header.scrolled .quahog-broadcast-bar {
  display: none !important;
}

.griffin-sticky-header.scrolled .griffin-navbar {
  background: rgba(8, 12, 22, 0.98) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
  border-bottom: 1px solid rgba(34, 197, 94, 0.3);
  padding: 8px 0 !important;
}

.griffin-menu-link {
  color: #cbd5e1 !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 14px !important;
  border-radius: 10px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.griffin-menu-link:hover {
  color: #22c55e !important;
  background: rgba(34, 197, 94, 0.1);
}

.navbar-brand-box {
  background: transparent !important;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
}

.griffin-brand-text {
  display: none !important;
}

/* Hero Section & Ambient Lighting */
.hero-peter-section {
  position: relative;
  background: radial-gradient(circle at 50% 0%, #111a2e 0%, #080d1a 60%, #050811 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 110px 0 70px;
}

.hero-peter-section::before {
  content: '';
  position: absolute;
  top: -15%;
  right: 5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18) 0%, rgba(34, 197, 94, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

.hero-peter-section::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  animation: pulseGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.15) translate(20px, 15px); opacity: 1; }
}

/* Quahog Broadcast Rotator (One by One) */
.quahog-broadcast-bar {
  background: linear-gradient(90deg, #7f1d1d 0%, #991b1b 50%, #7f1d1d 100%);
  color: #fef08a;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 1px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 1040;
  position: relative;
  width: 100%;
}

.quahog-news-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  min-height: 26px;
}

.quahog-news-badge {
  font-size: 0.72rem;
  font-weight: 900;
  background: #facc15;
  color: #000000;
  padding: 3px 8px;
  border-radius: 6px;
  margin-right: 12px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.news-ticker-viewport {
  position: relative;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-align: center;
}

.news-ticker-viewport .news-item {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  font-size: 0.84rem;
  line-height: 1.35;
  color: #fef08a;
  max-width: 100%;
}

.news-ticker-viewport .news-item.active {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsiveness for News Ticker (Smooth Right-to-Left Scroll) */
@keyframes mobileNewsScroll {
  0% {
    transform: translateX(90vw);
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

@media (max-width: 767.98px) {
  .quahog-broadcast-bar {
    padding: 6px 0;
    overflow: hidden;
  }

  .quahog-news-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    margin-right: 8px;
    z-index: 5;
    position: relative;
  }

  .news-ticker-viewport {
    text-align: left;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    width: 100%;
  }

  .news-ticker-viewport .news-item {
    font-size: 0.78rem;
    line-height: 1.25;
    white-space: nowrap !important;
    display: none;
    width: max-content;
  }

  .news-ticker-viewport .news-item.active {
    display: inline-block !important;
    animation: mobileNewsScroll 8.5s linear infinite;
  }
}

/* Peter Griffin Comic Speech Bubble */
.peter-speech-bubble {
  position: absolute;
  top: -24px;
  left: -20px;
  background: rgba(15, 23, 42, 0.95);
  border: 2px solid #22c55e;
  border-radius: 18px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(34, 197, 94, 0.3);
  z-index: 20;
  max-width: 240px;
  text-align: left;
  line-height: 1.35;
  animation: floatBubble 4s ease-in-out infinite;
}

.peter-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #22c55e;
}

@keyframes floatBubble {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@media (max-width: 575.98px) {
  .peter-speech-bubble {
    top: -20px !important;
    left: 10px !important;
    font-size: 0.76rem !important;
    padding: 8px 12px !important;
    max-width: 200px !important;
  }
}

/* Live Platform Pulse Chip */
.badge-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #4ade80;
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}

.pulse-dot-live {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
  display: inline-block;
  animation: liveDotPulse 1.8s infinite ease-in-out;
}

@keyframes liveDotPulse {
  0%, 100% { transform: scale(0.85); opacity: 0.6; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.griffin-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.25);
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-title .highlight-green {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight-gold {
  background: linear-gradient(135deg, #fde047 0%, #fbbf24 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

/* Trust Pill Chips */
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  border-radius: 12px;
  color: #f8fafc;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.trust-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(34, 197, 94, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Crystal-Clear High-Contrast Hero Buttons */
.btn-clear-primary {
  background: #22c55e !important;
  color: #080c16 !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  padding: 15px 32px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.45) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  letter-spacing: -0.01em;
}

.btn-clear-primary:hover {
  background: #16a34a !important;
  color: #080c16 !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(34, 197, 94, 0.65) !important;
}

.btn-clear-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  padding: 15px 30px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(14px) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  letter-spacing: -0.01em;
}

.btn-clear-secondary:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border-color: #fbbf24 !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

/* Legacy Support */
.btn-griffin-primary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  padding: 16px 36px !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 30px -5px rgba(34, 197, 94, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.btn-griffin-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 45px -5px rgba(34, 197, 94, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
}

.btn-griffin-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px);
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  padding: 16px 32px !important;
  border-radius: 14px !important;
  transition: all 0.25s ease !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  text-decoration: none !important;
}

.btn-griffin-secondary:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
}

/* Peter Griffin Hero Mascot Frame */
.peter-hero-frame {
  position: relative;
  text-align: center;
  padding: 24px 20px 28px;
  background: radial-gradient(circle at 50% 35%, rgba(34, 197, 94, 0.14) 0%, rgba(15, 23, 42, 0.5) 65%, transparent 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 36px;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(34, 197, 94, 0.12);
}

.peter-hero-frame .hero-mascot-img {
  max-width: 100%;
  height: auto;
  border-radius: 28px;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.85));
  animation: floating 4s ease-in-out infinite;
}

/* Floating Crypto Tokens Orbit */
.crypto-orbit-pill {
  position: absolute;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px 8px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  z-index: 10;
  font-weight: 800;
  font-size: 0.88rem;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.crypto-orbit-pill.pill-btc {
  top: 8%;
  right: -6%;
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.25);
  animation: floatCard1 4.5s ease-in-out infinite;
}

.crypto-orbit-pill.pill-ltc {
  bottom: 8%;
  left: -6%;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.25);
  animation: floatCard2 5.5s ease-in-out infinite;
}

.crypto-orbit-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.crypto-supported-bar {
  margin-top: 18px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
}

.crypto-supported-bar img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
  border-radius: 50%;
}

.crypto-supported-bar img:hover {
  transform: scale(1.25);
}

@media (max-width: 991.98px) {
  .crypto-orbit-pill.pill-btc {
    top: 4% !important;
    right: -2% !important;
    transform: scale(0.9) !important;
  }

  .crypto-orbit-pill.pill-ltc {
    bottom: 4% !important;
    left: -2% !important;
    transform: scale(0.9) !important;
  }
}

@media (max-width: 575.98px) {
  .crypto-orbit-pill {
    position: static !important;
    margin: 8px 4px !important;
    animation: none !important;
  }
}
  font-size: 1.12rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

@keyframes floating {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes floatCard1 {
  0%, 100% { transform: translateY(0px) rotate(2deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}
@keyframes floatCard2 {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@media (max-width: 991.98px) {
  .peter-hero-frame {
    max-width: 380px !important;
    margin: 20px auto 0 !important;
    padding: 20px 15px !important;
  }

  .floating-gig-card.top-right {
    top: 4% !important;
    right: -2% !important;
    transform: scale(0.9) !important;
  }

  .floating-gig-card.bottom-left {
    bottom: 2% !important;
    left: -2% !important;
    transform: scale(0.9) !important;
  }
}

@media (max-width: 575.98px) {
  .peter-hero-frame {
    max-width: 100% !important;
    padding: 15px 10px !important;
  }

  .floating-gig-card {
    position: static !important;
    margin: 12px auto 0 !important;
    max-width: 280px !important;
    width: 100% !important;
    animation: none !important;
    transform: none !important;
  }
}

/* Stats Counter Bar */
.griffin-stats-bar {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(9, 14, 26, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  border-radius: 24px;
  padding: 2.25rem 1.75rem;
  margin-top: -45px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 20;
}

.stat-item {
  text-align: center;
  padding: 0.75rem 1rem;
  transition: transform 0.2s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
}

.stat-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.stat-number {
  font-size: 2.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 70%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* Gig Feature Cards */
.griffin-feature-card {
  background: linear-gradient(180deg, rgba(16, 24, 42, 0.75) 0%, rgba(10, 15, 28, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 2.25rem 1.85rem;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.griffin-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #3b82f6, #f59e0b);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.griffin-feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 25px 45px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(59, 130, 246, 0.15);
}

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

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #4ade80;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
  transition: transform 0.25s ease;
}

.griffin-feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Quahog Character Testimonial Cards */
.quahog-quote-card {
  background: linear-gradient(180deg, rgba(18, 26, 44, 0.75) 0%, rgba(11, 16, 29, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(16px);
  transition: all 0.25s ease;
}

.quahog-quote-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.15);
  transform: translateY(-4px);
}

.quahog-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

/* ==========================================================================
   Modern 3-Step "How to Earn" Cards
   ========================================================================== */
.step-earn-card {
  background: linear-gradient(180deg, rgba(16, 24, 42, 0.75) 0%, rgba(10, 15, 28, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 2.25rem 1.75rem;
  position: relative;
  height: 100%;
  backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-earn-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(34, 197, 94, 0.15);
}

.step-badge-number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  transition: color 0.3s ease;
}

.step-earn-card:hover .step-badge-number {
  color: rgba(34, 197, 94, 0.15);
}

.step-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Dashboard & Cards UI Enhancement */
.card {
  border: 1px solid var(--griffin-card-border) !important;
  border-radius: 16px !important;
  background: var(--griffin-card-bg) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
}

.card-header {
  border-bottom: 1px solid var(--griffin-card-border) !important;
  background: transparent !important;
  font-weight: 700 !important;
}

.badge-griffin {
  background: linear-gradient(135deg, #22c55e, #15803d) !important;
  color: white !important;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9999px;
}

/* Topbar Styling */
#page-topbar {
  background: rgba(15, 23, 42, 0.95) !important;
  border-bottom: 1px solid var(--griffin-card-border);
  backdrop-filter: blur(16px);
}

/* Auth Cards */
.auth-griffin-card {
  background: var(--griffin-gradient-card);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(34, 197, 94, 0.15);
}

/* ==========================================================================
   100% Fully Responsive Layout & Mobile Breakpoints (All Devices)
   ========================================================================== */

/* Fluid Typography */
.hero-title {
  font-size: clamp(1.85rem, 4.5vw + 0.5rem, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.2vw + 0.4rem, 1.2rem);
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

/* Navigation Bar Global */
/* Navigation Bar Global */
.griffin-navbar {
  background: rgba(11, 15, 25, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 12px 0 !important;
  transition: all 0.3s ease !important;
}

.griffin-navbar .navbar-brand {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

.griffin-navbar .navbar-brand .griffin-brand-text {
  display: none !important;
}

.griffin-logo-img {
  height: 58px;
  width: auto;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease;
}

.griffin-logo-img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .griffin-logo-img {
    height: 46px !important;
    max-height: 46px !important;
  }
}

.griffin-nav-toggler {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  color: #f8fafc !important;
  font-size: 1.15rem !important;
  transition: all 0.2s ease !important;
}

.griffin-nav-toggler:hover,
.griffin-nav-toggler:focus {
  outline: none !important;
  background: rgba(34, 197, 94, 0.15) !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
  color: #4ade80 !important;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.2) !important;
}

.griffin-nav-toggler i {
  transition: transform 0.25s ease, color 0.25s ease !important;
}

.griffin-nav-toggler:not(.collapsed) i {
  transform: rotate(90deg) !important;
  color: #4ade80 !important;
}

/* Large Displays & Desktops */
@media (min-width: 1200px) {
  .hero-peter-section {
    padding: 70px 0 50px;
  }
}

/* Desktop Navbar Items (min-width: 992px) */
@media (min-width: 992px) {
  .griffin-navbar {
    padding: 14px 0 !important;
  }

  .griffin-navbar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .griffin-navbar .navbar-brand {
    margin-right: auto !important;
    flex-shrink: 0 !important;
  }

  .griffin-navbar .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
    flex-grow: 1 !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  .griffin-navbar .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    margin-left: auto !important;
  }

  .griffin-navbar .navbar-nav .nav-item {
    margin: 0 4px !important;
    display: inline-block !important;
    width: auto !important;
  }

  .griffin-navbar .navbar-nav .nav-link.griffin-menu-link,
  .griffin-navbar .navbar-nav .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    color: #cbd5e1 !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: none !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
  }

  .griffin-navbar .navbar-nav .nav-link .nav-item-icon {
    width: auto !important;
    margin-right: 8px !important;
    font-size: 0.95rem !important;
  }

  .griffin-navbar .navbar-nav .nav-link .nav-link-text {
    display: inline !important;
    white-space: nowrap !important;
    font-size: 0.95rem !important;
    color: inherit !important;
  }

  .griffin-navbar .navbar-nav .nav-link .nav-item-arrow {
    display: none !important;
  }

  .griffin-navbar .navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
  }

  .griffin-navbar .auth-buttons-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .griffin-navbar .btn-nav-auth {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 20px !important;
    font-size: 0.92rem !important;
    white-space: nowrap !important;
    border-radius: 9px !important;
    margin: 0 !important;
  }
}

/* Seamless Mobile & Tablet Header (max-width: 991.98px) */
@media (max-width: 991.98px) {
  .header {
    background: transparent !important;
  }

  .griffin-navbar {
    padding: 10px 16px !important;
    background: rgba(11, 15, 25, 0.98) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
  }

  /* Seamless collapse integrating directly into the top navbar */
  .navbar-collapse {
    background: transparent !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    padding: 14px 0 10px 0 !important;
    margin-top: 10px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .navbar-nav .nav-item {
    margin-bottom: 8px !important;
    width: 100% !important;
    display: block !important;
  }

  .griffin-navbar .navbar-nav .nav-link.griffin-menu-link,
  .griffin-navbar .navbar-nav .nav-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    color: #f1f5f9 !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
  }

  .griffin-navbar .navbar-nav .nav-link .nav-item-icon {
    width: 24px !important;
    text-align: center !important;
    font-size: 1.05rem !important;
    margin-right: 14px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
  }

  .griffin-navbar .navbar-nav .nav-link .nav-link-text {
    flex: 1 1 auto !important;
    text-align: left !important;
    color: #f8fafc !important;
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    display: inline-block !important;
  }

  .griffin-navbar .navbar-nav .nav-link .nav-item-arrow {
    margin-left: auto !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
  }

  .griffin-navbar .navbar-nav .nav-link:hover,
  .griffin-navbar .navbar-nav .nav-link:active,
  .griffin-navbar .navbar-nav .nav-link:focus {
    background: rgba(34, 197, 94, 0.12) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
    color: #4ade80 !important;
  }

  .griffin-navbar .navbar-nav .nav-link:hover .nav-link-text {
    color: #4ade80 !important;
  }

  .griffin-navbar .navbar-nav .nav-link:hover .nav-item-arrow {
    color: #4ade80 !important;
    transform: translateX(3px) !important;
  }

  .griffin-navbar .nav-auth-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 14px !important;
    margin-top: 10px !important;
    width: 100% !important;
  }

  .griffin-navbar .auth-buttons-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .griffin-navbar .btn-nav-auth {
    flex: 1 1 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    border-radius: 10px !important;
    margin: 0 !important;
  }

  .griffin-navbar .btn-griffin-secondary {
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
  }

  .griffin-navbar .btn-griffin-secondary:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
  }

  .griffin-navbar .btn-griffin-primary {
    font-weight: 700 !important;
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35) !important;
  }

  .hero-peter-section {
    padding: 40px 0 30px;
    min-height: auto;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .peter-hero-frame {
    margin-top: 1.5rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .floating-gig-card {
    display: none !important;
  }

  .griffin-stats-bar {
    margin-top: 15px;
    padding: 1.5rem 1rem;
    border-radius: 18px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }
}

/* Small Tablets & Large Phones (max-width: 767.98px) */
@media (max-width: 767.98px) {
  .main {
    padding-top: 70px !important;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.5rem);
    line-height: 1.2;
  }

  .griffin-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .btn-griffin-primary,
  .btn-griffin-secondary {
    width: 100% !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 14px 20px !important;
    font-size: 1rem;
    margin-right: 0 !important;
  }

  .griffin-feature-card {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
    margin-bottom: 1.25rem;
  }

  .feature-icon-wrapper {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }

  .feature-title {
    font-size: 1.15rem;
  }

  .quahog-quote-card {
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 1.25rem;
  }

  .quahog-avatar {
    width: 44px;
    height: 44px;
  }

  .auth-griffin-card {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }

  .stat-item {
    padding: 12px 6px;
  }

  .stat-number {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }
}

/* Extra Small Phones (< 480px / 375px / 320px) */
@media (max-width: 480px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .griffin-brand-text {
    font-size: 1.25rem !important;
  }

  .navbar-brand img {
    max-height: 36px !important;
  }

  .hero-peter-section {
    padding: 24px 0 20px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .peter-hero-frame {
    max-width: 280px;
  }

  .griffin-stats-bar {
    padding: 1rem 0.5rem;
    border-radius: 14px;
  }

  .stat-item {
    border-right: none !important;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .table td, .table th {
    padding: 10px 8px !important;
    font-size: 0.8rem;
  }
}

/* Touch-Friendly Responsive Tables */
.table-responsive {
  border-radius: 16px;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   DROPDOWNS, SELECT LISTS & OPTIONS DESIGN SYSTEM
   ========================================================================== */

/* Universal Select Lists */
select,
select.form-control,
.custom-select,
#selectCaptcha {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: rgba(18, 26, 44, 0.95) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='%2322c55e'%3E%3Cpath d='M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 18px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  color: #f8fafc !important;
  padding: 12px 42px 12px 16px !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  height: auto !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

select:hover,
select.form-control:hover,
.custom-select:hover,
#selectCaptcha:hover {
  border-color: rgba(34, 197, 94, 0.4) !important;
  background-color: rgba(22, 32, 54, 0.98) !important;
}

select:focus,
select.form-control:focus,
.custom-select:focus,
#selectCaptcha:focus {
  background-color: rgba(22, 32, 54, 1) !important;
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  outline: none !important;
}

/* Native Option Elements */
select option,
select.form-control option,
.custom-select option,
#selectCaptcha option {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  padding: 12px 16px !important;
  font-weight: 500 !important;
  border: none !important;
}

select option:checked,
select.form-control option:checked,
.custom-select option:checked {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Dropdown Menus (Bootstrap & Custom) */
.dropdown-menu {
  background: rgba(15, 23, 42, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  padding: 8px !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(34, 197, 94, 0.1) !important;
  margin-top: 8px !important;
  animation: griffinDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes griffinDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dropdown-item {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.dropdown-item i {
  font-size: 1rem !important;
  color: #94a3b8 !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(34, 197, 94, 0.14) !important;
  color: #4ade80 !important;
  transform: translateX(4px) !important;
}

.dropdown-item:hover i,
.dropdown-item:focus i {
  color: #22c55e !important;
  transform: scale(1.1) !important;
}

.dropdown-item.active,
.dropdown-item:active {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #ffffff !important;
}

.dropdown-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin: 6px 0 !important;
}

.dropdown-header {
  color: #64748b !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  padding: 8px 16px 4px !important;
}

/* Form Controls & Inputs */
.form-control {
  background-color: rgba(18, 26, 44, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  color: #f8fafc !important;
  padding: 12px 16px !important;
  font-size: 0.95rem !important;
  height: auto !important;
  transition: all 0.2s ease !important;
}

.form-control:focus {
  background-color: rgba(22, 32, 54, 0.98) !important;
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25) !important;
  color: #ffffff !important;
}

.form-control::placeholder {
  color: #64748b !important;
  font-weight: 400 !important;
}

/* Card Radio Selection Options */
.card-radio {
  background-color: rgba(18, 26, 44, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.card-radio:hover {
  border-color: rgba(34, 197, 94, 0.4) !important;
  background-color: rgba(22, 32, 54, 0.9) !important;
  transform: translateY(-2px) !important;
}

.card-radio-input:checked + .card-radio,
.card-radio.active {
  border-color: #22c55e !important;
  background: rgba(34, 197, 94, 0.12) !important;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3) !important;
}

/* Custom Checkboxes & Radio Buttons */
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #22c55e !important;
  border-color: #22c55e !important;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4) !important;
}

.custom-control-label::before {
  background-color: rgba(18, 26, 44, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px !important;
}

.custom-radio .custom-control-label::before {
  border-radius: 50% !important;
}

/* Modals */
.modal-content {
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(25px) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8) !important;
  color: #f8fafc !important;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 1.25rem 1.5rem !important;
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 1.25rem 1.5rem !important;
}

/* Pagination */
.page-item .page-link {
  background-color: rgba(18, 26, 44, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
  border-radius: 10px !important;
  margin: 0 4px !important;
  padding: 8px 14px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.page-item.active .page-link {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  border-color: #22c55e !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35) !important;
}

.page-item .page-link:hover {
  background-color: rgba(34, 197, 94, 0.15) !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
  color: #4ade80 !important;
}

/* ==========================================================================
   GriffinsGigs Admin Panel Styling
   ========================================================================== */

.badge-admin-portal {
  display: inline-flex !important;
  align-items: center !important;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.35) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.6) !important;
  color: #fbbf24 !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 9999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  vertical-align: middle !important;
  margin-left: 8px !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25) !important;
}

/* Admin Topbar */
body[data-sidebar="dark"] #page-topbar {
  background-color: #090d16 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.navbar-brand-box {
  background-color: #090d16 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Admin Custom Badges */

body[data-sidebar="dark"] .sub-menu {
  background: rgba(6, 9, 17, 0.5) !important;
  border-radius: 12px !important;
  padding: 6px 0 !important;
  margin: 4px 10px !important;
}

/* Admin Dashboard Cards & Content */
.main-content {
  background-color: #060911 !important;
  min-height: 100vh !important;
}

.page-content {
  padding: 80px 24px 60px !important;
}

.card {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  color: #f8fafc !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.card-title {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  font-size: 1.15rem !important;
  letter-spacing: -0.01em !important;
}

.mini-stats-wid .mini-stat-icon {
  background: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  border-radius: 14px !important;
}

.mini-stats-wid .mini-stat-icon i {
  color: #fbbf24 !important;
}

/* Admin Tables */
.table {
  color: #cbd5e1 !important;
}

.table thead th {
  border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  background-color: rgba(15, 23, 42, 0.6) !important;
}

.table td, .table th {
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  vertical-align: middle !important;
  padding: 12px 16px !important;
}

.table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.03) !important;
}

/* ==========================================================================
   Clean Professional Member Platform Design System (Eye-Friendly & Modern)
   ========================================================================== */

body[data-sidebar="dark"] {
  background-color: #090d16 !important;
  color: #e2e8f0 !important;
}

/* High-Contrast Typography & Table Readability */
h1, h2, h3, h4, h5, h6 {
  color: #f8fafc !important;
}

.text-muted {
  color: #94a3b8 !important;
}

code {
  color: #38bdf8 !important;
  background-color: #131b2c !important;
  border: 1px solid #1e2a42 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  font-size: 0.9em !important;
}

.table {
  color: #f1f5f9 !important;
}

.table thead th {
  border-bottom: 1px solid #1e293b !important;
  color: #94a3b8 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  background-color: #111726 !important;
  padding: 12px 18px !important;
}

.table td {
  border-top: 1px solid #161f30 !important;
  color: #f1f5f9 !important;
  vertical-align: middle !important;
  padding: 14px 18px !important;
  font-size: 0.9rem !important;
}

.table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

#layout-wrapper {
  background-color: #090d16 !important;
}

.main-content {
  background-color: #090d16 !important;
}

.page-content {
  background-color: #090d16 !important;
  padding: 85px 24px 60px !important;
}

/* Professional Flat Topbar */
#page-topbar {
  background-color: #0c111c !important;
  border-bottom: 1px solid #1a2233 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.navbar-header {
  padding: 0 1.25rem !important;
  height: 64px !important;
}

#page-topbar {
  background: #090d16 !important;
  border-bottom: 1px solid #1a2233 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.header-item {
  color: #94a3b8 !important;
  height: 64px !important;
  display: flex !important;
  align-items: center !important;
}

.header-item:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

.user-balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #101624;
  border: 1px solid #1e293b;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
  transition: all 0.2s ease;
}

.user-balance-pill:hover {
  border-color: #3b82f6;
  background: #141d30;
  text-decoration: none;
}

.user-balance-pill i {
  color: #10b981;
}

/* Mobile Responsive Header Tweaks */
@media (max-width: 991.98px) {
  .navbar-brand-box {
    width: auto !important;
    padding: 0 4px !important;
  }
  .navbar-header {
    padding: 0 8px !important;
  }
  #page-topbar {
    left: 0 !important;
  }
  .griffin-brand-text {
    font-size: 1.15rem !important;
  }
}

@media (max-width: 575.98px) {
  .navbar-header {
    padding: 0 6px !important;
    height: 56px !important;
  }
  .header-item {
    height: 56px !important;
    padding: 0 6px !important;
  }
  .navbar-brand-box img {
    height: 28px !important;
  }
  .griffin-brand-text {
    display: none !important;
  }
  .user-balance-pill {
    padding: 4px 8px !important;
    font-size: 0.76rem !important;
    gap: 4px !important;
  }
  .header-profile-user {
    width: 30px !important;
    height: 30px !important;
  }
}

/* Modern Dark SaaS Footer */
.footer {
  background: #090d16 !important;
  border-top: 1px solid #1a2233 !important;
  color: #94a3b8 !important;
  padding: 16px 0 !important;
  height: auto !important;
  position: static !important;
  left: 0 !important;
  width: 100% !important;
  bottom: auto !important;
}

@media (max-width: 991.98px) {
  .footer {
    left: 0 !important;
    padding: 14px 10px !important;
  }
}

/* Profile Hero Buttons Desktop/Mobile Precision */
.hero-profile-actions {
  width: auto;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
}

@media (max-width: 767.98px) {
  .hero-profile-actions {
    width: 100% !important;
  }
  .hero-profile-actions .btn {
    flex: 1 !important;
    padding: 8px 10px !important;
    font-size: 0.8rem !important;
  }
  .hero-profile-actions .btn:first-child {
    margin-right: 8px !important;
  }
}

/* Clean Dashboard Cards */
.clean-card {
  background: #0f1523 !important;
  border: 1px solid #1a2233 !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.clean-metric-card {
  background: #0f1523;
  border: 1px solid #1a2233;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s ease;
}

.clean-metric-card:hover {
  border-color: #27354f;
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.metric-value {
  font-size: 1.65rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
  margin-bottom: 4px;
}

.metric-subtext {
  font-size: 0.8rem;
  color: #94a3b8;
}

.metric-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.metric-icon-box.green {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.metric-icon-box.amber {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.metric-icon-box.blue {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}

.metric-icon-box.purple {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
}

/* Crypto Currency Cards */
.currency-radio-item {
  position: relative;
  cursor: pointer;
  width: 100%;
  margin-bottom: 0;
}

.currency-radio-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.currency-box {
  background: #0c111c;
  border: 1px solid #1a2233;
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  transition: all 0.15s ease;
}

.currency-box:hover {
  border-color: #2e3d5b;
  background: #101624;
}

.currency-radio-item input[type="radio"]:checked + .currency-box {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.06);
  box-shadow: 0 0 0 1px #10b981;
}

.currency-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-right: 8px;
}

.currency-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #f1f5f9;
}

.currency-rate-badge {
  display: inline-block;
  background: #131b2c;
  border: 1px solid #1a2233;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #94a3b8;
  padding: 3px 8px;
  margin-top: 6px;
}

/* Clean Form Inputs */
.clean-form-control {
  background: #090d16 !important;
  border: 1px solid #1a2233 !important;
  color: #f8fafc !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 0.92rem !important;
}

.clean-form-control:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2) !important;
  background: #0c111c !important;
}

.clean-form-control:disabled,
.clean-form-control[readonly] {
  background: #0b0f19 !important;
  color: #4ade80 !important;
  opacity: 1 !important;
  cursor: default !important;
}

.clean-input-group-text {
  background: #131b2c !important;
  border: 1px solid #1a2233 !important;
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
}

/* Clean Solid Buttons */
.btn-clean-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  border: 1px solid rgba(96, 165, 250, 0.4) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 9px 18px !important;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 14px -2px rgba(59, 130, 246, 0.3) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-clean-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  box-shadow: 0 6px 18px 0 rgba(59, 130, 246, 0.45) !important;
  transform: translateY(-1px) !important;
  color: #ffffff !important;
}

.btn-clean-secondary {
  background-color: #131b2c !important;
  border-color: #1e2a42 !important;
  color: #f1f5f9 !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  padding: 9px 16px !important;
  font-size: 0.88rem !important;
  transition: all 0.15s ease !important;
}

.btn-clean-secondary:hover {
  background-color: #1c273e !important;
  color: #ffffff !important;
}

.btn-clean-deposit {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(5, 150, 105, 0.26) 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  color: #34d399 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 9px 16px !important;
  font-size: 0.88rem !important;
  box-shadow: 0 4px 14px -2px rgba(16, 185, 129, 0.2) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-clean-deposit:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px 0 rgba(16, 185, 129, 0.4) !important;
  transform: translateY(-1px) !important;
}

/* Sleek Micro-Task Card Buttons */
.btn-task-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  border: 1px solid rgba(96, 165, 250, 0.4) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px -2px rgba(59, 130, 246, 0.3) !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-task-action:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  box-shadow: 0 6px 18px 0 rgba(59, 130, 246, 0.45) !important;
  transform: translateY(-1px) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.btn-task-flag {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  background: #090d16 !important;
  border: 1px solid #1a2233 !important;
  color: #64748b !important;
  font-size: 13px !important;
  transition: all 0.2s ease !important;
  cursor: pointer;
}

.btn-task-flag:hover {
  background: rgba(239, 68, 68, 0.1) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: #f87171 !important;
  transform: translateY(-1px) !important;
}

/* User Dropdown Menu */
.dropdown-menu {
  background-color: #0f1523 !important;
  border: 1px solid #1a2233 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  padding: 6px !important;
}

.dropdown-item {
  color: #94a3b8 !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
}

.dropdown-item:hover {
  background-color: #131b2c !important;
  color: #ffffff !important;
}

.dropdown-divider {
  border-top-color: #1a2233 !important;
}

/* ==========================================================================
   Permanent Fixed Sidebar & Stable Navigation (Zero Left/Right Shift)
   ========================================================================== */

/* Disable all Skote flyout hover jumps and auto-expansion */
body.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > a,
.vertical-menu #sidebar-menu > ul > li:hover > a,
#sidebar-menu ul li a:hover {
  width: auto !important;
  position: relative !important;
  transform: none !important;
  left: auto !important;
  right: auto !important;
}

body.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > ul,
.vertical-menu #sidebar-menu > ul > li:hover > ul {
  position: static !important;
  left: auto !important;
  width: auto !important;
  box-shadow: none !important;
}

body.vertical-collpsed .vertical-menu #sidebar-menu > ul > li > a span,
.vertical-menu #sidebar-menu > ul > li > a span {
  display: inline-block !important;
  padding-left: 0 !important;
}

.vertical-menu,
.vertical-menu * {
  box-sizing: border-box !important;
}

/* Desktop Screens (>= 992px) - Fixed Solid 260px Left Sidebar */
@media (min-width: 992px) {
  body.vertical-collpsed .vertical-menu,
  .vertical-menu {
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    height: calc(100vh - 70px) !important;
    z-index: 1001 !important;
    background: #090d16 !important;
    border-right: 1px solid #1a2336 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: block !important;
    transform: none !important;
    transition: none !important;
  }

  body.vertical-collpsed .main-content,
  .main-content {
    margin-left: 260px !important;
    width: calc(100% - 260px) !important;
    max-width: calc(100% - 260px) !important;
    min-height: 100vh !important;
    background-color: #070a0f !important;
    overflow-x: hidden !important;
  }

  body.vertical-collpsed #page-topbar,
  #page-topbar {
    left: 0 !important;
    width: 100% !important;
    position: fixed !important;
    top: 0 !important;
    z-index: 1000 !important;
    height: 70px !important;
    background-color: #0c111c !important;
    border-bottom: 1px solid #1a2336 !important;
  }

  body.vertical-collpsed .footer,
  .footer {
    left: 0 !important;
    width: 100% !important;
    position: static !important;
    background-color: #090d16 !important;
    border-top: 1px solid #1a2233 !important;
  }

  #vertical-menu-btn {
    display: none !important;
  }

  .navbar-brand-box {
    width: 260px !important;
    height: 70px !important;
    background-color: #090d16 !important;
    border-right: 1px solid #1a2336 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 1.25rem !important;
  }

  .navbar-brand-box .logo-lg {
    display: flex !important;
    align-items: center !important;
  }

  .navbar-brand-box .logo-sm {
    display: none !important;
  }
}

/* Mobile Backdrop Overlay */
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

body.sidebar-enable .sidebar-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* User Balance Pill in Topbar */
.user-balance-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  padding: 5px 12px !important;
  background: rgba(16, 185, 129, 0.08) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-radius: 9999px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.user-balance-pill:hover {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
  transform: translateY(-1px);
}

/* Mobile & Tablet Screens (< 992px) - Native App Style Drawer */
@media (max-width: 991.98px) {
  .vertical-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    z-index: 1050 !important;
    background: #090e1a !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    transform: translateX(-100%) !important;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: block !important;
    box-shadow: none !important;
  }

  body.sidebar-enable .vertical-menu {
    transform: translateX(0) !important;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.85) !important;
  }

  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
  }

  #page-topbar {
    left: 0 !important;
    width: 100% !important;
    position: fixed !important;
    top: 0 !important;
    z-index: 1000 !important;
    height: 64px !important;
    background: rgba(12, 17, 28, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .navbar-header {
    height: 64px !important;
    padding: 0 12px !important;
  }

  .page-content {
    padding: 78px 12px 60px 12px !important;
  }

  #vertical-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    color: #cbd5e1 !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    font-size: 15px;
    transition: all 0.15s ease;
  }

  #vertical-menu-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
  }
}

/* High-Contrast Badge Pills (Prevent White-on-White Glitch) */
.badge.badge-dark,
.badge-status-pill {
  background-color: #141c2c !important;
  color: #94a3b8 !important;
  border: 1px solid #202c42 !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
}

.badge-warning-pill {
  background-color: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
}

.badge-success-pill {
  background-color: rgba(16, 185, 129, 0.15) !important;
  color: #10b981 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
}

.badge-info-pill {
  background-color: rgba(59, 130, 246, 0.15) !important;
  color: #60a5fa !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
}

/* Dice Arena & Odometer Display */
#rollNumber {
  font-size: 3rem !important;
  font-weight: 800 !important;
  color: #10b981 !important;
  font-family: monospace, 'Courier New', sans-serif !important;
  letter-spacing: 2px !important;
  background: #090d16 !important;
  border: 1px solid #1a2233 !important;
  border-radius: 12px !important;
  padding: 16px 24px !important;
  margin: 10px auto 16px !important;
  display: inline-block !important;
  min-width: 200px !important;
  text-align: center !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.bet-btn {
  font-weight: 700 !important;
  padding: 14px 18px !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  transition: all 0.15s ease !important;
}

/* SweetAlert2 Dark Brand Theme */
.clean-swal-popup {
  background: #0f1523 !important;
  border: 1px solid #1e2a42 !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.75) !important;
  padding: 24px 22px !important;
  max-width: 480px !important;
  width: 92% !important;
}

.clean-swal-title {
  color: #f8fafc !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  margin-top: 6px !important;
  margin-bottom: 12px !important;
}

.clean-swal-btn {
  background-color: #10b981 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
}

.clean-swal-btn:hover {
  background-color: #059669 !important;
}

.swal2-html-container {
  color: #cbd5e1 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Peter Griffin SweetAlert Extensions */
@keyframes swalPeterShake {
  0% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-6deg) scale(1.04); }
  40% { transform: rotate(6deg) scale(1.04); }
  60% { transform: rotate(-3deg) scale(1.02); }
  80% { transform: rotate(3deg) scale(1.02); }
  100% { transform: rotate(0deg) scale(1); }
}

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

.swal-peter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.swal-peter-avatar-wrap {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto 10px;
}

.swal-peter-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.65));
}

.swal-peter-img-shake {
  animation: swalPeterShake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.swal-peter-img-bounce {
  animation: swalPeterBounce 1.2s ease infinite;
}

.swal-peter-speech-bubble {
  position: relative;
  background: #141c2e;
  border: 1.5px solid #283750;
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 6px;
  width: 100%;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.swal-peter-speech-bubble::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 9px 9px 9px;
  border-style: solid;
  border-color: transparent transparent #283750 transparent;
}

.swal-peter-speech-bubble::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent #141c2e transparent;
}

.swal-peter-speech-text {
  color: #f1f5f9;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  font-style: italic;
}

.swal-peter-author {
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
  text-align: right;
}

.swal-peter-reasons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
}

.swal-reason-pill {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 3.5px solid #ef4444;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #f8fafc;
  line-height: 1.35;
  text-align: left;
}

.swal-reason-pill-warning {
  border-color: rgba(245, 158, 11, 0.35);
  border-left-color: #f59e0b;
}

.swal-reason-pill i {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.clean-swal-btn-peter-fix {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  border: 1px solid rgba(239, 68, 68, 0.5) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  font-size: 0.88rem !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35) !important;
  transition: all 0.18s ease !important;
  cursor: pointer !important;
}

.clean-swal-btn-peter-fix:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5) !important;
  transform: translateY(-1px) !important;
}

.clean-swal-btn-peter-win {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.5) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  font-size: 0.88rem !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
  transition: all 0.18s ease !important;
  cursor: pointer !important;
}

.clean-swal-btn-peter-win:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5) !important;
  transform: translateY(-1px) !important;
}


/* Global Ad Responsiveness Safety */
.ads, .left-ads, .right-ads {
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ads iframe, .ads img, .ads ins, .ads embed, .ads object,
.left-ads iframe, .left-ads img, .right-ads iframe, .right-ads img {
  max-width: 100% !important;
}

@media (max-width: 991.98px) {
  .page-content {
    padding: 75px 14px 40px !important;
  }
}

/* ==========================================================================
   Ultra-Premium Offerwall Hub & Marketplace Styling
   ========================================================================== */

.offerwall-hub-hero {
  position: relative;
  background: radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.18) 0%, rgba(15, 23, 42, 0.95) 60%, rgba(11, 15, 25, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  padding: 1.75rem 2rem !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  overflow: hidden;
}

.offerwall-hub-hero::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.offerwall-filter-bar {
  background: rgba(13, 19, 34, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 0.5rem 0.75rem !important;
  backdrop-filter: blur(12px);
}

.offerwall-filter-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 7px 16px;
  border-radius: 10px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.offerwall-filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.offerwall-filter-btn.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

/* Premium Offerwall Card */
.offerwall-card-v2 {
  position: relative;
  background: linear-gradient(180deg, #131b2e 0%, #0d1322 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 1.75rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow: hidden;
}

.offerwall-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb, 99, 102, 241), 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.offerwall-card-v2:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(var(--brand-rgb, 99, 102, 241), 0.45) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px -5px rgba(var(--brand-rgb, 99, 102, 241), 0.3) !important;
}

.offerwall-card-v2:hover::before {
  opacity: 1;
}

.offerwall-glow-orb {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(var(--brand-rgb, 99, 102, 241), 0.15) 0%, transparent 70%);
  pointer-events: none;
  transition: all 0.3s ease;
}

.offerwall-card-v2:hover .offerwall-glow-orb {
  transform: scale(1.3);
  opacity: 0.8;
}

.offerwall-logo-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.offerwall-card-v2:hover .offerwall-logo-box {
  transform: scale(1.08) rotate(1deg);
  border-color: rgba(var(--brand-rgb, 99, 102, 241), 0.5);
  box-shadow: 0 10px 22px rgba(var(--brand-rgb, 99, 102, 241), 0.3);
}

.offerwall-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.offerwall-badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.offerwall-btn-glow {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: all 0.25s ease;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.offerwall-btn-glow i {
  transition: transform 0.25s ease;
}

.offerwall-btn-glow:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%) !important;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.55);
  transform: translateY(-1px);
}

.offerwall-btn-glow:hover i {
  transform: translateX(5px);
}

.offerwall-tips-card {
  background: rgba(13, 19, 34, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 1.75rem !important;
  backdrop-filter: blur(12px);
}

.offerwall-tip-box {
  background: rgba(18, 26, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
  transition: all 0.2s ease;
}

.offerwall-tip-box:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(22, 32, 56, 0.8);
}

/* Compact Offerwall Network Tiles */
/* Premium Partner Offerwall Cards */
.partner-network-card {
  background: linear-gradient(180deg, #111a2f 0%, #0b111e 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
}

.partner-network-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(var(--brand-rgb, 99, 102, 241), 0.8);
  opacity: 0.8;
  transition: opacity 0.25s ease, height 0.25s ease;
}

.partner-network-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(var(--brand-rgb, 99, 102, 241), 0.5) !important;
  box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.7), 0 0 20px rgba(var(--brand-rgb, 99, 102, 241), 0.25) !important;
  text-decoration: none !important;
}

.partner-network-card:hover::before {
  height: 4px;
  opacity: 1;
}

.partner-logo-container {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #080d17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease;
}

.partner-network-card:hover .partner-logo-container {
  transform: scale(1.06);
  border-color: rgba(var(--brand-rgb, 99, 102, 241), 0.4);
}

.partner-logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-launch-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.84rem;
  border-radius: 10px;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.22s ease;
  width: 100%;
  min-height: 40px;
}

.partner-network-card:hover .partner-launch-btn {
  background: rgba(var(--brand-rgb, 59, 130, 246), 0.22);
  border-color: rgba(var(--brand-rgb, 59, 130, 246), 0.72);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(var(--brand-rgb, 59, 130, 246), 0.28);
}

.partner-network-grid > [class*="col-"] {
  min-width: 0;
}

.partner-network-card:hover .partner-launch-btn i.fa-arrow-right {
  transform: translateX(4px);
}

/* VieFaucet Style Featured Offer Card (Compact, Modern, & High-Conversion) */
.viefaucet-offer-card {
  background: linear-gradient(180deg, #131c33 0%, #0c1322 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  padding: 9px 9px 10px !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none !important;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.viefaucet-offer-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(99, 102, 241, 0.55) !important;
  box-shadow: 0 12px 26px -4px rgba(0, 0, 0, 0.75), 0 0 16px rgba(99, 102, 241, 0.3) !important;
  text-decoration: none !important;
}

.viefaucet-offer-card:active {
  transform: scale(0.96) !important;
  transition: transform 0.1s ease !important;
}

.viefaucet-offer-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #070a14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
  padding: 2px;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

.viefaucet-offer-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.viefaucet-offer-card:hover .viefaucet-offer-img-box img {
  transform: scale(1.06);
}

.viefaucet-offer-title {
  color: #f8fafc !important;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  letter-spacing: -0.1px;
}

.viefaucet-offer-os {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  margin-bottom: 6px;
  color: #94a3b8;
  min-height: 16px;
}

.viefaucet-offer-os i.fab.fa-android {
  color: #4ade80;
}

.viefaucet-offer-os i.fab.fa-apple {
  color: #f1f5f9;
}

.viefaucet-offer-os i.fas.fa-desktop {
  color: #38bdf8;
}

/* VieFaucet Dedicated Gold Reward Chip */
.viefaucet-offer-reward {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(217, 119, 6, 0.22) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 8px;
  padding: 4px 6px;
  font-weight: 800;
  font-size: 0.8rem;
  color: #fef08a;
  width: 100%;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.viefaucet-offer-reward i {
  color: #f59e0b;
  margin-right: 4px;
  font-size: 0.78rem;
  filter: drop-shadow(0 1px 3px rgba(245, 158, 11, 0.6));
}

.viefaucet-offer-card:hover .viefaucet-offer-reward {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, rgba(217, 119, 6, 0.38) 100%);
  border-color: rgba(245, 158, 11, 0.6);
  color: #ffffff;
}

/* Horizontal Scroll Track & Slider Controls */
.featured-slider-wrapper {
  position: relative;
  width: 100%;
}

.featured-scroll-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 4px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  user-select: none;
  -webkit-user-select: none;
}

.featured-scroll-track::-webkit-scrollbar {
  display: none;
}

.featured-slider-item {
  flex: 0 0 134px;
  width: 134px;
  min-width: 134px;
  scroll-snap-align: start;
}

/* Header-based Slider Navigation Arrows (Clean, Non-obstructive) */
.slider-header-arrow {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 11px;
  outline: none !important;
  padding: 0;
}

.slider-header-arrow:hover {
  background: #3b82f6;
  border-color: #60a5fa;
  color: #ffffff;
  transform: scale(1.05);
}

.slider-header-arrow:active {
  transform: scale(0.92);
}

.slider-nav-btn {
  display: none !important;
}

/* Mobile Responsive Optimization (Mobile Vie View) */
@media (max-width: 767.98px) {
  .featured-slider-item {
    flex: 0 0 120px;
    width: 120px;
    min-width: 120px;
  }
  .featured-scroll-track {
    gap: 10px;
    padding: 4px 2px 10px;
  }
  .viefaucet-offer-card {
    border-radius: 14px !important;
    padding: 7px 7px 8px !important;
  }
  .viefaucet-offer-img-box {
    border-radius: 10px;
    margin-bottom: 5px;
  }
  .viefaucet-offer-img-box img {
    border-radius: 8px;
  }
  .viefaucet-offer-title {
    font-size: 0.74rem !important;
    margin-bottom: 3px;
  }
  .viefaucet-offer-os {
    gap: 5px;
    font-size: 0.68rem;
    margin-bottom: 5px;
    min-height: 14px;
  }
  .viefaucet-offer-reward {
    font-size: 0.75rem !important;
    padding: 3px 5px !important;
    border-radius: 7px !important;
  }
  .viefaucet-offer-reward i {
    font-size: 0.7rem;
  }
  .partner-network-card {
    padding: 14px 14px !important;
    border-radius: 14px !important;
    margin-bottom: 10px !important;
  }
  .partner-logo-container {
    width: 44px !important;
    height: 44px !important;
    padding: 6px !important;
    border-radius: 10px !important;
  }
  .partner-launch-btn {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 480px) {
  .featured-slider-item {
    flex: 0 0 114px;
    width: 114px;
    min-width: 114px;
  }
  .featured-scroll-track {
    gap: 8px;
  }
}

/* Featured Offer Dynamic Details Modal (Must be strictly above .modal-backdrop at z-index 1100) */
#featuredOfferDynamicModal {
  z-index: 1150 !important;
}

#featuredOfferDynamicModal.show {
  z-index: 1150 !important;
}

#featuredOfferDynamicModal .modal-dialog {
  z-index: 1151 !important;
  position: relative !important;
  max-width: 520px;
  margin: 1.75rem auto;
}

#featuredOfferDynamicModal .modal-content {
  z-index: 1152 !important;
  position: relative !important;
  pointer-events: auto !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.95), 0 0 30px rgba(59, 130, 246, 0.15) !important;
}

.modal-backdrop {
  z-index: 1100 !important;
}

.modal-backdrop.show {
  z-index: 1100 !important;
  opacity: 0.65 !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

@media (max-width: 576px) {
  #featuredOfferDynamicModal .modal-dialog {
    margin: 0.5rem auto !important;
    width: calc(100% - 1rem) !important;
    max-width: 100% !important;
  }
  #featuredOfferDynamicModal .modal-content {
    border-radius: 18px !important;
  }
  #featuredOfferDynamicModal .modal-header {
    padding: 10px 14px !important;
  }
  #featuredOfferDynamicModal .modal-body {
    padding: 12px 14px !important;
  }
  #featuredOfferDynamicModal .modal-footer {
    padding: 10px 14px !important;
    gap: 8px !important;
  }
  #featuredOfferDynamicModal .modal-footer button,
  #featuredOfferDynamicModal .modal-footer a {
    padding: 10px 12px !important;
    font-size: 0.84rem !important;
  }
  #modalOfferTitle {
    font-size: 0.95rem !important;
  }
  #modalOfferReward {
    font-size: 1.45rem !important;
  }
  #modalOfferDescription {
    font-size: 0.78rem !important;
    max-height: 115px !important;
  }
}

/* Offerwall FAQ & Guidelines Question Style */
.offer-faq-container {
  background: #0d1322 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 20px 22px !important;
}

.offer-faq-card {
  background: #111827 !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 12px !important;
  margin-bottom: 10px !important;
  overflow: hidden;
  transition: all 0.2s ease !important;
}

.offer-faq-card:hover {
  border-color: rgba(99, 102, 241, 0.35) !important;
  background: #131d31 !important;
}

.offer-faq-btn {
  width: 100%;
  text-align: left;
  padding: 12px 16px !important;
  background: transparent !important;
  border: none !important;
  color: #f1f5f9 !important;
  font-weight: 600;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.offer-faq-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

.offer-faq-btn .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-right: 10px;
  flex-shrink: 0;
}

.offer-faq-btn .faq-chevron {
  font-size: 0.72rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.offer-faq-btn[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: #60a5fa;
}

.offer-faq-body {
  padding: 0 16px 14px 54px !important;
  color: #94a3b8 !important;
  font-size: 0.82rem;
  line-height: 1.6;
}

@media (max-width: 767.98px) {
  .offer-faq-container {
    padding: 14px 12px !important;
  }
  .offer-faq-body {
    padding: 0 14px 12px 14px !important;
  }
}

/* ==========================================================================
   GRIFFINSGIGS ADMIN PANEL EXECUTIVE DESIGN SYSTEM
   ========================================================================== */

/* Admin Body & Base Background */
body[data-sidebar="dark"] {
  background-color: #060911 !important;
  color: #e2e8f0;
}

/* Admin Topbar */
body[data-sidebar="dark"] #page-topbar {
  background: #080d18 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.admin-brand-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 8px;
}

.admin-shortcut-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1 !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.admin-shortcut-btn:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   Universal Sleek Modern Sidebar Design (Floating Pills & Clean Badges)
   ========================================================================== */
.vertical-menu,
body[data-sidebar="dark"] .vertical-menu {
  background: #090e1a !important;
  border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
}

#sidebar-menu,
body[data-sidebar="dark"] #sidebar-menu {
  padding: 10px 0 30px 0 !important;
}

#sidebar-menu ul,
body[data-sidebar="dark"] #sidebar-menu ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#sidebar-menu ul li,
body[data-sidebar="dark"] #sidebar-menu ul li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

#sidebar-menu ul li.menu-title,
#sidebar-menu .menu-title,
.vertical-menu .menu-title,
body[data-sidebar="dark"] #sidebar-menu ul li.menu-title,
body[data-sidebar="dark"] .menu-title {
  color: #64748b !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  padding: 22px 20px 8px 24px !important;
  margin: 0 !important;
  display: block !important;
}

#sidebar-menu ul li a,
body[data-sidebar="dark"] #sidebar-menu ul li a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  padding: 9px 14px !important;
  margin: 2px 10px !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  text-decoration: none !important;
  position: relative !important;
  transform: none !important;
  transition: all 0.15s ease !important;
}

#sidebar-menu ul li a i,
body[data-sidebar="dark"] #sidebar-menu ul li a i {
  color: #64748b !important;
  font-size: 0.95rem !important;
  width: 22px !important;
  min-width: 22px !important;
  margin-right: 12px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
  transition: color 0.15s ease !important;
}

#sidebar-menu ul li a > span:first-of-type,
#sidebar-menu ul li a > span:not(.sidebar-badge):not(.badge),
body[data-sidebar="dark"] #sidebar-menu ul li a > span:not(.sidebar-badge):not(.badge) {
  flex-grow: 1 !important;
  flex-shrink: 1 !important;
  white-space: nowrap !important;
  text-align: left !important;
}

#sidebar-menu ul li a:hover,
body[data-sidebar="dark"] #sidebar-menu ul li a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
}

#sidebar-menu ul li a:hover i,
body[data-sidebar="dark"] #sidebar-menu ul li a:hover i {
  color: #60a5fa !important;
}

#sidebar-menu ul li.mm-active > a,
#sidebar-menu ul li a.active,
#sidebar-menu ul li a[data-active="true"],
body[data-sidebar="dark"] #sidebar-menu ul li.mm-active > a,
body[data-sidebar="dark"] #sidebar-menu ul li a.active,
body[data-sidebar="dark"] #sidebar-menu ul li a[data-active="true"] {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22) 0%, rgba(37, 99, 235, 0.1) 100%) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.18) !important;
  font-weight: 600 !important;
}

#sidebar-menu ul li.mm-active > a i,
#sidebar-menu ul li a.active i,
#sidebar-menu ul li a[data-active="true"] i,
body[data-sidebar="dark"] #sidebar-menu ul li.mm-active > a i,
body[data-sidebar="dark"] #sidebar-menu ul li a.active i,
body[data-sidebar="dark"] #sidebar-menu ul li a[data-active="true"] i {
  color: #60a5fa !important;
}

/* ==========================================================================
   Ultra-Modern Responsive Sidebar Badges (SaaS / Web3 Grade)
   ========================================================================== */
#sidebar-menu .sidebar-badge,
.sidebar-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  line-height: 18px !important;
  text-align: center !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.22) 0%, rgba(16, 185, 129, 0.12) 100%) !important;
  color: #4ade80 !important;
  border: 1px solid rgba(74, 222, 128, 0.4) !important;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
  letter-spacing: 0 !important;
  transition: all 0.2s ease !important;
}

#sidebar-menu ul li a:hover .sidebar-badge,
#sidebar-menu ul li a:hover .sidebar-badge.has-count {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.35) 0%, rgba(16, 185, 129, 0.2) 100%) !important;
  border-color: rgba(74, 222, 128, 0.6) !important;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.4) !important;
  transform: scale(1.08);
}

#sidebar-menu .sidebar-badge.has-count,
.sidebar-badge.has-count {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(16, 185, 129, 0.15) 100%) !important;
  color: #4ade80 !important;
  border: 1px solid rgba(74, 222, 128, 0.45) !important;
}

#sidebar-menu .sidebar-badge.is-lock,
.sidebar-badge.is-lock {
  width: auto !important;
  min-width: 24px !important;
  padding: 0 7px !important;
  border-radius: 9999px !important;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.1) 100%) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(251, 191, 36, 0.35) !important;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.15) !important;
  font-size: 0.68rem !important;
}

#sidebar-menu ul li ul.sub-menu,
body[data-sidebar="dark"] #sidebar-menu ul li ul.sub-menu {
  background: rgba(0, 0, 0, 0.25) !important;
  border-radius: 8px !important;
  margin: 4px 10px !important;
  padding: 6px 0 !important;
  list-style: none !important;
}

#sidebar-menu ul li ul.sub-menu li a,
body[data-sidebar="dark"] #sidebar-menu ul li ul.sub-menu li a {
  padding: 7px 12px 7px 32px !important;
  font-size: 0.82rem !important;
  margin: 1px 4px !important;
  border-radius: 6px !important;
}

/* Far-Right Aligned Dropdown Chevrons */
#sidebar-menu .has-arrow:after,
body[data-sidebar="dark"] #sidebar-menu .has-arrow:after {
  content: "\F0140" !important;
  font-family: "Material Design Icons" !important;
  display: inline-block !important;
  float: none !important;
  margin-left: auto !important;
  font-size: 0.95rem !important;
  color: #64748b !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

#sidebar-menu li.mm-active > a.has-arrow:after,
body[data-sidebar="dark"] #sidebar-menu li.mm-active > a.has-arrow:after {
  transform: rotate(-180deg) !important;
  color: #60a5fa !important;
}

/* ==========================================================================
   Custom Minimalist SimpleBar Scrollbar System
   ========================================================================== */
.simplebar-track.simplebar-vertical {
  width: 4px !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 9999px !important;
  z-index: 99 !important;
}

.simplebar-track.simplebar-horizontal {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
}

.simplebar-scrollbar {
  right: 0 !important;
  width: 4px !important;
}

.simplebar-scrollbar:before {
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 9999px !important;
  left: 0 !important;
  right: 0 !important;
  top: 2px !important;
  bottom: 2px !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease, background 0.2s ease !important;
}

.simplebar-track:hover .simplebar-scrollbar:before,
.simplebar-scrollbar.simplebar-visible:before {
  opacity: 0.75 !important;
  background: rgba(255, 255, 255, 0.3) !important;
}

.simplebar-scrollbar:hover:before {
  opacity: 1 !important;
  background: #3b82f6 !important;
}

/* Executive Admin Cards */
.admin-card {
  background: linear-gradient(180deg, #0e1626 0%, #0a0f1c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.25s ease !important;
  overflow: hidden;
  margin-bottom: 20px;
}

.admin-card-header {
  padding: 16px 20px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-card-title {
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
}

.admin-card-body {
  padding: 20px !important;
}

/* Executive Stat KPI Cards */
.admin-stat-card {
  background: linear-gradient(180deg, #10192c 0%, #0c1220 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.15);
}

.admin-stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  opacity: 0.8;
}

.admin-stat-card.stat-emerald::after { background: linear-gradient(90deg, #10b981, #34d399); }
.admin-stat-card.stat-amber::after { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.admin-stat-card.stat-rose::after { background: linear-gradient(90deg, #f43f5e, #fb7185); }
.admin-stat-card.stat-indigo::after { background: linear-gradient(90deg, #6366f1, #818cf8); }
.admin-stat-card.stat-cyan::after { background: linear-gradient(90deg, #06b6d4, #22d3ee); }

.admin-stat-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.admin-stat-lbl {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.admin-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Action Attention Cards */
.admin-action-card {
  background: #0f1627;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
}

.admin-action-card:hover {
  background: #131c31;
  border-color: rgba(255, 255, 255, 0.16);
}

/* Modern Admin Tables */
.admin-table-container {
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.admin-table {
  width: 100%;
  margin-bottom: 0 !important;
  color: #cbd5e1 !important;
}

.admin-table thead th {
  background: rgba(255, 255, 255, 0.03) !important;
  color: #94a3b8 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: none !important;
}

.admin-table tbody td {
  padding: 14px 16px !important;
  font-size: 0.85rem !important;
  vertical-align: middle !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-top: none !important;
}

.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025) !important;
}

/* Form Controls in Admin */
.admin-form-group {
  margin-bottom: 18px;
}

.admin-form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
  display: block;
}

.card-outline.card-primary,
.card-outline.card-info,
.card-outline.card-warning,
.card-outline.card-danger,
.card-outline.card-success {
  background: linear-gradient(180deg, #0e1626 0%, #0a0f1c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
  margin-bottom: 24px;
}

.card-outline .card-header {
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 14px 20px !important;
}

.card-outline .card-title {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}

.card-outline .card-body {
  padding: 20px !important;
}

.card-outline .form-control {
  background: #080c16 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
}

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

.card-outline label {
  color: #cbd5e1 !important;
  font-size: 0.83rem !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
}

.input-group-text {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
}

/* Admin Breadcrumb Bar */
.admin-breadcrumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.admin-page-heading {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

@media (max-width: 767.98px) {
  .admin-page-heading {
    font-size: 1.2rem;
  }
  .admin-stat-val {
    font-size: 1.4rem;
  }
}



/* Custom File Pickers & Modern Uploaders */
.custom-file {
  position: relative;
  display: block;
  width: 100%;
  height: 44px;
}
.custom-file-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 44px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.custom-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 44px;
  padding: 10px 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #94a3b8 !important;
  background-color: rgba(18, 26, 44, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-file-label::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  color: #ffffff !important;
  content: "Browse" !important;
  background: rgba(30, 41, 59, 0.9) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0 10px 10px 0 !important;
  font-weight: 600;
  font-size: 0.85rem;
}
.custom-file-input:focus ~ .custom-file-label {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
}

/* Global Form Placeholders */
::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}
::-webkit-input-placeholder {
  color: #64748b !important;
}
::-moz-placeholder {
  color: #64748b !important;
}
:-ms-input-placeholder {
  color: #64748b !important;
}

/* ==========================================================================
   UNIVERSAL ULTRA HIGH-CONTRAST BADGES & STATUS CHIPS (DARK THEME COMPATIBLE)
   ========================================================================== */
.badge,
.nav-tabs .badge,
.nav-link .badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  border-radius: 6px !important;
  padding: 3px 8px !important;
  line-height: 1.3 !important;
  text-shadow: none !important;
  font-size: 0.78rem !important;
}

.badge-primary,
.nav-tabs .nav-link .badge-primary,
.nav-tabs .nav-link.active .badge-primary {
  background-color: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid #60a5fa !important;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4) !important;
}

.badge-success,
.nav-tabs .nav-link .badge-success,
.nav-tabs .nav-link.active .badge-success {
  background-color: #059669 !important;
  color: #ffffff !important;
  border: 1px solid #34d399 !important;
  box-shadow: 0 0 10px rgba(5, 150, 105, 0.4) !important;
}

.badge-warning,
.nav-tabs .nav-link .badge-warning,
.nav-tabs .nav-link.active .badge-warning {
  background-color: #d97706 !important;
  color: #ffffff !important;
  border: 1px solid #fbbf24 !important;
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.4) !important;
}

.badge-danger,
.nav-tabs .nav-link .badge-danger,
.nav-tabs .nav-link.active .badge-danger {
  background-color: #dc2626 !important;
  color: #ffffff !important;
  border: 1px solid #f87171 !important;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.4) !important;
}

.badge-info,
.nav-tabs .nav-link .badge-info,
.nav-tabs .nav-link.active .badge-info {
  background-color: #0891b2 !important;
  color: #ffffff !important;
  border: 1px solid #22d3ee !important;
  box-shadow: 0 0 10px rgba(8, 145, 178, 0.4) !important;
}

.badge-secondary,
.nav-tabs .nav-link .badge-secondary,
.nav-tabs .nav-link.active .badge-secondary {
  background-color: #475569 !important;
  color: #ffffff !important;
  border: 1px solid #94a3b8 !important;
}

.badge-dark,
.nav-tabs .nav-link .badge-dark,
.nav-tabs .nav-link.active .badge-dark {
  background-color: #1e293b !important;
  color: #ffffff !important;
  border: 1px solid #64748b !important;
}

.badge-light,
.nav-tabs .nav-link .badge-light,
.nav-tabs .nav-link.active .badge-light {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #ffffff !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   MOBILE & ALL-DEVICE RESPONSIVE ENHANCEMENTS
   ========================================================================== */
@media (max-width: 768px) {
  /* Scrollable Navigation Tabs */
  .admin-card-header .nav-tabs,
  .nav-tabs-responsive {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .admin-card-header .nav-tabs::-webkit-scrollbar,
  .nav-tabs-responsive::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  .admin-card-header .nav-tabs .nav-item {
    flex: 0 0 auto !important;
  }
  .admin-card-header .nav-tabs .nav-link {
    white-space: nowrap !important;
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
  }

  /* Compact Admin Stat Cards */
  .admin-stat-card {
    padding: 14px !important;
  }
  .admin-stat-val {
    font-size: 1.3rem !important;
  }
  .admin-stat-lbl {
    font-size: 0.72rem !important;
  }
  .admin-stat-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
  }

  /* Submission Proofs Mobile Cards */
  .mobile-submission-card {
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    padding: 14px !important;
    margin-bottom: 12px !important;
  }

  /* Table padding */
  .admin-card-body {
    padding: 14px !important;
  }
}

/* ==========================================================================
   SEGMENTED DARK TAB NAVIGATION PILLS & CHIPS
   ========================================================================== */
.admin-segmented-tabs-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.admin-segmented-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.admin-segmented-tabs {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 4px !important;
  gap: 4px;
}

.admin-segmented-tabs .nav-item {
  flex: 0 0 auto;
}

.admin-segmented-tabs .nav-link {
  display: flex !important;
  align-items: center !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  background: transparent !important;
}

.admin-segmented-tabs .nav-link:hover {
  color: #f1f5f9 !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.admin-segmented-tabs .nav-link.active {
  background: #1e293b !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.admin-segmented-tabs #tab-link-pending.active {
  border-left: 3px solid #3b82f6 !important;
}

.admin-segmented-tabs #tab-link-disputes.active {
  border-left: 3px solid #f59e0b !important;
}

.admin-segmented-tabs #tab-link-reports.active {
  border-left: 3px solid #ef4444 !important;
}

/* Tab Count Chips */
.tab-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  line-height: 1.2;
}

.tab-chip-primary {
  background: #2563eb;
  color: #ffffff !important;
  border: 1px solid #60a5fa;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

.tab-chip-warning {
  background: #d97706;
  color: #ffffff !important;
  border: 1px solid #fbbf24;
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.4);
}

.tab-chip-danger {
  background: #dc2626;
  color: #ffffff !important;
  border: 1px solid #f87171;
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.4);
}

.user-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #94a3b8;
  margin-right: 10px;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.user-meta-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Flex Gap Utility Fallbacks */
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }

/* Fractional Spacing Utility Fallbacks */
.mr-0\.5 { margin-right: 0.125rem !important; }
.mr-1\.5 { margin-right: 0.375rem !important; }
.mr-2\.5 { margin-right: 0.625rem !important; }
.ml-0\.5 { margin-left: 0.125rem !important; }
.ml-1\.5 { margin-left: 0.375rem !important; }
.ml-2\.5 { margin-left: 0.625rem !important; }
.mb-1\.5 { margin-bottom: 0.375rem !important; }
.mb-2\.5 { margin-bottom: 0.625rem !important; }
.mb-3\.5 { margin-bottom: 0.875rem !important; }
.mt-0\.5 { margin-top: 0.125rem !important; }
.mt-1\.5 { margin-top: 0.375rem !important; }
.mt-2\.5 { margin-top: 0.625rem !important; }
.my-1\.5 { margin-top: 0.375rem !important; margin-bottom: 0.375rem !important; }
.my-2\.5 { margin-top: 0.625rem !important; margin-bottom: 0.625rem !important; }
.my-3\.5 { margin-top: 0.875rem !important; margin-bottom: 0.875rem !important; }
.p-3\.5 { padding: 0.875rem !important; }
.px-1\.5 { padding-left: 0.375rem !important; padding-right: 0.375rem !important; }
.px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.px-3\.5 { padding-left: 0.875rem !important; padding-right: 0.875rem !important; }
.py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }

/* Clean Mobile Touch Tabs for History & General Navigation */
.history-tab-scroll-wrapper {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
  gap: 8px;
}
.history-tab-scroll-wrapper::-webkit-scrollbar {
  display: none;
}
.history-tab-scroll-wrapper .nav-item {
  flex-shrink: 0;
}

.custom-filter-dropdown {
  position: relative;
  display: inline-block;
  min-width: 280px;
  max-width: 480px;
  flex: 0 1 auto;
}

.custom-filter-btn {
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  width: 100%;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.custom-filter-btn:hover,
.custom-filter-btn:focus,
.custom-filter-dropdown.show .custom-filter-btn {
  background: rgba(30, 41, 59, 0.95) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 6px 20px rgba(0, 0, 0, 0.35) !important;
}

.custom-filter-btn::after {
  display: none !important; /* Hide default bootstrap arrow */
}

.dropdown-chevron {
  transition: transform 0.25s ease;
}

.custom-filter-dropdown.show .dropdown-chevron {
  transform: rotate(180deg);
  color: #38bdf8 !important;
}

.filter-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.bg-primary-soft {
  background: rgba(59, 130, 246, 0.15) !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  color: #60a5fa !important;
}

.bg-warning-soft {
  background: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  color: #fbbf24 !important;
}

.bg-danger-soft {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  color: #f87171 !important;
}

.bg-success-soft {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #34d399 !important;
}

.custom-filter-menu {
  background: rgba(11, 15, 25, 0.98) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 14px !important;
  min-width: 380px !important;
  max-width: 100% !important;
  margin-top: 8px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 1050 !important;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.custom-filter-option {
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
  background: transparent !important;
  color: #e2e8f0 !important;
}

.custom-filter-option:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  transform: translateX(3px);
}

.custom-filter-option.active {
  background: rgba(30, 41, 59, 0.9) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.letter-spacing-1 {
  letter-spacing: 0.08em;
}

/* Micro-Tasks Desktop & Mobile Multi-Device Styling */
.tasks-stat-tile {
  background: #090d16;
  border: 1px solid #1a2233;
  border-radius: 10px;
  padding: 8px 14px;
  min-width: 130px;
}

.tasks-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tasks-stats-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tasks-button-pair {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-action {
  height: 40px;
  border-radius: 8px;
  white-space: nowrap;
}

.task-title-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.task-desc-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tasks-tab-scroll-wrapper {
  width: 100%;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0;
}

.tasks-tab-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.tasks-modern-tabs {
  display: flex;
  flex-wrap: nowrap;
  border-bottom: none !important;
  gap: 6px;
  margin-bottom: -1px;
}

.tasks-modern-tabs .nav-item {
  margin-bottom: 0;
}

.tasks-modern-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  color: #94a3b8;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  border-radius: 8px 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tasks-modern-tabs .nav-link:hover {
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.08);
}

.tasks-modern-tabs .nav-link.active {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border: 1px solid #1e293b !important;
  border-bottom: 2px solid #38bdf8 !important;
}

@media (max-width: 767.98px) {
  .tasks-header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 12px;
  }
  .tasks-stats-row {
    width: 100%;
    gap: 8px;
  }
  .tasks-stats-row .tasks-stat-tile {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 8px 10px;
  }
  .tasks-button-pair {
    width: 100%;
    gap: 8px;
    margin-top: 4px;
  }
  .tasks-button-pair .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .btn-header-action {
    width: 100% !important;
    margin-top: 4px;
  }
  .btn-task-action span {
    font-size: 12px;
  }
  .page-title-box {
    padding-bottom: 12px !important;
    margin-bottom: 8px !important;
  }
  .page-content {
    padding-top: calc(70px + 14px) !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* Enhanced mobile touch scrolling for tables */
.table-responsive {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #0c111c;
}
.table-responsive::-webkit-scrollbar {
  height: 6px;
}
.table-responsive::-webkit-scrollbar-track {
  background: #0c111c;
  border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* Task Perform Navigation & Mobile Perfection */
.task-perform-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.task-perform-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 575.98px) {
  .task-perform-top-nav {
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .task-perform-top-nav > a.btn {
    width: 100% !important;
    justify-content: center;
  }
  .task-perform-nav-actions {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
  }
  .task-perform-nav-actions .btn {
    flex: 1 !important;
    justify-content: center;
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 11.5px !important;
  }
  .task-perform-countdown-box {
    background: #090d16 !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
  }
}

/* ============================================================== */
/* TASK PERFORM STEP 1 TARGET LINK BOX */
/* ============================================================== */
.task-step1-content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
}

.task-step1-info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.task-step1-link {
  color: #60a5fa !important;
  font-size: 12.5px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
}

.task-step1-link:hover {
  color: #93c5fd !important;
  text-decoration: underline !important;
}

.task-step1-url-text {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  display: inline-block !important;
  max-width: 100% !important;
  vertical-align: middle !important;
}

.task-step1-action {
  flex: 0 0 auto !important;
}

.task-step1-btn {
  height: 42px !important;
  padding: 0 24px !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px -2px rgba(59, 130, 246, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 575.98px) {
  .task-step1-content {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .task-step1-action {
    width: 100% !important;
  }
  .task-step1-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .task-step1-url-text {
    white-space: normal !important;
    word-break: break-all !important;
  }
}

/* ============================================================== */
/* PROFESSIONAL AD CONTAINER & RESPONSIVE BILLBOARD STYLING       */
/* ============================================================== */
.ads, .left-ads, .right-ads, .aads-banner-wrap, [id^="frame"] {
  position: relative !important;
  z-index: 1 !important;
  isolation: isolate !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto;
}

.ads iframe,
.ads img,
.ads svg,
.ads canvas,
.left-ads iframe,
.right-ads iframe,
.aads-banner-wrap iframe,
[id^="frame"] iframe {
  position: relative !important;
  z-index: 1 !important;
  max-width: 100% !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ============================================================== */
/* STRICT STACKING HIERARCHY: TOPBAR, DROPDOWNS & MODALS ON TOP   */
/* ============================================================== */
#page-topbar {
  z-index: 1040 !important;
  position: fixed !important;
}

.navbar-header {
  position: relative !important;
  z-index: 1041 !important;
}

.navbar-header .dropdown {
  position: relative !important;
  z-index: 1042 !important;
}

.dropdown-menu,
.navbar-header .dropdown-menu,
#page-header-notifications-dropdown + .dropdown-menu,
#page-header-user-dropdown + .dropdown-menu {
  z-index: 1090 !important;
  position: absolute !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75) !important;
}

.vertical-menu {
  z-index: 1035 !important;
}

/* Keep the mobile drawer above its backdrop so links receive touch events. */
@media (max-width: 991.98px) {
  .vertical-menu,
  body.sidebar-enable .vertical-menu {
    z-index: 1050 !important;
    pointer-events: auto !important;
    touch-action: pan-y;
  }

  .vertical-menu .simplebar-wrapper,
  .vertical-menu .simplebar-mask,
  .vertical-menu .simplebar-content-wrapper,
  .vertical-menu .simplebar-content,
  .vertical-menu #sidebar-menu,
  .vertical-menu #side-menu,
  .vertical-menu a,
  .vertical-menu button {
    pointer-events: auto !important;
  }

  .sidebar-backdrop,
  body.sidebar-enable .sidebar-backdrop {
    z-index: 1040 !important;
  }
}

.modal-backdrop {
  z-index: 1100 !important;
}

.modal {
  z-index: 1110 !important;
}

/* Scope survey sizing to CPX's one-row component, not its survey modal. */
#cpx-dashboard-widget #onerow { min-width: 0 !important; }
#cpx-dashboard-widget .cpx_uqnxd_80 {
  padding: 0 !important;
  height: auto !important;
  overflow-x: auto !important;
  scrollbar-width: thin;
}
#cpx-dashboard-widget .cpx_uqnxd_81 {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 12px;
  padding: 4px 0 10px;
}
#cpx-dashboard-widget .cpx_uqnxd_83 {
  flex: 0 0 160px !important;
  width: 160px !important;
  height: 120px !important;
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid #263449;
  border-radius: 12px !important;
  text-align: center;
}
#cpx-dashboard-widget .cpx_uqnxd_85 {
  font-size: 20px !important;
  line-height: 26px !important;
  white-space: nowrap;
  color: #6ee7b7 !important;
}
#cpx-dashboard-widget .cpx_uqnxd_86 { margin: 0 !important; line-height: 16px !important; }
#cpx-dashboard-widget .cpx_uqnxd_87 { justify-content: center; margin: 5px 0 !important; }
#cpx-dashboard-widget .cpx_uqnxd_84 { transform: none !important; margin: 0 !important; }
#cpx-dashboard-widget .cpx_uqnxd_84 svg { width: 14px !important; height: 14px !important; flex: 0 0 14px; }

/* Keep member menus inside the viewport regardless of Popper offsets. */
@media (max-width: 991.98px) {
  #page-topbar .navbar-header .dropdown-menu {
    position: fixed !important;
    top: 76px !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: min(360px, calc(100vw - 24px)) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 92px);
    overflow-y: auto !important;
    margin: 0 !important;
  }
  #page-topbar .navbar-header .dropdown-menu .flex-grow-1 {
    min-width: 0;
  }
}

@media (max-width: 575.98px) {
  .ads, .aads-banner-wrap {
    padding: 0 4px;
    margin-bottom: 12px !important;
  }
}
