/* =========================================================
   HERO (classic) - same as rocklike-same-design.html
   Linked only from index.html (after style.css, before responsive-fix.css)
   ========================================================= */
main > section.hero,
main > section.hero.g {
  background: var(--gbg);
  padding: 20px 0 16px !important;
  overflow: hidden;
  position: relative;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
  align-items: center;
  min-height: 0;
}
.hero h1 { font-size: clamp(32px, 4.4vw, 68px); font-weight: 300; }
.hero h1 em { display: block; font-style: normal; font-weight: 800; color: var(--blue); }
.hero p { max-width: 34em; font-size: clamp(15px, 1.15vw, 18px); margin: 20px 0 30px; }

/* button (pill + arrow circle) */
.hero .btn { white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; font-weight: 700; }
.hero .btn span { background: var(--btn); color: #fff; padding: 14px 26px; border-radius: 99px 0 0 99px; font-size: 16px; line-height: 1; }
.hero .btn i { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 20px; margin-left: 2px; transition: transform .3s; }
.hero .btn:hover i { transform: rotate(45deg); }

/* wheel */
.wheelbox { position: relative; justify-self: center; width: min(100%, 690px); aspect-ratio: 1; }
.wheelbox svg { width: 100%; height: 100%; overflow: visible; }
.seg { cursor: pointer; transition: transform .35s; transform-origin: 345px 345px; }
.seg path { transition: fill .3s; }
.seg:hover { transform: scale(1.04); }
.seg text { pointer-events: none; font-family: inherit; }

.hero .badge {
  position: absolute; left: 8%; bottom: -2%;
  background: rgba(90, 120, 165, .65);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 16px 24px; border-radius: 12px; font-size: 15px;
  animation: fl 4s ease-in-out infinite;
}
.hero .badge b { display: block; color: var(--ink); font-size: 28px; font-weight: 500; }
.hero .fb {
  position: absolute; width: 108px; height: 108px; border-radius: 50%;
  background: var(--blue); display: grid; place-items: center;
  color: #fff; font-size: 34px;
  animation: fl 5s ease-in-out infinite;
}
@keyframes fl { 50% { transform: translateY(-14px); } }

/* Desktop: size the wheel by screen height so the whole hero fits in one screen */
@media (min-width: 901px) {
  .wheelbox { width: min(100%, 690px, max(380px, calc(100vh - 125px))); width: min(100%, 690px, max(380px, calc(100svh - 125px))); }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .fb { width: 70px; height: 70px; font-size: 26px; }
}
@media (max-width: 480px) {
  .hero .fb { width: 56px; height: 56px; font-size: 22px; }
  .hero .badge { padding: 10px 16px; font-size: 13px; }
  .hero .badge b { font-size: 22px; }
}
