@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #070e1c;
  --bg-secondary: #0d1a33;
  --bg-card: rgba(16, 32, 64, 0.7);
  --bg-card-hover: rgba(22, 44, 88, 0.85);
  --bg-glass: rgba(13, 27, 54, 0.65);
  --border-glass: rgba(0, 163, 255, 0.18);
  --border-focus: #00a3ff;
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #00a3ff;
  --accent-cyan-glow: rgba(0, 163, 255, 0.35);
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-glow: rgba(245, 158, 11, 0.3);
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.25);
  --accent-red: #ef4444;

  --font-arabic: 'Cairo', system-ui, -apple-system, sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 163, 255, 0.05);
  --shadow-glow: 0 0 25px rgba(0, 163, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(0, 163, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 15% 55%, rgba(245, 158, 11, 0.05) 0%, transparent 35%),
    radial-gradient(circle at 50% 90%, rgba(0, 163, 255, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.3;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: #38bdf8;
}

.latin-term {
  direction: ltr;
  display: inline-block;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700;
  color: var(--accent-cyan);
  padding: 0 4px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Compliance Notice Banner */
.compliance-bar {
  background: linear-gradient(90deg, #111d33, #0a1324);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 8px 16px;
  font-size: 0.84rem;
  color: #cbd5e1;
  text-align: center;
  position: relative;
  z-index: 101;
}

.compliance-bar strong {
  color: var(--accent-gold-light);
  margin-left: 6px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 1px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  margin-right: 6px;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 14, 28, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 10px 0 8px;
  transition: var(--transition-normal);
}

.header-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.brand-logo-img {
  height: 28px;
  width: auto;
  vertical-align: middle;
  filter: drop-shadow(0 2px 8px rgba(20, 160, 255, 0.35));
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.04);
}

.logo-badge .agent-tag {
  background: linear-gradient(135deg, var(--accent-gold), #d97706);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-right: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* Brand Colors for 1xBet in Typography */
.brand-1xbet {
  display: inline-flex;
  align-items: baseline;
  direction: ltr;
  unicode-bidi: isolate;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 900;
  letter-spacing: -0.5px;
  padding: 0 4px;
}

.brand-1xbet .brand-1x {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.45);
}

.brand-1xbet .brand-bet {
  color: #14a0ff !important;
  -webkit-text-fill-color: #14a0ff !important;
  text-shadow: 0 0 22px rgba(20, 160, 255, 0.7);
}

/* Row 2: Menu Navigation */
.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  list-style: none;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #ffffff;
  background: rgba(0, 163, 255, 0.15);
  border-color: rgba(0, 163, 255, 0.35);
  box-shadow: 0 0 12px rgba(0, 163, 255, 0.2);
}

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

.header-tg-btn {
  background: linear-gradient(135deg, #229ED9, #1c88bd);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(34, 158, 217, 0.3);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-tg-btn:hover {
  background: linear-gradient(135deg, #37abdf, #2496cd);
  color: #fff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  transition: var(--transition-fast);
}

.menu-toggle:hover {
  background: rgba(0, 163, 255, 0.2);
  border-color: var(--accent-cyan);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-arabic);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  font-size: 0.98rem;
}

.btn-primary {
  background: linear-gradient(135deg, #00a3ff, #0070ba);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 163, 255, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #26b1ff, #0084dc);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 163, 255, 0.5);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(0, 163, 255, 0.15);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-2px);
}

.btn-telegram {
  background: linear-gradient(135deg, #229ED9, #1c88bd);
  color: #fff;
  box-shadow: 0 4px 18px rgba(34, 158, 217, 0.3);
}

.btn-telegram:hover {
  background: linear-gradient(135deg, #37abdf, #2496cd);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.45);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  padding: 85px 0 75px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
  border-bottom: 1px solid rgba(0, 163, 255, 0.12);
}

.hero-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  line-height: 0;
}

.hero-bg-img {
  width: 100%;
  height: auto;
  min-height: 280px;
  display: block;
  object-fit: cover;
  object-position: top center;
  transform-origin: center top;
  will-change: transform;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 80%,
    rgba(0, 0, 0, 0.85) 88%,
    rgba(0, 0, 0, 0.4) 95%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 80%,
    rgba(0, 0, 0, 0.85) 88%,
    rgba(0, 0, 0, 0.4) 95%,
    transparent 100%
  );
}

/* Dynamic Stadium Atmosphere Lighting */
.hero-stadium-lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.stadium-beam {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
}

.stadium-beam.beam-1 {
  top: -60px;
  left: 10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.38) 0%, rgba(0, 163, 255, 0.12) 45%, transparent 70%);
  animation: stadiumLightPulse 5.5s infinite alternate ease-in-out;
}

.stadium-beam.beam-2 {
  top: -30px;
  left: 24%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.32) 0%, rgba(0, 163, 255, 0.15) 40%, transparent 68%);
  animation: stadiumLightSweep 7.5s infinite alternate ease-in-out;
}

@keyframes stadiumLightPulse {
  0% {
    transform: scale(0.9) translate(0, 0);
    opacity: 0.55;
  }
  50% {
    opacity: 0.95;
  }
  100% {
    transform: scale(1.25) translate(25px, 15px);
    opacity: 0.7;
  }
}

@keyframes stadiumLightSweep {
  0% {
    transform: scale(0.85) translate(0, 0);
    opacity: 0.45;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    transform: scale(1.2) translate(-35px, 20px);
    opacity: 0.65;
  }
}

/* Floating Ambient Neon Sparks / Embers */
.hero-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-bg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 14, 28, 0.18) 0%,
    rgba(7, 14, 28, 0.1) 40%,
    rgba(7, 14, 28, 0.2) 78%,
    rgba(7, 14, 28, 0.65) 92%,
    var(--bg-primary) 100%
  );
  pointer-events: none;
  z-index: 3;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 163, 255, 0.08), transparent 45%),
              radial-gradient(circle at 20% 70%, rgba(245, 158, 11, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 3;
}

.hero-content {
  text-align: center;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 4;
  will-change: transform;
}

.hero-mockup-container {
  will-change: transform;
}

.hero-badges-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 163, 255, 0.1);
  border: 1px solid rgba(0, 163, 255, 0.3);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

.hero-pill.gold {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--accent-gold-light);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-title .brand-1xbet {
  -webkit-text-fill-color: initial !important;
}

.hero-desc {
  font-size: 1.16rem;
  color: #e2e8f0;
  max-width: 860px;
  margin: 0 auto 36px;
  line-height: 1.85;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.hero-desc-desktop {
  display: inline;
}

.hero-desc-mobile {
  display: none;
}

.hero-desc strong.gold-text {
  color: var(--accent-gold-light);
}

.hero-desc strong.cyan-text {
  color: #38bdf8;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Hero App Screenshots Showcase (5 Mockups) */
.hero-mockup-container {
  position: relative;
  max-width: 1040px;
  margin: 32px auto 44px;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mockup-glow-backdrop {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 65%;
  background: radial-gradient(ellipse at center, rgba(0, 163, 255, 0.28) 0%, rgba(20, 160, 255, 0.12) 45%, transparent 75%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 1;
}

.mockup-img-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 35px rgba(0, 163, 255, 0.22));
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.mockup-img-wrapper:hover {
  transform: translateY(-6px) scale(1.015);
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 50px rgba(0, 163, 255, 0.4));
}

.hero-mockup-img {
  width: 100%;
  max-width: 980px;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.mockup-live-badge {
  position: relative;
  z-index: 3;
  margin-top: -16px;
  background: rgba(7, 14, 28, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 163, 255, 0.35);
  color: #e2e8f0;
  padding: 7px 20px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 163, 255, 0.25);
  transition: var(--transition-fast);
}

.mockup-live-badge:hover {
  border-color: var(--accent-cyan);
  background: rgba(13, 27, 54, 0.95);
  transform: translateY(-2px);
}

.mockup-live-badge i {
  color: var(--accent-cyan);
  font-size: 1.05rem;
}

/* Feature Badges Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  transition: var(--transition-normal);
  backdrop-filter: blur(8px);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 163, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 163, 255, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem;
}

.feature-card.gold .feature-icon {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
}

.feature-card.gold {
  border-color: rgba(245, 158, 11, 0.25);
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.feature-value {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.feature-card.gold .feature-value {
  color: var(--accent-gold);
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Section Shared Styles */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(0, 163, 255, 0.1);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* How It Works (Mobcash شرح) */
.flow-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.flow-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.flow-box:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 163, 255, 0.4);
  box-shadow: var(--shadow-card);
}

.flow-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1.6rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
}

.flow-box.deposit {
  border-right: 4px solid var(--accent-gold);
}

.flow-box.withdraw {
  border-right: 4px solid var(--accent-cyan);
}

.flow-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.flow-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.flow-box.deposit .flow-icon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
}

.flow-box.withdraw .flow-icon {
  background: rgba(0, 163, 255, 0.15);
  color: var(--accent-cyan);
}

.flow-header-text h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.commission-pill {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.commission-pill.gold {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold-light);
}

.commission-pill.cyan {
  background: rgba(0, 163, 255, 0.2);
  color: #38bdf8;
}

.flow-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.flow-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.96rem;
  color: #cbd5e1;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Calculator Section */
.calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

/* Calculator Country Bar & Alerts */
.calc-country-bar {
  background: rgba(13, 27, 54, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

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

.calc-country-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.calc-country-label i {
  color: var(--accent-cyan);
  font-size: 1.25rem;
}

.calc-country-hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.calc-country-select-wrap {
  position: relative;
  min-width: 320px;
}

.calc-country-dropdown {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #0f2448 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300a3ff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") no-repeat 16px center;
  color: #fff;
  border: 1px solid rgba(0, 163, 255, 0.45);
  border-radius: var(--radius-sm);
  padding: 12px 20px 12px 42px;
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.calc-country-dropdown:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 163, 255, 0.4);
}

.calc-country-dropdown option {
  background: #0d1b36;
  color: #fff;
  padding: 10px;
}

.calc-rate-alert {
  background: linear-gradient(90deg, rgba(0, 163, 255, 0.12), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(0, 163, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.rate-alert-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #38bdf8;
}

.rate-alert-content i {
  font-size: 1.2rem;
  color: var(--accent-cyan);
}

.rate-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.calc-example-banner {
  background: rgba(16, 32, 64, 0.6);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.calc-display-sub {
  font-size: 0.84rem;
  color: #38bdf8;
  font-weight: 700;
  margin-top: 4px;
  direction: ltr;
  text-align: left;
}

.res-local-val {
  font-size: 1.12rem;
  font-weight: 700;
  margin-top: 4px;
  direction: ltr;
  color: #94a3b8;
}

.res-local-val.daily-local {
  color: #38bdf8;
}

.res-local-val.monthly-local {
  color: var(--accent-gold-light);
}

.tbl-sub-curr {
  font-size: 0.78rem;
  color: #38bdf8;
  font-weight: 700;
  margin-top: 3px;
  direction: ltr;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-weight: 700;
  font-size: 1rem;
  color: #e2e8f0;
}

.calc-display-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(0, 163, 255, 0.1);
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 163, 255, 0.25);
  direction: ltr;
}

.calc-display-val.gold {
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
}

.slider-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #1e293b;
  outline: none;
  cursor: pointer;
  direction: ltr;
}

.slider-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 12px var(--accent-cyan);
  border: 2px solid #fff;
  transition: transform var(--transition-fast);
}

.slider-range.gold-slider::-webkit-slider-thumb {
  background: var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold);
}

.slider-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-result-card {
  background: linear-gradient(145deg, #0f2444, #0b1a30);
  border: 1px solid rgba(0, 163, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.calc-result-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  background: rgba(0, 163, 255, 0.15);
  filter: blur(40px);
  border-radius: 50%;
}

.res-row {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.res-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.res-title {
  font-size: 0.92rem;
  color: #94a3b8;
  margin-bottom: 6px;
}

.res-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  direction: ltr;
}

.res-value.daily-profit {
  color: var(--accent-cyan);
}

.res-value.monthly-profit {
  color: var(--accent-gold);
  font-size: 2.6rem;
}

.formula-note {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 10px;
  direction: ltr;
}

/* Profit Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-top: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.profit-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.95rem;
}

.profit-table th {
  background: rgba(13, 27, 54, 0.95);
  color: #fff;
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-glass);
}

.profit-table td {
  padding: 14px 18px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: var(--bg-card);
}

.profit-table tr:hover td {
  background: var(--bg-card-hover);
}

.profit-table td.highlight-gold {
  color: var(--accent-gold-light);
  font-weight: 800;
}

.profit-table td.highlight-cyan {
  color: var(--accent-cyan);
  font-weight: 800;
}

/* 50$ Capital Explanation Section */
.capital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.capital-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: relative;
  transition: var(--transition-normal);
}

.capital-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-card);
}

.capital-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.capital-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #fff;
}

.capital-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Steps / Installation Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  position: relative;
  transition: var(--transition-normal);
}

.step-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-cyan), #0070ba);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 163, 255, 0.35);
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #fff;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-img-placeholder {
  margin-top: 16px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed rgba(0, 163, 255, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Trust & Compliance Architecture Section */
.compliance-architecture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.compliance-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.compliance-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
}

.compliance-card.green::before {
  background: linear-gradient(90deg, var(--accent-green), transparent);
}

.compliance-card.gold::before {
  background: linear-gradient(90deg, var(--accent-gold), transparent);
}

.compliance-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 163, 255, 0.4);
  box-shadow: var(--shadow-card);
}

.compliance-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(0, 163, 255, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.compliance-card.green .compliance-card-icon {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
}

.compliance-card.gold .compliance-card-icon {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
}

.compliance-card h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.compliance-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Regional Presence Map Showcase */
.geo-map-showcase {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 44px;
  padding: 0 4px;
}

.geo-map-backdrop-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 75%;
  background: radial-gradient(ellipse at center, rgba(0, 163, 255, 0.22) 0%, rgba(13, 27, 54, 0.1) 50%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.geo-map-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 163, 255, 0.35);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 35px rgba(0, 163, 255, 0.18);
  background: #070e1c;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.geo-map-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 163, 255, 0.6);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.75), 0 0 50px rgba(0, 163, 255, 0.3);
}

.geo-map-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.geo-map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 14, 28, 0.75) 40%, rgba(7, 14, 28, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 3;
}

.geo-map-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 27, 54, 0.88);
  border: 1px solid rgba(0, 163, 255, 0.4);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  backdrop-filter: blur(10px);
}

.geo-map-pill .live-dot {
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

.geo-map-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.geo-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(16, 32, 64, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.geo-stat-item i {
  color: var(--accent-cyan);
  font-size: 1rem;
}

/* Countries / Payment Networks Section */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.country-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: var(--transition-normal);
}

.country-card:hover {
  border-color: rgba(0, 163, 255, 0.4);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.country-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.country-flag-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.country-flag {
  font-size: 1.6rem;
  line-height: 1;
}

.country-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.currency-badge {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  direction: ltr;
}

.payment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-tag {
  background: rgba(0, 163, 255, 0.08);
  border: 1px solid rgba(0, 163, 255, 0.18);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.payment-tag strong {
  color: #fff;
  font-weight: 700;
}

.payment-tag .latin-tag {
  color: var(--accent-cyan);
  font-size: 0.76rem;
  direction: ltr;
}

/* Application Form Section */
.form-section {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 26, 51, 0.8) 100%);
}

.form-wrapper {
  max-width: 740px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.agent-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.form-label span.req {
  color: var(--accent-red);
}

.form-input, .form-select {
  width: 100%;
  background: rgba(7, 14, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-arabic);
  font-size: 0.96rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 12px rgba(0, 163, 255, 0.25);
  background: rgba(7, 14, 28, 0.95);
}

.form-input::placeholder {
  color: #64748b;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  background: rgba(245, 158, 11, 0.06);
  border: 1px dashed rgba(245, 158, 11, 0.3);
  padding: 14px 16px;
  border-radius: var(--radius-md);
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 5px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-gold);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox-text {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.65;
}

.form-checkbox-text strong {
  color: var(--accent-gold-light);
}

.form-cta-subtext {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  color: #94a3b8;
}

.form-cta-subtext a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38bdf8;
  font-weight: 700;
  margin-top: 6px;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(0, 163, 255, 0.4);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 24px;
  text-align: right;
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 163, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent-cyan);
  color: #000;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding-bottom: 22px;
}

/* Footer */
.footer {
  background: #040913;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  font-size: 0.92rem;
  color: #64748b;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #fff;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #94a3b8;
}

.footer-links h5, .footer-contact h5 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
}

.footer-disclaimer {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.7;
}

/* Success Modal / Toast */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  animation: modalScale 0.3s ease-out;
}

@keyframes modalScale {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.modal-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #fff;
}

.modal-text {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* Legal Page Special Styles */
.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 40px 0 80px;
  line-height: 1.9;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #fff;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 16px;
  color: var(--accent-cyan);
  border-bottom: 1px solid rgba(0, 163, 255, 0.2);
  padding-bottom: 8px;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin: 20px 0 10px;
  color: #e2e8f0;
}

.legal-content p, .legal-content ul {
  margin-bottom: 16px;
  color: #cbd5e1;
}

.legal-content ul {
  padding-right: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-date {
  color: var(--accent-gold-light);
  font-size: 0.88rem;
  margin-bottom: 24px;
}


/* =============================================================
   Swipe to Action & Age Verification Modal (+18)
   ============================================================= */
.age-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 20, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-modal-overlay.show {
  display: flex;
}

.age-modal-card {
  background: linear-gradient(145deg, #0d1e3d, #081224);
  border: 1px solid rgba(0, 163, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 163, 255, 0.15);
  position: relative;
  animation: modalBounceIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  direction: rtl;
}

@keyframes modalBounceIn {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.age-modal-close {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.age-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.age-badge-giant {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(245, 158, 11, 0.15));
  border: 2px solid rgba(239, 68, 68, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #f87171;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.2);
}

.age-modal-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
}

.age-modal-desc {
  font-size: 0.96rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 30px;
}

.age-modal-desc strong {
  color: var(--accent-gold-light);
}

/* Swipe to Action Slider Container */
.swipe-container {
  width: 100%;
  margin: 10px 0 16px;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.swipe-track {
  width: 100%;
  height: 64px;
  background: rgba(5, 12, 26, 0.95);
  border: 1.5px solid rgba(0, 163, 255, 0.3);
  border-radius: var(--radius-full);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
  direction: ltr; /* Handle drag left to right for unified calculation */
}

.swipe-text {
  font-size: 0.94rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.3px;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1;
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 8px;
}

.swipe-text i {
  color: var(--accent-cyan);
  animation: swipeArrowPulse 1.4s infinite ease-in-out;
}

@keyframes swipeArrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(-6px); opacity: 1; }
}

.swipe-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(0, 163, 255, 0.15), rgba(16, 185, 129, 0.35));
  border-radius: var(--radius-full);
  pointer-events: none;
  transition: background 0.3s ease;
}

.swipe-handle {
  width: 54px;
  height: 54px;
  position: absolute;
  top: 4px;
  left: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 14px rgba(0, 163, 255, 0.6);
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  touch-action: none;
  transition: box-shadow 0.2s ease;
}

.swipe-handle:active {
  cursor: grabbing;
  box-shadow: 0 2px 20px rgba(0, 163, 255, 0.9);
}

/* Soccer Ball Image inside Handle */
.soccer-ball-wrap {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  pointer-events: none;
  transition: transform 0.05s linear;
}

.soccer-ball-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Success & Countdown State */
.swipe-track.completed {
  border-color: var(--accent-green);
  background: rgba(16, 185, 129, 0.12);
}

.swipe-track.completed .swipe-progress {
  width: 100% !important;
  background: rgba(16, 185, 129, 0.3);
}

.countdown-box {
  display: none;
  margin-top: 24px;
  padding: 24px 18px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  animation: fadeIn 0.3s ease-out;
}

.countdown-box.show {
  display: block;
}

/* Rotating Football Ball Container in Countdown */
.countdown-ball-container {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown-ball-spin {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 16px rgba(0, 163, 255, 0.7)) drop-shadow(0 0 24px rgba(16, 185, 129, 0.5));
  animation: ballSpinContinuous 1s linear infinite;
  pointer-events: none;
}

@keyframes ballSpinContinuous {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.countdown-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), #059669);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.8);
  border: 2px solid #0d1e3d;
  animation: pulseNumber 1s infinite alternate;
}

/* Success Modal Ball Spin */
.modal-ball-wrap {
  width: 76px;
  height: 76px;
  background: rgba(0, 163, 255, 0.12);
  border: 1px solid rgba(0, 163, 255, 0.35);
  box-shadow: 0 0 25px rgba(0, 163, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-ball-spin {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  animation: ballSpinContinuous 1.8s linear infinite;
}

@keyframes pulseNumber {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.countdown-text {
  font-size: 1rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.countdown-sub {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Single Hero Button Highlight */
.single-cta-wrap {
  display: flex;
  justify-content: center;
  margin: 30px 0 45px;
}

.btn-hero-single {
  background: linear-gradient(135deg, #00a3ff 0%, #0066cc 60%, #004d99 100%);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 18px 46px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 28px rgba(0, 163, 255, 0.5), 0 0 20px rgba(0, 163, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
}

.btn-hero-single:hover {
  background: linear-gradient(135deg, #26b1ff 0%, #0077e6 60%, #0059b3 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 36px rgba(0, 163, 255, 0.7);
  color: #fff;
}

.btn-hero-single i {
  font-size: 1.5rem;
}

/* =============================================================
   Comprehensive Mobile-First Responsive Styles (320px to 1440px+)
   ============================================================= */

/* Animations */
@keyframes slideNavDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablets & Small Laptops (<= 1200px) */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }
  .nav-links {
    gap: 4px 10px;
  }
  .nav-links a {
    font-size: 0.84rem;
    padding: 5px 10px;
  }
}

/* Tablets Landscape / Portrait (<= 991px) */
@media (max-width: 991px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-nav-row {
    display: none;
    width: 100%;
    padding: 12px 0 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-nav-row.active {
    display: block;
    animation: slideNavDown 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .header-nav-row .nav-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
  }

  .header-nav-row .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    color: #e2e8f0;
  }

  .header-nav-row .nav-links a:hover {
    background: rgba(0, 163, 255, 0.18);
    border-color: var(--accent-cyan);
    color: #fff;
  }

  .hero {
    padding: 55px 0 45px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 4.5vw, 2.3rem);
  }

  .hero-desc {
    font-size: 1.05rem;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section {
    padding: 60px 0;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Tablets Portrait & Large Smartphones (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header {
    padding: 8px 0;
  }

  .header-nav-row .nav-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-tg-btn {
    padding: 7px 10px;
    font-size: 0.82rem;
  }

  .header-actions .cta-trigger-btn {
    padding: 7px 12px;
    font-size: 0.82rem;
  }

  .compliance-bar {
    padding: 8px 12px;
    font-size: 0.78rem;
    text-align: right;
    line-height: 1.5;
  }

  .compliance-bar .age-badge {
    font-size: 0.7rem;
    padding: 1px 6px;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .hero-badges-wrapper {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .hero-pill {
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
    padding: 8px 12px;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.4rem, 5.5vw, 1.95rem);
    line-height: 1.3;
    margin-bottom: 14px;
  }

  .hero-desc-desktop {
    display: none;
  }

  .hero-desc-mobile {
    display: inline;
  }

  .hero-desc {
    background: rgba(7, 14, 28, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 163, 255, 0.32);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #f1f5f9;
    max-width: 96%;
    margin: 0 auto 22px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55), 0 0 15px rgba(0, 163, 255, 0.12);
    text-shadow: none;
  }

  .btn-hero-single {
    width: 100%;
    max-width: 100%;
    padding: 15px 18px;
    font-size: 1.05rem;
    justify-content: center;
  }

  .single-cta-wrap {
    margin: 20px 0 28px;
  }

  .hero-mockup-container {
    margin: 22px auto 30px;
    padding: 0 4px;
  }

  .mockup-glow-backdrop {
    width: 95%;
    filter: blur(35px);
  }

  .mockup-live-badge {
    margin-top: -10px;
    font-size: 0.78rem;
    padding: 5px 14px;
  }

  /* Compact 2-column features grid for mobile */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 24px;
  }

  .feature-card {
    padding: 16px 12px;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

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

  .feature-value {
    font-size: 1.2rem;
  }

  .feature-desc {
    font-size: 0.78rem;
  }

  .section {
    padding: 45px 0;
  }

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

  .section-title {
    font-size: 1.5rem;
  }

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

  .flow-box {
    padding: 24px 18px;
  }

  .calc-wrapper {
    padding: 20px 14px;
  }

  .calc-country-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 14px;
    gap: 12px;
  }

  .calc-country-select-wrap {
    min-width: 100%;
    width: 100%;
  }

  .calc-country-dropdown {
    font-size: 16px;
    width: 100%;
  }

  .calc-rate-alert {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
  }

  .calc-example-banner {
    padding: 12px 14px;
  }

  .calc-label-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .calc-display-val {
    align-self: flex-start;
    font-size: 1.15rem;
    padding: 3px 10px;
  }

  .calc-result-card {
    padding: 24px 18px;
  }

  .res-value.monthly-profit {
    font-size: 2rem;
  }

  .res-value.daily-profit {
    font-size: 1.6rem;
  }

  /* Table horizontal touch scroll */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    border: 1px solid var(--border-glass);
  }

  .profit-table {
    min-width: 520px;
    width: 100%;
  }

  .profit-table th, .profit-table td {
    padding: 10px 12px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .capital-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .capital-card {
    padding: 22px 18px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-card {
    padding: 22px 18px;
  }

  .compliance-architecture-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .compliance-card {
    padding: 22px 18px;
  }

  .geo-map-showcase {
    margin-bottom: 28px;
  }

  .geo-map-overlay {
    position: static;
    background: rgba(7, 14, 28, 0.96);
    padding: 16px 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .geo-map-pill {
    justify-content: center;
    font-size: 0.86rem;
    width: 100%;
  }

  .geo-map-stats {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .geo-stat-item {
    justify-content: center;
    width: 100%;
    font-size: 0.82rem;
  }

  .countries-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .country-card {
    padding: 18px 16px;
  }

  .form-wrapper {
    padding: 24px 16px;
  }

  .form-input, .form-select {
    font-size: 16px; /* Prevents auto-zoom in iOS Safari */
    padding: 12px 14px;
  }

  .form-checkbox-label {
    padding: 12px 14px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

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

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

  /* Modals & Age Gate */
  .age-modal-overlay {
    padding: 12px;
  }

  .age-modal-card {
    padding: 26px 16px 20px;
    max-width: 96vw;
    width: 100%;
  }

  .age-badge-giant {
    width: 58px;
    height: 58px;
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .age-modal-title {
    font-size: 1.2rem;
  }

  .age-modal-desc {
    font-size: 0.88rem;
    margin-bottom: 18px;
  }

  .swipe-track {
    height: 56px;
    touch-action: none;
  }

  .swipe-handle {
    width: 48px;
    height: 48px;
  }

  .soccer-ball-wrap {
    width: 38px;
    height: 38px;
  }

  .soccer-ball-svg {
    width: 32px;
    height: 32px;
  }

  .swipe-text {
    font-size: 0.82rem;
  }

  .modal-content {
    padding: 24px 16px;
    max-width: 95vw;
  }

  .legal-content {
    padding: 24px 16px;
    margin: 20px 0 40px;
  }

  .legal-content h1 {
    font-size: 1.5rem;
  }

  .legal-content h2 {
    font-size: 1.2rem;
  }
}

/* Smartphones (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .brand-logo-img {
    height: 24px;
  }

  .logo-badge .agent-tag {
    font-size: 0.62rem;
    padding: 2px 6px;
  }

  .header-tg-btn span {
    display: none;
  }

  .header-tg-btn {
    padding: 8px 10px;
    font-size: 1rem;
  }

  .header-actions .cta-trigger-btn span {
    font-size: 0.78rem;
  }

  .header-actions .cta-trigger-btn {
    padding: 7px 10px;
    gap: 6px;
  }

  .menu-toggle {
    padding: 7px 9px;
    font-size: 1.2rem;
  }

  .header-nav-row .nav-links {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero {
    padding: 30px 0 24px;
  }

  .hero-pill {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

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

  .hero-desc {
    font-size: 0.86rem;
    line-height: 1.6;
  }

  .btn-hero-single {
    font-size: 0.94rem;
    padding: 13px 16px;
    gap: 8px;
  }

  .btn-hero-single i {
    font-size: 1.2rem;
  }

  .hero-mockup-container {
    margin: 16px auto 22px;
  }

  .mockup-live-badge {
    font-size: 0.72rem;
    padding: 4px 10px;
    margin-top: -6px;
  }

  .feature-card {
    padding: 12px 8px;
  }

  .feature-icon {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .feature-title {
    font-size: 0.82rem;
    margin-bottom: 2px;
  }

  .feature-value {
    font-size: 1.05rem;
  }

  .feature-desc {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .modal-content {
    padding: 20px 12px;
  }
}

/* Ultra-Compact Screens (<= 360px) */
@media (max-width: 360px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .btn-hero-single {
    font-size: 0.86rem;
    padding: 11px 12px;
  }
}

/* =============================================================
   Floating Pulsing Telegram Button with Glint Effect
   ============================================================= */
.floating-tg-widget {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 998;
  display: flex;
  align-items: center;
  direction: ltr;
}

.floating-tg-btn {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2eb5f7 0%, #229ED9 50%, #1783b8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(34, 158, 217, 0.55), 0 0 15px rgba(46, 181, 247, 0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  animation: floatButtonBreathe 3s ease-in-out infinite;
}

.floating-tg-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 32px rgba(34, 158, 217, 0.8), 0 0 25px rgba(46, 181, 247, 0.55);
  color: #ffffff;
}

/* Continuous Pulsing Ripple Rings (кнопка пульсирует) */
.floating-tg-ripple {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(46, 181, 247, 0.75);
  animation: tgPulseWave 2.4s cubic-bezier(0.25, 0.8, 0.5, 1) infinite;
  pointer-events: none;
}

.floating-tg-ripple.second {
  animation-delay: 1.2s;
}

@keyframes tgPulseWave {
  0% {
    transform: scale(0.92);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.45);
    opacity: 0.25;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

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

/* Telegram Icon & Sparkle / Glint (иконка телеграма поблескивает) */
.floating-tg-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.floating-tg-icon-wrap i {
  font-size: 2rem;
  line-height: 1;
  color: #ffffff;
  animation: iconGlintGlow 4s infinite ease-in-out;
  transition: transform 0.2s ease;
}

/* Glint sweep passing across button */
.floating-tg-glint {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.75) 50%,
    transparent 80%
  );
  transform: translateX(-150%) skewX(-25deg);
  animation: glintSweep 4s infinite;
  pointer-events: none;
  border-radius: 50%;
}

@keyframes glintSweep {
  0%, 65% {
    transform: translateX(-150%) skewX(-25deg);
    opacity: 0;
  }
  70% {
    opacity: 0.9;
  }
  80% {
    transform: translateX(160%) skewX(-25deg);
    opacity: 0;
  }
  100% {
    transform: translateX(160%) skewX(-25deg);
    opacity: 0;
  }
}

@keyframes iconGlintGlow {
  0%, 65%, 100% {
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    transform: scale(1);
  }
  72% {
    filter: drop-shadow(0 0 10px #ffffff) brightness(1.4);
    transform: scale(1.15) rotate(-6deg);
  }
  78% {
    filter: drop-shadow(0 0 16px #ffffff) brightness(1.6);
    transform: scale(1.15) rotate(4deg);
  }
  84% {
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    transform: scale(1) rotate(0deg);
  }
}

/* Online Status Dot */
.floating-tg-status-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  background: #10b981;
  border: 2.5px solid #070e1c;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  pointer-events: none;
  z-index: 2;
  animation: statusBlink 2s infinite alternate;
}

@keyframes statusBlink {
  0% { opacity: 0.7; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.1); }
}

/* Arabic Tooltip on Hover */
.floating-tg-tooltip {
  position: absolute;
  left: calc(100% + 14px);
  background: rgba(13, 27, 54, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 163, 255, 0.35);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-arabic);
  direction: rtl;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-tg-btn:hover .floating-tg-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .floating-tg-widget {
    bottom: 20px;
    left: 18px;
  }
  .floating-tg-btn {
    width: 52px;
    height: 52px;
  }
  .floating-tg-icon-wrap i {
    font-size: 1.7rem;
  }
  .floating-tg-tooltip {
    display: none;
  }
}


