/* ==========================================================================
   eqQuizzy — Stylesheet
   Шрифты: Poppins (заголовки), Inter (текст)
   Цвета: #6C63FF (основной), #FF6B35 (вторичный), #00D4AA (бирюзовый)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800;900&display=swap');

/* --- CSS Переменные --- */
:root {
  --primary: #6C63FF;
  --primary-hover: #574eff;
  --primary-light: #ECEBFF;
  --secondary: #FF6B35;
  --secondary-hover: #f05a22;
  --secondary-light: #FFF0EB;
  --accent: #00D4AA;
  --accent-light: #E6FAF6;
  
  --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #3B3B98 100%);
  --gradient-secondary: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
  --gradient-accent: linear-gradient(135deg, #00D4AA 0%, #00A884 100%);
  --gradient-hero: linear-gradient(135deg, #F8F9FF 0%, #EDEFFF 50%, #F5F7FA 100%);

  --bg-white: #FFFFFF;
  --bg-light: #F5F7FA;
  --bg-surface: #FFFFFF;
  
  --text-main: #1A1E29;
  --text-muted: #5E6577;
  --text-light: #8F97A9;

  --border-color: #E2E6EF;
  --border-radius-sm: 12px;
  --border-radius-md: 18px;
  --border-radius-lg: 24px;
  --border-radius-pill: 9999px;

  --shadow-sm: 0 4px 12px rgba(108, 99, 255, 0.06);
  --shadow-md: 0 10px 30px rgba(26, 30, 41, 0.08);
  --shadow-lg: 0 20px 40px rgba(108, 99, 255, 0.14);
  --shadow-hover: 0 22px 45px rgba(108, 99, 255, 0.22);

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.2s ease;
  --transition: all 0.3s ease;
}

/* --- Сброс и базовые настройки --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button, input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- Кнопки --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--border-radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #FFF;
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(108, 99, 255, 0.45);
}

.btn--secondary {
  background: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn--orange {
  background: var(--gradient-secondary);
  color: #FFF;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn--orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 107, 53, 0.45);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn--pulse {
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(108, 99, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
  }
}

/* --- Секции общие --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* --- Хедер --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.55rem;
  color: var(--text-main);
}

.logo__icon {
  font-size: 1.8rem;
  animation: rotate-wiggle 4s ease-in-out infinite;
}

@keyframes rotate-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

.logo__text span {
  color: var(--primary);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.nav__link:hover, .nav__link.active {
  color: var(--primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__link:hover::after, .nav__link.active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.live-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 8px 14px;
  border-radius: var(--border-radius-pill);
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.live-pill__dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent);
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

.burger {
  display: none;
  background: none;
  width: 32px;
  height: 24px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}

.burger__bar {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

.burger.is-active .burger__bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.burger.is-active .burger__bar:nth-child(2) {
  opacity: 0;
}

.burger.is-active .burger__bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* --- Hero Секция --- */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  font-size: 2rem;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.shape-1 { top: 18%; left: 6%; animation: float 6s ease-in-out infinite; }
.shape-2 { top: 35%; left: 4%; animation: float 7s ease-in-out 1s infinite; font-size: 2.4rem; }
.shape-3 { top: 15%; right: 12%; animation: float 5s ease-in-out 0.5s infinite; font-size: 1.8rem; }
.shape-4 { top: 55%; right: 5%; animation: float 6.5s ease-in-out 1.5s infinite; font-size: 2.2rem; }
.shape-5 { bottom: 25%; left: 8%; animation: float 8s ease-in-out 2s infinite; font-size: 2rem; }
.shape-6 { bottom: 20%; right: 15%; animation: float 5.5s ease-in-out infinite; font-size: 2.5rem; }

.floating-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, rgba(108, 99, 255, 0.02) 70%);
  pointer-events: none;
  z-index: 0;
}

.bubble-1 { width: 340px; height: 340px; top: 10%; right: -50px; }
.bubble-2 { width: 420px; height: 420px; bottom: 0; left: -100px; }
.bubble-3 { width: 200px; height: 200px; top: 40%; left: 45%; }

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-22px) rotate(10deg);
  }
}

.hero__container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF;
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 22px;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 24px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Схема игры (ТВ + телефоны) */
.hero__visual {
  position: relative;
}

.game-setup {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.tv-screen {
  position: relative;
  width: 100%;
  max-width: 490px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}

.tv-screen__bezel {
  width: 100%;
  background: #1e2029;
  padding: 14px;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(26, 30, 41, 0.25);
  position: relative;
}

.tv-screen__camera {
  width: 6px;
  height: 6px;
  background: #444a5e;
  border-radius: 50%;
  margin: 0 auto 10px;
}

.tv-screen__display {
  background: #0f111a;
  border-radius: 12px;
  padding: 20px;
  color: #FFF;
  position: relative;
  overflow: hidden;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.screen-logo {
  font-weight: 700;
  color: #9d96ff;
}

.screen-pin {
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
}

.screen-pin strong {
  color: #00D4AA;
  letter-spacing: 1px;
}

.screen-question-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  border-left: 4px solid var(--primary);
}

.question-tag {
  font-size: 0.75rem;
  color: #aaa;
  display: block;
  margin-bottom: 4px;
}

.question-text {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.screen-answers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.screen-answer {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ans-1 { background: #e03131; }
.ans-2 { background: #1971c2; }
.ans-3 { background: #f08c00; }
.ans-4 { background: #2f9e44; }

.is-leader {
  box-shadow: 0 0 12px rgba(25, 113, 194, 0.8);
  border: 1px solid #FFF;
}

.screen-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #8F97A9;
}

.sound-wave {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 12px;
}

.sound-wave span {
  width: 3px;
  background: #00D4AA;
  border-radius: 2px;
  animation: equalizer 0.8s ease infinite alternate;
}

.sound-wave span:nth-child(2) { animation-delay: 0.2s; height: 100%; }
.sound-wave span:nth-child(1) { height: 60%; }
.sound-wave span:nth-child(3) { animation-delay: 0.4s; height: 80%; }

@keyframes equalizer {
  0% { height: 30%; }
  100% { height: 100%; }
}

.tv-stand {
  width: 40px;
  height: 22px;
  background: #2b2e3b;
}

.tv-base {
  width: 140px;
  height: 8px;
  background: #1e2029;
  border-radius: 4px;
}

/* Пунктирные соединительные лучи */
.connection-rays {
  position: relative;
  width: 100%;
  height: 40px;
  margin: -6px 0 10px;
  pointer-events: none;
}

.ray {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  border-left: 2px dashed rgba(108, 99, 255, 0.45);
}

.ray-left { left: 22%; transform: rotate(20deg); }
.ray-center { left: 50%; transform: translateX(-50%); }
.ray-right { right: 22%; transform: rotate(-20deg); }

/* Телефоны игроков */
.phones-dock {
  display: flex;
  gap: 18px;
  justify-content: center;
  width: 100%;
  z-index: 4;
}

.phone-item {
  width: 120px;
  background: #FFFFFF;
  border: 3px solid #1e2029;
  border-radius: 20px;
  padding: 8px 6px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  animation: float 5s ease-in-out infinite;
}

.phone-left { animation-delay: 0.3s; transform: rotate(-5deg); }
.phone-center {
  width: 130px;
  animation-delay: 0.9s;
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(108, 99, 255, 0.25);
}
.phone-right { animation-delay: 1.5s; transform: rotate(5deg); }

.phone-item:hover {
  transform: translateY(-8px) scale(1.05);
}

.phone-notch {
  width: 32px;
  height: 4px;
  background: #1e2029;
  border-radius: 3px;
  margin: 0 auto 8px;
}

.phone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.player-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-main);
}

.phone-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 100%;
}

.p-btn {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #FFF;
  font-size: 0.7rem;
}

.p-btn.red { background: #e03131; }
.p-btn.blue { background: #1971c2; }
.p-btn.yellow { background: #f08c00; }
.p-btn.green { background: #2f9e44; }

.p-btn.active-pick {
  box-shadow: inset 0 0 0 2px #FFFFFF, 0 0 6px rgba(0,0,0,0.4);
  transform: scale(0.94);
}

.phone-status {
  font-size: 0.7rem;
  color: #00A884;
  font-weight: 700;
  background: var(--accent-light);
  padding: 4px 6px;
  border-radius: 6px;
  width: 100%;
}

.phone-timer {
  font-size: 1.1rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--primary);
}

.score-tag, .rank-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
}

.score-tag {
  background: #FFF3BF;
  color: #F08C00;
}

.rank-tag {
  background: var(--primary-light);
  color: var(--primary);
}

/* Волна перехода */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 50px;
  fill: var(--bg-light);
}

/* --- Как это работает --- */
.how-it-works {
  background-color: var(--bg-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.step-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.step-card__number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: #EDF1F7;
  line-height: 1;
}

.step-card__icon-box {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
}

.step-color-1 { background: #EDEFFF; color: var(--primary); }
.step-color-2 { background: #FFF0EB; color: var(--secondary); }
.step-color-3 { background: #E6FAF6; color: var(--accent); }
.step-color-4 { background: #FFF9DB; color: #F59F00; }

.step-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.step-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.step-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
  background: var(--bg-light);
  color: var(--text-muted);
}

/* --- Возможности (Две большие карточки) --- */
.features {
  background: #FFFFFF;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.feature-card--create {
  border-top: 6px solid var(--primary);
}

.feature-card--library {
  border-top: 6px solid var(--secondary);
}

.feature-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.feature-badge--orange {
  background: var(--secondary-light);
  color: var(--secondary);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-light);
  color: #00A884;
  font-weight: 800;
  font-size: 0.8rem;
}

.feature-cta {
  margin-bottom: 30px;
}

.feature-card__preview {
  background: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: 20px;
  border: 1px solid var(--border-color);
}

/* Превью конструктора */
.mock-editor__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #E2E6EF;
}

.mock-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mock-circle.red { background: #FF5F56; }
.mock-circle.yellow { background: #FFBD2E; }
.mock-circle.green { background: #27C93F; }

.mock-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 8px;
}

.mock-input {
  background: #FFF;
  border: 1px dashed var(--primary);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-opt {
  background: #FFF;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid #E2E6EF;
}

.mock-opt.opt-a {
  border-color: #00D4AA;
  background: var(--accent-light);
  color: #008f70;
  font-weight: 700;
}

/* Превью библиотеки */
.mock-library {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-lib-item {
  background: #FFF;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.mock-lib-item small {
  color: var(--secondary);
  font-weight: 700;
}

/* --- Почему eqQuizzy --- */
.why-us {
  background: var(--bg-light);
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.perk-card {
  background: #FFFFFF;
  border-radius: var(--border-radius-lg);
  padding: 36px 26px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.perk-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.perk-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  transition: var(--transition);
}

.perk-card:hover .perk-card__icon {
  transform: scale(1.1) rotate(6deg);
}

.perk-card__icon--free { background: var(--primary-light); }
.perk-card__icon--instant { background: var(--secondary-light); }
.perk-card__icon--players { background: #FFF9DB; }
.perk-card__icon--devices { background: var(--accent-light); }

.perk-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.perk-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- Популярные квизы (6 карточек) --- */
.popular-quizzes {
  background: #FFFFFF;
}

.quizzes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.quiz-card {
  background: #FFFFFF;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.quiz-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.quiz-card__thumb {
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.quiz-bg-1 { background: linear-gradient(135deg, #FF6B6B 0%, #EE5253 100%); }
.quiz-bg-2 { background: linear-gradient(135deg, #48DBFB 0%, #0ABDE3 100%); }
.quiz-bg-3 { background: linear-gradient(135deg, #FF9F43 0%, #EE5A24 100%); }
.quiz-bg-4 { background: linear-gradient(135deg, #1DD1A1 0%, #10AC84 100%); }
.quiz-bg-5 { background: linear-gradient(135deg, #5F27CD 0%, #341F97 100%); }
.quiz-bg-6 { background: linear-gradient(135deg, #54A0FF 0%, #2E86DE 100%); }

.quiz-badge {
  position: absolute;
  top: 14px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
}

.quiz-icon-large {
  font-size: 3.5rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  transition: var(--transition);
}

.quiz-card:hover .quiz-icon-large {
  transform: scale(1.15);
}

.quiz-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.quiz-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.meta-questions {
  color: var(--text-muted);
  font-weight: 600;
}

.difficulty {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--border-radius-pill);
}

.difficulty--easy { background: var(--accent-light); color: #00A884; }
.difficulty--medium { background: #FFF3BF; color: #D97706; }
.difficulty--hard { background: #FFE3E3; color: #E03131; }

.quiz-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.quiz-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.quiz-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.quiz-rating {
  font-size: 0.85rem;
  font-weight: 700;
  color: #F59F00;
}

.btn-play {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
  transition: var(--transition);
}

.btn-play:hover {
  background: var(--primary);
  color: #FFF;
  transform: translateX(3px);
}

/* --- Статистика --- */
.stats {
  background: var(--bg-light);
  padding: 60px 0;
}

.stats-wrapper {
  background: var(--gradient-primary);
  border-radius: var(--border-radius-lg);
  padding: 50px 40px;
  color: #FFFFFF;
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item__icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.stat-item__label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* --- Отзывы (4 карточки) --- */
.reviews {
  background: #FFFFFF;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.review-card {
  background: #FFFFFF;
  border-radius: var(--border-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #FFF;
}

.avatar--blue { background: linear-gradient(135deg, #1971c2, #1098ad); }
.avatar--orange { background: linear-gradient(135deg, #f76707, #ff922b); }
.avatar--mint { background: linear-gradient(135deg, #0ca678, #20c997); }
.avatar--purple { background: linear-gradient(135deg, #7048e8, #845ef7); }

.reviewer-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.reviewer-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.review-stars {
  color: #F59F00;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- FAQ Аккордеон --- */
.faq {
  background: var(--bg-light);
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-answer__inner {
  padding: 0 28px 24px;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- CTA Баннер --- */
.cta-banner {
  padding-top: 40px;
  padding-bottom: 100px;
  background: var(--bg-light);
}

.cta-box {
  background: linear-gradient(135deg, #2D1B69 0%, #1A1E29 100%);
  border-radius: var(--border-radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.cta-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #00D4AA;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.15rem;
  color: #CBD5E1;
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  position: relative;
  z-index: 2;
}

/* --- Футер --- */
.footer {
  background: #11131A;
  color: #CBD5E1;
  padding-top: 80px;
  padding-bottom: 40px;
  font-size: 0.95rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .logo__text {
  color: #FFFFFF;
}

.footer__brand-text {
  color: #8F97A9;
  font-size: 0.9rem;
  margin: 18px 0 24px;
  line-height: 1.6;
  max-width: 320px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-4px);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: #8F97A9;
  transition: var(--transition);
}

.footer__links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer__newsletter-text {
  color: #8F97A9;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.newsletter-input-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.newsletter-input-wrap input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 16px;
  border-radius: var(--border-radius-pill);
  color: #FFF;
  font-size: 0.9rem;
}

.newsletter-input-wrap input:focus {
  border-color: var(--primary);
}

.newsletter-input-wrap .btn {
  padding: 12px 22px;
  font-size: 0.9rem;
}

.form-feedback {
  font-size: 0.85rem;
  display: block;
  min-height: 20px;
  color: #00D4AA;
}

.footer__contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: #8F97A9;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 0.85rem;
  color: #64748B;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a:hover {
  color: #CBD5E1;
}

/* --- Анимации появления при скролле --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Адаптивность (Mobile First & Breakpoints) --- */

/* Ноутбуки (992px - 1199px) */
@media (max-width: 1199px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Планшеты (768px - 991px) */
@media (max-width: 991px) {
  .header .nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px 24px;
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
    visibility: hidden;
  }

  .header .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .burger {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__title {
    font-size: 2.8rem;
  }

  .hero__cta-group, .hero__perks {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .quizzes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Смартфоны (320px - 767px) */
@media (max-width: 767px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 50px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta-group .btn {
    width: 100%;
  }

  .tv-screen {
    max-width: 320px;
  }

  .tv-screen__display {
    padding: 12px;
  }

  .question-text {
    font-size: 0.85rem;
  }

  .screen-answer {
    font-size: 0.7rem;
    padding: 6px;
  }

  .phones-dock {
    gap: 8px;
  }

  .phone-item {
    width: 95px;
    padding: 6px 4px;
  }

  .phone-center {
    width: 105px;
  }

  .player-name {
    font-size: 0.65rem;
  }

  .p-btn {
    height: 22px;
    font-size: 0.6rem;
  }

  .steps-grid,
  .perks-grid,
  .quizzes-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-title {
    font-size: 1.6rem;
  }

  .stat-item__number {
    font-size: 2.4rem;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .newsletter-input-wrap {
    flex-direction: column;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .live-pill {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Стили для Каталога квизов (catalog.html)
   ========================================================================== */

.catalog-hero {
  padding-top: 130px;
  padding-bottom: 40px;
  background: var(--gradient-hero);
  text-align: center;
}

.catalog-hero__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text-main);
}

.catalog-hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 32px;
}

.catalog-search-bar {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: var(--border-radius-pill);
  box-shadow: var(--shadow-md);
  padding: 8px 12px 8px 22px;
  border: 2px solid transparent;
  transition: var(--transition);
}

.catalog-search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(108, 99, 255, 0.18);
}

.search-icon {
  font-size: 1.25rem;
  margin-right: 12px;
  color: var(--text-muted);
}

.catalog-search-bar input {
  flex-grow: 1;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  color: var(--text-main);
}

.catalog-search-bar input::placeholder {
  color: var(--text-light);
}

.catalog-section {
  padding: 40px 0 100px;
  background-color: var(--bg-light);
}

.catalog-toolbar {
  background: #FFFFFF;
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 28px;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.chip {
  background: var(--bg-light);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 9px 18px;
  border-radius: var(--border-radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.chip:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(108, 99, 255, 0.3);
}

.chip.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(108, 99, 255, 0.35);
}

.chip-count {
  font-size: 0.8rem;
  opacity: 0.85;
}

.filter-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.filter-select {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.filter-select:focus {
  border-color: var(--primary);
  background: #FFF;
}

.filter-group--sort {
  margin-left: auto;
}

.btn-reset-filters {
  background: none;
  color: var(--secondary);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.btn-reset-filters:hover {
  background: var(--secondary-light);
}

.catalog-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.catalog-status strong {
  color: var(--text-main);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.catalog-grid .quiz-card {
  height: 100%;
}

.catalog-grid .quiz-card__desc {
  min-height: 48px;
}

.meta-duration {
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 600;
}

.catalog-empty {
  text-align: center;
  padding: 60px 20px;
  background: #FFF;
  border-radius: var(--border-radius-lg);
  border: 1px dashed var(--border-color);
  max-width: 500px;
  margin: 40px auto;
}

.empty-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.catalog-empty h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.catalog-empty p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Модальное окно запуска игры */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 19, 26, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #FFFFFF;
  border-radius: var(--border-radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-active .modal-window {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-light);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-main);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 20px;
}

.modal-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 10px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
}

.modal-info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.m-pill {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  color: var(--text-main);
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-room-box {
  background: var(--gradient-hero);
  border: 2px dashed var(--primary);
  border-radius: var(--border-radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.room-prompt {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.room-code-display {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--primary);
  margin: 6px 0;
  text-shadow: 0 4px 12px rgba(108, 99, 255, 0.2);
}

.room-instruction {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-footer {
  text-align: center;
}

.modal-footer .btn {
  width: 100%;
}

@media (max-width: 991px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-group--sort {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .catalog-hero__title {
    font-size: 2.2rem;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .filter-controls-row {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-group {
    justify-content: space-between;
  }
  .filter-select {
    flex-grow: 1;
    max-width: 60%;
  }
  .btn-reset-filters {
    text-align: center;
  }
  .modal-window {
    padding: 24px;
  }
  .room-code-display {
    font-size: 2.2rem;
  }
}
