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

:root {
  --primary: #ef4444;
  --primary-dark: #dc2626;
  --primary-deep: #b91c1c;
  --gaming-neon: #ff3b3b;
  --primary-glow: rgba(239, 68, 68, 0.45);
  --primary-glow-heavy: 0 15px 45px rgba(239, 68, 68, 0.4);

  --bg-main: #060a12;
  --bg-card: rgba(14, 20, 34, 0.88);
  --bg-card-hover: rgba(20, 30, 50, 0.96);
  --bg-accent: #152238;
  --bg-input: #0b1220;

  --border: rgba(255, 255, 255, 0.14);
  --border-focus: #ef4444;

  --text-main: #ffffff;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  --success: #00f3ff;
  --success-glow: rgba(0, 243, 255, 0.35);
  --warning: #f59e0b;
  --cyan: #00f3ff;
  --indigo: #6366f1;
  --magenta: #ec4899;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #06090e;
}
::-webkit-scrollbar-thumb {
  background: #1e2638;
  border-radius: 4px;
  border: 2px solid #06090e;
}
::-webkit-scrollbar-thumb:hover {
  background: #ef4444;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 18% 12%, rgba(239, 68, 68, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 82% 20%, rgba(0, 243, 255, 0.12) 0%, transparent 48%),
    radial-gradient(circle at 50% 65%, rgba(168, 85, 247, 0.10) 0%, transparent 55%),
    radial-gradient(circle at 20% 85%, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
}

/* Cybernetic Animated Background Grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(239, 68, 68, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: center center;
  z-index: -2;
  pointer-events: none;
}

/* Top Notification / Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #991b1b, #ef4444, #b91c1c, #ef4444);
  background-size: 300% 100%;
  animation: gradientMove 8s infinite ease-in-out;
  color: #fff;
  padding: 8px 16px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

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

/* Floating Island Navbar */
.navbar-wrap {
  position: sticky;
  top: 1rem;
  z-index: 1000;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.navbar-floating {
  background: rgba(11, 16, 23, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 35px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(239, 68, 68, 0.15);
  padding: 0.55rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  width: 100%;
}

.navbar-top-row {
  display: contents;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-badge {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}

.brand-text span {
  color: #ef4444;
  text-shadow: 0 0 12px rgba(239, 68, 68, 0.55);
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}

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

.nav-link.active {
  color: #ef4444;
  font-weight: 700;
}

/* Common Pill Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-pill-primary {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.35);
}

.btn-pill-primary:hover {
  background: #dc2626;
  box-shadow: 0 6px 25px rgba(239, 68, 68, 0.55);
  transform: translateY(-2px);
}

.btn-pill-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #cbd5e1;
}

.btn-pill-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-wrap {
  text-align: center;
  padding: 50px 20px 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulseRed 2s infinite;
}

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

.title-main {
  font-family: var(--font-heading);
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
}

.title-sub {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  color: #ef4444;
  text-shadow: 0 0 40px rgba(239, 68, 68, 0.6);
  margin-bottom: 18px;
}

.trust-badges-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.trust-dot {
  color: var(--primary);
  font-size: 1rem;
}

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

.hero-description strong {
  color: #fff;
}

/* Hero Feature Grid Cards */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  max-width: 900px;
  margin: 30px auto 10px;
}

.hero-stat-card {
  background: rgba(11, 16, 23, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  backdrop-filter: blur(10px);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s;
}

.hero-stat-card:hover {
  border-color: rgba(239, 68, 68, 0.35);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.hero-stat-icon {
  font-size: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stat-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Social Media Dock */
.social-dock {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  margin-top: 26px;
}

.social-icon-btn {
  color: var(--text-muted);
  font-size: 1.3rem;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon-btn:hover {
  transform: scale(1.25);
}

.social-whatsapp:hover { color: #25D366; text-shadow: 0 0 15px #25D366; }
.social-telegram:hover { color: #0088cc; text-shadow: 0 0 15px #0088cc; }
.social-youtube:hover { color: #ff0000; text-shadow: 0 0 15px #ff0000; }
.social-discord:hover { color: #5865F2; text-shadow: 0 0 15px #5865F2; }

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

/* Category Header Bar */
.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 24px;
}

.category-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  word-break: break-word;
  overflow-wrap: break-word;
}

.category-title span {
  color: var(--primary);
  margin-right: 6px;
}

.category-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.5), rgba(255, 255, 255, 0.05), transparent);
}

/* FAQ Grid System */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}
  flex: 1;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.5), rgba(255, 255, 255, 0.05), transparent);
}

/* Category Filter Pills */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.filter-tab {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-tab:hover, .filter-tab.active {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}

/* ========================================================
   PRITAM999.STORE REPLICA PANEL CARD STYLING
   ======================================================== */
.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.category-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.category-title .slash-prefix {
  color: #ef4444;
  font-weight: 900;
  margin-right: 8px;
  font-size: 1.35rem;
}

/* Product Cards Grid - Adaptive Universal Resolution (PC & Mobile) */
.premium-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  row-gap: 22px;
  column-gap: 18px;
  max-width: 1240px;
  margin: 16px auto 55px auto;
  padding: 0 16px;
  box-sizing: border-box;
  width: 100%;
}

/* Shop Card Component (.shop-card) - Pritam999 Aesthetic */
.shop-card {
  background: #0d111a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 10px 12px 10px;
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease-in-out;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  width: 100%;
  box-sizing: border-box;
}

.shop-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 16px rgba(239, 68, 68, 0.2);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  background: #060910;
  margin-bottom: 9px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #060910;
  transition: transform 0.4s ease;
}

.shop-card:hover .card-img {
  transform: scale(1.04);
}

/* Top-Left Stock / Digital License Badge */
.pritam-stock-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 2.5px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.pritam-stock-badge.green {
  background: #10b981;
  color: #ffffff;
}

.pritam-stock-badge.teal {
  background: #0ea5e9;
  color: #ffffff;
}

.pritam-stock-badge.out {
  background: #ef4444;
  color: #ffffff;
}

/* Card Title */
.card-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  line-height: 1.25;
  min-height: 2.3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Description */
.card-desc {
  font-size: 0.67rem;
  color: #94a3b8;
  line-height: 1.35;
  margin-bottom: 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rating / Best For Tag Pill */
.card-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2.5px 7px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.card-tag-pill.tag-purple {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.card-tag-pill.tag-cyan {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.card-tag-pill.tag-orange {
  background: rgba(251, 146, 60, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.35);
  color: #fb923c;
}

.card-tag-pill .tag-star {
  font-weight: 900;
}

/* Bottom Action Row: Price & BUY NOW */
.card-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 4px;
  gap: 8px;
}

.card-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.card-price span {
  font-size: 0.88rem;
  margin-right: 2px;
}

.btn-buy-pritam {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: var(--font-body);
}

.btn-buy-pritam:hover {
  background: #dc2626;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.7);
  transform: scale(1.04);
}

/* Modal Duration Pass Pill */
.modal-duration-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.modal-duration-pill:hover {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.08);
}

.modal-duration-pill.active {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}

/* Stock Badge */
.badge-stock {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(16, 185, 129, 0.92);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px var(--success-glow);
  backdrop-filter: blur(6px);
}

.badge-stock-out {
  background: rgba(239, 68, 68, 0.92);
  box-shadow: 0 0 12px var(--primary-glow);
}

.badge-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11, 16, 23, 0.85);
  backdrop-filter: blur(8px);
  color: #cbd5e1;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.25;
}

.card-features-preview {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}

/* Duration Selector Grid inside card */
.duration-selector-wrap {
  margin-bottom: 18px;
}

.duration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 8px;
}

.duration-pill {
  background: rgba(10, 16, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 9px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.duration-pill:hover {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.06);
}

.duration-pill.selected {
  background: rgba(239, 68, 68, 0.18);
  border-color: #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.duration-pill .dur-days {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  display: block;
}

.duration-pill .dur-price {
  font-size: 0.8rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-mono);
}

.duration-pill.selected .dur-price {
  color: #fca5a5;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

/* Card Bottom Action Bar */
.card-footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.tag-rating-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tag-magenta {
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.5);
  color: #f472b6;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.25);
}

.price-tag {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.price-tag span {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-right: 2px;
}

.btn-buy-card {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.5);
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-buy-card:hover:not(:disabled) {
  background: #f87171;
  box-shadow: 0 6px 26px rgba(239, 68, 68, 0.7);
  transform: translateY(-2px);
}

.btn-buy-card:disabled {
  background: #1c222e;
  color: #64748b;
  cursor: not-allowed;
  box-shadow: none;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 16px;
}

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

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(239, 68, 68, 0.25);
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.btn-close-modal {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s;
}

.btn-close-modal:hover {
  color: #ef4444;
}

.modal-content {
  padding: 24px;
}

/* Horizontal Stepper Component */
.stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 24px;
  padding: 0 10px;
}

.stepper::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #111722;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-dim);
  margin-bottom: 4px;
  transition: all 0.25s;
}

.step-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
}

.step-item.active .step-num {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.5);
}

.step-item.active .step-label {
  color: #fff;
  font-weight: 800;
}

.step-item.done .step-num {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

.step-item.done .step-label {
  color: #34d399;
}

/* QR Code Container */
.qr-container {
  background: #0b0f19;
  padding: 6px;
  border-radius: 16px;
  display: inline-block;
  margin: 12px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.25);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  max-width: 300px;
}

.qr-container img {
  display: block;
  max-width: 100%;
  width: auto;
  max-height: 340px;
  border-radius: 12px;
  object-fit: contain;
  margin: 0 auto;
}

/* UPI App Tiles */
.upi-app-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.upi-app-tile {
  background: #090d14;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.2s;
}

.upi-app-tile:hover {
  border-color: #ef4444;
  transform: translateY(-2px);
  background: #141b26;
}

/* Copy Field */
.copy-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #080c13;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  margin: 12px 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.btn-copy {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: #dc2626;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

/* Key Display Box */
.key-box {
  background: rgba(16, 185, 129, 0.08);
  border: 2px dashed #10b981;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin: 20px 0;
}

.key-code-display {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 900;
  color: #34d399;
  letter-spacing: 1.5px;
  word-break: break-all;
  margin: 12px 0 18px;
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.45);
}

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

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 7px;
  color: var(--text-muted);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

/* Buy Action Button inside Modal */
.btn-buy {
  width: 100%;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.4);
  transition: all 0.2s;
}

.btn-buy:hover:not(:disabled) {
  background: #dc2626;
  box-shadow: 0 6px 25px rgba(239, 68, 68, 0.6);
  transform: translateY(-2px);
}

.btn-buy:disabled {
  background: #1c222e;
  color: #64748b;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-sm {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-sm.btn-primary {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}

.btn-sm.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: #cbd5e1;
}

.btn-sm.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-sm.btn-success {
  background: #10b981;
  color: #fff;
}

/* Toast alert notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0f141d;
  border: 1px solid var(--border);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  min-width: 280px;
  animation: slideIn 0.3s forwards;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--primary); }
.toast.info { border-left: 4px solid var(--cyan); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Footer Section */
.footer-wrap {
  background: #080c12;
  border-top: 1px solid var(--border);
  padding: 50px 20px 30px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand h4 span {
  color: var(--primary);
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 18px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 14px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ef4444;
}

.footer-bottom {
  max-width: 1240px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 10px;
}

/* ========================================================================= */
/* UNIVERSAL RESPONSIVE ENGINE (MOBILE PHONES, TABLETS & PC SCREENS)         */
/* ========================================================================= */

/* Tablet & Medium Screens (769px to 1080px) */
@media (min-width: 769px) and (max-width: 1080px) {
  .premium-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Devices (320px to 768px - iPhones, Samsung, Xiaomi, Oneplus, etc.) */
@media (max-width: 768px) {
  /* Prevent Any Horizontal Page Overflow / Shaking */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
    -webkit-text-size-adjust: 100%;
  }

  .container {
    padding: 0 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Compact Sleek Mobile Navbar - 2 Tier Architecture (Pritam999 Replica) */
  .navbar-wrap {
    top: 6px !important;
    padding: 0 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .navbar-floating {
    display: flex !important;
    flex-direction: column !important;
    padding: 8px 12px 6px 12px !important;
    border-radius: 14px !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(10, 16, 26, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .navbar-top-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .logo-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
  }

  .logo-group img,
  .navbar-logo-img {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }

  .brand-text {
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    color: #fff !important;
    letter-spacing: -0.3px !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  /* Horizontally Swipeable Navigation Link Bar */
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 2px 0 2px 0 !important;
    margin: 0 !important;
  }

  .nav-links::-webkit-scrollbar {
    display: none !important;
  }

  .nav-link {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 4px 11px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    text-decoration: none !important;
  }

  .nav-link.active,
  .nav-link:hover {
    background: rgba(239, 68, 68, 0.22) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
  }

  /* Hero Section Scaled for Mobile Viewports */
  .hero-wrap,
  .hero-section {
    padding: 24px 6px 15px !important;
    max-width: 100% !important;
  }

  .hero-pill-badge {
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    letter-spacing: 0.3px !important;
    white-space: normal !important;
    max-width: 95% !important;
    margin: 0 auto 14px auto !important;
  }

  .trust-badges-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px 8px !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 16px !important;
    padding: 0 4px !important;
  }

  .title-main {
    font-size: clamp(1.85rem, 8vw, 2.6rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px !important;
  }

  .title-sub {
    font-size: clamp(1.35rem, 6vw, 1.9rem) !important;
    line-height: 1.15 !important;
  }

  .hero-description {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
    padding: 0 4px !important;
    margin-bottom: 20px !important;
  }

  /* 2-Column Hero Stats on Mobile */
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin: 20px 0 10px !important;
    width: 100% !important;
  }

  .hero-stat-card {
    padding: 10px 8px !important;
  }

  .hero-stat-value {
    font-size: 1.35rem !important;
  }

  .hero-stat-label {
    font-size: 0.66rem !important;
  }

  /* Touch-Friendly Horizontally Swipeable Filter Tabs */
  .category-nav {
    margin-bottom: 18px !important;
  }

  .filter-tabs,
  .filter-tabs-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 8px !important;
    padding: 6px 2px 14px !important;
    width: 100% !important;
  }

  .filter-tabs::-webkit-scrollbar,
  .filter-tabs-wrap::-webkit-scrollbar {
    display: none !important;
  }

  .filter-tab {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 8px 14px !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
  }

  /* 2-Column Cards Grid on Mobile Phones (2 Panels per line - Pritam999 Style) */
  .premium-card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    row-gap: 12px !important;
    column-gap: 8px !important;
    margin: 10px auto 35px auto !important;
    padding: 0 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .shop-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 7px 7px 9px 7px !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden !important;
  }

  .card-img-wrap {
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    margin-bottom: 6px !important;
    background: #060910 !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .card-img {
    object-fit: contain !important;
    background: #060910 !important;
  }

  .card-title {
    font-size: clamp(0.72rem, 2.6vw, 0.82rem) !important;
    font-weight: 800 !important;
    margin-bottom: 3px !important;
    min-height: 2.4em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.22 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .card-desc {
    font-size: clamp(0.55rem, 1.9vw, 0.63rem) !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .card-tag-pill {
    font-size: clamp(0.5rem, 1.7vw, 0.57rem) !important;
    padding: 2px 5px !important;
    margin-bottom: 7px !important;
    white-space: nowrap !important;
    border-radius: 4px !important;
    width: fit-content !important;
  }

  .card-action-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: auto !important;
    padding-top: 2px !important;
    width: 100% !important;
  }

  .card-price {
    font-size: clamp(0.82rem, 3vw, 0.96rem) !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  .btn-buy-pritam {
    padding: 4px 10px !important;
    font-size: clamp(0.58rem, 2vw, 0.67rem) !important;
    border-radius: 9999px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .card-feature-chips {
    display: none !important;
  }

  .badge-category {
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
  }

  .badge-stock {
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
  }

  .duration-selector-wrap {
    margin-bottom: 8px !important;
  }

  .duration-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 4px !important;
  }

  .duration-pill {
    padding: 5px 3px !important;
    border-radius: 6px !important;
  }

  .duration-pill .dur-days {
    font-size: 0.65rem !important;
  }

  .duration-pill .dur-price {
    font-size: 0.68rem !important;
  }

  .card-footer {
    padding-top: 8px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    margin-top: auto !important;
  }

  .card-footer > div {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .price-tag {
    font-size: 1.05rem !important;
  }

  .btn-buy-card {
    width: 100% !important;
    justify-content: center !important;
    padding: 8px 6px !important;
    font-size: 0.74rem !important;
    white-space: nowrap !important;
    border-radius: 8px !important;
  }

  /* Checkout Modal Full Screen / Compact Sheet on Mobile */
  .modal-overlay,
  .modal-backdrop {
    padding: 10px !important;
  }

  .modal-box,
  .modal-card {
    width: 95vw !important;
    max-width: 480px !important;
    padding: 18px 14px !important;
    border-radius: 16px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    margin: auto !important;
    box-sizing: border-box !important;
  }

  .qr-container img {
    max-height: 220px !important;
    width: auto !important;
  }

  .form-input {
    font-size: 16px !important; /* Prevents auto-zoom on mobile iOS/Android */
  }

  /* Footer on Mobile */
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

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

/* Small Screen Phones (Width < 380px, e.g. iPhone SE, Foldable Closed) */
@media (max-width: 380px) {
  .title-main {
    font-size: 1.55rem !important;
  }
  .title-sub {
    font-size: 1.2rem !important;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr !important;
  }
  .premium-card-grid {
    row-gap: 10px !important;
    column-gap: 6px !important;
    padding: 0 4px !important;
  }
  .shop-card {
    padding: 6px 5px 8px 5px !important;
  }
  .card-title {
    font-size: 0.72rem !important;
  }
  .card-price {
    font-size: 0.82rem !important;
  }
  .btn-buy-pritam {
    padding: 4px 8px !important;
    font-size: 0.58rem !important;
  }
  .duration-pill {
    padding: 4px 2px !important;
  }
  .duration-pill .dur-days {
    font-size: 0.6rem !important;
  }
  .duration-pill .dur-price {
    font-size: 0.64rem !important;
  }
  .price-tag {
    font-size: 0.95rem !important;
  }
  .btn-buy-card {
    padding: 7px 4px !important;
    font-size: 0.7rem !important;
  }
}