@import url("theme.css");

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-body);
  color: #f7f7fb;
  background: radial-gradient(circle at top right, rgba(154, 72, 255, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(35, 198, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #09111f 0%, #070a16 46%, #070813 100%),
    url(../img/bg.jpeg) no-repeat center center fixed;
  background-size: cover;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 35%);
  pointer-events: none;
}

.home-hero {
  position: relative;
  text-align: center;
  padding: 2.2rem 1rem 0.75rem;
}

.home-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.6vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(157, 232, 255, 0.88);
}

.home-hero h1 {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.05em;
  color: #f8f6ff;
  text-shadow: 0 0 28px rgba(154, 72, 255, 0.28);
}

.home-title-accent {
  background: linear-gradient(90deg, #c9b7ff, #9de8ff, #ffd68a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-subtitle {
  margin: 0.85rem auto 0;
  max-width: 520px;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  letter-spacing: 0.06em;
  color: rgba(200, 208, 240, 0.82);
}

.home-hero h1::after {
  content: "";
  display: block;
  width: min(280px, 60%);
  height: 2px;
  margin: 0.9rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(154, 72, 255, 0.9), rgba(35, 198, 255, 0.85), transparent);
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 240px);
  padding: 1rem;
}

.button-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 980px;
}

.home-btn-link {
  flex: 1 1 260px;
  max-width: 320px;
  text-decoration: none;
}

.home-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(200px, 38vw, 280px);
  padding: 1.5rem;
  border: none;
  border-radius: 28px;
  font-family: inherit;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  overflow: hidden;
  --home-icon-size: clamp(5rem, min(22vw, 20vh), 7.5rem);
}

.home-btn::before {
  content: "";
  position: absolute;
  inset: 5px 10px auto;
  height: 38%;
  border-radius: 20px 20px 22px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.home-btn::after {
  content: "";
  position: absolute;
  inset: auto 14px 8px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  filter: blur(1px);
  pointer-events: none;
}

.home-btn-play {
  color: #eefcff;
  background: linear-gradient(180deg, rgba(130, 210, 235, 0.72) 0%, rgba(88, 165, 205, 0.58) 40%, rgba(58, 118, 158, 0.68) 72%, rgba(42, 92, 128, 0.78) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.38) inset,
    0 -3px 0 rgba(0, 0, 0, 0.18) inset,
    0 10px 0 rgba(28, 72, 98, 0.55),
    0 14px 28px rgba(0, 0, 0, 0.32),
    0 0 32px rgba(90, 200, 240, 0.22);
}

.home-btn-setting {
  color: #f5f0ff;
  background: linear-gradient(180deg, rgba(180, 165, 230, 0.68) 0%, rgba(140, 125, 200, 0.54) 40%, rgba(98, 88, 168, 0.64) 72%, rgba(72, 62, 132, 0.74) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.36) inset,
    0 -3px 0 rgba(0, 0, 0, 0.18) inset,
    0 10px 0 rgba(48, 38, 92, 0.52),
    0 14px 28px rgba(0, 0, 0, 0.32),
    0 0 32px rgba(160, 140, 255, 0.2);
}

.home-btn-link:hover .home-btn {
  filter: brightness(1.06);
  transform: translateY(-5px);
}

.home-btn-link:hover .home-btn-play {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.42) inset,
    0 -3px 0 rgba(0, 0, 0, 0.18) inset,
    0 13px 0 rgba(28, 72, 98, 0.55),
    0 18px 34px rgba(0, 0, 0, 0.36),
    0 0 40px rgba(90, 200, 240, 0.32);
}

.home-btn-link:hover .home-btn-setting {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 -3px 0 rgba(0, 0, 0, 0.18) inset,
    0 13px 0 rgba(48, 38, 92, 0.52),
    0 18px 34px rgba(0, 0, 0, 0.36),
    0 0 40px rgba(160, 140, 255, 0.3);
}

.home-btn-link:active .home-btn {
  filter: brightness(0.98);
  transform: translateY(6px);
}

.home-btn-link:active .home-btn-play {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 -1px 0 rgba(0, 0, 0, 0.14) inset,
    0 3px 0 rgba(28, 72, 98, 0.55),
    0 6px 14px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(90, 200, 240, 0.14);
}

.home-btn-link:active .home-btn-setting {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.26) inset,
    0 -1px 0 rgba(0, 0, 0, 0.14) inset,
    0 3px 0 rgba(48, 38, 92, 0.52),
    0 6px 14px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(160, 140, 255, 0.14);
}

.home-btn i,
.home-btn svg,
.home-btn .svg-inline--fa {
  position: relative;
  z-index: 1;
  display: block;
  width: var(--home-icon-size) !important;
  height: var(--home-icon-size) !important;
  font-size: var(--home-icon-size);
  line-height: 1;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.home-btn:focus {
  outline: none;
}

footer {
  margin: 0 auto 2rem;
  max-width: 960px;
  padding: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

footer a {
  color: #d8c8ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .button-wrapper {
    gap: 1.25rem;
  }

  .home-btn-link {
    flex-basis: min(100%, 280px);
  }
}
