
.ts-fun-hero {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #262541;
}

.ts-fun-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ts-fun-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.20), transparent 24%),
    radial-gradient(circle at 12% 78%, rgba(255, 95, 109, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(38, 37, 65, 0.97) 0%, rgba(38, 37, 65, 0.84) 48%, rgba(38, 37, 65, 0.48) 100%);
}

.ts-fun-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 3rem;
  align-items: center;
  padding: 5.5rem 0 2rem;
}

.ts-fun-hero-copy {
  max-width: 760px;
  color: #fff;
}

.ts-fun-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ts-fun-hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff5f6d;
  box-shadow: 0 0 0 5px rgba(255, 95, 109, 0.18);
}

.ts-fun-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  color: #fff !important;
  font-size: clamp(2.5rem, 6.5vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 700;
}

.ts-fun-hero-copy p {
  max-width: 610px;
  margin: 1.2rem 0 0;
  color: rgba(255,255,255,0.86) !important;
  font-size: 1.14rem;
  line-height: 1.65;
}

.ts-fun-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.ts-fun-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1.12rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ts-fun-hero-btn:hover {
  transform: translateY(-2px);
}

.ts-fun-hero-btn-primary {
  background: #fff;
  color: #262541;
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

.ts-fun-hero-btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.34);
}

/* Right-hand playful navigation panel */
.ts-fun-hero-panel {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 24px 60px rgba(0,0,0,0.26);
  backdrop-filter: blur(12px);
}

.ts-fun-panel-label {
  margin: 0 0 0.8rem;
  padding: 0 0.2rem;
  color: #6f6a7c;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ts-fun-panel-links {
  display: grid;
  gap: 0.7rem;
}

.ts-fun-panel-links a {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 0.8rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: 14px;
  background: #f8f7fb;
  color: #262541;
  text-decoration: none;
  border: 1px solid #e6e2ef;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ts-fun-panel-links a:hover {
  transform: translateY(-2px);
  background: #fff;
}

.ts-fun-panel-links span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #262541;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.ts-fun-panel-links strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.ts-fun-panel-links small {
  display: block;
  margin-top: 0.2rem;
  color: #6f6a7c;
  font-size: 0.84rem;
}



/* Responsive */
@media (max-width: 991px) {
  .ts-fun-hero {
    min-height: auto;
  }

  .ts-fun-hero-overlay {
    background:
      radial-gradient(circle at 75% 15%, rgba(255,255,255,0.16), transparent 28%),
      linear-gradient(180deg, rgba(38,37,65,0.96), rgba(38,37,65,0.78));
  }

  .ts-fun-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 0 2rem;
  }

  .ts-fun-hero-panel {
    max-width: 520px;
  }
}

@media (max-width: 576px) {
  .ts-fun-hero-inner {
    padding: 3.2rem 0 1.6rem;
  }

  .ts-fun-hero-copy h1 {
        font-size: clamp(2.45rem, 10vw, 3.55rem);
        margin-top: 50px;
  }

  .ts-fun-hero-copy p {
    font-size: 1rem;
  }

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

  .ts-fun-hero-btn {
    width: 100%;
  }

  .ts-fun-hero-panel {
    display: none;
  }

  .ts-fun-feature-strip {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin-bottom: 2rem;
  }

  .ts-fun-feature-strip strong {
    white-space: normal;
  }
}