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

/* ==========================================
   CSS Variables & Design System
========================================== */
:root {
  /* ── TikTok Official Palette ── */
  --bg-primary:    #09090b;
  --bg-secondary:  #161823;
  --bg-card:       rgba(9, 9, 11, 0.65);
  --bg-card-hover: rgba(9, 9, 11, 0.85);

  --primary:       #25f4ee;          /* TikTok Cyan  */
  --primary-rgb:   37, 244, 238;
  --secondary:     #ff0050;          /* TikTok Red   */
  --secondary-rgb: 255, 0, 80;
  --accent:        #ff0050;

  --text-main:     #ffffff;
  --text-muted:    #8a8b91;          /* TikTok Dim Text */
  --text-dim:      #8a8b91;

  --border-color:  rgba(255, 255, 255, 0.08);
  --border-hover:  rgba(37, 244, 238, 0.35);
  --border-premium:rgba(255, 0, 80, 0.45);

  --glow-primary:  rgba(37, 244, 238, 0.25);  /* Cyan Glow  */
  --glow-secondary:rgba(255, 0, 80,  0.20);   /* Red Glow   */

  /* TikTok Signature Gradient */
  --tiktok-gradient: linear-gradient(135deg, #ff0050 0%, #25f4ee 100%);

  --transition-fast:   0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow:   0.8s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-full: 9999px;

  --header-height: 80px;
}

/* ==========================================
   Resets & Global Styles
========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-primary);
}

/* Custom Scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Font Classes */
.font-ar {
  font-family: 'Cairo', sans-serif;
}
.font-en {
  font-family: 'Outfit', sans-serif;
}

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

button, input, textarea {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

/* Background Mesh Gradients */
.bg-glow-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-glow-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(37, 244, 238, 0.13) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(100px);
  animation: float-slow 20s infinite alternate;
}

.bg-glow-2 {
  position: absolute;
  top: 40%;
  left: -15%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 0, 80, 0.10) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(100px);
  animation: float-slow 25s infinite alternate-reverse;
}

.bg-glow-3 {
  position: absolute;
  bottom: -10%;
  right: 10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(37, 244, 238, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(120px);
}

@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 5%) scale(1.1); }
}

/* ==========================================
   Reusable UI Components
========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--tiktok-gradient);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(255, 0, 80, 0.35);
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255, 0, 80, 0.5), 0 0 20px rgba(37, 244, 238, 0.2);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(22, 24, 35, 0.6);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(37, 244, 238, 0.06);
  border-color: rgba(37, 244, 238, 0.35);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(37, 244, 238, 0.12);
}

.btn-premium {
  background: var(--tiktok-gradient);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(255, 0, 80, 0.35);
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255, 0, 80, 0.55);
  filter: brightness(1.1);
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-primary {
  background: rgba(37, 244, 238, 0.10);
  color: var(--primary);
  border: 1px solid rgba(37, 244, 238, 0.22);
}

.badge-premium {
  background: rgba(255, 0, 80, 0.14);
  color: var(--secondary);
  border: 1px solid rgba(255, 0, 80, 0.30);
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0%   { box-shadow: 0 0 0 0   rgba(255, 0, 80, 0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 0, 80, 0);    }
  100% { box-shadow: 0 0 0 0   rgba(255, 0, 80, 0);    }
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 30%, #8a8b91 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Glassmorphism card default */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(37, 244, 238, 0.30);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(37, 244, 238, 0.08), 0 0 30px rgba(255, 0, 80, 0.05);
}

/* ==========================================
   Header & Navigation
========================================== */
header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  height: var(--header-height);
  z-index: 100;
  transition: var(--transition-normal);
  background: rgba(9, 9, 11, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5), 
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 20px rgba(37, 244, 238, 0.02);
}

header.scrolled {
  top: 12px;
  height: 70px;
  background: rgba(9, 9, 11, 0.85);
  border-color: rgba(37, 244, 238, 0.15);
  box-shadow: 
    0 12px 35px rgba(37, 244, 238, 0.08), 
    0 0 60px rgba(255, 0, 80, 0.03), 
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding: 0 24px;
}

@media (min-width: 769px) {
  .nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    margin-right: 40px;
  }
  
  html[dir="ltr"] .nav-menu {
    margin-right: 0;
    margin-left: 40px;
  }

  .nav-links {
    flex-grow: 1;
    justify-content: center;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-main);
}

.logo img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.3));
  transition: var(--transition-normal);
}

.logo:hover img {
  transform: rotate(6deg) scale(1.1);
  filter: drop-shadow(0 0 10px var(--primary));
}

.logo span {
  font-family: 'Outfit', 'Inter', sans-serif;
  background: linear-gradient(135deg, #ffffff 30%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -0.3px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: #ffffff;
  background: rgba(37, 244, 238, 0.08);
  border-color: rgba(37, 244, 238, 0.25);
  box-shadow: 0 0 15px rgba(37, 244, 238, 0.05);
  text-shadow: 0 0 10px rgba(37, 244, 238, 0.3);
}

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

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition-normal);
  white-space: nowrap;
}

.lang-btn i {
  font-size: 0.85rem;
  color: var(--primary);
  transition: var(--transition-normal);
}

.lang-btn span {
  font-weight: 700;
}

.lang-btn:hover {
  color: #ffffff;
  border-color: rgba(37, 244, 238, 0.25);
  background: rgba(37, 244, 238, 0.05);
  box-shadow: 0 0 15px rgba(37, 244, 238, 0.1);
  transform: translateY(-1px);
}

.lang-btn:hover i {
  transform: rotate(15deg);
  color: #ffffff;
}

.nav-download-btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  background: var(--tiktok-gradient);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-download-btn:hover {
  box-shadow: 0 0 25px rgba(255, 0, 80, 0.45), 0 0 15px rgba(37, 244, 238, 0.25);
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

/* ==========================================
   Hero Section
========================================== */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-content h1 span.accent {
  background: var(--tiktok-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  filter: drop-shadow(0 0 20px rgba(255, 0, 80, 0.3));
}

.hero-content p.subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat-item {
  border-left: 2px solid var(--border-color);
  padding-left: 20px;
}

html[dir="rtl"] .stat-item {
  border-left: none;
  border-right: 2px solid var(--border-color);
  padding-left: 0;
  padding-right: 20px;
}

.stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--tiktok-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: #8a8b91;
  font-weight: 600;
}

/* Hero Mockup Graphic */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Glow orbs behind the mockup */
.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: orb-pulse 4s ease-in-out infinite alternate;
}

.hero-visual::before {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(37, 244, 238, 0.20) 0%, transparent 70%);
  top: -30px;
  left: 50%;
  transform: translateX(-60%);
  animation-delay: 0s;
}

.hero-visual::after {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 0, 80, 0.24) 0%, transparent 70%);
  bottom: -20px;
  right: 0;
  animation-delay: 1.8s;
}

@keyframes orb-pulse {
  0%   { opacity: 0.6; transform: translateX(-60%) scale(1); }
  100% { opacity: 1;   transform: translateX(-60%) scale(1.12); }
}

.app-window-mockup {
  position: relative;
  width: 100%;
  max-width: 350px;
  background: linear-gradient(160deg, #0d0d10 0%, #09090b 100%);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 24px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(37, 244, 238, 0.07),
    0 0 120px rgba(255, 0, 80, 0.06),
    inset 0 0 30px rgba(37, 244, 238, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  transform: rotate(-1.5deg) translateY(10px);
  animation: app-float 6s ease-in-out infinite alternate;
  z-index: 2;
  overflow: hidden;
}

/* Inner light sweep on top edge */
.app-window-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 80, 0.6), rgba(37, 244, 238, 0.6), transparent);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* Ambient inner glow bottom */
.app-window-mockup::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 0, 80, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@keyframes app-float {
  0% { transform: rotate(-1.5deg) translateY(10px); }
  100% { transform: rotate(-0.5deg) translateY(-10px); }
}

.app-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  height: 32px;
}

.app-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-logo-area img {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.4));
}

.app-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.2px;
}

.app-window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-lang-indicator {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 3px 6px;
}

.app-control-btn {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.2s;
}

.app-control-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.app-control-btn:last-child:hover {
  background: #ff453a;
  border-color: #ff453a;
}

.app-screens-wrapper {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
}

.app-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 5;
}

/* App Login Screen Specific Styles */
.app-login-brand-logo {
  margin-top: 10px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-brand-circle-glow {
  width: 76px;
  height: 76px;
  background: var(--tiktok-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255, 0, 80, 0.35);
  animation: circle-glow-pulse 3s ease-in-out infinite alternate;
}

@keyframes circle-glow-pulse {
  0%   { box-shadow: 0 0 20px rgba(37, 244, 238, 0.25),  0 0 40px rgba(255, 0, 80, 0.15); }
  100% { box-shadow: 0 0 35px rgba(255, 0, 80,  0.40),  0 0 60px rgba(37, 244, 238, 0.15); }
}

.app-brand-circle-glow img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.app-login-brand-title {
  font-size: 1.6rem;
  font-weight: 850;
  letter-spacing: 1.5px;
  background: var(--tiktok-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 6px;
  text-align: center;
}

.app-login-brand-subtitle {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 24px;
  text-align: center;
  font-weight: 500;
}

.app-login-tabs {
  width: 100%;
  background: rgba(22, 24, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 4px;
  display: flex;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.app-tab {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  padding: 8px 0;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s;
}

.app-tab.active {
  background: rgba(37, 244, 238, 0.06);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(37, 244, 238, 0.08);
}

.app-login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.app-input-field {
  width: 100%;
  height: 44px;
  background: rgba(22, 24, 35, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
  text-align: left;
}

html[dir="rtl"] .app-input-field {
  text-align: right;
}

.app-input-placeholder {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

.app-login-submit-btn {
  width: 100%;
  height: 44px;
  background: var(--tiktok-gradient);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    0 10px 28px rgba(255, 0, 80, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.app-login-submit-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 14px 36px rgba(255, 0, 80, 0.50),
    0 0 20px rgba(37, 244, 238, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.app-buy-license-area {
  display: flex;
  justify-content: center;
  width: 100%;
}

.app-buy-license-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 12px rgba(37, 244, 238, 0.25);
  text-decoration: none;
  transition: all 0.2s;
}

.app-buy-license-link i {
  font-size: 0.7rem;
  color: var(--secondary);
}

.app-buy-license-link:hover {
  color: #fff;
}

.app-select-game-title {
  text-align: center;
  margin-bottom: 20px;
}

.app-select-game-title h2 {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--tiktok-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 6px;
}

.app-select-game-title p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.app-subscription-box {
  background: rgba(243, 186, 47, 0.02);
  border: 1px solid rgba(243, 186, 47, 0.2);
  box-shadow: 0 0 15px rgba(243, 186, 47, 0.03);
  border-radius: 12px;
  padding: 8px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-sub-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.app-sub-val {
  font-size: 0.75rem;
  font-weight: 800;
  color: #f3ba2f;
  text-shadow: 0 0 8px rgba(243, 186, 47, 0.3);
  letter-spacing: 0.5px;
}

.app-games-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.app-game-item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.app-game-card-content {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, rgba(37, 244, 238, 0.04), rgba(255, 0, 80, 0.03), rgba(22, 24, 35, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 4px 16px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.25s ease;
}

.app-game-card-content:hover {
  background: linear-gradient(145deg, rgba(37, 244, 238, 0.08), rgba(255, 0, 80, 0.06));
  border-color: rgba(37, 244, 238, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 20px rgba(37, 244, 238, 0.14),
    0 0 40px rgba(255, 0, 80, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.app-game-item.wide .app-game-card-content {
  aspect-ratio: auto;
  height: 68px;
  flex-direction: row;
}

.app-game-wide-layout {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-left: 16px;
}

html[dir="rtl"] .app-game-wide-layout {
  padding-left: 0;
  padding-right: 16px;
}

.app-game-icon-container {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}

.horse-icon {
  background: linear-gradient(135deg, #ff9f0a, #ffb340);
  box-shadow: 0 8px 16px rgba(255, 159, 10, 0.25);
}

.football-icon {
  background: linear-gradient(135deg, #30d158, #34c759);
  box-shadow: 0 8px 16px rgba(48, 209, 88, 0.25);
}

.map-icon {
  background: linear-gradient(135deg, #bf5af2, #ff2d55);
  box-shadow: 0 8px 16px rgba(191, 90, 242, 0.25);
}

.app-game-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
}

html[dir="rtl"] .app-game-badge {
  right: auto;
  left: 8px;
}

.app-game-badge[data-i18n="app.badge.updated"] {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.app-game-badge[data-i18n="app.badge.new"] {
  background: var(--tiktok-gradient);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 0, 80, 0.35);
  font-weight: 800;
}

.app-game-card-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.app-game-item.wide .app-game-card-name {
  font-size: 0.8rem;
  text-align: left;
}

html[dir="rtl"] .app-game-item.wide .app-game-card-name {
  text-align: right;
}

.app-logout-btn {
  width: 100%;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  margin-bottom: 16px;
}

.app-logout-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.app-version-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (max-width: 576px) {
  .app-window-mockup {
    max-width: 310px;
    padding: 16px;
  }
  .app-screens-wrapper {
    min-height: 390px;
  }
  .app-select-game-title h2 {
    font-size: 1.7rem;
  }
  .app-game-card-content {
    height: 95px;
  }
  .app-game-item.wide .app-game-card-content {
    height: 64px;
  }
}

.visual-circles {
  position: absolute;
  width: 450px;
  height: 450px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-circles::before {
  content: '';
  width: 320px;
  height: 320px;
  border: 1px dashed rgba(37, 244, 238, 0.12);
  border-radius: var(--radius-full);
  position: absolute;
}

/* ==========================================
   Guide & Streaming Section
========================================== */
.guide {
  padding: 100px 0;
  position: relative;
}

.video-container {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,0,80,0.3), rgba(37,244,238,0.3));
  padding: 1.5px;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(37, 244, 238, 0.06),
    0 0 40px rgba(255, 0, 80, 0.06);
}

.video-container > .video-wrapper {
  border-radius: calc(var(--radius-lg) - 1.5px);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ====================================================
   Premium Cinematic Video Poster
   ==================================================== */
.video-custom-poster {
  position: absolute;
  inset: 0;
  /* Match exact site background color with TikTok micro-glows */
  background: radial-gradient(ellipse at 15% 50%, rgba(255, 0, 80, 0.07) 0%, transparent 50%),
              radial-gradient(ellipse at 85% 50%, rgba(37, 244, 238, 0.07) 0%, transparent 50%),
              #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow: hidden;
}

.video-custom-poster.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ── Three layered glows ── */
.poster-glow-1, .poster-glow-2, .poster-glow-3 {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(90px);
  z-index: 1;
  pointer-events: none;
}

.poster-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--secondary); /* TikTok Red */
  top: -30%;
  left: -15%;
  opacity: 0.07;
  animation: glowDrift1 9s ease-in-out infinite alternate;
}

.poster-glow-2 {
  width: 450px;
  height: 450px;
  background: var(--primary); /* TikTok Cyan */
  bottom: -25%;
  right: -15%;
  opacity: 0.07;
  animation: glowDrift2 11s ease-in-out infinite alternate;
}

.poster-glow-3 {
  width: 200px;
  height: 200px;
  background: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.04;
  animation: glowPulse 7s ease-in-out infinite;
}

@keyframes glowDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, 15px) scale(1.08); }
}

@keyframes glowDrift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-20px, -12px) scale(1.06); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.03; transform: translate(-50%, -50%) scale(0.9); }
  50%       { opacity: 0.08; transform: translate(-50%, -50%) scale(1.1); }
}

/* ── Scan lines film overlay ── */
.poster-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.06) 3px,
    rgba(0, 0, 0, 0.06) 4px
  );
  z-index: 2;
  pointer-events: none;
  opacity: 0.6;
}

/* ── Decorative corner brackets ── */
.poster-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  z-index: 3;
  pointer-events: none;
}

.poster-corner::before,
.poster-corner::after {
  content: '';
  position: absolute;
  background: var(--primary);
  opacity: 0.45;
}

.poster-corner-tl { top: 18px; left: 18px; }
.poster-corner-tr { top: 18px; right: 18px; }
.poster-corner-bl { bottom: 18px; left: 18px; }
.poster-corner-br { bottom: 18px; right: 18px; }

/* Horizontal bar */
.poster-corner-tl::before,
.poster-corner-tr::before,
.poster-corner-bl::before,
.poster-corner-br::before {
  width: 100%; height: 2px;
}

/* Vertical bar */
.poster-corner-tl::after,
.poster-corner-tr::after,
.poster-corner-bl::after,
.poster-corner-br::after {
  width: 2px; height: 100%;
}

.poster-corner-tl::before { top: 0; left: 0; }
.poster-corner-tl::after  { top: 0; left: 0; }

.poster-corner-tr::before { top: 0; right: 0; left: auto; }
.poster-corner-tr::after  { top: 0; right: 0; left: auto; }

.poster-corner-bl::before { bottom: 0; top: auto; left: 0; }
.poster-corner-bl::after  { bottom: 0; top: auto; left: 0; }

.poster-corner-br::before { bottom: 0; top: auto; right: 0; left: auto; }
.poster-corner-br::after  { bottom: 0; top: auto; right: 0; left: auto; }

/* ── Central content ── */
.poster-content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 32px 24px;
}

/* ── Logo ── */
.poster-logo {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(37, 244, 238, 0.55));
  animation: logoFloat 4s ease-in-out infinite;
}

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

/* ── Small top badge ── */
.poster-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(37, 244, 238, 0.3);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--primary);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

/* ── Main title with shimmer ── */
.poster-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 
    0 0 30px rgba(37, 244, 238, 0.25),
    0 2px 12px rgba(0, 0, 0, 0.6);
  margin: 0;
  background: linear-gradient(90deg, #ffffff 0%, #25f4ee 40%, #ffffff 70%, #25f4ee 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 6s linear infinite;
}

@keyframes shimmerText {
  0%   { background-position: 0% center; }
  100% { background-position: 250% center; }
}

/* ── Play button wrap with pulsing rings ── */
.poster-play-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 4px;
}

.poster-ring {
  position: absolute;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.poster-ring-1 {
  width: 116px;
  height: 116px;
  animation: ringPulse 3s ease-out infinite;
}

.poster-ring-2 {
  width: 152px;
  height: 152px;
  border-color: rgba(255, 255, 255, 0.04);
  animation: ringPulse 3s ease-out 1s infinite;
}

@keyframes ringPulse {
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ── Play button itself ── */
.poster-play-btn {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 
    0 0 0 8px rgba(255, 255, 255, 0.03),
    0 8px 32px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
  z-index: 1;
}

.poster-play-btn i {
  font-size: 1.6rem;
  color: #ffffff;
  padding-inline-start: 4px;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
}

.video-custom-poster:hover .poster-play-btn {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(37, 244, 238, 0.50);
  box-shadow:
    0 0 0 8px rgba(37, 244, 238, 0.05),
    0 12px 40px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(37, 244, 238, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.poster-play-btn:active {
  transform: scale(0.95);
}

/* ── Hint text below play button ── */
.poster-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: hintFade 3s ease-in-out infinite;
}

@keyframes hintFade {
  0%, 100% { opacity: 0.38; }
  50%       { opacity: 0.75; }
}


.video-mockup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #130f25 0%, #08060d 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  cursor: pointer;
  transition: var(--transition-normal);
}

.video-mockup:hover {
  background: linear-gradient(135deg, #191430 0%, #0d0a14 100%);
}

.video-mockup:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 30px var(--primary);
  background: var(--primary);
  color: #000;
}

.video-mockup img.thumbnail {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}

.play-btn {
  width: 80px;
  height: 80px;
  background: rgba(0, 242, 254, 0.1);
  border: 2px solid var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 16px;
  z-index: 2;
  transition: var(--transition-normal);
  padding-left: 5px; /* Alignment fix for play triangle */
}

html[dir="rtl"] .play-btn {
  padding-left: 0;
  padding-right: 5px;
}

.video-mockup span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  height: 100%;
}

.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(37, 244, 238, 0.05);
  border: 1px solid rgba(37, 244, 238, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.tool-card:hover .tool-icon {
  background: var(--tiktok-gradient);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 0, 80, 0.35), 0 0 40px rgba(37, 244, 238, 0.15);
  transform: rotate(-5deg);
}

.tool-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.tool-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   Subscriptions Section
========================================== */
.subscriptions {
  padding: 100px 0;
  position: relative;
}

.subs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.sub-card {
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Recommended premium border glow */
.sub-card.premium {
  border: 2px solid var(--secondary);
  box-shadow: 0 15px 45px rgba(255, 0, 80, 0.14);
}

.sub-card.premium:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 55px rgba(37, 244, 238, 0.14), 0 0 60px rgba(255, 0, 80, 0.06);
}

.premium-tag {
  position: absolute;
  top: 24px;
  right: 24px;
}

html[dir="rtl"] .premium-tag {
  right: auto;
  left: 24px;
}

.sub-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.sub-card.premium .sub-name {
  color: var(--secondary);
}

.sub-card.regular .sub-name {
  color: var(--primary);
}

.sub-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.price-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.price-currency {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.sub-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.sub-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.sub-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.sub-features li i {
  color: var(--primary);
  font-size: 1.1rem;
}

.sub-card.premium .sub-features li i {
  color: var(--secondary);
}

.sub-features li.disabled {
  color: var(--text-dim);
  text-decoration: line-through;
}

.sub-features li.disabled i {
  color: var(--text-dim);
}

.sub-btn {
  width: 100%;
}

/* ==========================================
   Payment Methods Section
========================================== */
.payments {
  padding: 100px 0;
  position: relative;
}

.payment-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.pay-group-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
}

.pay-group-title i {
  color: var(--primary);
}

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

.pay-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pay-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pay-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pay-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-main);
  transition: var(--transition-normal);
}

.pay-card:hover .pay-icon-box {
  border-color: var(--primary);
  box-shadow: 0 0 14px rgba(37, 244, 238, 0.25);
}

/* Custom logo colors */
.pay-card.cih .pay-icon-box {
  background: #ff5e0015;
  border-color: #ff5e0040;
  color: #ff5e00;
}
.pay-card.cih:hover .pay-icon-box {
  background: #ff5e00;
  color: #fff;
  border-color: #ff5e00;
}

.pay-card.cashplus .pay-icon-box {
  background: #ffcc0015;
  border-color: #ffcc0040;
  color: #ffcc00;
}
.pay-card.cashplus:hover .pay-icon-box {
  background: #ffcc00;
  color: #000;
  border-color: #ffcc00;
}

.pay-card.binance .pay-icon-box {
  background: #f3ba2f15;
  border-color: #f3ba2f40;
  color: #f3ba2f;
}
.pay-card.binance:hover .pay-icon-box {
  background: #f3ba2f;
  color: #000;
  border-color: #f3ba2f;
}

.pay-name {
  font-weight: 700;
  font-size: 1.2rem;
}

.pay-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.pay-card.binance .pay-tag {
  border-color: rgba(243, 186, 47, 0.3);
  color: #f3ba2f;
}

.pay-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================
   Contact Section & Footer
========================================== */
.contact {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #06040a 100%);
}

.contact-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.contact-card {
  width: 100%;
  max-width: 600px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-card h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 32px;
  background: linear-gradient(135deg, #fff 40%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-card .contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
  width: 100%;
  align-items: center;
}

.contact-card .contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.contact-card .contact-item i {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-card .whatsapp-btn {
  gap: 12px;
  background: #25d366;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25);
  color: #fff;
  border: none;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  cursor: pointer;
  font-weight: 700;
}

.contact-card .whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  background: #20ba5a;
}

.contact-card .whatsapp-btn i {
  font-size: 1.4rem;
}

.contact-form-card {
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-group input {
  background: rgba(22, 24, 35, 0.7);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(37, 244, 238, 0.15), 0 0 4px rgba(255, 0, 80, 0.05);
  background: rgba(22, 24, 35, 0.9);
}

.submit-btn {
  width: 100%;
}

/* Footer structure */
footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #09090b;
  text-align: center;
  color: #8a8b91;
  font-size: 0.9rem;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ==========================================
   Interactive Modals
========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 3, 7, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

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

.modal-content {
  width: 90%;
  max-width: 580px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(30px);
  transition: var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  z-index: 5;
}

html[dir="rtl"] .close-modal {
  right: auto;
  left: 24px;
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary);
  border-color: var(--primary);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 24px;
  text-align: center;
}

.modal-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Download Modal Cards */
.download-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.download-option-card {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.download-platform {
  display: flex;
  align-items: center;
  gap: 16px;
}

.download-platform-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(37, 244, 238, 0.06);
  border: 1px solid rgba(37, 244, 238, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.download-platform:nth-child(2) .download-platform-icon {
  color: #a6a3b6;
  border-color: var(--border-color);
  background: rgba(255, 255, 255, 0.02);
}

.download-platform-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.download-platform-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-warning {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 0, 80, 0.06);
  border: 1px solid rgba(255, 0, 80, 0.18);
  color: var(--secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.modal-warning i {
  font-size: 1.1rem;
  margin-top: 2px;
}

/* Payment steps styling inside modal */
.payment-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.step-card {
  display: flex;
  gap: 16px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(37, 244, 238, 0.08);
  border: 1px solid rgba(37, 244, 238, 0.22);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 16px;
}

.modal-actions button, .modal-actions a {
  flex: 1;
}

/* ==========================================
   Floating WhatsApp Widget
========================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #25d366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-normal);
  animation: wa-pulse 2s infinite;
}

html[dir="rtl"] .whatsapp-widget {
  right: auto;
  left: 30px;
}

.whatsapp-widget:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================
   Scroll Animation Classes
========================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.animate-on-scroll.appeared {
  opacity: 1;
  transform: translateY(0);
}

/* Custom delay for grid items */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================
   Responsive adjustments (Media Queries)
========================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  
  .hero-content p.subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1; /* Place mockup on top in mobile */
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .payment-columns {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  header {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    background: rgba(8, 6, 13, 0.85);
  }
  
  header.scrolled {
    top: 0;
    height: var(--header-height);
    background: rgba(9, 9, 11, 0.98);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  /* Navigation mobile menu */
  .menu-btn {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #09090b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 24px;
    gap: 32px;
    transition: var(--transition-normal);
    z-index: 99;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  html[dir="rtl"] .nav-menu {
    left: auto;
    right: 100%;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  html[dir="rtl"] .nav-menu.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-links a {
    font-size: 1.3rem;
  }
  
  .header-actions {
    flex-direction: column;
    width: 100%;
    gap: 20px;
    margin-top: 20px;
  }
  
  .lang-btn {
    height: 48px;
    width: 100%;
    border-radius: var(--radius-md);
    padding: 0 20px;
    font-size: 0.85rem;
    justify-content: center;
  }
  
  .nav-download-btn {
    width: 100%;
    padding: 14px;
    text-align: center;
  }
  
  /* Burger Icon Active State */
  .menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .subs-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  
  .sub-card {
    padding: 32px 24px;
  }
  
  .modal-content {
    padding: 24px;
  }
  
  .modal-header h3 {
    font-size: 1.5rem;
  }
  
  .modal-actions {
    flex-direction: column;
  }
}
