/* F4Pool homepage v2 — scoped to .main-index.home-v2 */
.main-index.home-v2 {
  --home-blue: #2e7cff;
  --home-purple: #7855ff;
  --home-orange: #ff8a1f;
  --home-panel: rgba(14, 22, 36, .88);
  --home-border: rgba(150, 171, 205, .16);
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 138, 31, .10), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(46, 124, 255, .11), transparent 35rem),
    linear-gradient(180deg, #060a11 0%, #070c15 54%, #060910 100%);
}

.main-index.home-v2 .site-header-inner,
.main-index.home-v2 .idx-page,
.main-index.home-v2 .f4-footer {
  width: min(1560px, calc(100% - 48px));
}

.main-index.home-v2 .home-v2-header {
  background: rgba(5, 9, 16, .78);
  border-bottom-color: rgba(133, 155, 190, .12);
}

.main-index.home-v2 .site-header-inner {
  height: 82px;
}

.main-index.home-v2 .site-nav {
  gap: 4px;
}

.main-index.home-v2 .site-nav-discord {
  color: #aebdff;
}

.main-index.home-v2 .site-nav-discord i {
  margin-right: 5px;
  color: #7289da;
}

.main-index.home-v2 .idx-page {
  padding: 38px 0 90px;
}

.home-v2-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(430px, .94fr);
  align-items: center;
  min-height: 700px;
  padding: clamp(54px, 6vw, 92px);
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 36px;
  background:
    linear-gradient(118deg, rgba(255, 138, 31, .07), transparent 42%),
    linear-gradient(148deg, rgba(21, 31, 50, .98), rgba(7, 12, 21, .99));
  box-shadow: 0 36px 100px rgba(0, 0, 0, .42);
}

.home-v2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.25) 70%, transparent);
}

.home-v2-hero::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,.045), transparent 26%, transparent 76%, rgba(120,85,255,.045));
}

.home-v2-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .32;
}

.home-v2-hero-glow {
  position: absolute;
  z-index: -2;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(14px);
}

.home-v2-hero-glow-a {
  top: -260px;
  left: -170px;
  background: radial-gradient(circle, rgba(255,138,31,.28), transparent 68%);
}

.home-v2-hero-glow-b {
  right: -160px;
  bottom: -210px;
  background: radial-gradient(circle, rgba(74,92,255,.28), transparent 68%);
}

.home-v2-copy {
  position: relative;
  z-index: 4;
  max-width: 780px;
}

.home-v2-status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  border: 1px solid rgba(74,222,128,.2);
  border-radius: 999px;
  color: #bde8ca;
  background: rgba(74,222,128,.055);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-v2-copy h1 {
  max-width: 820px;
  margin: 24px 0 24px;
  color: #fff;
  font-size: clamp(58px, 5.8vw, 92px);
  font-weight: 950;
  line-height: .98;
  letter-spacing: -.07em;
}

.home-v2-copy h1 span {
  color: transparent;
  background: linear-gradient(100deg, #ff8a1f 4%, #ffd0a1 35%, #62d9e7 67%, #7a5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.home-v2-copy > p {
  max-width: 730px;
  margin: 0;
  color: #aebbcf;
  font-size: 18px;
  line-height: 1.72;
}

.home-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.home-v2-endpoints {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 34px;
}

.home-v2-endpoint {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(151,170,203,.14);
  border-radius: 15px;
  background: rgba(6, 11, 19, .64);
  backdrop-filter: blur(14px);
}

.home-v2-endpoint-mode {
  display: grid;
  place-items: center;
  min-width: 50px;
  height: 34px;
  padding-inline: 8px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .06em;
}

.home-v2-endpoint-mode-prop {
  color: #ffb05e;
  background: rgba(255,138,31,.12);
  border: 1px solid rgba(255,138,31,.25);
}

.home-v2-endpoint-mode-solo {
  color: #beaaff;
  background: rgba(120,85,255,.12);
  border: 1px solid rgba(120,85,255,.27);
}

.home-v2-endpoint > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.home-v2-endpoint small {
  color: #718096;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-v2-endpoint strong {
  overflow: hidden;
  margin-top: 3px;
  color: #fff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-v2-copy-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(151,170,203,.17);
  border-radius: 9px;
  color: #8ea0ba;
  background: rgba(255,255,255,.025);
  transition: .2s ease;
}

.home-v2-copy-btn:hover,
.home-v2-copy-btn.is-copied {
  color: #fff;
  border-color: rgba(255,138,31,.46);
  background: rgba(255,138,31,.11);
}

.home-v2-brand-stage {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  min-height: 550px;
}

.home-v2-badge {
  position: relative;
  z-index: 5;
  width: min(100%, 490px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 42px 70px rgba(0,0,0,.55));
  animation: home-v2-float 6s ease-in-out infinite;
}

.home-v2-brand-halo {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,124,255,.24), rgba(120,85,255,.10) 45%, transparent 70%);
  filter: blur(12px);
}

.home-v2-brand-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(97,130,255,.18);
}

.home-v2-brand-ring-a {
  width: 530px;
  height: 530px;
  animation: home-v2-spin 28s linear infinite;
}

.home-v2-brand-ring-b {
  width: 610px;
  height: 610px;
  border-style: dashed;
  border-color: rgba(255,138,31,.12);
  animation: home-v2-spin 42s linear infinite reverse;
}

.home-v2-brand-ring::before,
.home-v2-brand-ring::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--home-blue);
  box-shadow: 0 0 18px rgba(46,124,255,.9);
}

.home-v2-brand-ring::before { top: 12%; left: 14%; }
.home-v2-brand-ring::after { right: 12%; bottom: 16%; background: var(--home-orange); box-shadow: 0 0 18px rgba(255,138,31,.9); }

.home-v2-brand-proof {
  position: absolute;
  z-index: 7;
  right: 2%;
  bottom: 2%;
  display: flex;
  gap: 7px;
  padding: 9px;
  border: 1px solid rgba(151,170,203,.16);
  border-radius: 13px;
  background: rgba(6,10,18,.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 46px rgba(0,0,0,.36);
}

.home-v2-brand-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 8px;
  color: #a8b6ca;
  background: rgba(255,255,255,.026);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-v2-brand-proof i { color: #57d7e6; }

@keyframes home-v2-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

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

.main-index.home-v2 .home-v2-stats {
  grid-template-columns: repeat(5, 1fr);
  width: calc(100% - 86px);
  margin-top: -54px;
  margin-bottom: 104px;
  border-radius: 20px;
}

.main-index.home-v2 .home-v2-stats .pool-stat-item {
  min-height: 118px;
  background: rgba(11,18,30,.95);
}

.main-index.home-v2 .home-v2-stats #home-alph-price {
  color: #75dce8;
}

.home-v2-section-header {
  align-items: flex-end;
}

.home-v2-pools {
  margin-bottom: 118px;
}

.main-index.home-v2 .idx-section-title {
  max-width: 920px;
  font-size: clamp(38px, 4.2vw, 58px);
}

.main-index.home-v2 .idx-section-sub {
  max-width: 790px;
  font-size: 15px;
}

.main-index.home-v2 .mode-toggle {
  padding: 6px;
  border-radius: 15px;
  background: rgba(12,18,29,.78);
}

.main-index.home-v2 .mode-btn {
  min-width: 78px;
  padding: 11px 16px;
}

.main-index.home-v2 .pool-coin-grid {
  margin-right: -12px;
  margin-left: -12px;
}

.main-index.home-v2 .pool-coin-card {
  padding: 12px;
}

.main-index.home-v2 .strategy-card {
  min-height: 545px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 12%, color-mix(in srgb, var(--scheme) 10%, transparent), transparent 21rem),
    linear-gradient(155deg, rgba(20,31,49,.98), rgba(8,14,24,.99));
}

.main-index.home-v2 .strategy-card-header {
  padding: 25px 26px 21px;
}

.main-index.home-v2 .strategy-title-row {
  padding: 30px 26px 0;
}

.main-index.home-v2 .strategy-title-row h3 {
  font-size: 46px;
}

.main-index.home-v2 .strategy-description {
  min-height: 54px;
  margin-inline: 26px;
  font-size: 13px;
}

.main-index.home-v2 .strategy-metrics,
.main-index.home-v2 .share-meter {
  margin-inline: 26px;
}

.main-index.home-v2 .strategy-meta {
  padding-inline: 26px;
}

.main-index.home-v2 .strategy-action {
  padding: 19px 26px;
}

.home-v2-section-heading-centered {
  display: flex;
  align-items: center;
  max-width: 850px;
  margin: 0 auto 34px;
  flex-direction: column;
  text-align: center;
}

.home-v2-section-heading-centered .idx-section-sub {
  margin-inline: auto;
}

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

.home-v2-feature {
  position: relative;
  min-height: 275px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 21px;
  background: linear-gradient(155deg, rgba(18,28,44,.92), rgba(8,14,24,.96));
  transition: transform .22s ease, border-color .22s ease;
}

.home-v2-feature::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,101,255,.14), transparent 68%);
}

.home-v2-feature:hover {
  transform: translateY(-5px);
  border-color: rgba(89,119,255,.35);
}

.home-v2-feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(104,132,255,.25);
  border-radius: 14px;
  color: #72a0ff;
  background: rgba(62,103,255,.09);
  font-size: 18px;
}

.home-v2-feature h3 {
  margin: 22px 0 10px;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
}

.home-v2-feature p {
  margin: 0;
  color: #9eacc1;
  font-size: 13px;
  line-height: 1.72;
}

.home-v2-feature a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  color: #a9bcff;
  font-size: 12px;
  font-weight: 900;
}

.home-v2-start {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
  gap: 44px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--home-border);
  border-radius: 27px;
  background:
    radial-gradient(circle at 0 0, rgba(255,138,31,.11), transparent 27rem),
    linear-gradient(145deg, rgba(16,25,40,.95), rgba(7,12,21,.98));
}

.home-v2-start-copy .btn-f4 {
  margin-top: 26px;
}

.home-v2-steps {
  display: grid;
  gap: 11px;
}

.home-v2-steps article {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 17px;
  padding: 18px 20px;
  border: 1px solid rgba(151,170,203,.13);
  border-radius: 16px;
  background: rgba(6,11,19,.54);
}

.home-v2-steps article > span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,138,31,.25);
  border-radius: 14px;
  color: #ffad5b;
  background: rgba(255,138,31,.09);
  font-size: 12px;
  font-weight: 950;
}

.home-v2-steps h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.home-v2-steps p {
  margin: 0;
  color: #93a1b6;
  font-size: 12px;
  line-height: 1.6;
}

.home-v2-steps strong { color: #dce7f8; }

.home-v2-discord {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  margin-bottom: 110px;
  padding: 32px 36px;
  overflow: hidden;
  border: 1px solid rgba(105,122,255,.22);
  border-radius: 25px;
  background:
    radial-gradient(circle at 10% 50%, rgba(69,108,255,.16), transparent 22rem),
    linear-gradient(120deg, rgba(21,29,55,.96), rgba(10,15,28,.98));
}

.home-v2-discord::after {
  content: "";
  position: absolute;
  right: 12%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120,85,255,.15), transparent 68%);
}

.home-v2-discord-logo {
  position: relative;
  z-index: 2;
  width: 104px;
  height: 104px;
  padding: 4px;
  border: 1px solid rgba(111,137,255,.26);
  border-radius: 50%;
  background: rgba(5,9,16,.5);
}

.home-v2-discord-logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.home-v2-discord-copy {
  position: relative;
  z-index: 2;
}

.home-v2-discord h2 {
  margin: 5px 0 5px;
  color: #fff;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 950;
  letter-spacing: -.04em;
}

.home-v2-discord p {
  margin: 0;
  color: #9eacc1;
  font-size: 14px;
}

.home-v2-discord-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(122,139,255,.35);
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(100deg, #5865f2, #7659e8);
  box-shadow: 0 16px 36px rgba(88,101,242,.22);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .2s ease;
}

.home-v2-discord-btn:hover {
  color: #fff;
  transform: translateY(-2px);
}

.home-v2-infrastructure {
  margin-bottom: 80px;
}

.main-index.home-v2 .table-shell {
  border-radius: 22px;
  background: rgba(12,19,31,.9);
}

.home-v2-footer p {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.home-v2-footer p a {
  color: #aebdff;
  font-weight: 800;
}

.home-v2-footer p a i { margin-right: 5px; color: #7289da; }

@media (max-width: 1260px) {
  .home-v2-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(350px, .9fr);
    padding: 60px 48px;
  }

  .home-v2-badge { width: min(100%, 400px); }
  .home-v2-brand-ring-a { width: 450px; height: 450px; }
  .home-v2-brand-ring-b { width: 510px; height: 510px; }
  .home-v2-brand-proof { right: 0; }
  .home-v2-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .main-index.home-v2 .site-header-inner,
  .main-index.home-v2 .idx-page,
  .main-index.home-v2 .f4-footer {
    width: min(100% - 28px, 1560px);
  }

  .home-v2-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 54px 34px 40px;
  }

  .home-v2-brand-stage {
    min-height: 430px;
    margin-top: 24px;
  }

  .home-v2-badge { width: 370px; }
  .home-v2-brand-ring-a { width: 410px; height: 410px; }
  .home-v2-brand-ring-b { width: 460px; height: 460px; }

  .main-index.home-v2 .home-v2-stats {
    grid-template-columns: repeat(3, 1fr);
    width: calc(100% - 30px);
  }

  .main-index.home-v2 .home-v2-stats .pool-stat-item:nth-child(4),
  .main-index.home-v2 .home-v2-stats .pool-stat-item:nth-child(5) {
    grid-column: span 1;
  }

  .home-v2-start {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .home-v2-discord {
    grid-template-columns: auto 1fr;
  }

  .home-v2-discord-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .main-index.home-v2 .site-header-inner {
    height: 68px;
  }

  .main-index.home-v2 .site-nav a:not(.site-nav-cta) {
    display: none;
  }

  .main-index.home-v2 .site-brand-mark {
    width: 36px;
    height: 36px;
  }

  .main-index.home-v2 .site-brand-wordmark {
    font-size: 18px;
  }

  .main-index.home-v2 .idx-page {
    padding-top: 18px;
  }

  .home-v2-hero {
    padding: 40px 22px 26px;
    border-radius: 24px;
  }

  .home-v2-copy h1 {
    font-size: clamp(45px, 14vw, 64px);
  }

  .home-v2-copy > p {
    font-size: 15px;
  }

  .home-v2-actions,
  .home-v2-endpoints {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .home-v2-actions .btn-f4 {
    width: 100%;
  }

  .home-v2-brand-stage {
    min-height: 340px;
  }

  .home-v2-badge { width: min(92vw, 300px); }
  .home-v2-brand-ring-a { width: 320px; height: 320px; }
  .home-v2-brand-ring-b { width: 360px; height: 360px; }
  .home-v2-brand-proof { display: none; }

  .main-index.home-v2 .home-v2-stats {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 14px);
    margin-top: -26px;
    margin-bottom: 72px;
  }

  .main-index.home-v2 .home-v2-stats .pool-stat-item {
    min-height: 94px;
    padding: 18px;
  }

  .main-index.home-v2 .home-v2-stats .pool-stat-item:last-child {
    grid-column: 1 / -1;
  }

  .main-index.home-v2 .idx-section-title {
    font-size: 35px;
  }

  .home-v2-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-v2-feature {
    min-height: 0;
  }

  .home-v2-start {
    padding: 27px 20px;
    border-radius: 22px;
  }

  .home-v2-steps article {
    grid-template-columns: 48px 1fr;
    padding: 15px;
  }

  .home-v2-steps article > span {
    width: 42px;
    height: 42px;
  }

  .home-v2-discord {
    grid-template-columns: 1fr;
    padding: 26px 22px;
    text-align: center;
  }

  .home-v2-discord-logo {
    margin: 0 auto;
  }

  .home-v2-footer p {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-v2-badge,
  .home-v2-brand-ring-a,
  .home-v2-brand-ring-b {
    animation: none;
  }
}
