:root {
  --home-bg-color: #0b0f14;
  --home-text: #ffffff;
  --home-card-bg: rgba(0, 0, 0, 0.55);
  --home-accent: #f2bf55;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: 'Trebuchet MS', sans-serif;
  background: var(--home-bg-color);
  color: var(--home-text);
}

.home {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.home-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.home-card {
  position: relative;
  z-index: 2;
  width: min(760px, 94vw);
  border-radius: 24px;
  background: var(--home-card-bg);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.product-image {
  max-width: min(420px, 80vw);
  max-height: 340px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
}

.product-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.product-subtitle {
  margin: 12px auto 20px;
  font-size: clamp(16px, 2.2vw, 22px);
  opacity: 0.94;
  max-width: 60ch;
}

.start-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  min-height: 64px;
  padding: 12px 28px;
  border-radius: 999px;
  color: #0a0a0a;
  background: var(--home-accent);
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 1px;
}

.start-button-image {
  max-height: 64px;
  width: auto;
}

.rules-link {
  display: block;
  margin-top: 16px;
  color: #ffffff;
  font-size: 18px;
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .home-card {
    padding: 18px;
    border-radius: 16px;
  }

  .start-button {
    min-width: 180px;
    min-height: 56px;
  }

  .rules-link {
    font-size: 16px;
  }
}
