/* =========================================================
   Familio Games — English homepage rebuild
   Scope everything to .hph-home so other public pages remain untouched.
   ========================================================= */

.hph-home {
  --hph-yellow: #ffc107;
  --hph-yellow-soft: rgba(255, 193, 7, 0.16);
  --hph-purple: #9a6cff;
  --hph-blue: #36a7ff;
  --hph-panel: rgba(16, 18, 28, 0.82);
  --hph-panel-strong: rgba(13, 15, 24, 0.96);
  --hph-border: rgba(255, 255, 255, 0.11);
  --hph-text: rgba(255, 255, 255, 0.94);
  --hph-muted: rgba(255, 255, 255, 0.70);
  --hph-soft: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

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

.hph-wrap {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

.hph-section {
  position: relative;
  padding: 78px 0 !important;
}

.hph-section-soft::before {
  content: "";
  position: absolute;
  inset: 18px 0;
  background:
    radial-gradient(700px 420px at 12% 20%, rgba(255, 193, 7, 0.08), transparent 66%),
    radial-gradient(760px 460px at 85% 70%, rgba(154, 108, 255, 0.10), transparent 65%),
    rgba(255,255,255,0.018);
  border-top: 1px solid rgba(255,255,255,0.045);
  border-bottom: 1px solid rgba(255,255,255,0.045);
  pointer-events: none;
}

.hph-section > .hph-wrap,
.hph-section-soft > .hph-wrap {
  position: relative;
  z-index: 1;
}

.hph-kicker {
  margin: 0 0 12px;
  color: var(--hph-yellow) !important;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hph-section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.hph-section-head-center {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 40px;
}

.hph-home .hph-section-head h2,
.hph-home .hph-feature-copy h2,
.hph-home .hph-alternative-copy h2,
.hph-home .hph-trust-copy h2,
.hph-home .hph-demo-panel h2,
.hph-home .hph-faq-intro h2,
.hph-home .hph-final-cta h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: none;
}

.hph-section-head > p:last-child,
.hph-feature-intro,
.hph-alternative-copy > p,
.hph-trust-copy > p,
.hph-demo-panel p,
.hph-faq-intro > p,
.hph-final-cta p {
  margin: 0;
  color: var(--hph-muted) !important;
  font-size: 1.08rem;
  line-height: 1.72;
}

/* ---------- Hero ---------- */
.hph-hero {
  position: relative;
  padding: 86px 0 94px !important;
}

.hph-hero::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  right: -190px;
  top: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 77, 255, 0.18), transparent 65%);
  pointer-events: none;
}

.hph-hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 520px;
  left: -230px;
  bottom: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.13), transparent 68%);
  pointer-events: none;
}

.hph-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  gap: 60px;
  align-items: center;
}

.hph-home .hph-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.25rem, 5.7vw, 6.25rem);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: -0.055em;
  text-transform: none;
}

.hph-hero-lead {
  max-width: 710px;
  margin: 26px 0 0;
  color: rgba(255,255,255,0.76) !important;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.72;
}

.hph-hero-lead strong {
  color: rgba(255,255,255,0.95);
  font-weight: 700;
}

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

.hph-home .hph-primary-btn,
.hph-home .hph-secondary-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 23px;
  font-weight: 800;
}

.hph-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  color: rgba(255,255,255,0.68);
  font-size: 0.88rem;
  font-weight: 650;
}

.hph-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hph-proof-row span::before {
  content: "✓";
  color: var(--hph-yellow);
  font-weight: 900;
}

.hph-hero-visual {
  position: relative;
  padding: 26px 10px 34px 30px;
}

.hph-screen-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(8, 11, 18, 0.92);
  box-shadow:
    0 34px 90px rgba(0,0,0,0.46),
    0 0 0 1px rgba(255,193,7,0.05) inset,
    0 0 68px rgba(60, 93, 255, 0.10);
}

.hph-screen-shell-main {
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
  transform-origin: center center;
}

.hph-screen-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.58);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hph-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #43e58c;
  box-shadow: 0 0 11px rgba(67,229,140,0.65);
}

.hph-screen-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hph-floating-card {
  position: absolute;
  max-width: 245px;
  padding: 14px 17px;
  border-radius: 16px;
  background: rgba(18, 20, 30, 0.94);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 16px 42px rgba(0,0,0,0.42);
  backdrop-filter: blur(14px);
}

.hph-floating-card strong {
  display: block;
  color: rgba(255,255,255,0.92);
  font-size: 0.86rem;
  line-height: 1.4;
}

.hph-floating-label {
  display: block;
  margin-bottom: 5px;
  color: var(--hph-yellow);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hph-floating-card-controller {
  left: -8px;
  bottom: -3px;
}

.hph-floating-card-library {
  right: -12px;
  top: 0;
}

/* ---------- Game cards ---------- */
.hph-game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.hph-game-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 24px;
  border: 1px solid var(--hph-border);
  background:
    radial-gradient(520px 260px at 20% 0%, rgba(255,193,7,0.08), transparent 62%),
    linear-gradient(180deg, rgba(24,26,38,0.93), rgba(12,14,22,0.97));
  box-shadow: 0 18px 44px rgba(0,0,0,0.26);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hph-game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,193,7,0.30);
  box-shadow: 0 28px 58px rgba(0,0,0,0.34);
}

.hph-game-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0d14;
}

.hph-game-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(12,14,22,0.75));
}

.hph-game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.hph-game-card:hover .hph-game-media img {
  transform: scale(1.025);
}

.hph-game-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 25px;
}

.hph-card-tag {
  align-self: flex-start;
  margin-bottom: 13px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--hph-yellow-soft);
  color: var(--hph-yellow);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.hph-home .hph-game-card h3 {
  margin: 0 0 11px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.2;
}

.hph-game-card p {
  margin: 0 0 22px;
  color: var(--hph-muted) !important;
  font-size: 0.98rem;
  line-height: 1.67;
}

.hph-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--hph-yellow) !important;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.35;
}

.hph-text-link span {
  transition: transform 160ms ease;
}

.hph-text-link:hover {
  color: #ffd451 !important;
}

.hph-text-link:hover span {
  transform: translateX(4px);
}

/* ---------- Flow ---------- */
.hph-flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.hph-flow-grid::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,193,7,0.34), rgba(154,108,255,0.34), transparent);
}

.hph-flow-step {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  text-align: center;
}

.hph-flow-number {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,193,7,0.38);
  background: rgba(14,16,25,0.96);
  color: var(--hph-yellow);
  font-weight: 900;
  box-shadow: 0 0 24px rgba(255,193,7,0.08);
}

.hph-home .hph-flow-step h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.12rem;
}

.hph-flow-step p {
  margin: 0;
  color: var(--hph-muted) !important;
  font-size: 0.93rem;
  line-height: 1.62;
}

/* ---------- Use cases ---------- */
.hph-use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hph-use-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--hph-border);
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease;
}

.hph-use-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,193,7,0.28);
}

.hph-use-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.hph-use-card-image:hover img {
  transform: scale(1.025);
}

.hph-use-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,10,16,0.95) 0%, rgba(8,10,16,0.82) 48%, rgba(8,10,16,0.28) 100%);
}

.hph-use-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  max-width: 68%;
  padding: 28px;
}

.hph-use-card strong {
  display: block;
  color: #fff;
  font-family: Sora, system-ui, sans-serif;
  font-size: 1.48rem;
  line-height: 1.17;
}

.hph-use-card small {
  display: block;
  margin-top: 9px;
  color: rgba(255,255,255,0.72);
  font-size: 0.96rem;
  line-height: 1.55;
}

.hph-use-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--hph-yellow);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.hph-use-link {
  display: block;
  margin-top: 18px;
  color: var(--hph-yellow);
  font-size: 0.9rem;
  font-weight: 800;
}

.hph-use-card-simple {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  background:
    radial-gradient(560px 260px at 100% 0%, rgba(154,108,255,0.13), transparent 64%),
    linear-gradient(145deg, rgba(24,26,38,0.95), rgba(12,14,22,0.98));
}

.hph-use-card-simple .hph-use-link {
  margin-top: 20px;
}

.hph-use-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: rgba(255,193,7,0.10);
  border: 1px solid rgba(255,193,7,0.20);
  font-size: 1.5rem;
}

/* ---------- Feature stage ---------- */
.hph-feature-stage {
  padding-top: 86px !important;
  padding-bottom: 86px !important;
}

.hph-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
  gap: 58px;
  align-items: center;
}

.hph-feature-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.hph-feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.075);
}

.hph-feature-item > span {
  color: var(--hph-yellow);
  font-weight: 900;
  font-size: 0.79rem;
  letter-spacing: 0.08em;
}

.hph-feature-item strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1rem;
}

.hph-feature-item p {
  margin: 0;
  color: var(--hph-muted) !important;
  font-size: 0.93rem;
  line-height: 1.58;
}

.hph-feature-frame {
  overflow: hidden;
  padding: 8px;
  border-radius: 24px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 70px rgba(0,0,0,0.34);
}

.hph-feature-frame img {
  display: block;
  width: 100%;
  border-radius: 17px;
}

.hph-feature-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.hph-feature-stats > div {
  padding: 15px;
  text-align: center;
  border-radius: 15px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
}

.hph-feature-stats strong {
  display: block;
  color: var(--hph-yellow);
  font-size: 1.45rem;
  line-height: 1;
}

.hph-feature-stats span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,0.60);
  font-size: 0.72rem;
  line-height: 1.3;
}

/* ---------- Trust / Growth ---------- */

.hph-trust-panel {
  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 48px;

  align-items: center;

  padding: clamp(34px, 5vw, 58px);

  border-radius: 28px;
  border: 1px solid var(--hph-border);

  background:
    radial-gradient(
      760px 460px at 0% 25%,
      rgba(255, 193, 7, 0.12),
      transparent 64%
    ),
    radial-gradient(
      700px 460px at 100% 75%,
      rgba(110, 76, 255, 0.16),
      transparent 62%
    ),
    linear-gradient(
      140deg,
      rgba(23, 25, 38, 0.96),
      rgba(12, 14, 22, 0.98)
    );

  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.26);
}


/* Very subtle background glow */
.hph-trust-panel::after {
  content: "";

  position: absolute;
  width: 420px;
  height: 420px;

  right: -180px;
  top: -180px;

  border-radius: 50%;

  background: rgba(255, 193, 7, 0.055);
  filter: blur(20px);

  pointer-events: none;
}


/* Copy */
.hph-trust-copy {
  position: relative;
  z-index: 1;
}

.hph-trust-note {
  margin-top: 16px !important;
  font-size: 0.93rem !important;
}


/* Statistics */
.hph-trust-stats {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;
}

.hph-trust-stat {
  min-height: 135px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 22px;

  border-radius: 20px;

  border: 1px solid rgba(255, 255, 255, 0.09);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.025)
    );
}

.hph-trust-stat strong {
  display: block;

  color: #ffffff;

  font-family: Sora, system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1;

  font-weight: 850;
  letter-spacing: -0.045em;
}

.hph-trust-stat span {
  display: block;

  margin-top: 8px;

  color: rgba(255, 255, 255, 0.62);

  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 650;
}


/* Main number gets stronger treatment */
.hph-trust-stat-primary {
  border-color: rgba(255, 193, 7, 0.24);

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 193, 7, 0.15),
      transparent 70%
    ),
    rgba(255, 255, 255, 0.045);
}

.hph-trust-stat-primary strong {
  color: #ffc107;
}


/* Countries */
.hph-country-strip {
  position: relative;
  z-index: 1;

  grid-column: 1 / -1;

  display: flex;
  flex-wrap: wrap;

  gap: 9px;

  padding-top: 8px;
}

.hph-country-strip span {
  display: inline-flex;
  align-items: center;

  padding: 9px 13px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.085);

  color: rgba(255, 255, 255, 0.75);

  font-size: 0.80rem;
  font-weight: 700;
}

.hph-country-strip .hph-country-more {
  color: #ffc107;
  border-color: rgba(255, 193, 7, 0.19);
  background: rgba(255, 193, 7, 0.06);
}


/* Tablet */
@media (max-width: 1100px) {
  .hph-trust-panel {
    grid-template-columns: 1fr;
  }

  .hph-trust-stats {
    max-width: 720px;
  }
}


/* Mobile */
@media (max-width: 600px) {
  .hph-trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hph-trust-stat {
    min-height: 112px;
    padding: 17px;
  }

  .hph-trust-stat strong {
    font-size: 2rem;
  }

  .hph-trust-stat span {
    font-size: 0.76rem;
  }

  .hph-country-strip span {
    font-size: 0.74rem;
    padding: 8px 10px;
  }
}

/* ---------- Demo ---------- */
.hph-demo-section {
  padding-top: 28px !important;
  padding-bottom: 38px !important;
}

.hph-demo-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 34px 38px;
  border-radius: 25px;
  border: 1px solid rgba(255,193,7,0.24);
  background:
    radial-gradient(620px 300px at 90% 10%, rgba(255,193,7,0.10), transparent 65%),
    rgba(19,21,31,0.92);
}

.hph-demo-panel h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.55rem) !important;
}

.hph-demo-actions {
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  text-align: center;
}

.hph-demo-actions .hph-text-link {
  justify-content: center;
  font-size: 0.87rem;
}

/* ---------- Resources ---------- */
.hph-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hph-resource-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--hph-border);
  background: rgba(18,20,30,0.72);
  color: inherit;
  text-decoration: none;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.hph-resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,193,7,0.28);
  background: rgba(23,25,37,0.9);
}

.hph-resource-no {
  color: rgba(255,193,7,0.65);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hph-resource-card strong {
  display: block;
  margin-top: 24px;
  color: #fff;
  font-family: Sora, system-ui, sans-serif;
  font-size: 1.13rem;
  line-height: 1.3;
}

.hph-resource-card p {
  margin: 9px 0 20px;
  color: var(--hph-muted) !important;
  font-size: 0.92rem;
  line-height: 1.58;
}

.hph-resource-card > span:last-child {
  margin-top: auto;
  color: var(--hph-yellow);
  font-size: 0.88rem;
  font-weight: 800;
}

/* ---------- PowerPoint alternative ---------- */
.hph-alternative-grid {
  display: grid;
  grid-template-columns: minmax(440px, 1.05fr) minmax(0, 0.95fr);
  gap: 54px;
  align-items: center;
}

.hph-alternative-media {
  overflow: hidden;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
}

.hph-alternative-media img {
  width: 100%;
  display: block;
  border-radius: 15px;
}

.hph-check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 24px;
  display: grid;
  gap: 10px;
}

.hph-check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255,255,255,0.78) !important;
  line-height: 1.55;
}

.hph-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hph-yellow);
  font-weight: 900;
}

/* ---------- Pricing integration ---------- */
.hph-pricing-section .hp-section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  text-transform: none;
  letter-spacing: -0.035em;
}

.hph-pricing-section .hp-card {
  border-radius: 22px;
}

.hph-pricing-more {
  text-align: center;
  margin-top: 4px;
}

.hph-pricing-more .hph-text-link {
  display: inline-flex;
}

/* ---------- FAQ ---------- */
.hph-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  gap: 58px;
  align-items: start;
}

.hph-faq-intro {
  position: sticky;
  top: 110px;
}

.hph-faq-intro .hph-text-link {
  margin-top: 22px;
}

.hph-faq .accordion-item {
  border-radius: 16px !important;
  margin-bottom: 10px;
  background: rgba(18,20,30,0.78) !important;
}

.hph-faq .accordion-button {
  padding: 19px 21px;
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.98rem;
}

.hph-faq .accordion-body {
  padding: 0 21px 21px;
  color: rgba(255,255,255,0.70) !important;
  line-height: 1.65;
}

/* ---------- Final CTA ---------- */
.hph-final-section {
  padding-top: 48px !important;
  padding-bottom: 100px !important;
}

.hph-final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: clamp(32px, 5vw, 62px);
  border-radius: 30px;
  border: 1px solid rgba(255,193,7,0.28);
  background:
    radial-gradient(760px 430px at 5% 25%, rgba(255,193,7,0.15), transparent 64%),
    radial-gradient(620px 400px at 96% 75%, rgba(154,108,255,0.16), transparent 62%),
    linear-gradient(145deg, rgba(24,26,38,0.96), rgba(11,13,21,0.98));
  box-shadow: 0 30px 80px rgba(0,0,0,0.34);
}

.hph-final-actions {
  min-width: 205px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- Focus states ---------- */
.hph-home a:focus-visible,
.hph-home button:focus-visible {
  outline: 3px solid rgba(255,193,7,0.72);
  outline-offset: 3px;
}

/* ========================================
   HOMEPAGE HERO SCREENSHOT ROTATION
   ======================================== */

.hph-hero-screen-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/*
  Keep the first image in the normal document flow
  so the screenshot container retains its height.
*/
.hph-hero-screen-slide {
  display: block;
  width: 100%;
  opacity: 0;

  transition: opacity 0.8s ease;
}

/* Other slides sit directly on top of the first */
.hph-hero-screen-slide:not(:first-child) {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hph-hero-screen-slide.is-active {
  opacity: 1;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hph-hero-screen-slide {
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hph-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hph-hero-copy {
    max-width: 850px;
  }

  .hph-hero-visual {
    max-width: 900px;
    margin-inline: auto;
    padding-inline: 22px;
  }

  .hph-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hph-game-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 11px);
  }

  .hph-feature-layout,
  .hph-alternative-grid,
  .hph-trust-panel,
  .hph-faq-layout {
    grid-template-columns: 1fr;
  }

  .hph-feature-visual,
  .hph-alternative-media {
    max-width: 900px;
  }

  .hph-country-cloud {
    justify-content: flex-start;
  }

  .hph-faq-intro {
    position: static;
    max-width: 760px;
  }
}

@media (max-width: 900px) {
  .hph-section {
    padding: 62px 0 !important;
  }

  .hph-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .hph-flow-grid::before {
    display: none;
  }

  .hph-use-grid,
  .hph-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hph-demo-panel,
  .hph-final-cta {
    grid-template-columns: 1fr;
  }

  .hph-demo-actions,
  .hph-final-actions {
    min-width: 0;
    max-width: 360px;
  }
}

@media (max-width: 680px) {
  .hph-wrap {
    width: min(100% - 28px, 1280px);
  }

  .hph-hero {
    padding: 58px 0 66px !important;
  }

  .hph-home .hph-hero h1 {
    font-size: clamp(2.55rem, 14vw, 4.2rem);
  }

  .hph-hero-lead {
    margin-top: 20px;
    font-size: 1rem;
  }

  .hph-hero-actions {
    display: grid;
  }

  .hph-home .hph-primary-btn,
  .hph-home .hph-secondary-btn {
    width: 100%;
  }

  .hph-proof-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hph-hero-visual {
    padding: 8px 0 70px;
  }

  .hph-screen-shell-main {
    transform: none;
    border-radius: 18px;
  }

  .hph-floating-card {
    max-width: 210px;
    padding: 11px 13px;
  }

  .hph-floating-card-controller {
    left: 8px;
    bottom: 8px;
  }

  .hph-floating-card-library {
    right: 8px;
    top: auto;
    bottom: -48px;
  }

  .hph-game-grid,
  .hph-use-grid,
  .hph-resource-grid,
  .hph-flow-grid {
    grid-template-columns: 1fr;
  }

  .hph-game-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .hph-flow-step {
    text-align: left;
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 14px;
    padding: 0;
  }

  .hph-flow-number {
    width: 52px;
    height: 52px;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .hph-flow-step h3 {
    align-self: end;
  }

  .hph-use-card {
    min-height: 280px;
  }

  .hph-use-copy {
    max-width: 88%;
    padding: 23px;
  }

  .hph-feature-layout,
  .hph-alternative-grid,
  .hph-faq-layout {
    gap: 36px;
  }

  .hph-feature-stats {
    grid-template-columns: 1fr;
  }

  .hph-feature-stats > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    text-align: left;
    align-items: center;
  }

  .hph-feature-stats span {
    margin-top: 0;
  }

  .hph-trust-panel,
  .hph-demo-panel,
  .hph-final-cta {
    padding: 25px;
    border-radius: 22px;
  }

  .hph-country-cloud span {
    font-size: 0.78rem;
  }

  .hph-section-head-center {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hph-home *,
  .hph-home *::before,
  .hph-home *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ========================================
   HOMEPAGE HERO PRICE CALLOUT
   ======================================== */

.hph-price-callout {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;

  width: fit-content;
  max-width: 100%;

  margin: 1rem 0 1.25rem;
  padding: 0.8rem 1rem;

  border: 1px solid rgba(255, 193, 7, 0.28);
  border-radius: 14px;

  background: rgba(255, 193, 7, 0.08);

  color: #ffffff;
  text-decoration: none;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.hph-price-callout:hover {
  background: rgba(255, 193, 7, 0.13);
  border-color: rgba(255, 193, 7, 0.48);
  transform: translateY(-1px);

  color: #ffffff;
  text-decoration: none;
}

.hph-price-callout-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffc107;
}

.hph-price-callout-main {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hph-price-callout-main strong {
  margin-left: 0.25rem;

  font-size: 1.15rem;
  font-weight: 800;

  color: #ffc107;
}

.hph-price-callout-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 575.98px) {
  .hph-price-callout {
    gap: 0.4rem 0.7rem;
  }

  .hph-price-callout-label,
  .hph-price-callout-main,
  .hph-price-callout-link {
    width: 100%;
  }
}