*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #1a1b1d;
  --bg-card: #2c2d30;
  --bg-card-hover: #383a3c;
  --border: #4d5259;
  --gold: #ffb820;
  --gold-light: #ffd23d;
  --gold-dark: #f3a804;
  --text: #ffffff;
  --text-muted: #acacac;
  --gradient-gold: linear-gradient(272deg, #f3a804 -0.12%, #ffd650 51.5%, #ffd23d 100.12%);
  --gradient-card: linear-gradient(286deg, rgba(56, 60, 64, 0.6) 0%, rgba(44, 44, 47, 0.8) 21.68%, #4d5259 51.71%, #383a3c 100%);
  --font: "Poppins", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.6;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Background effects */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 184, 32, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 184, 32, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.bg-glow--left {
  top: -200px;
  left: -200px;
  background: var(--gold-dark);
}

.bg-glow--right {
  bottom: -200px;
  right: -200px;
  background: var(--gold-light);
}

/* Header */
.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(77, 82, 89, 0.4);
  backdrop-filter: blur(12px);
  background: rgba(26, 27, 29, 0.8);
}

.header__logo img {
  display: block;
  height: auto;
  width: clamp(140px, 28vw, 220px);
}

.header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--gold-dark);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.header__link:hover {
  background: var(--gradient-gold);
  color: var(--bg);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2rem) 3rem;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  margin-bottom: 1.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 184, 32, 0.08);
  border: 1px solid rgba(255, 184, 32, 0.35);
  border-radius: 999px;
  animation: badge-pulse 2.5s ease-in-out infinite;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: dot-blink 1.5s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 184, 32, 0.2); }
  50% { box-shadow: 0 0 20px 4px rgba(255, 184, 32, 0.15); }
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero__title-accent {
  display: block;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 0.25rem;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.125rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

/* Notify form */
.notify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
  max-width: 520px;
  margin-bottom: 0.75rem;
}

.notify-form__input {
  flex: 1 1 220px;
  padding: 0.9rem 1.15rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.notify-form__input::placeholder {
  color: #6c757d;
}

.notify-form__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 184, 32, 0.15);
}

.notify-form__btn {
  flex: 0 0 auto;
  padding: 0.9rem 1.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--gradient-gold);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  white-space: nowrap;
}

.notify-form__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 184, 32, 0.3);
  filter: brightness(1.05);
}

.notify-form__btn:active {
  transform: translateY(0);
}

.notify-form__note {
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
  min-height: 1.25rem;
}

.notify-form__note--success {
  color: #03ac0e;
}

.notify-form__note--error {
  color: #ff6b6b;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 900px;
  margin-bottom: 2.5rem;
}

.feature {
  padding: 1.5rem 1.25rem;
  text-align: left;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dark);
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--gold);
  background: rgba(255, 184, 32, 0.1);
  border-radius: 10px;
}

.feature__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.feature__text {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Games strip */
.games-strip {
  width: 100%;
  max-width: 900px;
  padding: 1.5rem;
  background: rgba(44, 45, 48, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.games-strip__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.games-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.game-tag {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid rgba(77, 82, 89, 0.6);
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s;
}

.game-tag:hover {
  color: var(--gold);
  border-color: var(--gold-dark);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.825rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(77, 82, 89, 0.4);
}

.footer__domain {
  margin-top: 0.25rem;
  font-weight: 500;
  color: var(--gold);
  opacity: 0.7;
}

@media (max-width: 480px) {
  .notify-form {
    flex-direction: column;
  }

  .notify-form__btn {
    width: 100%;
  }

  .header__link span-text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
