/* ============================================================
   Skills Beast Coupons Original Layout
   Ultra Dark Palette Matching Modal Popup (#0d0f17 / #080a10)
   Squircle App Icon Badges (RULE: IMG)
   ============================================================ */

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

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Lexend Deca', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #f1f5f9;
  background-color: #242b34;
  /* Exact Popup Ultra Dark Background */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #ffffff;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

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

.justify-content-between {
  justify-content: space-between;
}

.justify-content-around {
  justify-content: space-around;
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: flex-start;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.text-center {
  text-align: center;
}

.text-end {
  text-align: right;
}

.text-muted {
  color: #94a3b8 !important;
}

.text-purple {
  color: #8b5cf6 !important;
}

.text-cyan {
  color: #38bdf8 !important;
}

.text-warning {
  color: #f59e0b !important;
}

.text-success {
  color: #10b981 !important;
}

.text-white {
  color: #ffffff !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
  margin-top: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.px-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.px-3 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.w-100 {
  width: 100%;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.d-none {
  display: none !important;
}

/* Header & Hero */
header {
  position: relative;
  background: #080a10;
  /* Exact Popup Header Color */
  color: #ffffff;
  padding-bottom: 2.5rem;
  overflow: visible !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  z-index: 100;
}

#pagebg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

.brand-logo-link {
  gap: 10px;
}

.brand-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.35));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 6px 18px rgba(139, 92, 246, 0.55));
}

.brand-badge-cg {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(120deg, #8b5cf6, #6366f1 55%, #06b6d4);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.brand-name-cg {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.hero-center {
  position: relative;
  z-index: 2;
}

.hero-logo-img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.hero-logo-img:hover {
  transform: scale(1.05);
}

@media (max-width: 576px) {
  .hero-logo-img {
    max-height: 130px;
  }

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

  .form-control-dark {
    padding: 10px 48px 10px 14px;
    font-size: 0.84rem;
  }

  .btn-search-gradient {
    top: 4px;
    right: 4px;
    padding: 6px 12px !important;
  }

  .header-nav-grid {
    gap: 8px !important;
  }
}

.hero-logo-badge {
  display: inline-block;
  background: linear-gradient(120deg, #8b5cf6, #6366f1 55%, #06b6d4);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  padding: 8px 24px;
  border-radius: 16px;
  letter-spacing: 1px;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.45);
}

.hero-subtitle {
  color: #94a3b8 !important;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Search Controls */
.hero-search-wrap {
  position: relative;
  z-index: 1000;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.form-control-dark {
  background: #0f1422;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 13px 125px 13px 20px;
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-control-dark:focus {
  border-color: #6366f1;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.35);
}

.form-control-dark::placeholder {
  color: #64748b;
  font-size: 0.92rem;
}

.btn-search,
.btn-search-gradient {
  top: 5px;
  right: 5px;
  border-radius: 9999px !important;
  padding: 8px 20px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #6366f1 0%, #38bdf8 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35) !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-search:hover,
.btn-search-gradient:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5) !important;
}

.search-wrap-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #141724;
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
  max-height: 360px;
  overflow-y: auto;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.search-wrap-dropdown.open {
  display: block;
}

.search-item {
  transition: background 0.15s ease;
  color: #ffffff;
  padding: 10px 14px !important;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.search-item:last-child {
  border-bottom: none !important;
}

.search-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.search-item-title {
  font-size: 0.90rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-sub {
  font-size: 0.76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.search-item .btn-modolix-mini {
  padding: 6px 14px !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.5px;
  border-radius: 9999px !important;
  height: auto !important;
  box-shadow: 0 2px 10px rgba(0, 200, 83, 0.4) !important;
}

/* Base Buttons */
.btn {
  border-radius: 50px;
  font-weight: 600;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-purple {
  color: #ffffff !important;
  background: linear-gradient(120deg, #8b5cf6, #6366f1 55%, #06b6d4);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Section Headings */
.beat-title {
  color: #ffffff !important;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* ============================================================
   CONTINUOUS INFINITE POP UP AND DOWN ANIMATED BUTTONS ("Get Code")
   ============================================================ */
.btn-reveal {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  background: linear-gradient(120deg, #8b5cf6, #6366f1 55%, #06b6d4);
  color: #ffffff !important;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 22px -6px rgba(139, 92, 246, 0.4);
  font-family: inherit;
  text-decoration: none !important;
  animation: continuousPopUpDown 2.2s ease-in-out infinite;
  will-change: transform, box-shadow;
}

@keyframes continuousPopUpDown {

  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 22px -6px rgba(139, 92, 246, 0.4);
    filter: brightness(1);
  }

  50% {
    transform: translateY(-5px) scale(1.035);
    box-shadow: 0 16px 32px -4px rgba(139, 92, 246, 0.6);
    filter: brightness(1.08);
  }
}

.btn-reveal:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 36px -4px rgba(139, 92, 246, 0.65);
  filter: brightness(1.1);
}

.btn-reveal:active {
  animation-play-state: paused;
  transform: translateY(1px) scale(0.96);
  box-shadow: 0 4px 14px -2px rgba(139, 92, 246, 0.4);
}

/* Notched edges */
.btn-reveal::before,
.btn-reveal::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #141724;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.btn-reveal::before {
  left: -8px;
}

.btn-reveal::after {
  right: -8px;
}

.btn-reveal .tl {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0 6px, transparent 6px 12px);
  pointer-events: none;
  z-index: 1;
}

.btn-reveal .tl-t {
  top: 5px;
}

.btn-reveal .tl-b {
  bottom: 5px;
}

.btn-reveal .scissors {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
  z-index: 2;
}

.btn-reveal span {
  z-index: 2;
}

.btn-reveal .shine {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  left: -70%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 3;
}

.btn-reveal:hover .shine {
  animation: shineSweep 1.2s ease-in-out infinite;
}

@keyframes shineSweep {
  0% {
    left: -70%;
  }

  100% {
    left: 130%;
  }
}

/* ============================================================
   MODOLIX OFFICIAL GREEN PILL INSTALL BUTTON
   ============================================================ */
.btn-modolix-install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #00c853;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: none;
  border-radius: 9999px;
  padding: 10px 24px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.35);
  transition: all 0.22s ease-in-out;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-modolix-install:hover {
  background: #00e676;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.45), 0 0 15px rgba(0, 200, 83, 0.3);
}

.btn-modolix-install:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 200, 83, 0.4);
}

.btn-modolix-install .modolix-btn-icon {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
  flex-shrink: 0;
}

.btn-modolix-modal {
  padding: 14px 28px;
  font-size: 1.05rem;
  box-shadow: 0 6px 22px rgba(0, 200, 83, 0.4);
}

.btn-modolix-mini {
  padding: 4px 12px;
  font-size: 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 200, 83, 0.3);
}

.single-coupon-left {
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8 !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  margin-top: 6px;
  font-size: 0.75rem;
  box-shadow: none;
}

.single-coupon-left .lbl {
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b !important;
}

.single-coupon-left .num {
  font-size: 0.76rem;
  font-weight: 700;
  color: #38bdf8 !important;
}

/* ============================================================
   TOP COUPONS SLIDER (Dark Modal Styling)
   ============================================================ */
.slider-wrapper {
  padding: 0 20px;
  position: relative;
}

.slider-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 16px;
  padding: 10px 4px 20px;
}

.slider-viewport::-webkit-scrollbar {
  display: none;
}

.slider-track {
  display: flex;
  gap: 20px;
}

.top-slide-item {
  flex: 0 0 270px;
  width: 270px;
}

.single-coupon-top {
  background: #141724;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.single-coupon-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7);
  border-color: rgba(139, 92, 246, 0.4);
}

.top-card-banner {
  height: 140px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #080a10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
  position: relative;
}

.top-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.top-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.top-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.top-card-btn {
  width: 100%;
  margin-bottom: 4px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #141724;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}

.slider-arrow:hover {
  transform: translateY(-50%) scale(1.1);
  background: #8b5cf6;
  color: #ffffff;
  border-color: #8b5cf6;
}

.slider-prev {
  left: -10px;
}

.slider-next {
  right: -10px;
}

/* 2 Game Cards per view on mobile screens */
@media (max-width: 640px) {
  .slider-viewport {
    padding: 6px 0 14px;
  }

  .slider-track {
    gap: 10px;
  }

  .top-slide-item {
    flex: 0 0 calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    min-width: 140px;
  }

  .top-card-banner {
    height: 105px;
  }

  .top-card-body {
    padding: 10px 8px;
  }

  .top-card-title {
    font-size: 0.82rem;
    min-height: 2.3em;
    margin-bottom: 4px;
    line-height: 1.25;
  }

  .top-card-rating {
    font-size: 0.68rem;
    gap: 3px;
    margin-bottom: 6px;
  }

  .top-card-rating .rating-count {
    font-size: 0.65rem;
  }

  .slider-meta-row {
    margin: 4px 0 !important;
    gap: 4px;
    font-size: 0.70rem;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
  }

  .slider-meta-row .meta-tag {
    font-size: 0.68rem;
  }

  .single-coupon-top .btn-modolix-install {
    padding: 7px 8px;
    font-size: 0.75rem;
    border-radius: 9999px;
    gap: 4px;
    margin-top: 4px !important;
  }

  .single-coupon-top .btn-modolix-install svg {
    width: 13px;
    height: 13px;
  }

  .slider-badge-tag {
    font-size: 0.55rem;
    padding: 2px 5px;
    top: 6px;
    left: 6px;
    border-radius: 4px;
  }

  .slider-arrow {
    width: 32px;
    height: 32px;
  }
}

/* ============================================================
   TODAY'S TRENDING COUPONS (Original Dark Row Card Architecture)
   ============================================================ */
.trending-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.single-coupon-card {
  background: #0d111d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.single-coupon-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6);
  border-color: rgba(0, 200, 83, 0.35);
}

.sc-details-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.sc-top-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sc-image {
  width: 76px;
  height: 76px;
  min-width: 76px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #080a10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.sc-header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.sc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.sc-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.rating-stars {
  color: #f59e0b;
}

.sc-body-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc-desc {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mod-card-footer-meta {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mod-card-footer-meta::-webkit-scrollbar {
  display: none;
}

.platform-badges-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.mod-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.mod-spec-chip .chip-svg-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}

.sc-action-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  min-width: 140px;
}

/* ============================================================
   ULTRA DARK MODERN MODAL REPLICA
   ============================================================ */
/* ============================================================
   MODOLIX FULL SCREEN STANDALONE APP PAGE VIEW
   ============================================================ */
.modal-overlay,
.modal-fullscreen-page {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #080a12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(20px);
  padding: 0;
  margin: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.open,
.modal-fullscreen-page.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.coupon-modal,
.mod-fullscreen-container {
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  background: #080a12;
  border-radius: 0;
  border: none;
  box-shadow: none;
  color: #ffffff;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.fullscreen-top-nav {
  position: sticky;
  top: 0;
  background: rgba(8, 10, 18, 0.95);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: none;
}

.btn-circle-action {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #141a29;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-circle-action:hover {
  background: #1e263d;
  border-color: #00c853;
  color: #00e676;
  transform: scale(1.06);
}

.badge-os-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
}

.android-os-tag {
  background: rgba(61, 220, 132, 0.15);
  color: #3ddc84;
  border: 1px solid rgba(61, 220, 132, 0.3);
}

.ios-os-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.modal-step-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.modal-dark-header {
  background: #080a12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-brand-avatar {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
}

.modal-brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-brand-sub {
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
}

.modal-coupon-title {
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.modal-badge-verified {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.modal-badge-left {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 500;
}

.btn-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.btn-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-dark-body {
  background: #0d0f17;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  max-height: calc(92vh - 100px);
}

.modal-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.option-tab-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.option-tab-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.option-tab-card.active {
  background: rgba(139, 92, 246, 0.15);
  border: 2px solid #8b5cf6;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

.opt-name {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
}

.opt-brand {
  color: #64748b;
  font-size: 0.75rem;
}

.modal-feature-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-title {
  color: #38bdf8;
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-desc {
  color: #94a3b8;
  font-size: 0.88rem;
}

.modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
}

.stat-icon-val {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 2px;
}

.stat-num {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
}

.stat-lbl {
  color: #64748b;
  font-size: 0.75rem;
}

.modal-details-box {
  text-align: left;
}

.details-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.details-text {
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1.55;
}

.details-sublink {
  color: #a78bfa;
  font-size: 0.84rem;
  font-weight: 500;
}

.progress-ring-container {
  position: relative;
  width: 130px;
  height: 130px;
}

.progress-ring-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #8b5cf6;
}

.modal-coupon-box {
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 14px;
}

.modal-coupon-obscured,
.modal-coupon-revealed {
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.modal-coupon-blurred-full {
  filter: blur(4.5px);
  -webkit-filter: blur(4.5px);
  user-select: none;
  -webkit-user-select: none;
  opacity: 0.85;
  color: #a78bfa;
  font-weight: 800;
  letter-spacing: 3px;
  display: inline-block;
  transition: all 0.3s ease;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: #141724;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 20000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Responsive Media Queries: Ensure ALL coupon details match Desktop layout on mobile */
/* ============================================================
   RESPONSIVE CATALOG CARDS ON ALL MOBILE DEVICES
   ============================================================ */
@media (max-width: 768px) {
  .beat-title {
    font-size: 1.4rem;
  }

  .single-coupon-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
  }

  .sc-details-wrap {
    width: 100%;
  }

  .sc-top-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .sc-image {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 14px;
  }

  .sc-title {
    font-size: 0.96rem;
    line-height: 1.25;
    -webkit-line-clamp: 2;
  }

  .sc-rating {
    font-size: 0.76rem;
  }

  .sc-desc {
    font-size: 0.8rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .sc-action-wrap {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 10px;
    margin-top: 2px;
  }

  .sc-action-wrap .btn-modolix-install {
    flex: 1;
    padding: 10px 18px;
    font-size: 0.9rem;
    justify-content: center;
  }

  .sc-action-wrap .single-coupon-left {
    margin-top: 0;
    padding: 6px 12px;
    min-width: auto;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .single-coupon-card {
    padding: 12px 14px;
    gap: 10px;
  }

  .sc-image {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 12px;
  }

  .sc-title {
    font-size: 0.9rem;
  }

  .sc-desc {
    font-size: 0.76rem;
  }

  .sc-action-wrap .btn-modolix-install {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

.btn-reveal {
  height: 38px;
  font-size: 0.8rem;
}

.single-coupon-left {
  padding: 3px 6px;
  min-width: 90px;
}

.single-coupon-left .lbl {
  font-size: 0.72rem;
}


/* ============================================================
   EXACT FOOTER REPLICA (Matching User Screenshot)
   ============================================================ */
footer.site-footer {
  background: #0d0f17 !important;
  color: #475569 !important;
  padding: 40px 16px 35px 16px !important;
  margin-top: 60px !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
}

footer .footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding-left: 0;
  margin: 0 0 24px 0 !important;
  padding-bottom: 22px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

footer .footer-nav .nav-link {
  color: #475569 !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

footer .footer-nav .nav-link:hover {
  color: #8b5cf6 !important;
}

footer .copyright-text {
  color: #475569 !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  margin: 0 0 16px 0 !important;
}

footer .disclaimer-text {
  color: #94a3b8 !important;
  font-size: 0.82rem !important;
  line-height: 1.65 !important;
  max-width: 720px;
  margin: 0 auto !important;
  text-align: center !important;
}

/* ============================================================
   SCROLLABLE COMPACT REVIEWS BOX (Scroll Up/Down, Read More)
   ============================================================ */
.modal-reviews {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  margin-top: 14px;
  text-align: left;
}

.modal-reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.modal-reviews-head h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0;
}

.stars-summary {
  color: #f59e0b;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Scrollable Container with Smooth Scrollbar */
.modal-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  scroll-behavior: smooth;
}

.modal-reviews-list::-webkit-scrollbar {
  width: 5px;
}

.modal-reviews-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.modal-reviews-list::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.4);
  border-radius: 10px;
}

.modal-reviews-list::-webkit-scrollbar-thumb:hover {
  background: #8b5cf6;
}

/* Compact Review Cards */
.review-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: left;
}

.r-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.r-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.r-name {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.r-when {
  color: #64748b;
  font-size: 0.7rem;
}

.r-stars {
  color: #f59e0b;
  font-size: 0.75rem;
  margin-bottom: 3px;
}

.r-text {
  color: #cbd5e1;
  font-size: 0.78rem;
  line-height: 1.35;
  margin: 0;
  word-break: break-word;
}

.r-text.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-read-more {
  background: none;
  border: none;
  color: #a78bfa;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 0 0 0;
  cursor: pointer;
  display: inline-block;
}

.btn-read-more:hover {
  text-decoration: underline !important;
  color: #c4b5fd;
}

.reviews-more-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 10px;
  padding: 8px;
  width: 100%;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s ease;
}

.reviews-more-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
  footer.site-footer {
    padding: 30px 14px 25px 14px !important;
  }

  footer .footer-nav {
    gap: 16px;
  }

  footer .footer-nav .nav-link {
    font-size: 0.95rem !important;
  }

  footer .copyright-text {
    font-size: 0.95rem !important;
  }

  footer .disclaimer-text {
    font-size: 0.78rem !important;
  }
}

/* ============================================================
   CAPTCHA VERIFICATION WIDGET
   ============================================================ */
.captcha-box {
  background: #141724;
  border: 1.5px solid rgba(139, 92, 246, 0.3);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
  user-select: none;
}

.captcha-box:hover {
  border-color: #8b5cf6;
  background: #191d2e;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25);
  transform: translateY(-2px);
}

.captcha-box.verified {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
  pointer-events: none;
}

.captcha-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.captcha-checkbox {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: #0d0f17;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.captcha-box:hover .captcha-checkbox {
  border-color: #8b5cf6;
}

.captcha-box.verifying .captcha-checkbox {
  border-color: transparent;
  background: transparent;
}

.captcha-box.verified .captcha-checkbox {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.15);
}

.captcha-spinner {
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(139, 92, 246, 0.2);
  border-top-color: #8b5cf6;
  border-right-color: #06b6d4;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.captcha-check-svg {
  width: 20px;
  height: 20px;
  animation: checkmarkPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes checkmarkPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.captcha-label {
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.captcha-right {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.85;
}

.captcha-logo-icon {
  display: grid;
  place-items: center;
}

.captcha-meta {
  display: flex;
  flex-direction: column;
  text-align: right;
  line-height: 1.1;
}

.captcha-meta-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #c4b5fd;
  letter-spacing: 0.5px;
}

.captcha-meta-sub {
  font-size: 0.65rem;
  color: #64748b;
}

/* ============================================================
   CELEBRATION SUCCESS POPUP BANNER & CONFETTI
   ============================================================ */
.reveal-success-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.15));
  border: 1.5px solid #10b981;
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3), inset 0 0 20px rgba(16, 185, 129, 0.15);
  animation: successPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes successPopIn {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.92);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #10b981;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.banner-sub {
  color: #cbd5e1;
  font-size: 0.82rem;
  margin: 0;
}

/* Confetti particles */
.confetti-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  opacity: 0.9;
  animation: confettiFall 2.5s linear infinite;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(140px) rotate(720deg);
    opacity: 0;
  }
}

/* Unlocked Coupon Box State */
.modal-coupon-box.unlocked {
  background: rgba(16, 185, 129, 0.06) !important;
  border: 2px solid #10b981 !important;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.3), inset 0 0 15px rgba(16, 185, 129, 0.1) !important;
  animation: boxGlow 1.5s ease-in-out infinite alternate;
}

@keyframes boxGlow {
  0% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
  }

  100% {
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.55);
  }
}

.modal-coupon-revealed-text {
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 1.28rem !important;
  font-weight: 800 !important;
  color: #34d399 !important;
  letter-spacing: 2.5px !important;
  text-shadow: 0 0 12px rgba(52, 211, 153, 0.6);
  user-select: all;
  -webkit-user-select: all;
  display: inline-block;
  word-break: break-all;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

/* ============================================================
   REVEALED ACTIONS GRID (COPY CODE & SEND AS GIFT BUTTONS)
   ============================================================ */
.revealed-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  animation: actionsSlideUp 0.4s ease forwards;
}

@keyframes actionsSlideUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-action-revealed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Button 1: Copy Code */
.btn-copy-code {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
}

.btn-copy-code:hover {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.btn-copy-code:active {
  transform: translateY(1px);
}

.btn-copy-code.copied {
  background: linear-gradient(135deg, #06b6d4, #3b82f6) !important;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.6) !important;
}

/* Button 2: Send as Gift */
.btn-send-gift {
  background: linear-gradient(120deg, #8b5cf6, #6366f1 55%, #06b6d4);
  color: #ffffff;
}

.btn-send-gift:hover {
  filter: brightness(1.12);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.55);
  transform: translateY(-2px);
}

.btn-send-gift:active {
  transform: translateY(1px);
}

@media (max-width: 480px) {
  .revealed-actions-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ============================================================
   SEND AS GIFT MODAL OVERLAY & CARD
   ============================================================ */
.gift-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 15px;
}

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

.gift-modal-card {
  width: 100%;
  max-width: 440px;
  background: #0d0f17;
  border-radius: 22px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  color: #ffffff;
  animation: giftModalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes giftModalPop {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.gift-modal-header {
  background: #080a10;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.gift-icon-header {
  font-size: 1.3rem;
}

.gift-code-preview {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(139, 92, 246, 0.35);
  border-radius: 12px;
}

.gift-code-chip {
  font-family: 'Consolas', monospace;
  font-weight: 700;
  color: #38bdf8;
  font-size: 0.92rem;
  letter-spacing: 1px;
  word-break: break-all;
}

.gift-input {
  width: 100%;
  background: #141724;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.gift-input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.gift-textarea {
  resize: vertical;
  min-height: 60px;
}

.btn-gift-submit {
  width: 100%;
  height: 46px;
  border-radius: 50px;
  background: linear-gradient(120deg, #8b5cf6, #6366f1 55%, #06b6d4);
  color: #ffffff;
  font-weight: 700;
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
  transition: all 0.2s ease;
}

.btn-gift-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-gift-share-link {
  width: 100%;
  height: 42px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-gift-share-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   MOD STORE & INJECTOR DESIGN SYSTEM EXTENSIONS
   ============================================================ */

/* Brand & Header Badges */
.brand-badge-pill {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.header-safety-tag {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}

/* Category Navigation Pills */
.category-tabs-nav {
  margin-top: 10px;
}

.cat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.cat-pill.active {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* Platform Filter Toggle (Modolix Style) */
.platform-filter-group {
  background: #101320;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.platform-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.platform-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.platform-btn.active {
  background: #181c2f;
  color: #ffffff;
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 0 12px rgba(139, 92, 246, 0.2);
}

.platform-btn.active .android-svg-icon {
  color: #3ddc84;
}

.platform-btn.active .ios-svg-icon {
  color: #ffffff;
}

/* Platform Chips & Badges */
.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  line-height: 1.2;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.chip-android {
  background: rgba(61, 220, 132, 0.12);
  border-color: rgba(61, 220, 132, 0.28);
  color: #3ddc84;
}

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

.chip-ios {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #f1f5f9;
}

.chip-ios .plat-badge-svg {
  color: #ffffff;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Mod Card Badges & Slider Cards */
.mod-pill-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.2));
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.slider-badge-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(13, 15, 23, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: #a78bfa;
  backdrop-filter: blur(6px);
}

.badge-featured-count {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.meta-dot {
  color: #475569;
}

.modal-badge-safe {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Modal Platform Selector Cards (Side-by-Side on all screens) */
.platform-options-grid,
.platform-options-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* ============================================================
   MODOLIX 6-COLUMN APP SPECS BAR (Strictly 1 Single Row)
   ============================================================ */
.modolix-specs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 6px;
  gap: 2px;
  width: 100%;
}

.spec-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 1px;
}

.spec-icon-wrap {
  margin-bottom: 2px;
  display: grid;
  place-items: center;
}

.spec-icon-wrap svg {
  stroke: #00c853;
  width: 14px;
  height: 14px;
}

.spec-lbl {
  font-size: 0.58rem;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-align: center;
}

.spec-val {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-align: center;
}

.spec-val svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.spec-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .modolix-specs-bar {
    padding: 6px 4px;
  }

  .spec-lbl {
    font-size: 0.52rem;
  }

  .spec-val {
    font-size: 0.65rem;
  }

  .spec-icon-wrap svg {
    width: 12px;
    height: 12px;
  }

  .spec-val svg {
    width: 11px;
    height: 11px;
  }

  .spec-divider {
    height: 18px;
  }
}

/* Platform Heading */
.platform-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
}

/* Mod Highlights Card (Navy Box with Rounded Corners matching screenshot) */
.modal-feature-card {
  background: #0a1120 !important;
  border: 1.5px solid #1e3a5f !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  text-align: center !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
  margin: 12px 0 !important;
}

.modal-feature-card .feature-title {
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin-bottom: 6px !important;
  letter-spacing: 0.3px !important;
}

.modal-feature-card .feature-desc {
  font-size: 0.82rem !important;
  color: #8ba2c4 !important;
  line-height: 1.4 !important;
}

/* Platform Option Cards */
.platform-tab-card {
  background: #0f1422;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
}

.card-android-option {
  border-color: rgba(0, 200, 83, 0.2);
}

.card-android-option.active {
  border-color: #00c853 !important;
  background: #0d1819 !important;
  box-shadow: 0 0 18px rgba(0, 200, 83, 0.25) !important;
}

.card-ios-option {
  border-color: rgba(255, 255, 255, 0.08);
}

.card-ios-option.active {
  border-color: #38bdf8 !important;
  background: #0d1524 !important;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.25) !important;
}

.plat-radio-dot {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #080a12;
  transition: all 0.2s ease;
}

.card-android-option.active .plat-radio-dot {
  background: #00c853;
  border-color: #00c853;
  box-shadow: 0 0 10px rgba(0, 200, 83, 0.9);
}

.card-ios-option.active .plat-radio-dot {
  background: #38bdf8;
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
}

.text-android {
  color: #3ddc84 !important;
  font-weight: 800;
  font-size: 0.92rem;
}

.text-ios {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.92rem;
}

.plat-icon-wrap {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}

.android-icon-wrap {
  background: rgba(0, 200, 83, 0.15);
  border: 1px solid rgba(0, 200, 83, 0.3);
  color: #00c853;
}

.ios-icon-wrap {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

/* Big Animated Glowing Green Install Button */
.btn-install-animated {
  background: #00c853 !important;
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  padding: 14px 28px !important;
  border-radius: 9999px !important;
  border: none !important;
  position: relative !important;
  overflow: hidden !important;
  animation: installGlowPulse 2s infinite ease-in-out !important;
  box-shadow: 0 4px 22px rgba(0, 200, 83, 0.55) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
}

@keyframes installGlowPulse {

  0%,
  100% {
    box-shadow: 0 0 15px rgba(0, 200, 83, 0.5), 0 4px 20px rgba(0, 200, 83, 0.4);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 32px rgba(0, 230, 118, 0.85), 0 6px 28px rgba(0, 200, 83, 0.7);
    transform: scale(1.02);
  }
}

.btn-install-animated::after {
  content: '';
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: -60%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: installSweep 2.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes installSweep {
  0% {
    left: -70%;
  }

  35%,
  100% {
    left: 140%;
  }
}

/* Mod Features Checklist in Modal */
.mod-features-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mod-feature-item {
  background: #0d121f !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.mod-feature-item .check-icon {
  stroke: #00c853 !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

/* Mod Features Checklist in Modal */
.mod-features-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mod-feature-item {
  font-size: 0.85rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.02);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.mod-feature-item span {
  line-height: 1.35;
}

/* Terminal Telemetry Box (Step 2) */
.terminal-box {
  background: #06070a;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.terminal-header {
  background: #0e111a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-title {
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #a78bfa;
}

.terminal-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.terminal-logs {
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 0.75rem;
  color: #38bdf8;
  max-height: 140px;
  overflow-y: auto;
  text-align: left;
  line-height: 1.6;
}

.terminal-log-line {
  margin-bottom: 4px;
  word-break: break-all;
}

.terminal-log-line .log-ts {
  color: #64748b;
  margin-right: 4px;
}

/* Install Arrow & Button Details */
.install-arrow {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.btn-reveal:hover .install-arrow {
  transform: translateY(2px);
}

.btn-install-direct {
  background: linear-gradient(120deg, #10b981, #059669 60%, #06b6d4) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
}

.btn-install-direct:hover {
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6) !important;
}

.btn-install-direct.downloading {
  opacity: 0.85;
  pointer-events: none;
}

.badge-ready {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  padding: 4px 8px;
  border-radius: 6px;
}

.badge-search-action {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.4);
  padding: 4px 8px;
  border-radius: 6px;
}

.verified-install-pill {
  color: #10b981;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 4px;
}

/* ============================================================
   STICKY BOTTOM NAVIGATION BAR (Discover, Games, Apps)
   ============================================================ */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(8, 12, 24, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2.5px solid #00c853;
  padding: 8px 12px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.5);
}

.bottom-nav-container {
  max-width: 480px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
}

.bottom-nav-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  font-family: inherit;
  flex: 1;
  max-width: 140px;
}

.bottom-nav-tab .bottom-nav-icon {
  stroke: #94a3b8;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.bottom-nav-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.bottom-nav-tab:hover .bottom-nav-icon {
  stroke: #ffffff;
}

/* Active State (Matching Screenshot) */
.bottom-nav-tab.active {
  background: #0f182c;
  border: 1px solid rgba(0, 200, 83, 0.3);
  color: #00c853;
  box-shadow: 0 0 15px rgba(0, 200, 83, 0.15);
}

.bottom-nav-tab.active .bottom-nav-icon {
  stroke: #00c853;
  transform: scale(1.08);
}

body {
  padding-bottom: 75px;
}

/* ============================================================
   VANTA CLOUD DOWNLOADING PAGE (Step 2)
   ============================================================ */
.cloud-plat-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.cloud-size-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #f59e0b;
}

/* Cloud Animation Centerpiece */
.cloud-anim-container {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cloud-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(0, 200, 83, 0.4);
  animation: cloudPulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes cloudPulseRing {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ============================================================
   CIRCULAR PROGRESS GAUGE WITH BIG CLOUD & DOWNLOADED SIZE
   ============================================================ */
.cloud-circular-gauge-wrapper {
  width: 220px;
  height: 220px;
  position: relative;
  margin: 1rem auto 1.25rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circular-progress-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  transform: rotate(-90deg);
  overflow: visible;
  filter: drop-shadow(0 0 14px rgba(0, 200, 83, 0.25));
}

.circle-bg-track {
  stroke: rgba(255, 255, 255, 0.06);
}

.circle-progress-bar {
  transition: stroke-dashoffset 0.06s linear;
}

.circle-inner-content {
  position: relative;
  z-index: 2;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  background: radial-gradient(circle, #0e172a 0%, #080d19 100%);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 200, 83, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.big-cloud-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 12px rgba(0, 200, 83, 0.6));
  animation: cloudGlowFloating 2s ease-in-out infinite alternate;
}

.big-cloud-svg {
  animation: cloudIconBounce 1.6s ease-in-out infinite;
}

@keyframes cloudGlowFloating {
  0% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 8px rgba(0, 200, 83, 0.4)); }
  100% { transform: translateY(-3px) scale(1.03); filter: drop-shadow(0 0 18px rgba(0, 200, 83, 0.8)); }
}

@keyframes cloudIconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.circle-pct {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 900;
  color: #00e676;
  text-shadow: 0 0 20px rgba(0, 230, 118, 0.7);
  letter-spacing: -1px;
}

.circle-size-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 8px;
  border-radius: 9999px;
  margin-top: 4px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.cloud-status-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  min-height: 22px;
}

/* Glowing Horizontal Linear Progress Bar */
.cloud-bar-wrapper {
  max-width: 440px;
  margin: 0 auto;
}

.cloud-bar-track {
  width: 100%;
  height: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 2px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.cloud-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #00c853, #00e676 50%, #38bdf8);
  box-shadow: 0 0 16px rgba(0, 200, 83, 0.8);
  transition: width 0.06s linear;
}

/* Metrics Grid (Speed & ETA) */
.cloud-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 440px;
  margin: 0 auto 1.25rem auto;
}

.metric-card {
  background: #090e18;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.metric-lbl {
  font-size: 0.70rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-val {
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Live Server Node Status Header */
.cloud-node-status {
  background: #0b111e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.76rem;
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00c853;
  box-shadow: 0 0 10px #00c853;
  animation: liveDotBlink 1.5s infinite;
}

@keyframes liveDotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.node-ssl-tag {
  color: #10b981;
  font-weight: 700;
  font-size: 0.70rem;
}

.cloud-pulse-ring-outer {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 1.5px dashed rgba(56, 189, 248, 0.35);
  animation: cloudRotateRing 12s linear infinite;
}

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

/* Trust Badges Row */
.cloud-trust-row {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Verification Card */
.verification-notice-card {
  background: #0c1322;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.verify-lock-icon {
  font-size: 1.1rem;
}

/* Big Animated Vanta Cloud Downloader Title Header */
.vanta-downloader-header {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vanta-downloader-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 200, 83, 0.12);
  border: 1px solid rgba(0, 200, 83, 0.35);
  color: #00c853;
  font-size: 0.70rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.8px;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00c853;
  box-shadow: 0 0 8px #00c853;
  animation: liveDotBlink 1.4s infinite;
}

.vanta-downloader-title {
  font-size: 1.45rem;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #ffffff, #00c853 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 200, 83, 0.3);
  animation: titleGlowPulse 3s ease-in-out infinite alternate;
}

.svg-inline-lightning {
  filter: drop-shadow(0 0 6px rgba(0, 200, 83, 0.8));
  vertical-align: middle;
}

@keyframes titleGlowPulse {
  0% { filter: drop-shadow(0 0 6px rgba(0, 200, 83, 0.2)); }
  100% { filter: drop-shadow(0 0 16px rgba(0, 200, 83, 0.6)); }
}

/* Interrupted / Limit Reached Alert Banner */
.cloud-failed-banner {
  background: rgba(245, 158, 11, 0.1);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.15);
}

.manual-diag-list {
  background: #070c16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.border-bottom-sub {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.download-success-banner {
  background: rgba(0, 200, 83, 0.08);
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: 14px;
}

/* ============================================================
   SMART DEVICE INJECTION GATE & OFFER TASKS
   ============================================================ */
.smart-verification-card {
  background: #0d121f;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.badge-auto-detect {
  font-size: 0.70rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
}

.verify-task-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.verify-task-item:hover {
  background: rgba(0, 200, 83, 0.08);
  border-color: rgba(0, 200, 83, 0.35);
  transform: translateY(-1px);
}

.task-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #141d30;
  border: 1px solid rgba(0, 200, 83, 0.3);
  color: #00c853;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.task-offer-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.task-title {
  font-size: 0.85rem;
}

.btn-task-action {
  background: linear-gradient(135deg, #00c853, #009624);
  color: #ffffff;
  border: none;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 200, 83, 0.4);
}

.verify-listener-box {
  background: #090e18;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.listener-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  animation: listenerBlink 1.4s infinite;
}

@keyframes listenerBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

.btn-verify-refresh {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-verify-refresh:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}