/* ==========================================================================
   YY GAME — pages/home.css
   Homepage-only: reel hero, OG banner showcase, category grid, screenshot
   coverflow, the "how it works" dial and the Telegram panel.
   ========================================================================== */

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  padding-block: var(--space-2xl) var(--space-xl);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero { padding-block: var(--space-3xl) var(--space-2xl); }
}

.hero__glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 78%;
  background:
    radial-gradient(ellipse 46% 62% at 28% 12%, rgba(122, 18, 38, 0.36) 0%, transparent 66%),
    radial-gradient(ellipse 44% 58% at 78% 8%, rgba(107, 42, 142, 0.26) 0%, transparent 64%),
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(232, 184, 92, 0.12) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: var(--space-xl);
  align-items: center;
  grid-template-areas:
    'top'
    'stage'
    'bottom';
}

/* Mobile: headline copy, then the app mockup, then the bonus plate + CTAs —
   the mockup is deliberately shown before the welcome-bonus panel here. */
.hero__copy-top { grid-area: top; min-width: 0; }
.hero__stage { grid-area: stage; }
.hero__copy-bottom { grid-area: bottom; min-width: 0; }

@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    grid-template-areas:
      'top    stage'
      'bottom stage';
    gap: var(--space-2xl);
  }
}

/* --- Copy column ---------------------------------------------------------- */

.hero__title {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

.hero__title-line {
  display: block;
  color: var(--color-text-primary);
}

.hero__lede {
  max-width: 56ch;
  margin-bottom: var(--space-lg);
  font-size: clamp(0.98rem, 2.4vw, 1.1rem);
  line-height: 1.74;
  color: var(--color-text-secondary);
}

/* --- Prize plate ---------------------------------------------------------- */

.hero__prize {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--color-gold-deep);
  border-radius: var(--radius-md);
  background:
    linear-gradient(140deg, rgba(232, 184, 92, 0.13), rgba(122, 18, 38, 0.22));
  box-shadow: var(--shadow-inset-top), 0 8px 26px rgba(0, 0, 0, 0.45);
}

.hero__prize-label {
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: var(--tracking-marquee);
  text-transform: uppercase;
  color: var(--color-gold-coin);
}

.hero__prize-value {
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 1;
  filter: drop-shadow(0 3px 14px rgba(232, 184, 92, 0.36));
}

.hero__prize-note {
  font-size: var(--fs-2xs);
  color: var(--color-text-muted);
}

/* --- Actions -------------------------------------------------------------- */

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero__tg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(34, 158, 217, 0.28);
  border-radius: var(--radius-md);
  background: rgba(34, 158, 217, 0.07);
}

.hero__tg-note {
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
}

.hero__ticks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  list-style: none;
}

.hero__ticks li {
  position: relative;
  padding-left: 1.35rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-text-muted);
}

.hero__ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--color-jade);
  border-bottom: 2px solid var(--color-jade);
  transform: rotate(-45deg);
}

/* ==========================================================================
   HERO MACHINE — reel rack + phone
   ========================================================================== */

.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}

.hero__machine {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
  max-width: 380px;
  padding: 3.1rem 3.6rem 1.5rem 1.1rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 70% 44% at 50% 0%, rgba(255, 233, 174, 0.13) 0%, transparent 62%),
    linear-gradient(168deg, #2a1a14 0%, #17100d 38%, #0d0808 100%);
  box-shadow:
    var(--shadow-card-lg),
    inset 0 1px 0 rgba(255, 233, 174, 0.16),
    inset 0 -18px 40px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .hero__machine {
    max-width: 420px;
    padding: 3.4rem 4.2rem 1.8rem 1.5rem;
  }
}

/* --- Reel rack: a proper horizontal bank above the device ----------------- */

.hero__reels {
  width: 100%;
}

/* Shared reel-rack styles live in main.css §28 (used by home + download). */

/* --- Phone sits below the reel bank --------------------------------------- */

.hero__machine .phone-stage {
  position: relative;
  z-index: 3;
  padding-block: 0;
  width: 100%;
}

.hero__machine .phone {
  max-width: 190px;
}

@media (min-width: 480px) {
  .hero__machine .phone { max-width: 206px; }
}

@media (min-width: 768px) {
  .hero__machine .phone { max-width: 224px; }
}

/* --- Marquee sign --------------------------------------------------------- */

.hero__marquee {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  padding: 0.2rem 1.2rem;
  border: 1px solid var(--color-gold-deep);
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(122, 18, 38, 0.7), rgba(11, 7, 8, 0.9));
}

.hero__marquee-text {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.36em;
  padding-left: 0.36em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: marquee-flicker 3.6s var(--ease-in-out) infinite;
}

@keyframes marquee-flicker {
  0%, 100% { opacity: 1; }
  46% { opacity: 1; }
  50% { opacity: 0.45; }
  54% { opacity: 1; }
}

/* --- Lever ---------------------------------------------------------------- */

.hero__lever {
  position: absolute;
  right: 0.5rem;
  top: 3.1rem;
  z-index: 5;
  width: 40px;
  height: 96px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (min-width: 768px) {
  .hero__lever { right: 0.9rem; top: 3.4rem; width: 46px; height: 108px; }
}

/* Mounting plate the lever pivots from */
.hero__lever::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 26px;
  height: 12px;
  margin-left: -13px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #3a2d22, #150e0b);
  box-shadow: inset 0 1px 0 rgba(255, 233, 174, 0.18);
}

.hero__lever-stick {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 8px;
  height: 62px;
  margin-left: -4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #e8d8b4, #8a6a2e 60%, #4a3517);
  transform-origin: 50% 100%;
  transition: transform var(--dur-base) var(--ease-spring);
}

.hero__lever-knob {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ff9b86 0%, #c13a34 48%, #6d1712 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6), inset 0 -3px 6px rgba(0, 0, 0, 0.35);
  transition: transform var(--dur-base) var(--ease-spring),
    box-shadow var(--dur-base) var(--ease-out);
}

.hero__lever:hover .hero__lever-knob,
.hero__lever:focus-visible .hero__lever-knob {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 155, 134, 0.7);
}

.hero__lever.is-pulled .hero__lever-stick { animation: lever-stick 620ms var(--ease-spring); }
.hero__lever.is-pulled .hero__lever-knob { animation: lever-knob 620ms var(--ease-spring); }

@keyframes lever-stick {
  0% { transform: scaleY(1); }
  34% { transform: scaleY(0.6); }
  68% { transform: scaleY(1.06); }
  100% { transform: scaleY(1); }
}

@keyframes lever-knob {
  0% { transform: translateY(0); }
  34% { transform: translateY(21px); }
  68% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */

.trust-strip {
  border-block: 1px solid var(--color-obsidian-border);
  background: rgba(22, 16, 14, 0.5);
}

/* ==========================================================================
   SCOREBOARD EXTRAS
   ========================================================================== */

.scoreboard__reels {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.scoreboard__reels span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 60px;
  border: 1px solid var(--color-gold-deep);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #0d0807, #241611 50%, #0d0807);
  box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.7);
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  background-clip: padding-box;
  color: var(--color-gold-jackpot);
  text-shadow: 0 0 14px var(--color-gold-coin);
  animation: seven-glow 2.4s var(--ease-in-out) infinite;
}

.scoreboard__reels span:nth-child(2) { animation-delay: 0.24s; }
.scoreboard__reels span:nth-child(3) { animation-delay: 0.48s; }

@keyframes seven-glow {
  0%, 100% { text-shadow: 0 0 14px var(--color-gold-coin); }
  50% { text-shadow: 0 0 26px var(--color-gold-jackpot), 0 0 42px var(--color-gold-coin); }
}

.scoreboard--compact {
  padding-block: var(--space-xl);
}

.scoreboard--compact .scoreboard__amount {
  font-size: clamp(2.6rem, 10vw, 4.6rem);
}

/* ==========================================================================
   OG BANNER SHOWCASE
   ========================================================================== */

.og-banner {
  position: relative;
  display: block;
  max-width: 840px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-lg);
  transition: transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.og-banner:hover,
.og-banner:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-lg), 0 0 40px var(--color-gold-faint-a);
}

.og-banner img {
  width: 100%;
  height: auto;
  transition: transform var(--dur-slow) var(--ease-out);
}

.og-banner:hover img {
  transform: scale(1.03);
}

.og-banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-md);
  background: linear-gradient(180deg,
    rgba(11, 7, 8, 0.42) 0%, transparent 34%,
    transparent 58%, rgba(11, 7, 8, 0.78) 100%);
  pointer-events: none;
}

.og-banner__badge {
  padding: 0.28rem 0.75rem;
  border: 1px solid var(--color-gold-deep);
  border-radius: var(--radius-pill);
  background: rgba(11, 7, 8, 0.72);
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: var(--tracking-marquee);
  text-transform: uppercase;
  color: var(--color-gold-coin);
}

.og-banner__cta {
  align-self: flex-end;
}

.og-banner__notes {
  display: grid;
  gap: var(--space-md);
  max-width: 840px;
  margin: var(--space-xl) auto 0;
}

@media (min-width: 768px) {
  .og-banner__notes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.og-banner__note {
  padding: var(--space-md);
  border-top: 2px solid var(--color-gold-deep);
  background: rgba(22, 16, 14, 0.5);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.og-banner__note h3 {
  margin-bottom: 0.3rem;
  font-size: var(--fs-h4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gold-coin);
}

.og-banner__note p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.62;
}

/* ==========================================================================
   CATEGORY GRID
   ========================================================================== */

.cat-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 700px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
}

.cat-card {
  display: flex;
  flex-direction: column;
}

.cat-card__count {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: 0.16rem 0.55rem;
  border: 1px solid var(--color-obsidian-hairline);
  border-radius: var(--radius-pill);
  background: rgba(11, 7, 8, 0.7);
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-gold-coin);
}

.cat-card__link {
  margin-top: auto;
  padding-top: var(--space-md);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cat-card__link::after {
  content: ' →';
  transition: margin-left var(--dur-fast) var(--ease-out);
}

.cat-card__link:hover::after {
  margin-left: 4px;
}

.cat-card--cta {
  justify-content: center;
  background:
    radial-gradient(ellipse 100% 100% at 50% 0%, rgba(122, 18, 38, 0.34) 0%, transparent 70%),
    var(--color-obsidian-elevated);
  border-color: var(--color-gold-deep);
}

/* ==========================================================================
   SCREENSHOT COVERFLOW SLIDER
   ========================================================================== */

.shots {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(107, 42, 142, 0.16) 0%, transparent 68%);
}

.shot-slider {
  position: relative;
  outline-offset: 8px;
}

.shot-slider__stage {
  position: relative;
  height: 430px;
  perspective: 1400px;
  transform-style: preserve-3d;
}

@media (min-width: 768px) {
  .shot-slider__stage { height: 520px; }
}

@media (min-width: 1200px) {
  .shot-slider__stage { height: 560px; }
}

.shot-slide {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  width: min(178px, 44vw);
  transition:
    transform 620ms var(--ease-out),
    opacity 620ms var(--ease-out);
  cursor: pointer;
  will-change: transform, opacity;
}

@media (min-width: 768px) {
  .shot-slide { width: 202px; }
}

@media (min-width: 1200px) {
  .shot-slide { width: 218px; }
}

.phone--shot {
  max-width: 100%;
  filter: saturate(0.86) brightness(0.9);
  transition: filter 620ms var(--ease-out), box-shadow 620ms var(--ease-out);
}

.shot-slide.is-active .phone--shot {
  filter: none;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.78),
    0 0 0 1px var(--color-gold-coin),
    0 0 44px var(--color-gold-faint-a),
    inset 0 1px 1px rgba(255, 233, 174, 0.24);
}

.shot-slider__caption {
  min-height: 3.2em;
  margin: var(--space-md) auto 0;
  max-width: 52ch;
  text-align: center;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.shot-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.shot-slider__dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.shot-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-obsidian-border);
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-spring),
    background var(--dur-base) var(--ease-out),
    width var(--dur-base) var(--ease-out);
}

.shot-slider__dot:hover {
  background: var(--color-gold-deep);
}

.shot-slider__dot.is-active {
  width: 26px;
  border-radius: var(--radius-pill);
  background: var(--grad-gold);
}

.shots__notes {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
  .shots__notes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.shots__note {
  padding: var(--space-md);
  border: 1px solid var(--color-obsidian-border);
  border-radius: var(--radius-md);
  background: rgba(22, 16, 14, 0.6);
}

.shots__note h3 {
  margin-bottom: 0.3rem;
  font-size: var(--fs-h4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gold-coin);
}

.shots__note p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.62;
}

/* ==========================================================================
   HOW IT WORKS — the dial
   ========================================================================== */

.dial {
  position: relative;
  display: grid;
  gap: var(--space-md);
}

.dial__hub {
  display: none;
}

.dial__steps {
  list-style: none;
  display: grid;
  gap: var(--space-md);
}

.dial__step {
  position: relative;
  padding: var(--space-lg);
  padding-left: 3.6rem;
  border: 1px solid var(--color-obsidian-border);
  border-radius: var(--radius-md);
  background: var(--grad-panel);
  box-shadow: var(--shadow-card);
  transition: border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.dial__step:hover {
  border-color: var(--color-gold-deep);
  transform: translateY(-3px);
}

.dial__num {
  position: absolute;
  left: var(--space-lg);
  top: var(--space-lg);
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.04em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.dial__title {
  margin-bottom: 0.35rem;
  font-size: var(--fs-h4);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.dial__text {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.66;
}

/* Circular arrangement once there is room for it */
@media (min-width: 1000px) {
  .dial {
    position: relative;
    min-height: 640px;
    place-items: center;
  }

  .dial__hub {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 210px;
    height: 210px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
      radial-gradient(circle at 50% 34%, rgba(232, 184, 92, 0.2) 0%, transparent 62%),
      linear-gradient(160deg, #2a1a14, #0d0807);
    border: 1px solid var(--color-gold-deep);
    box-shadow: 0 0 50px rgba(232, 184, 92, 0.16), inset 0 1px 0 rgba(255, 233, 174, 0.2);
  }

  .dial__hub-ring {
    position: absolute;
    inset: -34px;
    border-radius: 50%;
    border: 1px dashed rgba(232, 184, 92, 0.32);
    animation: dial-spin 26s linear infinite;
  }

  .dial__hub-ring--2 {
    inset: -66px;
    border-style: dotted;
    border-color: rgba(155, 79, 196, 0.28);
    animation-duration: 40s;
    animation-direction: reverse;
  }

  @keyframes dial-spin {
    to { transform: rotate(1turn); }
  }

  .dial__hub-label {
    font-family: var(--font-display);
    font-size: 2.1rem;
    line-height: 0.94;
    letter-spacing: 0.1em;
    text-align: center;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .dial__steps {
    display: block;
    width: 100%;
    height: 640px;
    position: relative;
  }

  .dial__step {
    position: absolute;
    width: 300px;
  }

  .dial__step--1 { top: 0; left: 50%; transform: translateX(-50%); }
  .dial__step--2 { top: 50%; right: 0; transform: translateY(-50%); }
  .dial__step--3 { bottom: 0; left: 50%; transform: translateX(-50%); }
  .dial__step--4 { top: 50%; left: 0; transform: translateY(-50%); }

  .dial__step--1:hover { transform: translateX(-50%) translateY(-3px); }
  .dial__step--3:hover { transform: translateX(-50%) translateY(-3px); }
  .dial__step--2:hover { transform: translateY(-50%) translateY(-3px); }
  .dial__step--4:hover { transform: translateY(-50%) translateY(-3px); }
}

@media (min-width: 1200px) {
  .dial__step { width: 340px; }
}

/* ==========================================================================
   TESTIMONIAL / THEME CARDS
   ========================================================================== */

.testimonial {
  padding-top: var(--space-xl);
}

.testimonial__coin {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.4), 0 0 12px var(--color-gold-faint-a);
  opacity: 0.65;
}

.testimonial .payline-card__title {
  color: var(--color-gold-coin);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  padding-right: 2.2rem;
}

/* ==========================================================================
   TELEGRAM PANEL
   ========================================================================== */

.tg-panel {
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid rgba(34, 158, 217, 0.34);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 70% 90% at 18% 0%, rgba(34, 158, 217, 0.16) 0%, transparent 62%),
    radial-gradient(ellipse 60% 80% at 88% 100%, rgba(107, 42, 142, 0.2) 0%, transparent 64%),
    var(--color-obsidian-panel);
  box-shadow: var(--shadow-card-lg);
}

@media (min-width: 768px) {
  .tg-panel { padding: var(--space-2xl); }
}

.tg-panel__head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.tg-panel__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(140deg, #229ed9, #14607f);
  color: #fff;
  box-shadow: 0 8px 22px rgba(34, 158, 217, 0.4);
}

.tg-panel__icon svg {
  width: 34px;
  height: 34px;
}

.tg-panel__sub {
  margin: 0.2rem 0 0;
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
}

.tg-panel__grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .tg-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
}

.tg-panel__card {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  border: 1px solid var(--color-obsidian-border);
  border-radius: var(--radius-md);
  background: rgba(11, 7, 8, 0.52);
}

.tg-panel__card h3 {
  margin-bottom: var(--space-xs);
  font-size: var(--fs-h4);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.tg-panel__card p {
  flex: 1 1 auto;
  margin-bottom: var(--space-lg);
  font-size: var(--fs-sm);
  line-height: 1.66;
}
