/* ==========================================================================
   MK VIP OFFICIAL - CYBER RED & BLACK THEME
   Modern Gaming & VIP Bypass Storefront
   ========================================================================== */

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

:root {
  --bg-primary: #0a0b0e;
  --bg-secondary: #10121a;
  --bg-card: rgba(18, 20, 29, 0.75);
  --bg-card-hover: rgba(26, 29, 42, 0.85);
  --bg-glass: rgba(16, 18, 26, 0.65);
  
  --red-primary: #ff1744;
  --red-hover: #ff3366;
  --red-deep: #b70024;
  --red-glow: rgba(255, 23, 68, 0.35);
  --red-glow-strong: rgba(255, 23, 68, 0.65);
  --red-subtle: rgba(255, 23, 68, 0.12);

  --text-main: #f0f2f7;
  --text-muted: #9aa1b4;
  --text-dim: #676e82;

  --border-card: rgba(255, 23, 68, 0.22);
  --border-card-hover: rgba(255, 23, 68, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --green-safe: #00e676;
  --green-glow: rgba(0, 230, 118, 0.35);
  --orange-warn: #ff9100;
  --orange-glow: rgba(255, 145, 0, 0.35);
  --red-danger: #ff1744;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 23, 68, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(183, 0, 36, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(255, 23, 68, 0.07) 0%, transparent 50%),
    linear-gradient(180deg, #0a0b0e 0%, #0c0e14 100%);
  background-attachment: fixed;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #2a111a;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-primary);
}

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, rgba(183, 0, 36, 0.95), rgba(255, 23, 68, 0.95), rgba(183, 0, 36, 0.95));
  color: #fff;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(255, 23, 68, 0.35);
  position: relative;
  z-index: 100;
}
.announcement-bar .pulse-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 23, 68, 0.2);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(10, 11, 14, 0.95);
  border-bottom-color: var(--red-primary);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 23, 68, 0.15);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 20px;
}

/* Brand */
.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.compact-lang-box {
  display: flex;
  align-items: center;
}

.compact-lang-select {
  background: rgba(18, 20, 26, 0.9);
  color: #f3f5fa;
  border: 1px solid rgba(255, 23, 68, 0.35);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  height: 30px;
}

.compact-lang-select:hover,
.compact-lang-select:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 10px rgba(255, 23, 68, 0.4);
  background: #181b22;
}

.compact-lang-select option {
  background: #0f1015;
  color: #fff;
  padding: 6px 10px;
}

.brand-logo-wrap {
  position: relative;
  width: 52px;
  height: 52px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 23, 68, 0.6));
  transition: transform var(--transition-smooth);
}

.brand:hover .brand-logo {
  transform: scale(1.08) rotate(-2deg);
}

.brand-title {
  font-family: 'Rajdhani', 'Cairo', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffffff 40%, var(--red-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--red-primary);
  color: #fff;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  margin-right: 6px;
  letter-spacing: 0.5px;
}

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap; /* يمنع نزول الكلمات تحت بعضها نهائياً */
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 23, 68, 0.12);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--red-primary);
  box-shadow: 0 0 8px var(--red-primary);
  border-radius: 2px;
}

/* Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Currency switch */
.currency-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 23, 68, 0.25);
  border-radius: var(--radius-md);
  padding: 3px;
  cursor: pointer;
}

.curr-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 4px 12px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.curr-btn.active {
  background: var(--red-primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 23, 68, 0.5);
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-block;
}
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(18, 20, 29, 0.95);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 23, 68, 0.2);
  backdrop-filter: blur(12px);
  padding: 6px;
  min-width: 170px;
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.lang-dropdown.open .lang-dropdown-menu {
  display: flex;
}
.lang-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.lang-dropdown-menu a:hover {
  background: rgba(255, 23, 68, 0.15);
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-deep) 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--red-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--red-hover) 0%, var(--red-primary) 100%);
  box-shadow: 0 6px 28px var(--red-glow-strong);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 23, 68, 0.08);
  border: 1px solid rgba(255, 23, 68, 0.4);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 23, 68, 0.2);
  border-color: var(--red-primary);
  box-shadow: 0 0 15px var(--red-glow);
  transform: translateY(-2px);
}

.btn-telegram {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(34, 158, 217, 0.3);
}
.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(34, 158, 217, 0.5);
}

.btn-discord {
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35);
}
.btn-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(88, 101, 242, 0.55);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 60px 0 40px;
  position: relative;
  text-align: center;
}

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

.hero-owner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: linear-gradient(135deg, rgba(255, 23, 68, 0.15) 0%, rgba(183, 0, 36, 0.25) 100%);
  border: 1px solid rgba(255, 23, 68, 0.45);
  border-radius: var(--radius-full);
  box-shadow: 0 0 22px rgba(255, 23, 68, 0.3);
  font-family: 'Rajdhani', 'Cairo', sans-serif;
  letter-spacing: 0.5px;
}

.hero-owner-badge .owner-crown {
  font-size: 1.15rem;
  filter: drop-shadow(0 0 8px #ffd700);
}

.hero-owner-badge .owner-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-owner-badge .owner-name {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffffff 20%, #ff1744 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-owner-badge .verified-badge {
  background: #00e676;
  color: #0a0b0e;
  font-size: 0.68rem;
  font-weight: 900;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(255, 23, 68, 0.12);
  border: 1px solid rgba(255, 23, 68, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ff5277;
  box-shadow: 0 0 20px rgba(255, 23, 68, 0.2);
}

.hero-wolf-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  position: relative;
}

.hero-wolf-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(255, 23, 68, 0.8));
  animation: float 4s ease-in-out infinite;
}

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

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--red-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

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

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 60px 0;
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 18px;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::before {
  content: '';
  width: 6px;
  height: 28px;
  background: var(--red-primary);
  border-radius: 4px;
  box-shadow: 0 0 12px var(--red-primary);
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.section-count {
  font-family: 'Rajdhani', 'Cairo', sans-serif;
  background: rgba(255, 23, 68, 0.12);
  border: 1px solid rgba(255, 23, 68, 0.3);
  color: var(--red-hover);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ==========================================================================
   Bypass Status Section (حالة البايباس)
   ========================================================================== */
.status-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.status-card-header {
  background: rgba(255, 23, 68, 0.08);
  border-bottom: 1px solid var(--border-card);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-game-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.status-table th {
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-muted);
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-table td {
  padding: 18px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
  color: #fff;
}

.status-table tr:hover td {
  background: rgba(255, 23, 68, 0.04);
}

.prod-cell {
  text-align: right;
  font-weight: 800;
}

.prod-version-badge {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-right: 8px;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 800;
}

.status-pill.safe {
  background: rgba(0, 230, 118, 0.12);
  color: var(--green-safe);
  border: 1px solid rgba(0, 230, 118, 0.35);
  box-shadow: 0 0 12px var(--green-glow);
}

.status-pill.updating {
  background: rgba(255, 145, 0, 0.12);
  color: var(--orange-warn);
  border: 1px solid rgba(255, 145, 0, 0.35);
  box-shadow: 0 0 12px var(--orange-glow);
}

.status-pill.danger {
  background: rgba(255, 23, 68, 0.15);
  color: var(--red-danger);
  border: 1px solid rgba(255, 23, 68, 0.4);
  box-shadow: 0 0 12px var(--red-glow);
}

.status-pill .indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.status-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 14px;
}

/* ==========================================================================
   Products Grid Section (المنتجات والاشتراكات)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-card-hover);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px var(--red-glow);
  background: var(--bg-card-hover);
}

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

.prod-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(255, 23, 68, 0.4);
}

.prod-image-wrap {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  margin-bottom: 18px;
  border: 1px solid rgba(255, 23, 68, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.product-card:hover .prod-image {
  transform: scale(1.06);
}

.prod-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.prod-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  min-height: 44px;
}

.prod-features {
  list-style: none;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prod-feature-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  color: #e0e4ed;
}

.prod-feature-item svg {
  color: var(--red-primary);
  flex-shrink: 0;
}

.prod-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prod-price {
  display: flex;
  flex-direction: column;
}

.price-val {
  font-family: 'Rajdhani', 'Cairo', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

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

/* ==========================================================================
   ROCKX STORE CATALOG & SHOP ENHANCEMENTS
   ========================================================================== */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  background: var(--bg-card);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.shop-search-wrapper {
  position: relative;
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
}

.shop-search-wrapper .search-icon {
  position: absolute;
  right: 14px;
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
}

[dir="ltr"] .shop-search-wrapper .search-icon {
  right: auto;
  left: 14px;
}

.shop-search-input {
  width: 100%;
  padding: 10px 42px 10px 40px;
  background: rgba(10, 11, 14, 0.7);
  border: 1px solid rgba(255, 23, 68, 0.25);
  border-radius: var(--radius-full);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

[dir="ltr"] .shop-search-input {
  padding: 10px 40px 10px 42px;
}

.shop-search-input:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 15px var(--red-glow);
  background: rgba(16, 18, 26, 0.9);
}

.search-clear-btn {
  position: absolute;
  left: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px;
}

[dir="ltr"] .search-clear-btn {
  left: auto;
  right: 12px;
}

.search-clear-btn:hover {
  color: var(--red-primary);
}

.shop-platform-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.plat-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  padding: 7px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.plat-filter-btn:hover {
  background: rgba(255, 23, 68, 0.1);
  color: #fff;
  border-color: rgba(255, 23, 68, 0.4);
}

.plat-filter-btn.active {
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  color: #fff;
  border-color: var(--red-primary);
  box-shadow: 0 2px 10px var(--red-glow);
}

/* ==========================================================================
   ROCKX STORE - CATEGORY WORLD CAROUSEL (كل عالم، له اختياراته)
   ========================================================================== */
.category-world-section {
  margin: 30px 0 25px 0;
  position: relative;
}

.category-world-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.world-title-wrap {
  display: flex;
  flex-direction: column;
}

.world-title-wrap .world-kicker {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: #c084fc;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.world-title-wrap .world-heading {
  font-size: 1.85rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.world-controls-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.world-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.carousel-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.carousel-arrow-btn:hover {
  background: linear-gradient(135deg, #9333ea, #ff1744);
  border-color: #c084fc;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.6);
  transform: scale(1.08);
}

.carousel-arrow-btn:active {
  transform: scale(0.95);
}

.category-carousel-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 2px 14px 2px;
  cursor: grab;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.category-carousel-wrapper.grabbing {
  cursor: grabbing !important;
  user-select: none;
  scroll-behavior: auto;
}

.category-carousel-wrapper::-webkit-scrollbar {
  display: none;
}

.category-carousel-track {
  display: flex;
  gap: 14px;
  width: max-content;
}

.cat-tile {
  background: rgba(18, 14, 28, 0.82);
  border: 1px solid rgba(192, 132, 252, 0.16);
  border-radius: 18px;
  min-width: 108px;
  max-width: 120px;
  padding: 16px 8px 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.cat-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 132, 252, 0.5);
  background: rgba(28, 20, 48, 0.95);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 16px rgba(192, 132, 252, 0.25);
}

.cat-tile.active {
  background: linear-gradient(145deg, rgba(74, 20, 140, 0.7), rgba(28, 10, 52, 0.95));
  border-color: #c084fc;
  box-shadow: 0 0 22px rgba(192, 132, 252, 0.45), inset 0 0 14px rgba(192, 132, 252, 0.2);
}

.cat-tile-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  flex-shrink: 0;
}

.cat-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.cat-tile-monogram {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #e9d5ff;
  background: rgba(192, 132, 252, 0.16);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(192, 132, 252, 0.25);
}

.cat-tile-grid-icon {
  width: 24px;
  height: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.cat-tile-grid-icon span {
  background: #c084fc;
  border-radius: 3px;
}

.cat-tile-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
}

.cat-tile-count {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.cat-tile.active .cat-tile-count {
  color: #f3e8ff;
}

.carousel-scrollbar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  margin-top: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.carousel-scrollbar-track:hover {
  background: rgba(255, 255, 255, 0.14);
}

.carousel-scrollbar-thumb {
  height: 100%;
  width: 18%;
  background: linear-gradient(90deg, #9333ea, #ff1744);
  border-radius: 6px;
  position: absolute;
  top: 0;
  right: 0;
  cursor: grab;
  transition: transform 0.08s linear, width 0.2s ease;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

[dir="ltr"] .carousel-scrollbar-thumb {
  right: auto;
  left: 0;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 20, 29, 0.7);
  border: 1px solid rgba(255, 23, 68, 0.18);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  color: var(--text-main);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.category-pill:hover {
  border-color: var(--red-primary);
  background: rgba(26, 29, 42, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.category-pill.active {
  background: linear-gradient(135deg, rgba(255, 23, 68, 0.25), rgba(183, 0, 36, 0.35));
  border-color: var(--red-primary);
  color: #fff;
  box-shadow: 0 0 15px var(--red-glow);
}

.category-pill .cat-count {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: 'Rajdhani', sans-serif;
  color: var(--text-muted);
}

.category-pill.active .cat-count {
  background: var(--red-primary);
  color: #fff;
}

/* Card Enhancements */
.prod-platform-badges {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

[dir="ltr"] .prod-platform-badges {
  left: auto;
  right: 10px;
}

.plat-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(10, 11, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  letter-spacing: 0.5px;
}

.plat-badge.plat-android {
  border-color: #3ddc84;
  color: #3ddc84;
}

.plat-badge.plat-ios {
  border-color: #007aff;
  color: #70b4ff;
}

.plat-badge.plat-pc {
  border-color: #ff9100;
  color: #ffb74d;
}

.prod-kicker-tag {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.prod-variants-wrapper {
  margin: 12px 0 16px;
  padding: 10px;
  background: rgba(10, 11, 14, 0.5);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.variant-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.variant-label-row .v-label {
  color: var(--text-muted);
}

.variant-label-row .v-selected {
  color: var(--red-primary);
  font-weight: 800;
}

.variant-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.v-pill-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 9px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.v-pill-btn:hover {
  border-color: var(--red-primary);
  color: #fff;
  background: rgba(255, 23, 68, 0.1);
}

.v-pill-btn.active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: #fff;
  box-shadow: 0 0 10px var(--red-glow);
}

.v-pill-btn.soldout {
  opacity: 0.45;
  text-decoration: line-through;
}

.stock-status-pill {
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
  margin-top: 4px;
}

.stock-status-pill.in-stock {
  color: var(--green-safe);
}

.stock-status-pill.out-stock {
  color: var(--text-dim);
}

.btn-card-buy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
}

/* Product Purchase Modal */
.product-modal-dialog {
  max-width: 620px;
  width: 95%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 23, 68, 0.35);
}

#productPurchaseModalBody {
  max-height: calc(88vh - 76px);
  overflow-y: auto;
  padding: 22px 24px 28px 24px;
  overscroll-behavior: contain;
}

.modal-prod-preview {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.modal-prod-img {
  width: 95px;
  height: 95px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--red-primary);
  flex-shrink: 0;
  background: #000;
}

.modal-prod-info h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.modal-game-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 23, 68, 0.2);
  color: var(--red-primary);
  border: 1px solid rgba(255, 23, 68, 0.3);
  margin-bottom: 6px;
}

.modal-price-box {
  background: rgba(255, 23, 68, 0.06);
  border: 1px solid rgba(255, 23, 68, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0;
}

.modal-price-val {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
}

.modal-price-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* ==========================================================================
   Video Tutorials Section (شروحات وفيديوهات)
   ========================================================================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-card-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--red-glow);
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.video-card:hover .video-thumb {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 23, 68, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 25px rgba(255, 23, 68, 0.8);
  transition: all var(--transition-smooth);
}

.video-card:hover .video-play-btn {
  background: var(--red-primary);
  transform: translate(-50%, -50%) scale(1.15);
}

.video-info {
  padding: 20px;
}

.video-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.video-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   WWCD Gallery Section (لقطات الفوز والإثباتات)
   ========================================================================== */
.gallery-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: #fff;
  box-shadow: 0 0 15px var(--red-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.gallery-card {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111;
  border: 1px solid var(--border-card);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.gallery-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--red-primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 20px var(--red-glow);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.gallery-caption {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* ==========================================================================
   Download Center Section (مركز التحميلات)
   ========================================================================== */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--transition-smooth);
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-card-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--red-glow);
  background: var(--bg-card-hover);
}

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

.download-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.download-format-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(255, 23, 68, 0.15);
  border: 1px solid rgba(255, 23, 68, 0.4);
  color: var(--red-hover);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}

.download-meta {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.download-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-deep) 100%);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 4px 15px var(--red-glow);
  transition: all var(--transition-fast);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--red-glow-strong);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #07080b;
  border-top: 1px solid var(--border-card);
  padding: 40px 0 24px;
  margin-top: 80px;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--red-primary);
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Modal Dialogs (Auth, Video, Lightbox)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: all var(--transition-fast);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 460px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--red-glow);
  overflow: hidden;
  position: relative;
  margin: auto;
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

.modal-header {
  background: rgba(255, 23, 68, 0.08);
  border-bottom: 1px solid var(--border-card);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--red-primary);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1 1 auto;
  max-height: calc(88vh - 75px);
  scrollbar-width: thin;
  scrollbar-color: var(--red-primary) rgba(255, 255, 255, 0.05);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--red-primary);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #ff5252;
}

/* Forms */
.form-group {
  margin-bottom: 18px;
}

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

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 12px var(--red-glow);
}

/* Lightbox Modal */
.lightbox-dialog {
  max-width: 900px;
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9), 0 0 30px var(--red-glow);
  border: 1px solid var(--border-card);
}

.lightbox-title {
  margin-top: 14px;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1220px) {
  .nav-links {
    gap: 2px;
  }
  .nav-link {
    padding: 6px 10px;
    font-size: 0.84rem;
  }
  .nav-actions {
    gap: 6px;
  }
  .btn-sm {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
  }
}

/* ==========================================================================
   Live Players Online Counter
   ========================================================================== */
.live-players-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.35);
  border-radius: var(--radius-full);
  padding: 9px 24px;
  font-family: 'Rajdhani', 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  color: #fff;
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.22);
  margin-top: 24px;
  margin-bottom: 32px;
}

.live-players-badge .pulse-green {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-safe);
  box-shadow: 0 0 10px var(--green-safe);
  animation: pulse-green 1.6s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.players-number {
  color: var(--green-safe);
  font-size: 1.15rem;
  font-weight: 800;
}

/* ==========================================================================
   Payment Methods Section
   ========================================================================== */
.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.payment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.payment-card:hover {
  transform: translateY(-5px);
  border-color: var(--red-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 22px var(--red-glow);
  background: var(--bg-card-hover);
}

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

.payment-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 6px;
  background: rgba(255, 23, 68, 0.1);
  border: 1px solid rgba(255, 23, 68, 0.25);
}

.payment-icon-wrap.vodafone {
  background: rgba(230, 0, 0, 0.15);
  border-color: rgba(230, 0, 0, 0.4);
}

.payment-icon-wrap.binance {
  background: rgba(243, 186, 47, 0.15);
  border-color: rgba(243, 186, 47, 0.4);
}

.payment-icon-wrap.paypal {
  background: rgba(0, 112, 186, 0.15);
  border-color: rgba(0, 112, 186, 0.4);
}

.payment-icon-wrap.cards {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.payment-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.payment-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item.active {
  border-color: var(--red-primary);
  box-shadow: 0 4px 20px var(--red-glow);
}

.faq-question {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(255, 23, 68, 0.05);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--red-primary);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  padding: 0 22px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 16px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Live Purchase Toast Notification
   ========================================================================== */
.purchase-toast {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  background: rgba(16, 18, 25, 0.92);
  border: 1px solid var(--red-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px var(--red-glow);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 380px;
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
  text-align: right;
}

.purchase-toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 23, 68, 0.15);
  border: 1px solid var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.toast-item {
  color: var(--red-primary);
  font-weight: 900;
}

.toast-time {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ==========================================================================
   Back To Top Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(80px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.back-to-top.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--red-hover) 0%, var(--red-primary) 100%);
  box-shadow: 0 6px 25px var(--red-glow-strong);
  transform: translateY(-3px);
}

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

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

.faq-item:hover {
  border-color: var(--border-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.faq-item.open,
.faq-item.active {
  border-color: var(--border-card-hover);
  box-shadow: 0 8px 30px var(--red-glow);
}

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

.faq-question:hover {
  color: #fff;
}

.faq-icon,
.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--red-primary);
  transition: transform var(--transition-smooth);
}

.faq-item.open .faq-icon,
.faq-item.active .faq-icon,
.faq-item.open .faq-chevron,
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

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

.faq-item.open .faq-answer,
.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 24px 20px 24px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   Persistent Floating Free Trial Key Action Button (حصول على كود)
   ========================================================================== */
.floating-free-key-btn {
  position: fixed !important;
  bottom: 26px !important;
  left: 26px !important;
  z-index: 99999999 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 18px 10px 14px !important;
  background: linear-gradient(135deg, rgba(20, 5, 8, 0.95) 0%, rgba(35, 8, 12, 0.95) 100%) !important;
  border: 1.5px solid rgba(255, 23, 68, 0.6) !important;
  border-radius: 50px !important;
  color: #fff !important;
  cursor: pointer !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 23, 68, 0.45) !important;
  backdrop-filter: blur(16px) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  font-family: inherit !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.btn-free-key-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: linear-gradient(135deg, #ff1744 0%, #b71c1c 100%);
  border: 1.5px solid #ff5252;
  border-radius: 30px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 23, 68, 0.5);
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-free-key-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 23, 68, 0.8);
  border-color: #ff8a80;
}

.floating-free-key-btn:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: #ff1744;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 23, 68, 0.7);
  background: linear-gradient(135deg, rgba(30, 8, 12, 0.98) 0%, rgba(55, 12, 18, 0.98) 100%);
}

.floating-key-glow-ring {
  position: absolute;
  inset: -3px;
  border-radius: 52px;
  background: linear-gradient(90deg, #ff1744, #ff9100, #ff1744);
  background-size: 200% 200%;
  animation: keyBorderPulse 3s ease infinite;
  z-index: -1;
  opacity: 0.55;
  filter: blur(4px);
}

@keyframes keyBorderPulse {
  0% { background-position: 0% 50%; opacity: 0.4; }
  50% { background-position: 100% 50%; opacity: 0.8; }
  100% { background-position: 0% 50%; opacity: 0.4; }
}

.floating-key-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff1744 0%, #b71c1c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(255, 23, 68, 0.6);
  animation: keyIconBounce 2.5s ease-in-out infinite;
}

@keyframes keyIconBounce {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(-10deg) scale(1.08); }
}

.floating-key-label-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: right;
}

[dir="ltr"] .floating-key-label-group {
  text-align: left;
}

.floating-key-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #ffb300;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.floating-key-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
  animation: pulseDot 1.4s infinite;
}

.floating-key-main-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   Free Key Generator Modal & 3-Step Verification
   ========================================================================== */
.free-key-dialog {
  max-width: 680px;
  width: 95%;
  background: linear-gradient(180deg, #120508 0%, #0d0406 100%);
  border: 1.5px solid rgba(255, 23, 68, 0.4);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 23, 68, 0.25);
  overflow: hidden;
}

.free-key-modal-header {
  padding: 18px 22px;
  background: rgba(255, 23, 68, 0.06);
  border-bottom: 1px solid rgba(255, 23, 68, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.free-key-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.free-key-icon-badge {
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 23, 68, 0.15);
  border: 1px solid rgba(255, 23, 68, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.free-key-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Steps Breadcrumbs Bar */
.key-steps-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 8px;
}

.key-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim);
  transition: all 0.3s;
}

.key-step-item.active {
  color: #fff;
}

.key-step-item.active .step-num {
  background: var(--red-primary);
  color: #fff;
  box-shadow: 0 0 12px var(--red-glow);
  border-color: #ff1744;
}

.key-step-item.completed {
  color: #00e676;
}

.key-step-item.completed .step-num {
  background: #00c853;
  color: #000;
  border-color: #00e676;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  transition: all 0.3s;
}

.key-step-divider {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

/* Modal Body */
.free-key-modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* Step Views */
.key-step-view {
  display: none;
  animation: fadeInStep 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.key-step-view.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-hero-card {
  text-align: center;
  margin-bottom: 20px;
}

.step-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255, 23, 68, 0.15);
  border: 1px solid rgba(255, 23, 68, 0.35);
  border-radius: 30px;
  color: var(--red-primary);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-hero-card h4 {
  font-size: 1.15rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 6px;
}

.step-hero-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Cyber Countdown Timer Box */
.cyber-timer-box {
  background: rgba(15, 5, 8, 0.8);
  border: 1px solid rgba(255, 23, 68, 0.25);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 20px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.timer-circle-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.timer-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer-bg-circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 7;
}

.timer-bar-circle {
  fill: none;
  stroke: var(--red-primary);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 276.46;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s linear, stroke 0.3s;
}

.timer-center-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.timer-seconds {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: 'Rajdhani', sans-serif;
  color: #fff;
  line-height: 1;
}

.timer-unit {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
}

.timer-info-text {
  flex: 1;
}

.timer-status {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.timer-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.timer-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff1744 0%, #ff5252 100%);
  border-radius: 4px;
  transition: width 0.8s linear;
}

/* Step Ad Container */
.step-ad-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(255, 23, 68, 0.3);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 22px;
  text-align: center;
}

.ad-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.ad-content-slot {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ad-center-flex {
  justify-content: center;
}

/* Step Security Guarantee */
.step-security-banner {
  background: rgba(0, 230, 118, 0.06);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.sec-badge-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.step-security-banner h5 {
  font-size: 0.95rem;
  color: #00e676;
  font-weight: 800;
  margin-bottom: 4px;
}

.step-security-banner p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Step Actions & Next Button */
.step-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.step-scroll-notice {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.btn-step-next {
  width: 100%;
  padding: 15px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 12px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.btn-step-next.disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  cursor: not-allowed;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.btn-step-next.ready {
  background: linear-gradient(135deg, #00c853 0%, #00e676 100%);
  color: #000;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(0, 230, 118, 0.5);
  animation: pulseReadyBtn 1.6s infinite;
}

@keyframes pulseReadyBtn {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 25px rgba(0, 230, 118, 0.5); }
  50% { transform: scale(1.02); box-shadow: 0 8px 30px rgba(0, 230, 118, 0.75); }
}

/* ==========================================================================
   Step 4: Final Claim Interface & IP Enforcement
   ========================================================================== */
.final-claim-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
}

.final-logo-wrap {
  position: relative;
  width: 95px;
  height: 95px;
  margin-bottom: 12px;
}

.final-claim-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--red-primary);
  background: #000;
  box-shadow: 0 0 25px var(--red-glow);
  position: relative;
  z-index: 2;
}

.final-logo-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 23, 68, 0.5) 0%, transparent 70%);
  animation: logoPulseGlow 2.5s infinite;
  z-index: 1;
}

@keyframes logoPulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.9; }
}

.final-brand-name {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--red-primary);
  margin-bottom: 4px;
}

.final-claim-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.final-claim-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Client IP Card */
.client-ip-card {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ip-label-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ip-address-val {
  font-size: 1.35rem;
  font-weight: 900;
  font-family: 'Rajdhani', monospace;
  color: #00e676;
  letter-spacing: 1px;
}

.ip-security-note {
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* Cooldown Status Alert Card */
.cooldown-status-card {
  width: 100%;
  background: rgba(255, 23, 68, 0.1);
  border: 1.5px solid rgba(255, 23, 68, 0.5);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 20px;
  text-align: center;
}

.cooldown-alert-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ff1744;
  margin-bottom: 6px;
}

.cooldown-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.cooldown-timer-box {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 23, 68, 0.3);
  border-radius: 10px;
  padding: 10px 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cooldown-clock-text {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.cooldown-clock-val {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: 'Rajdhani', monospace;
  color: #ff5252;
  letter-spacing: 2px;
}

/* Eligible Status Card */
.eligible-status-card {
  width: 100%;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.35);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 20px;
}

.eligible-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #00e676;
}

/* Claim Button */
.claim-btn-wrap {
  width: 100%;
  margin-bottom: 20px;
}

.btn-claim-3h {
  width: 100%;
  padding: 16px 28px;
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #ff1744 0%, #b71c1c 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(255, 23, 68, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.btn-claim-3h:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, #ff5252 0%, #d50000 100%);
  box-shadow: 0 12px 35px rgba(255, 23, 68, 0.7);
}

.btn-claim-3h:disabled {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  cursor: not-allowed;
  box-shadow: none;
}

/* Key Result Card */
.key-result-card {
  width: 100%;
  background: rgba(15, 5, 8, 0.9);
  border: 2px solid #00e676;
  border-radius: 16px;
  padding: 20px;
  margin-top: 10px;
  box-shadow: 0 0 35px rgba(0, 230, 118, 0.3);
  animation: keyResultReveal 0.4s ease;
}

@keyframes keyResultReveal {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

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

.key-success-badge {
  font-size: 0.95rem;
  font-weight: 800;
  color: #00e676;
}

.key-duration-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffb300;
  background: rgba(255, 179, 0, 0.12);
  border: 1px solid rgba(255, 179, 0, 0.35);
  padding: 3px 10px;
  border-radius: 20px;
}

.key-display-box {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.generated-key-input {
  flex: 1;
  background: #000;
  border: 1.5px solid rgba(0, 230, 118, 0.5);
  border-radius: 10px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  font-family: 'Rajdhani', monospace;
  letter-spacing: 2px;
  padding: 12px 16px;
  text-align: center;
  box-shadow: inset 0 0 15px rgba(0, 230, 118, 0.2);
}

.btn-copy-key {
  padding: 12px 20px;
  background: #00e676;
  color: #000;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-copy-key:hover {
  background: #00c853;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.5);
}

.key-instructions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  padding: 14px;
}

[dir="ltr"] .key-instructions-list {
  text-align: left;
}

.instr-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.instr-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 23, 68, 0.2);
  border: 1px solid var(--red-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* In-Shop Sponsored Ad Strip */
.shop-ad-strip {
  background: rgba(15, 5, 8, 0.8);
  border: 1px dashed rgba(255, 23, 68, 0.35);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.ad-tag-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ad-banner-frame {
  max-width: 100%;
  overflow-x: auto;
  display: flex;
  justify-content: center;
}

/* Responsive Rules */
@media (max-width: 768px) {
  .floating-free-key-btn {
    bottom: 20px;
    left: 16px;
    padding: 8px 14px 8px 10px;
    gap: 8px;
  }
  .floating-key-icon-wrap {
    width: 32px;
    height: 32px;
  }
  .floating-key-main-text {
    font-size: 0.85rem;
  }
  .cyber-timer-box {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .key-steps-bar {
    padding: 10px 14px;
  }
  .key-step-item .step-label {
    display: none;
  }
}

/* ==========================================================================
   Responsive Ad Placement Helpers
   ========================================================================== */
.ad-strip-wrapper {
  margin-top: 25px;
  margin-bottom: 35px;
}
.ad-desktop-only {
  display: block;
}
.ad-mobile-only {
  display: none;
}
@media (max-width: 768px) {
  .ad-desktop-only {
    display: none !important;
  }
  .ad-mobile-only {
    display: block !important;
  }
  .shop-ad-strip {
    padding: 12px 8px !important;
  }
}


