/* ============================================
   GreyHub X - Global Styles
   Color Palette: Sky Blue Theme
   ============================================ */

/* CSS Variables */
:root {
  --primary: #3B82F6;
  --primary-dark: #1E40AF;
  --primary-light: #60A5FA;
  --accent: #06B6D4;
  --bg-dark: #0B1120;
  --bg-card: #111827;
  --bg-card-hover: #1F2937;
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border-color: rgba(59, 130, 246, 0.2);
  --accent-red: #EF4444;
  --accent-red-light: #F87171;
  --gradient-primary: linear-gradient(135deg, #3B82F6, #06B6D4);
  --gradient-red: linear-gradient(135deg, #EF4444, #F97316);
  --gradient-red-blue: linear-gradient(135deg, #EF4444, #EC4899, #8B5CF6);
  --gradient-bg: linear-gradient(180deg, #0B1120 0%, #0F172A 50%, #0B1120 100%);
  --shadow-blue: 0 4px 30px rgba(59, 130, 246, 0.15);
  --shadow-blue-lg: 0 8px 40px rgba(59, 130, 246, 0.25);
  --shadow-red: 0 4px 20px rgba(239, 68, 68, 0.2);
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Kanit', 'Segoe UI', sans-serif;
  background: radial-gradient(circle at center, #005b96 0%, #011f38 50%, #00060e 100%) fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* Fix mobile scrolling lag */
@media (max-width: 768px) {
  html {
    scroll-behavior: auto !important;
  }
  body {
    background-attachment: scroll !important;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  transition: all 0.3s ease;
  padding: 0 20px;
}

.header.scrolled {
  top: 10px;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0 24px;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: none;
  transition: all 0.3s ease;
}

.header.scrolled .container {
  background: rgba(11, 17, 32, 0.75);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header .nav-cta .btn {
  background: #FFFFFF;
  color: #111827;
  border-radius: 50px;
  padding: 10px 24px;
  box-shadow: none;
}

.header .nav-cta .btn:hover {
  background: #F3F4F6;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.logo img {
  height: 48px !important;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 1)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
  transition: all 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1)) drop-shadow(0 0 20px rgba(255, 255, 255, 1));
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.logo-text span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.1);
}

.nav-menu a.active {
  color: #fff;
  background: transparent;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 3px;
  background: linear-gradient(45deg, #3B82F6, #06B6D4, #EF4444, #3B82F6);
  background-size: 300% 300%;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
  animation: navUnderlineGlow 2.5s infinite alternate, gradientShift 4s ease infinite;
}

@keyframes navUnderlineGlow {
  0% { box-shadow: 0 0 5px rgba(239, 68, 68, 0.4); width: 40%; }
  100% { box-shadow: 0 0 15px rgba(6, 182, 212, 0.8); width: 70%; }
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-lg);
}

.btn i.ri-rocket-2-fill {
  display: inline-block;
  animation: float-rocket 1.5s ease-in-out infinite;
}

@keyframes float-rocket {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(15deg) scale(1.05); }
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(59, 130, 246, 0.1);
}

.btn-telegram {
  background: linear-gradient(135deg, #2AABEE, #229ED9) !important;
  color: #fff !important;
}

.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
}

.btn-line {
  background: linear-gradient(135deg, #00C300, #009900) !important;
  color: #fff !important;
}

.btn-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 185, 0, 0.4);
}

.header-cta .btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Use official LINE SVG for all line icons EXCEPT the stylized contact block */
:not(.contact-icon) > .ri-line-fill::before,
:not(.contact-icon) > .ri-line-line::before {
  content: "" !important;
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  background-image: url('../images/line-logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn i {
  font-size: 1.15rem;
  line-height: 1;
}

.btn-lg i {
  font-size: 1.25rem;
}

/* Formula meta icons */
.formula-meta i {
  font-size: 0.9rem;
  color: var(--primary-light);
}

/* Badge icons */
.formula-badge i {
  font-size: 0.7rem;
  vertical-align: middle;
  margin-right: 2px;
}

/* Hero badge icon */
.hero-badge i {
  font-size: 0.9rem;
  color: var(--primary-light);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 3px;
  margin-left: 8px;
}

.lang-switcher a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-switcher a i {
  font-size: 0.95rem;
}

/* Country flag images in lang switcher */
.flag-icon {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.lang-switcher a.active-lang {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.lang-switcher a:not(.active-lang):hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.lang-mobile {
  display: none;
}

/* Lang switcher & CTA inside mobile nav menu - hidden on desktop */
.lang-in-menu {
  display: none;
}

.nav-menu-bottom {
  display: none;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

/* Hero background slideshow */
.hero-slideshow {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroFade 5s infinite;
}
.hero-slide::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(5, 8, 18, 0.25) 0%, rgba(5, 8, 18, 0.55) 60%, rgba(5, 8, 18, 0.95) 100%);
}
.hero-slide:nth-child(1) {
  background-image: url('../images/background.jpg?v=3');
  animation-delay: 0s;
}
.hero-slide:nth-child(2) {
  background-image: url('../images/background 1.png?v=3');
  animation-delay: 2.5s;
}
@keyframes heroFade {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  50%  { opacity: 1; }
  60%  { opacity: 0; }
  100% { opacity: 0; }
}
.hero > .container {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
  animation: float 20s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, -2%) rotate(1deg); }
  66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title-wrapper {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.hero-title-wrapper h1 {
  margin-bottom: 0;
}

.rocket-fx {
  position: absolute;
  top: 50%;
  pointer-events: none;
  z-index: -1;
}

.rocket-fx-left {
  left: 0%;
  animation: rocket-path-left 2.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.rocket-fx-right {
  right: 0%;
  animation: rocket-path-right 2.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  animation-delay: 1.25s; /* Staggered */
}

.rocket-fx .ri-rocket-2-fill {
  font-size: 3rem;
  color: #EF4444; 
  position: absolute;
  top: 50%; left: 50%;
  text-shadow: 0 0 20px rgba(239, 68, 68, 1);
  -webkit-text-fill-color: #ef4444; 
}

.rocket-fx-left .ri-rocket-2-fill {
  animation: rocket-fade-left 2.5s ease infinite;
}

.rocket-fx-right .ri-rocket-2-fill {
  animation: rocket-fade-right 2.5s ease infinite;
  animation-delay: 1.25s;
}

.rocket-fx .aura {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(239,68,68,0.9) 0%, rgba(249,115,22,0.6) 30%, transparent 70%);
}

.rocket-fx-left .aura {
  animation: aura-burst 2.5s ease infinite;
}

.rocket-fx-right .aura {
  animation: aura-burst 2.5s ease infinite;
  animation-delay: 1.25s;
}

@keyframes rocket-path-left {
  0%   { transform: translate(50px, 0); }
  40%, 100% { transform: translate(-150px, -40px); }
}

@keyframes rocket-fade-left {
  0%   { opacity: 0; transform: translate(-50%, -50%) rotate(-60deg) scale(0.5); }
  10%, 35% { opacity: 1; transform: translate(-50%, -50%) rotate(-60deg) scale(1); }
  40%, 100% { opacity: 0; transform: translate(-50%, -50%) rotate(-60deg) scale(1.5); }
}

@keyframes rocket-path-right {
  0%   { transform: translate(-50px, 0); }
  40%, 100% { transform: translate(150px, -60px); }
}

@keyframes rocket-fade-right {
  0%   { opacity: 0; transform: translate(-50%, -50%) rotate(60deg) scale(0.5); }
  10%, 35% { opacity: 1; transform: translate(-50%, -50%) rotate(60deg) scale(1); }
  40%, 100% { opacity: 0; transform: translate(-50%, -50%) rotate(60deg) scale(1.5); }
}

@keyframes aura-burst {
  0%, 35% { width: 0; height: 0; opacity: 0; }
  38% { width: 40px; height: 40px; opacity: 1; }
  50% { width: 220px; height: 220px; opacity: 0; }
  100% { opacity: 0; }
}

.hero h1 .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Red Accent Text Styles */
.accent-red {
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-red-glow {
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
}

.accent-mixed {
  background: var(--gradient-red-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section header premium underline */
.section-header h2 {
  position: relative;
  padding-bottom: 12px;
  display: inline-block;
  background: linear-gradient(135deg, #EF4444 0%, #3B82F6 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.section-header h2 span {
  /* Override any inner span colors to inherit the parent gradient perfectly */
  -webkit-text-fill-color: transparent;
  background: inherit;
  background-clip: text;
  -webkit-background-clip: text;
}

.header-badge-icon {
  position: absolute;
  top: -15px;
  right: -30px;
  font-size: 1.8rem;
  background: none !important;
  color: #FBBF24;
  -webkit-text-fill-color: #FBBF24;
  text-shadow: 0 0 15px rgba(251, 191, 36, 0.8);
  animation: float-sparkle 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
}

.header-badge-icon.fire {
  color: #ef4444;
  -webkit-text-fill-color: #ef4444;
  text-shadow: 0 0 15px rgba(239, 68, 68, 0.8);
}

.header-badge-icon.crown {
  color: #fbbf24;
  -webkit-text-fill-color: #f59e0b;
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
}

@keyframes float-sparkle {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 1; }
  50% { transform: translateY(-5px) scale(1.1) rotate(10deg); opacity: 0.8; }
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-red);
  border-radius: 2px;
  animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
  0%, 100% { width: 60px; box-shadow: 0 0 8px rgba(239, 68, 68, 0.3); }
  50% { width: 90px; box-shadow: 0 0 18px rgba(239, 68, 68, 0.6); }
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
  transition: transform 0.3s ease;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  transition: left 0.6s ease;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* About Layout Customization */
.about-flex {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 40px 50px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.2);
}

.about-flex::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 75%, var(--accent-red) 90%, #ffaaaa 100%);
  transform: translate(-50%, -50%);
  animation: rotate-neon 4s linear infinite;
  z-index: 0;
}

.about-flex::after {
  content: '';
  position: absolute;
  inset: 3px; /* border thickness */
  background: var(--bg-card); 
  border-radius: 29px; 
  z-index: 1;
}

@keyframes rotate-neon {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.about-content {
  flex: 1.1;
  position: relative;
  z-index: 2;
}

.about-content .section-header {
  text-align: left;
  margin-bottom: 40px;
}

.about-content .section-header p {
  margin: 0;
}

.about-content .features-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  padding: 16px 20px !important;
}

.about-icon {
  width: 48px !important;
  height: 48px !important;
  margin-bottom: 0 !important;
  flex-shrink: 0 !important;
}

.about-icon i {
  font-size: 1.4rem !important;
}

.about-card-text h3 {
  font-size: 1.05rem !important;
  margin-bottom: 4px !important;
}

.about-card-text p {
  font-size: 0.85rem !important;
  margin-bottom: 0 !important;
  line-height: 1.4 !important;
}

.about-image-wrapper {
  flex: 0.9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  height: 100%;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-image {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
  transition: all 0.5s ease;
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .about-flex {
    flex-direction: column;
    padding: 24px;
  }
  .about-content .features-grid {
    grid-template-columns: 1fr;
  }
  .about-content .section-header {
    text-align: center;
  }
  .about-content .section-header p {
    margin: 0 auto;
  }
  .about-image {
    min-height: 300px;
  }
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .feature-icon {
  transform: rotateY(180deg) scale(1.1);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.feature-icon i {
  font-size: 1.6rem;
  line-height: 1;
  backface-visibility: hidden;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Slot Formula Cards */
.formula-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.formula-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.formula-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.formula-card-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.05));
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.formula-card-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.formula-card-header h3 i {
  font-size: 1.2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.formula-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-hot {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

.badge-new {
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
}

.badge-popular {
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary-light);
}

.formula-card-body {
  padding: 24px;
}

.formula-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.formula-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.formula-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.winrate-bar {
  height: 6px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.winrate-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 10px;
  transition: width 1s ease;
}

.winrate-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   REVIEW CARDS
   ============================================ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 260px;
  overflow: hidden;
}

.review-card:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-blue);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  background: #1a1a2e;
}

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

/* Premium review stars */
.review-stars i {
  color: #FBBF24;
  font-size: 0.8rem;
  margin-right: 1px;
}

.review-platform i {
  margin-right: 5px;
  color: var(--primary-light);
  font-size: 0.75rem;
}

.review-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
}

.review-info .review-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.review-stars {
  color: #FBBF24;
  font-size: 0.8rem;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.review-card p {
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

.review-platform {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue-lg);
}

.contact-icon {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.contact-icon i {
  font-size: 2.8rem;
  line-height: 1;
}

.contact-icon.telegram {
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.15), rgba(0, 172, 237, 0.1));
  color: #0088cc;
  border: 1px solid rgba(0, 136, 204, 0.2);
}

.contact-icon.line {
  background: linear-gradient(135deg, rgba(0, 185, 0, 0.15), rgba(0, 195, 0, 0.1));
  color: #00B900;
  border: 1px solid rgba(0, 185, 0, 0.2);
}

.contact-card:hover .contact-icon.telegram {
  background: linear-gradient(135deg, #0088cc, #00aced);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 136, 204, 0.3);
}

.contact-card:hover .contact-icon.line {
  background: linear-gradient(135deg, #00B900, #00C300);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(0, 185, 0, 0.3);
}

.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.faq-item.active {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.15);
  background: linear-gradient(135deg, var(--bg-card), rgba(59, 130, 246, 0.05));
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  background: none;
  border: none;
  color: var(--text-primary);
  width: 100%;
  text-align: left;
  font-family: inherit;
  gap: 16px;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(59, 130, 246, 0.05);
}

.faq-item.active .faq-question {
  color: var(--primary-light);
}

.faq-icon {
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: var(--primary-light);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--gradient-primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  border-left: 3px solid var(--primary);
  margin-left: 24px;
  margin-right: 24px;
  padding: 0 0 0 16px;
  margin-bottom: 20px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: transparent; /* Let body background show through */
  position: relative;
}

.cta-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(11, 17, 32, 0.95));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px;
  padding: 60px 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(59, 130, 246, 0.1) 25%, transparent 50%, rgba(239, 68, 68, 0.08) 75%, transparent 100%);
  animation: rotateCTA 8s linear infinite;
  z-index: 0;
}

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

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.15), 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta-box h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.cta-box p {
  color: #94A3B8;
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 30px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-cols-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-social a i {
  font-size: 1.3rem;
  line-height: 1;
}

.footer-social a:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a i {
  font-size: 1rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
}

.footer-col ul li a:hover i {
  opacity: 1;
}

/* Filter tab icons */
.filter-tab i {
  font-size: 0.85rem;
  margin-right: 2px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   PAGE HERO (Inner pages)
   ============================================ */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #EF4444 0%, #ffffff 40%, #3B82F6 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

/* Removed nested background-clip to fix Safari rendering bug */

.page-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary-light);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ============================================
   FILTER TABS
   ============================================ */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

/* Promo card heading red accent */
.promo-content h3 .accent-red {
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.35));
}

/* CTA box heading accent */
.cta-box h2 .accent-red {
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
}

/* Hero h1 accent sizing */
.hero h1 .accent-red {
  filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.5));
}

/* Section header accent animation on hover */
.section-header h2 .accent-red {
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

.section-header h2:hover .accent-red {
  filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.6));
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero-stats {
    gap: 30px;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .lang-mobile {
    display: flex;
    margin-left: 0;
    margin-right: 12px;
  }

  .lang-mobile a {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  /* Bottom section inside hamburger menu */
  .nav-menu-bottom {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    width: 100%;
  }

  .btn-menu-cta {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 0.95rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 195, 0, 0.3);
  }

  .lang-in-menu {
    display: flex;
    width: fit-content;
  }

  .hero {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 6px 16px;
    margin-bottom: 18px;
  }

  .vip-spacer-top {
    flex: 0 !important;
    display: none;
  }
  .vip-spacer-bottom {
    flex: 0 !important;
    display: none;
  }
  .vip-hero-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .vip-hero-container {
    min-height: auto !important;
    justify-content: flex-start !important;
    padding-top: 0 !important;
  }
  .hero:has(.vip-hero-container) {
    min-height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 20px !important;
  }
  .vip-hero-container .hero-stats {
    margin-top: 10px !important;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
  }

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

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

  /* Rocket effects - smaller on mobile */
  .rocket-fx {
    display: block;
  }

  .rocket-fx .ri-rocket-2-fill {
    font-size: 2rem;
  }

  @keyframes rocket-path-left {
    0%   { transform: translate(30px, 0); }
    40%, 100% { transform: translate(-80px, -25px); }
  }

  @keyframes rocket-path-right {
    0%   { transform: translate(-30px, 0); }
    40%, 100% { transform: translate(80px, -35px); }
  }

  @keyframes aura-burst {
    0%, 35% { width: 0; height: 0; opacity: 0; }
    38% { width: 25px; height: 25px; opacity: 1; }
    50% { width: 120px; height: 120px; opacity: 0; }
    100% { opacity: 0; }
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

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

  .review-card {
    height: 210px;
    padding: 12px;
  }

  .review-header {
    gap: 8px;
    margin-bottom: 6px;
  }

  .review-avatar {
    width: 28px;
    height: 28px;
  }

  .review-info h4 {
    font-size: 0.72rem;
  }

  .review-info .review-date {
    font-size: 0.6rem;
  }

  .review-stars {
    font-size: 0.65rem;
    margin-bottom: 4px;
  }

  .review-card p {
    font-size: 0.68rem;
    -webkit-line-clamp: 3;
  }

  .review-platform {
    font-size: 0.6rem;
    padding-top: 6px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-card {
    padding: 28px 20px;
  }

  .contact-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .contact-icon i {
    font-size: 2.2rem;
  }

  /* Bonus time cards */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Extra services grid */
  .extra-services-grid {
    gap: 16px;
    margin-top: 24px;
  }

  .service-promo-card {
    min-width: unset;
  }

  /* CTA */
  .cta-section {
    padding: 50px 0;
  }

  .cta-box {
    padding: 36px 24px;
    border-radius: 20px;
  }

  .cta-box h2 {
    font-size: 1.6rem;
  }

  .cta-box p {
    font-size: 0.95rem;
  }

  /* FAQ */
  .faq-question {
    padding: 16px 18px;
    font-size: 0.9rem;
  }

  .faq-answer p {
    padding: 0 18px 16px;
    font-size: 0.88rem;
  }

  /* Footer */
  .footer {
    padding: 40px 0 24px;
  }

  /* Marquee on mobile */
  .marquee-item {
    width: 85px;
    min-width: 85px;
    height: 85px;
    min-height: 85px;
    border-radius: 16px;
    padding: 12px;
  }

  .marquee-track {
    gap: 12px;
  }

  .marquee-container {
    gap: 12px;
  }

  /* About section on mobile */
  .about-flex {
    padding: 20px;
    gap: 24px;
  }

  .about-image {
    min-height: 220px;
  }

  .about-content .section-header {
    margin-bottom: 24px;
  }

  /* Page hero (inner pages) */
  .page-hero {
    padding: 110px 0 40px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  /* Modals */
  .vip-modal-content {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .vip-modal h3 {
    font-size: 1.25rem;
  }

  .vip-modal-desc {
    font-size: 0.88rem;
  }

  .pkg-modal-content {
    width: 92%;
    border-radius: 20px;
  }

  /* Formula grid */
  .formula-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }

  .formula-card-header {
    padding: 14px 16px;
  }

  .formula-card-body {
    padding: 16px;
  }
}

/* ============================================
   SMALL MOBILE (480px and below)
   ============================================ */

/* ============================================
   PREMIUM SECTION MODULE (COHESIVE THEME)
   ============================================ */
.section-light {
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1) 0%, var(--bg-dark) 80%);
  color: var(--text-primary);
  border-top: 1px solid rgba(59, 130, 246, 0.05);
}

.section-light .section-header h2 {
  color: var(--text-primary);
}

/* For the gradient text inside */
.section-light .section-header h2 .gradient-text {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* The red span inside header */
.section-light .section-header h2 .accent-red {
  color: var(--accent-red);
  text-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.section-light .section-header p {
  color: var(--text-secondary); 
}

/* Render promo cards properly on dark theme */
.section-light .service-promo-card {
  background: var(--bg-card);
  box-shadow: var(--shadow-blue); 
  border-color: var(--border-color);
}

/* ============================================
   EXTRA SERVICES (PROMO)
   ============================================ */
.extra-services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.service-promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(33.333% - 30px);
  min-width: 300px;
  max-width: 380px;
}

.service-promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}

.promo-img {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
}

.promo-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.service-promo-card:hover .promo-img img {
  transform: scale(1.03);
}

.promo-content {
  display: none;
}

.promo-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .service-promo-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}


@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .header {
    padding: 0 10px;
    top: 10px;
  }

  .header .container {
    padding: 0 14px;
    height: 56px;
  }

  .logo img {
    height: 36px !important;
  }

  .hero {
    padding-top: 85px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .rocket-fx .ri-rocket-2-fill {
    font-size: 1.5rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 14px;
    margin-top: 30px;
    padding-top: 24px;
  }

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

  .section {
    padding: 36px 0;
  }

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

  .section-header h2 {
    font-size: 1.55rem;
    padding-bottom: 10px;
  }

  .section-header h2::after {
    width: 45px;
    height: 3px;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  .header-badge-icon {
    font-size: 1.3rem;
    top: -10px;
    right: -22px;
  }

  /* About section */
  .about-flex {
    padding: 14px;
    gap: 18px;
    border-radius: 20px;
  }

  .about-flex::after {
    border-radius: 17px;
  }

  .about-image {
    min-height: 180px;
  }

  .about-card {
    padding: 12px 14px !important;
    gap: 12px !important;
  }

  .about-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .about-icon i {
    font-size: 1.1rem !important;
  }

  .about-card-text h3 {
    font-size: 0.92rem !important;
  }

  .about-card-text p {
    font-size: 0.78rem !important;
  }

  /* Bonus time cards */
  .features-grid .card {
    padding: 22px 16px !important;
  }

  .features-grid .card h3 {
    font-size: 1.15rem !important;
  }

  .features-grid .card div[style*="font-size: 3.5rem"] {
    font-size: 2.8rem !important;
    margin-bottom: 10px !important;
  }

  .features-grid .card div[style*="font-size: 2.2rem"] {
    font-size: 1.7rem !important;
  }

  /* Reviews */
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .review-card {
    height: 185px;
    padding: 10px;
  }

  .review-header {
    gap: 6px;
    margin-bottom: 5px;
  }

  .review-avatar {
    width: 24px;
    height: 24px;
  }

  .review-info h4 {
    font-size: 0.65rem;
  }

  .review-info .review-date {
    font-size: 0.55rem;
  }

  .review-stars {
    font-size: 0.58rem;
    margin-bottom: 3px;
  }

  .review-card p {
    font-size: 0.62rem;
    -webkit-line-clamp: 3;
  }

  .review-platform {
    font-size: 0.55rem;
    padding-top: 5px;
  }

  .review-platform i {
    font-size: 0.55rem;
    margin-right: 3px;
  }

  /* Extra services */
  .extra-services-grid {
    gap: 12px;
  }

  /* CTA */
  .cta-section {
    padding: 36px 0;
  }

  .cta-box {
    padding: 28px 18px;
    border-radius: 16px;
  }

  .cta-box h2 {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }

  .cta-box p {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Contact */
  .contact-card {
    padding: 24px 16px;
  }

  .contact-card h3 {
    font-size: 1.1rem;
  }

  .contact-card p {
    font-size: 0.85rem;
    margin-bottom: 18px;
    line-height: 1.6;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }

  .contact-icon i {
    font-size: 1.8rem;
  }

  /* FAQ */
  .faq-question {
    padding: 14px 14px;
    font-size: 0.85rem;
    gap: 8px;
  }

  .faq-answer p {
    padding: 0 14px 14px;
    font-size: 0.82rem;
  }

  /* Formula grid */
  .formula-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .formula-card-header {
    padding: 10px 12px;
  }

  .formula-card-header h3 {
    font-size: 0.9rem;
  }

  .formula-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
  }

  .formula-card-body {
    padding: 12px;
  }

  .formula-meta {
    gap: 10px;
    font-size: 0.78rem;
  }

  .formula-card-body p {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  /* Footer */
  .footer {
    padding: 30px 0 20px;
  }

  .footer-bottom {
    padding-top: 20px;
    font-size: 0.78rem;
  }

  /* Marquee */
  .marquee-item {
    width: 70px;
    min-width: 70px;
    height: 70px;
    min-height: 70px;
    border-radius: 14px;
    padding: 10px;
  }

  .marquee-track {
    gap: 10px;
  }

  .marquee-container {
    gap: 10px;
    padding: 10px 0;
  }

  .marquee-container::before, .marquee-container::after {
    width: 40px;
  }

  /* Modals */
  .pkg-modal-content {
    width: 94%;
    max-height: 85vh;
    border-radius: 18px;
  }

  .pkg-modal-header {
    padding: 24px 18px 16px;
  }

  .pkg-modal-header h2 {
    font-size: 1.15rem;
  }

  .pkg-modal-body {
    padding: 18px;
  }

  .pkg-features ul li {
    font-size: 0.88rem;
    padding-left: 28px;
  }

  .pkg-modal-footer {
    padding: 16px 18px;
  }

  .vip-modal-content {
    width: 94%;
    padding: 24px 16px;
    border-radius: 18px;
  }

  .vip-modal-icon {
    width: 56px;
    height: 56px;
    font-size: 2rem;
  }

  .vip-modal h3 {
    font-size: 1.15rem;
  }

  .vip-modal-desc {
    font-size: 0.82rem;
  }

  .vip-features-list {
    padding: 14px;
  }

  .vip-feature-item {
    font-size: 0.85rem;
  }

  /* Page hero */
  .page-hero {
    padding: 95px 0 30px;
  }

  .page-hero h1 {
    font-size: 1.75rem;
  }

  .page-hero p {
    font-size: 0.92rem;
  }

  /* Filter tabs (formula page) */
  .filter-tabs {
    gap: 6px;
    margin-bottom: 24px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-tab {
    padding: 6px 14px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Buttons */
  .btn-lg {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* ============================================
   PACKAGE MODAL 
   ============================================ */
.pkg-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.pkg-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.pkg-modal-content {
  position: relative;
  background: var(--bg-dark);
  width: 90%;
  max-width: 450px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-height: 90vh;
  z-index: 2;
  overflow: hidden;
}

.pkg-modal.active .pkg-modal-content {
  transform: translateY(0) scale(1);
}

.pkg-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.pkg-modal-close:hover {
  background: var(--accent-red);
  color: white;
  transform: rotate(90deg);
}

.pkg-modal-header {
  padding: 30px 24px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-card);
}

.pkg-modal-header h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.pkg-modal-header p {
  font-size: 0.95rem;
  margin: 0;
}

.pkg-modal-body {
  padding: 24px;
  overflow-y: auto;
}

.pkg-modal-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  display: none; /* Only show if image is set */
  background: var(--bg-card);
}

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

.pkg-features h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  text-align: center;
}

.pkg-features ul {
  list-style: none;
  padding: 0;
}

.pkg-features ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pkg-features ul li::before {
  content: '\eb7b'; /* Remix icon check-line */
  font-family: 'remixicon';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-red);
  font-size: 1.2rem;
}

.pkg-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-card);
}

/* ============================================
   VIP UNLOCK MODAL
   ============================================ */
.vip-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.vip-modal.active {
  visibility: visible;
  opacity: 1;
}

.vip-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(10px);
}

.vip-modal-content {
  position: relative;
  width: 90%;
  max-width: 450px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vip-modal.active .vip-modal-content {
  transform: translateY(0) scale(1);
}

.vip-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.05);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vip-modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
}

.vip-modal-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(234, 179, 8, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #eab308;
  font-size: 2.5rem;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.2);
}

.vip-modal h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.vip-modal-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.vip-features-list {
  text-align: left;
  background: rgba(0,0,0,0.2);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.02);
}

.vip-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
}

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

.vip-feature-item i {
  color: #22c55e;
  font-size: 1.2rem;
}

/* ============================================
   ANIMATED BACKGROUND & GLOW EFFECTS
   ============================================ */
.bg-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-color: transparent; /* Changed to let body gradient show */
}

body.home-page .bg-effects {
  background-image: none !important;
  background-color: transparent !important;
}

/* Base Blob Settings */
.blob {
  position: absolute;
  filter: blur(100px);
  opacity: 0.5;
  border-radius: 50%;
  animation: floatBlobs 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
  mix-blend-mode: color-dodge;
  will-change: transform;
}

/* Blue primary blob */
.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.7) 0%, rgba(6, 182, 212, 0.2) 70%, transparent 100%);
  animation-duration: 25s;
}

/* Deep Red/Orange accent blob */
.blob-2 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.5) 0%, rgba(249, 115, 22, 0.1) 70%, transparent 100%);
  animation-duration: 28s;
  animation-direction: alternate-reverse;
}

/* Purple subtle blob */
.blob-3 {
  top: 40%;
  left: 60%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(236, 72, 153, 0.1) 70%, transparent 100%);
  animation-duration: 22s;
  animation-delay: -5s;
}

/* Moving Grid Matrix */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  animation: gridMove 30s linear infinite;
  z-index: 1;
}

/* Keyframes */
@keyframes floatBlobs {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(10vw, -10vh) scale(1.1); }
  66% { transform: translate(-10vw, 15vh) scale(0.9); }
  100% { transform: translate(5vw, 5vh) scale(1.05); }
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* Specific body adjustment to let bg shine */
body {
  background: radial-gradient(circle at center, #004d80 0%, #001a33 50%, #00040a 100%) fixed !important;
}


/* ============================================
   PROVIDER LOGOS (HOME & FORMULA)
   ============================================ */

/* Infinite Provider Marquee */
.marquee-container {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
  margin-top: 15px;
  position: relative;
}
.marquee-container::before, .marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-color), transparent);
}
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-color), transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
}
.marquee-track.left {
  animation: scroll-left 40s linear infinite;
}
.marquee-track.right {
  animation: scroll-right 40s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 10px)); }
}
@keyframes scroll-right {
  from { transform: translateX(calc(-50% - 10px)); }
  to { transform: translateX(0); }
}

.marquee-item {
  width: 110px;
  min-width: 110px;
  height: 110px;
  min-height: 110px;
  flex-shrink: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  backdrop-filter: blur(10px);
  border: 2px solid #00ffcc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  animation: providerBorderGlow 2.5s infinite alternate ease-in-out;
}

@keyframes providerBorderGlow {
  0% { border-color: rgba(0, 255, 204, 0.8); box-shadow: 0 0 10px rgba(0, 255, 204, 0.4), inset 0 0 5px rgba(0, 255, 204, 0.2); }
  50% { border-color: rgba(255, 0, 255, 0.8); box-shadow: 0 0 20px rgba(255, 0, 255, 0.6), inset 0 0 10px rgba(255, 0, 255, 0.3); }
  100% { border-color: rgba(0, 255, 204, 0.8); box-shadow: 0 0 10px rgba(0, 255, 204, 0.4), inset 0 0 5px rgba(0, 255, 204, 0.2); }
}

.marquee-item.active {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.15), rgba(255, 51, 0, 0.1));
  border: 3px solid #ffaa00;
  animation: activeProviderGlow 1.5s infinite alternate ease-in-out;
  transform: translateY(-5px) scale(1.05);
}

@keyframes activeProviderGlow {
  0% { border-color: #ffaa00; box-shadow: 0 0 20px rgba(255, 170, 0, 0.8), inset 0 0 15px rgba(255, 170, 0, 0.4); }
  100% { border-color: #ff3300; box-shadow: 0 0 35px rgba(255, 51, 0, 1), inset 0 0 20px rgba(255, 51, 0, 0.6); }
}
.marquee-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(56,189,248,0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.marquee-item:hover {
  transform: translateY(-8px) scale(1.1);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 15px 30px rgba(56, 189, 248, 0.25), inset 0 0 20px rgba(56,189,248,0.1);
  z-index: 10;
}
.marquee-item:hover::before {
  opacity: 1;
}
.marquee-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.1));
}


.black-logo-img.no-blend {
  mix-blend-mode: normal;
  filter: brightness(1.8);
}
.black-logo-item:hover .black-logo-img, .black-logo-item.active .black-logo-img {
  transform: scale(1.15); /* A classy subtle zoom on hover */
}

@media (max-width: 1200px) {
  .black-logo-item { width: calc(12.5% - 12px); } /* 8 per row */
}
@media (max-width: 900px) {
  .black-logo-item { width: calc(16.666% - 12px); } /* 6 per row */
}
@media (max-width: 640px) {
  .black-logo-item { width: calc(25% - 12px); } /* 4 per row */
}

.provider-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  pointer-events: none;
  z-index: 15;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}


@keyframes pulseGlow {
  0% { text-shadow: 0 0 5px rgba(255,255,255,0.4); box-shadow: 0 0 10px rgba(239,68,68,0.5); border-color: rgba(239,68,68,0.5); }
  100% { text-shadow: 0 0 15px rgba(255,255,255,1); box-shadow: 0 0 25px rgba(239,68,68,1); border-color: rgba(239,68,68,1); }
}


/* Fire Effect: Style 2 (Pulse Aura & Sparks) */
.fire-effect-card {
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4), inset 0 0 20px rgba(239, 68, 68, 0.2) !important;
  border: 1px solid rgba(239, 68, 68, 0.5) !important;
  animation: breatheFire 1s ease-in-out infinite alternate !important;
  position: relative; /* For absolutely positioned sparks */
}
@keyframes breatheFire {
  0% { box-shadow: 0 0 15px rgba(239, 68, 68, 0.4), 0 0 20px rgba(249, 115, 22, 0.2); border-color: rgba(239, 68, 68, 0.4); }
  100% { box-shadow: 0 0 30px rgba(239, 68, 68, 0.8), 0 0 50px rgba(249, 115, 22, 0.6); border-color: rgba(249, 115, 22, 1); }
}
.fire-spark {
  position: absolute;
  bottom: 0px;
  width: 4px;
  height: 4px;
  background: #f97316;
  border-radius: 50%;
  box-shadow: 0 0 10px #eab308;
  animation: flyUp 1.5s linear infinite;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
}
.fire-spark.fs-1 { left: 20%; animation-delay: 0s; }
.fire-spark.fs-2 { left: 50%; animation-delay: 0.5s; width: 6px; height: 6px; background: #ef4444;}
.fire-spark.fs-3 { left: 80%; animation-delay: 1s; }
@keyframes flyUp {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-120px) scale(0); opacity: 0; }
}

/* Custom Scrollbar for horizontal scrolling tabs */
.filter-tabs::-webkit-scrollbar {
  height: 6px;
}

.filter-tabs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.filter-tabs::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 10px;
}

.filter-tabs::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}


@media (min-width: 992px) {
  .features-grid.contact-features {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Contact features - centered cards */
.contact-features .card {
  text-align: center;
}

.contact-features .feature-icon {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FOOTER MOBILE COMPACT
   ============================================ */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer-brand {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-brand p {
    max-width: 320px;
    margin: 12px auto 0;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-cols-wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .footer-cols-wrap {
    gap: 10px;
  }

  .footer-grid .footer-col h4 {
    font-size: 0.82rem;
    margin-bottom: 8px;
  }

  .footer-grid .footer-col ul li {
    margin-bottom: 5px;
  }

  .footer-grid .footer-col ul li a {
    font-size: 0.78rem;
  }

  .footer-grid .footer-col ul li a i {
    display: none;
  }
}

/* ============================================
   PROVIDER GRID RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .provider-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
  .provider-card {
    padding: 20px 10px !important;
    border-radius: 16px !important;
  }
  .provider-card .provider-logo {
    width: 52px !important;
    height: 52px !important;
  }
  .provider-card .provider-name {
    font-size: 0.75rem !important;
  }
  .provider-card .provider-badge {
    font-size: 0.55rem !important;
    padding: 2px 7px !important;
  }
  .provider-section-bg .floating-orb {
    display: none;
  }
}

/* ============================================
   TOP 10 GRID CENTER LAST ROW
   ============================================ */
#top10Grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px;
  justify-content: center;
}
@media (max-width: 768px) {
  #top10Grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ============================================
   SECTION DIVIDER LINE
   ============================================ */
.section + .section {
  position: relative;
  border-top: none !important; /* Override inline solid borders */
}

/* Base style for the divider */
.section + .section:not(.top10-section)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  z-index: 10;
}

/* Variant 1: Cyber Blue to Cyan */
.section:nth-of-type(4n+1) + .section:not(.top10-section)::before {
  background: linear-gradient(90deg, transparent, #3b82f6, #06b6d4, transparent);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

/* Variant 2: Neon Purple to Pink */
.section:nth-of-type(4n+2) + .section:not(.top10-section)::before {
  background: linear-gradient(90deg, transparent, #8b5cf6, #ec4899, transparent);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.4);
}

/* Variant 3: Radioactive Green to Yellow */
.section:nth-of-type(4n+3) + .section:not(.top10-section)::before {
  background: linear-gradient(90deg, transparent, #10b981, #eab308, transparent);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* Variant 4: Fiery Red to Orange */
.section:nth-of-type(4n+4) + .section:not(.top10-section)::before {
  background: linear-gradient(90deg, transparent, #ef4444, #f97316, transparent);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}
/* ============================================
   PIN LOGIN OVERLAY 
   ============================================ */
#pinLoginOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  height: 100dvh; /* Use dynamic viewport height for mobile */
  z-index: 999999;
  background: 
    radial-gradient(circle at top right, rgba(147, 51, 234, 0.35), transparent 40%),
    radial-gradient(circle at bottom left, rgba(220, 38, 38, 0.25), transparent 40%),
    radial-gradient(ellipse at center, #0a192f 0%, #020c1b 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  overflow: hidden;
}

#pinLoginOverlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(2, 12, 27, 0.25) 0%, rgba(2, 12, 27, 0.5) 60%, rgba(2, 12, 27, 0.95) 100%);
  pointer-events: none;
  z-index: -2;
}

.pin-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.pin-header .ri-shield-keyhole-fill {
  font-size: 3rem;
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.5));
  animation: float-sparkle 3s ease-in-out infinite;
  display: inline-block;
}

.pin-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-top: 10px;
  background: linear-gradient(to right, #ffffff, #93c5fd, #ffffff);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientShift 3s linear infinite;
  letter-spacing: 1px;
}

.pin-header .pin-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-top: 5px;
  letter-spacing: 0.5px;
}

.pin-dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

.pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(6, 182, 212, 0.5);
  background: transparent;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: inset 0 0 5px rgba(6, 182, 212, 0);
}

.pin-dot.filled {
  background: #06B6D4;
  border-color: #06B6D4;
  transform: scale(1.3);
  box-shadow: 0 0 15px #06B6D4, inset 0 0 5px #fff;
}

.pin-dot.error {
  border-color: #ef4444;
  background: #ef4444;
  box-shadow: 0 0 20px #ef4444;
  transform: scale(1.2);
}

.pin-pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 24px;
  max-width: 320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.pin-btn {
  width: 75px;
  height: 75px;
  border-radius: 20px;
  border: 1px solid rgba(6, 182, 212, 0.3);
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 0 0 rgba(6, 182, 212, 0);
  backdrop-filter: blur(5px);
}

.pin-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 20px;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.pin-btn:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(6, 182, 212, 0.8);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.3), inset 0 0 20px rgba(6, 182, 212, 0.2);
  color: #cffafe;
}

.pin-btn:hover::before {
  opacity: 0.2;
}

.pin-btn:active {
  transform: scale(0.95);
  background: rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
}

.pin-btn.action-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  box-shadow: none;
}
.pin-btn.action-btn:hover {
  transform: scale(1.1);
  color: #06B6D4;
}

.pin-options {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 2;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.slider-toggle {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255,255,255,0.1);
  transition: .4s;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.2);
}
.slider-toggle:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
input:checked + .slider-toggle {
  background-color: rgba(6, 182, 212, 0.2);
  border-color: #06B6D4;
}
input:checked + .slider-toggle:before {
  transform: translateX(24px);
  background-color: #06B6D4;
  box-shadow: 0 0 10px #06B6D4;
}

.shake {
  animation: pinShake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes pinShake {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(5px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-8px, 0, 0); }
  40%, 60% { transform: translate3d(8px, 0, 0); }
}

/* ===== PIN Login Mobile Responsive ===== */
@media (max-width: 768px) {
  .pin-header {
    margin-bottom: 1.5rem;
  }
  .pin-header .pin-desc {
    font-size: 0.85rem;
  }
  .pin-dots {
    gap: 12px;
    margin-bottom: 2rem;
  }
  .pin-dot {
    width: 12px;
    height: 12px;
  }
  .pin-pad {
    gap: 14px 18px;
    max-width: 270px;
  }
  .pin-btn {
    width: 65px;
    height: 65px;
    font-size: 1.7rem;
    border-radius: 16px;
  }
  .pin-options {
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .pin-header {
    margin-bottom: 1.2rem;
  }
  .pin-header .pin-desc {
    font-size: 0.8rem;
  }
  .pin-dots {
    gap: 10px;
    margin-bottom: 1.5rem;
  }
  .pin-dot {
    width: 11px;
    height: 11px;
  }
  .pin-pad {
    gap: 10px 14px;
    max-width: 230px;
  }
  .pin-btn {
    width: 58px;
    height: 58px;
    font-size: 1.5rem;
    border-radius: 14px;
  }
  .pin-btn.action-btn {
    font-size: 1.3rem;
  }
  .pin-options {
    margin-top: 1.5rem;
  }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS (ADDED FOR MOBILE LAG)
   Disable incredibly heavy background animations
   ============================================ */
.bg-effects, 
.bg-grid, 
.vip-particles,
#premium-bg-effects {
  display: none !important;
  animation: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* Reduce some intensive dropshadows on mobile */
@media (max-width: 768px) {
  * {
    box-shadow: none !important;
  }
  .ws-card, .btn, .nav-icon {
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
  }
}

@keyframes barFill {
  0% { max-width: 0; }
  100% { max-width: 100%; }
}

@media (max-width: 768px) {
  .marquee-item {
    width: 80px !important;
    min-width: 80px !important;
    height: 80px !important;
    min-height: 80px !important;
    padding: 10px !important;
    border-radius: 14px !important;
  }
  .provider-badge {
    padding: 2px 5px !important;
    font-size: 0.65rem !important;
    top: 0 !important;
    right: 0 !important;
    border-radius: 0 14px 0 8px !important;
  }
}
