.home-page {
  padding-top: 88px;
}

.home-hero-shell,
.home-strip,
.home-section {
  position: relative;
  z-index: 1;
}

.home-hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 22px 18px 20px;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 116, 43, 0.2), transparent 22%),
    radial-gradient(circle at 18% 82%, rgba(255, 71, 21, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(61, 10, 17, 0.97) 0%, rgba(26, 7, 11, 0.99) 100%);
  border: 1px solid rgba(255, 126, 65, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 132, 72, 0.08),
    0 22px 46px rgba(0, 0, 0, 0.34);
}

.home-hero-shell::before,
.home-hero-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-hero-shell::before {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 72%, rgba(255, 89, 27, 0.08) 72.5%, transparent 73.2%),
    linear-gradient(115deg, transparent 0 16%, rgba(255, 112, 56, 0.12) 16.2%, transparent 17%);
}

.home-hero-shell::after {
  left: -16%;
  right: -12%;
  bottom: -94px;
  height: 210px;
  border-top: 2px solid rgba(255, 96, 30, 0.58);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 96, 30, 0.4);
  transform: rotate(-8deg);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 18px;
  align-items: center;
}

.hero-kicker,
.section-mini,
.plan-chip,
.hero-metric span,
.strip-card span,
.floating-badge span {
  display: inline-block;
  color: rgba(255, 223, 180, 0.78);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 93, 29, 0.12);
  border: 1px solid rgba(255, 132, 72, 0.18);
}

.home-hero-copy h1,
.home-section-head h2,
.feature-panel h3,
.home-empty-card h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}

.home-hero-copy h1 {
  max-width: 320px;
  color: #ffe09c;
  font-size: clamp(2.1rem, 5.2vw, 3.45rem);
  text-shadow: 0 0 22px rgba(255, 109, 41, 0.14);
}

.home-hero-copy p,
.strip-card p,
.feature-panel p,
.home-empty-card p {
  margin: 0;
  color: rgba(255, 227, 193, 0.78);
  line-height: 1.65;
}

.home-hero-copy p {
  max-width: 360px;
  margin-top: 14px;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-action,
.plan-activate-btn,
.section-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 134, 74, 0.28);
  text-decoration: none;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-action:hover,
.plan-activate-btn:hover,
.section-link:hover {
  transform: translateY(-1px);
}

.hero-action.primary,
.plan-activate-btn {
  background: linear-gradient(135deg, #8d0908 0%, #d21310 40%, #ff391b 50%, #b90d0b 100%);
  color: #fff0d8;
  box-shadow: 0 14px 24px rgba(151, 22, 11, 0.28);
}

.hero-action.secondary,
.section-link {
  background: linear-gradient(180deg, rgba(89, 31, 28, 0.96), rgba(47, 18, 18, 0.98));
  color: #ffdca6;
}

.hero-action.loading,
.plan-activate-btn.loading {
  color: transparent;
}

.hero-action.loading::after,
.plan-activate-btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid #fff2d9;
  border-top-color: transparent;
  border-radius: 50%;
  animation: home-spin 0.7s linear infinite;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.hero-metric,
.strip-card,
.feature-panel,
.home-empty-card {
  border: 1px solid rgba(255, 124, 62, 0.16);
  background: linear-gradient(180deg, rgba(82, 22, 22, 0.9), rgba(39, 14, 17, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 132, 72, 0.06),
    0 14px 28px rgba(0, 0, 0, 0.24);
}

.hero-metric {
  padding: 12px;
  border-radius: 18px;
}

.hero-metric strong,
.strip-card strong,
.floating-badge strong {
  display: block;
  color: #ffe09a;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
}

.hero-metric strong {
  margin-top: 10px;
  font-size: 1.2rem;
  line-height: 1.05;
}

.home-hero-visual {
  position: relative;
  min-height: 360px;
}

.visual-halo {
  position: absolute;
  inset: 10% 8% 16%;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(255, 96, 30, 0.2), rgba(255, 96, 30, 0));
  filter: blur(10px);
}

.visual-screen {
  position: absolute;
  inset: 28px 12px 34px 12px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 130, 70, 0.22);
  background:
    linear-gradient(180deg, rgba(86, 17, 19, 0.94), rgba(31, 9, 14, 0.98)),
    url("../slider_banner/slider-1.jpg") center/cover no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(255, 134, 74, 0.06),
    0 24px 44px rgba(0, 0, 0, 0.34);
}

.visual-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 6, 8, 0.12), rgba(14, 6, 8, 0.56)),
    radial-gradient(circle at 20% 30%, rgba(255, 132, 53, 0.12), transparent 24%);
}

.screen-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 150, 92, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 150, 92, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
}

.screen-graph {
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 18%;
  height: 38%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.screen-graph span {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, rgba(255, 201, 95, 0.4), rgba(255, 79, 25, 0.98));
  box-shadow: 0 0 14px rgba(255, 79, 25, 0.24);
}

.screen-arrow {
  position: absolute;
  left: 12%;
  right: 11%;
  top: 21%;
  height: 44%;
  clip-path: polygon(0 74%, 19% 56%, 36% 63%, 52% 46%, 68% 49%, 83% 21%, 83% 10%, 100% 0, 88% 20%, 77% 20%, 60% 57%, 50% 57%, 34% 77%, 18% 70%, 0 92%);
  background: linear-gradient(90deg, rgba(255, 210, 115, 0.9), rgba(255, 76, 20, 1));
  filter: drop-shadow(0 0 10px rgba(255, 100, 35, 0.65));
}

.screen-coins {
  position: absolute;
  right: 10%;
  bottom: 10%;
}

.coin {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff0af 0%, #ffcf55 28%, #ff982f 58%, #8a3d03 100%);
  box-shadow: 0 0 22px rgba(255, 172, 71, 0.26);
}

.coin::before,
.coin::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 238, 172, 0.95), rgba(241, 176, 58, 0.74));
}

.coin::before {
  top: -4px;
}

.coin::after {
  bottom: -4px;
  opacity: 0.76;
}

.coin-one {
  right: 0;
  width: 62px;
  height: 78px;
}

.coin-two {
  right: 46px;
  width: 52px;
  height: 64px;
}

.coin-three {
  right: 88px;
  width: 42px;
  height: 50px;
}

.floating-badge {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
  min-width: 128px;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(82, 21, 20, 0.96), rgba(38, 14, 16, 0.98));
  border: 1px solid rgba(255, 124, 62, 0.18);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.24);
}

.badge-a {
  left: 0;
  bottom: 18px;
}

.badge-b {
  right: 0;
  top: 0;
}

.home-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.strip-card,
.feature-panel,
.home-empty-card {
  padding: 16px;
  border-radius: 22px;
}

.strip-card strong {
  margin-top: 10px;
  font-size: 1.05rem;
}

.strip-card p {
  margin-top: 10px;
  font-size: 0.88rem;
}

.home-section {
  margin-top: 18px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 124, 62, 0.14);
  background: linear-gradient(180deg, rgba(50, 11, 16, 0.96), rgba(18, 7, 11, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 132, 72, 0.05),
    0 18px 36px rgba(0, 0, 0, 0.3);
}

.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 14px;
}

.home-section-head h2 {
  margin-top: 8px;
  color: #ffdf99;
  font-size: 2rem;
}

.home-plan-grid {
  display: grid;
  gap: 14px;
}

.home-plan-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 128, 67, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 132, 72, 0.05),
    0 18px 30px rgba(0, 0, 0, 0.28);
}

.home-plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(138deg, rgba(255, 255, 255, 0.06) 0 18%, transparent 18% 100%),
    radial-gradient(circle at 88% 16%, rgba(255, 123, 52, 0.18), transparent 20%);
  pointer-events: none;
}

.tier-crimson {
  background: linear-gradient(180deg, rgba(93, 17, 17, 0.96), rgba(44, 14, 16, 0.98));
}

.tier-ember {
  background: linear-gradient(180deg, rgba(116, 39, 12, 0.97), rgba(58, 20, 10, 0.98));
}

.tier-bronze {
  background: linear-gradient(180deg, rgba(73, 56, 60, 0.96), rgba(34, 28, 32, 0.98));
}

.plan-card-top,
.plan-price,
.plan-facts,
.plan-activate-btn {
  position: relative;
  z-index: 1;
}

.plan-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.plan-chip {
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255, 72, 24, 0.2);
  border: 1px solid rgba(255, 132, 72, 0.16);
  color: #fff0ce;
}

.plan-card-top strong {
  color: #fff1d2;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
}

.plan-price {
  margin-top: 16px;
  color: #ffe08d;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 8vw, 2.9rem);
  font-weight: 700;
  line-height: 0.95;
}

.plan-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.plan-facts span {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 126, 65, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: #ffe7c3;
  display: flex;
  align-items: center;
  font-size: 0.97rem;
  line-height: 1.25;
}

.plan-activate-btn {
  width: 100%;
  margin-top: 18px;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 91, 27, 0.24), rgba(255, 180, 74, 0.2));
  border: 1px solid rgba(255, 132, 72, 0.18);
  color: #ffce75;
  font-size: 1.2rem;
}

.feature-panel h3 {
  margin-top: 14px;
  color: #ffe1a0;
  font-size: 1.3rem;
}

.feature-panel p {
  margin-top: 10px;
  font-size: 0.9rem;
}

.home-empty-card {
  text-align: center;
}

.home-empty-card p {
  margin-top: 10px;
}

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

@media (max-width: 520px) {
  .home-page {
    padding-top: 86px;
  }

  .home-hero-grid,
  .home-strip,
  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-visual {
    min-height: 320px;
  }

  .home-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .home-hero-shell,
  .home-section {
    padding: 16px 14px;
    border-radius: 22px;
  }

  .hero-actions,
  .hero-metrics,
  .plan-facts {
    grid-template-columns: 1fr;
  }

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

  .hero-action,
  .section-link {
    width: 100%;
  }

  .plan-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-badge {
    min-width: 114px;
    padding: 10px 12px;
  }
}
