:root {
  --primary-color: #f65f4d;
  --accent-color: #f7c948;
  --secondary-color: #7b5bff;
  --bg-dark: #221820;
  --bg-muted: #fdf1e7;
  --site-background: #fdf1e7;
  --text-color: #241c1a;
  --text-light: #fef9f6;
  --max-width: 1100px;
  --transition: 0.3s ease;
  --surface-light: #fffdf8;
  --surface-card: #ffffff;
  --gradient-hero: linear-gradient(135deg, rgba(34, 19, 45, 0.96), rgba(246, 95, 77, 0.82));
  --gradient-highlight: radial-gradient(circle at 25% 20%, rgba(255, 221, 190, 0.65), rgba(255, 145, 125, 0.18));
  --shadow-soft: 0 24px 48px rgba(32, 15, 24, 0.22);
  --shadow-card: 0 18px 38px rgba(70, 27, 77, 0.16);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--site-background);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 18px;
}

header {
  background: var(--site-background);
  color: var(--text-color);
  padding: 20px 0;
  border-bottom: 1px solid rgba(36, 28, 26, 0.15);
  box-shadow: 0 4px 12px rgba(36, 28, 26, 0.05);
}

.container {
  width: min(90%, var(--max-width));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  letter-spacing: 0.03em;
  flex-wrap: wrap;
}

nav a {
  color: inherit;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(36, 28, 26, 0.2);
  background: #ffffff;
  color: var(--text-color);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(246, 95, 77, 0.08);
  border-color: rgba(246, 95, 77, 0.35);
  box-shadow: 0 6px 18px rgba(36, 28, 26, 0.12);
  outline: none;
}

.nav-toggle__box {
  position: relative;
  width: 24px;
  height: 16px;
}

.nav-toggle__bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle__bar:nth-child(1) {
  top: 0;
}

.nav-toggle__bar:nth-child(2) {
  top: 7px;
}

.nav-toggle__bar:nth-child(3) {
  bottom: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

nav a:hover,
nav a:focus-visible {
  color: var(--primary-color);
  border-color: rgba(246, 95, 77, 0.4);
}

main {
  background: var(--site-background);
}

main > section {
  position: relative;
  background: var(--site-background);
}

main > section:not(:first-of-type)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 860px);
  height: 1px;
  background: rgba(36, 28, 26, 0.18);
  border-radius: 999px;
  pointer-events: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--site-background);
  color: var(--text-color);
  padding: 80px 0;
  isolation: isolate;
}

.hero::before {
  content: none;
}

.hero.hero--compact {
  padding: 60px 0;
}

.hero--home {
  padding: clamp(72px, 11vw, 120px) 0;
  background:
    linear-gradient(135deg, rgba(34, 19, 45, 0.78), rgba(246, 95, 77, 0.4)),
    url("images/fonnnn.jpg") center / cover no-repeat;
  color: var(--text-light);
}

.hero--home .hero-text {
  color: var(--text-color);
}

.hero--game {
  background:
    linear-gradient(135deg, rgba(28, 18, 40, 0.82), rgba(123, 91, 255, 0.38)),
    url("images/fonn.jpg") center / cover no-repeat;
  color: var(--text-light);
}

.hero--about {
  background:
    linear-gradient(135deg, rgba(34, 22, 34, 0.82), rgba(246, 95, 77, 0.35)),
    url("images/fon.jpg") center / cover no-repeat;
  color: var(--text-light);
}

.hero--registration {
  background:
    linear-gradient(135deg, rgba(24, 28, 36, 0.82), rgba(247, 201, 72, 0.35)),
    url("images/fonnn.jpg") center / cover no-repeat;
  color: var(--text-light);
}

.hero--game .hero-text,
.hero--about .hero-text,
.hero--registration .hero-text {
  color: var(--text-color);
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 40px;
}

.hero-text {
  background: #ffffff;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 28px;
  border: 1px solid rgba(246, 95, 77, 0.18);
  box-shadow: 0 24px 48px rgba(34, 16, 24, 0.12);
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.hero-type {
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 22px;
  min-height: 2.2em;
}

.typewriter {
  position: relative;
  padding-right: 16px;
  white-space: nowrap;
}

.typewriter::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: currentColor;
  animation: cursor-blink 0.9s steps(1, end) infinite;
}

@keyframes cursor-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-metrics {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.hero-metrics li {
  padding: 14px 18px;
  border-radius: 16px;
  background: #ffffff;
  display: grid;
  gap: 4px;
  min-width: 120px;
  text-align: center;
  border: 1px solid rgba(246, 95, 77, 0.15);
  box-shadow: 0 18px 32px rgba(220, 135, 120, 0.14);
}

.hero-metrics strong {
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.hero-metrics span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(36, 28, 26, 0.6);
}

.ghost-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(36, 28, 26, 0.2);
  color: inherit;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}

.ghost-link:hover,
.ghost-link:focus-visible {
  background: rgba(246, 95, 77, 0.08);
  color: var(--primary-color);
  transform: translateY(-2px);
  border-color: rgba(246, 95, 77, 0.35);
  outline: none;
}

.ghost-link--accent {
  border-color: rgba(123, 91, 255, 0.6);
  color: #7b5bff;
}

.ghost-link--accent:hover,
.ghost-link--accent:focus-visible {
  background: rgba(123, 91, 255, 0.12);
  border-color: rgba(123, 91, 255, 0.4);
  color: #7b5bff;
}

.image-frame {
  position: relative;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-soft);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.image-frame img {
  border-radius: 26px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: var(--text-color);
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 12px 20px rgba(246, 95, 77, 0.35);
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 24px rgba(246, 95, 77, 0.45);
}

.page-section {
  padding: 70px 0;
}

.page-section .section-heading {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  color: #b03963;
}

.about-game {
  padding: 70px 0 20px;
}

.about-game h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.about-card {
  padding: 24px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(220, 135, 120, 0.18);
  border: 1px solid rgba(246, 95, 77, 0.15);
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: #b03963;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  padding: 24px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(220, 135, 120, 0.18);
  border: 1px solid rgba(246, 95, 77, 0.15);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: #b03963;
}

.preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: center;
  margin-bottom: 80px;
}

.preview-text {
  font-size: 1.05rem;
  line-height: 1.7;
}

.flavor-highlights {
  position: relative;
  padding: clamp(70px, 9vw, 110px) 0;
  background: var(--site-background);
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.08rem;
  color: rgba(36, 28, 26, 0.75);
}

.flavor-grid {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.flavor-card {
  position: relative;
  background: var(--surface-card);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(246, 95, 77, 0.1);
  display: grid;
  gap: 14px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.flavor-card:hover,
.flavor-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 26px 48px rgba(43, 22, 51, 0.18);
  border-color: rgba(123, 91, 255, 0.28);
}

.card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(123, 91, 255, 0.18), rgba(246, 95, 77, 0.18));
  font-weight: 700;
  color: #7b5bff;
  box-shadow: inset 0 0 0 1px rgba(123, 91, 255, 0.22);
}

.flavor-card h3 {
  margin: 0;
  font-size: 1.28rem;
  color: #b03963;
}

.about-journey {
  padding: clamp(70px, 9vw, 110px) 0;
  background: var(--site-background);
}

.journey-copy {
  display: grid;
  gap: 20px;
}

.journey-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  color: #922d5a;
}

.journey-copy p {
  font-size: 1.05rem;
  color: rgba(36, 28, 26, 0.78);
}

.list-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.list-ticks li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  color: #50263c;
}

.list-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(246, 95, 77, 0.85);
  box-shadow: 0 0 0 2px rgba(246, 95, 77, 0.2);
}

.journey-media {
  position: relative;
  display: grid;
  gap: 18px;
}


.experience-steps {
  padding: clamp(70px, 9vw, 110px) 0;
  background: var(--site-background);
}

.timeline {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.timeline-card {
  position: relative;
  padding: clamp(28px, 3.4vw, 34px) clamp(24px, 3vw, 30px);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 240, 232, 0.92));
  border: 1px solid rgba(125, 47, 98, 0.14);
  box-shadow: 0 22px 46px rgba(70, 27, 77, 0.14);
  display: grid;
  gap: 14px;
}

.timeline-card::before {
  content: attr(data-step);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)),
    linear-gradient(140deg, rgba(246, 95, 77, 0.85), rgba(123, 91, 255, 0.78));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow:
    0 12px 28px rgba(123, 91, 255, 0.24),
    inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.timeline-card::after {
  content: "";
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 95, 77, 0.18), rgba(246, 95, 77, 0));
  z-index: -1;
}

.timeline-card h3 {
  margin: 0;
  font-size: 1.22rem;
  color: #7d2f62;
}

.timeline-card p {
  margin: 0;
  color: rgba(36, 28, 26, 0.76);
  line-height: 1.7;
}

.community-love {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--site-background);
  color: var(--text-color);
}

.community-love h2 {
  text-align: center;
  margin-bottom: 48px;
}

.testimonial-grid {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: clamp(40px, 6vw, 60px);
}

.testimonial-card {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(246, 95, 77, 0.12);
  box-shadow: 0 16px 32px rgba(220, 135, 120, 0.12);
  display: grid;
  gap: 18px;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(246, 95, 77, 0.9), rgba(247, 201, 72, 0.9));
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2f1328;
}

.testimonial-card strong {
  display: block;
  font-size: 1rem;
}

.testimonial-card small {
  color: rgba(36, 28, 26, 0.6);
}

.community-love .cta-wrap {
  margin-bottom: 0;
}

.cta-caption {
  margin-top: 12px;
  font-size: 0.95rem;
  color: rgba(36, 28, 26, 0.7);
}
.faq {
  padding: 60px 0;
  background: var(--site-background);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
}

.accordion {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

details {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 22px;
  border: 1px solid rgba(246, 95, 77, 0.2);
  transition: box-shadow var(--transition);
}

details[open] {
  box-shadow: 0 12px 28px rgba(177, 81, 88, 0.2);
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  outline: none;
}

summary::marker {
  color: var(--primary-color);
}

.split-layout {
  display: grid;
  gap: 2rem;
}

.split-layout img {
  border-radius: 16px;
}

.accordion-content {
  color: rgba(36, 28, 26, 0.75);
  display: grid;
  gap: 0.75rem;
}

.content-lead {
  font-size: 1.08rem;
  max-width: 720px;
}

.contact-layout,
.registration-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: start;
}

.registration-layout {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-card,
.registration-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 45px rgba(70, 27, 77, 0.15);
  border: 1px solid rgba(246, 95, 77, 0.15);
}

.registration-card {
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(70, 30, 60, 0.14);
}

.contact-card h1,
.contact-card h2,
.registration-card h1,
.registration-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #b03963;
}

.contact-card p,
.registration-card p {
  margin: 0 0 22px;
  font-size: 1.05rem;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.info-item strong {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #7d2f62;
  margin-bottom: 6px;
}

.map-embed {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(34, 24, 32, 0.18);
  min-height: 320px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

form {
  display: grid;
  gap: 18px;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  display: block;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(36, 28, 26, 0.15);
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(246, 95, 77, 0.18);
}

textarea {
  min-height: 120px;
  resize: vertical;
  padding: 14px 18px;
}

textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(246, 95, 77, 0.18);
}

.submit-button {
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: var(--text-color);
  box-shadow: 0 18px 34px rgba(246, 95, 77, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
}

.submit-button:hover,
.submit-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 38px rgba(246, 95, 77, 0.38);
}

.bonus-description {
  margin-top: 28px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(247, 201, 72, 0.15);
  border: 1px dashed rgba(247, 201, 72, 0.6);
  font-size: 0.98rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 50px 0 70px;
}

.accordion-section {
  background: #fff7ef;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 18px 36px rgba(220, 135, 120, 0.22);
  margin-bottom: 60px;
}

.cta-wrap {
  text-align: center;
  margin-bottom: 90px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.footer-legal a {
  color: rgba(36, 28, 26, 0.7);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--primary-color);
  border-color: rgba(246, 95, 77, 0.35);
}

footer {
  background: var(--site-background);
  color: var(--text-color);
  padding: 60px 0 40px;
  border-top: 1px solid rgba(36, 28, 26, 0.15);
  box-shadow: 0 -4px 24px rgba(36, 28, 26, 0.06);
}

.footer-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 24px;
}

.footer-form {
  display: grid;
  gap: 14px;
}

.footer-form input,
.footer-form textarea {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(36, 28, 26, 0.18);
  background: #ffffff;
  color: var(--text-color);
  font-size: 1rem;
  font-family: inherit;
  box-shadow: 0 6px 12px rgba(36, 28, 26, 0.08);
}

.footer-form button {
  justify-self: center;
  padding: 12px 34px;
  border: 1px solid rgba(246, 95, 77, 0.35);
  background: linear-gradient(135deg, rgba(247, 201, 72, 0.6), rgba(246, 95, 77, 0.6));
  color: var(--text-color);
  letter-spacing: 0.08em;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.footer-form button:hover,
.footer-form button:focus-visible {
  background: linear-gradient(135deg, rgba(247, 201, 72, 0.8), rgba(246, 95, 77, 0.8));
  color: var(--text-color);
}

.footer-copy {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: rgba(36, 28, 26, 0.6);
}

.contact-media {
  display: grid;
  gap: 26px;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 820px) {
  .split-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

@media (max-width: 768px) {
  .header-inner {
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin-top: 12px;
    padding: 18px 0 14px;
    border-radius: 18px;
    background: var(--surface-light);
    box-shadow: 0 14px 28px rgba(36, 28, 26, 0.12);
    border: 1px solid rgba(36, 28, 26, 0.08);
    display: none;
  }

  .site-nav.is-open ul {
    display: flex;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .image-frame {
    padding: 8px;
  }

  .journey-media {
    order: -1;
  }

  .timeline-card::before {
    top: -24px;
    width: 56px;
    height: 56px;
  }

  .timeline-card::after {
    top: -26px;
    width: 64px;
    height: 64px;
  }

  .testimonial-card {
    text-align: left;
  }

  .accordion-section {
    padding: 28px 22px;
  }
}

.game-wrapper {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

@media (min-width: 992px) {
  .game-wrapper {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }
}

.game-info {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 24px 60px rgba(68, 32, 72, 0.18);
  border: 1px solid rgba(246, 95, 77, 0.12);
  display: grid;
  gap: 18px;
}

.game-info h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #b03963;
}

.game-info ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  font-size: 1rem;
}

.info-card {
  background: linear-gradient(135deg, rgba(247, 201, 72, 0.2), rgba(246, 95, 77, 0.22));
  border: 1px solid rgba(246, 95, 77, 0.2);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 18px 40px rgba(246, 95, 77, 0.15);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #7d2f62;
}

.game-panel {
  position: relative;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    rgba(31, 32, 48, 0.92);
  border-radius: 32px;
  padding: clamp(26px, 4vw, 38px);
  box-shadow: 0 24px 70px rgba(17, 7, 23, 0.45);
  color: #f8f6ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f8f6ff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.status-chip--timer {
  background: rgba(246, 95, 77, 0.2);
  box-shadow: inset 0 0 0 1px rgba(246, 95, 77, 0.3);
}

.mix-stage {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .mix-stage {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
  }
}

.mix-glass {
  position: relative;
  width: 120px;
  height: 170px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.12));
  border-radius: 16px 16px 22px 22px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.mix-glass::before {
  content: "";
  position: absolute;
  inset: 10px 16px auto 16px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0.8;
}

.mix-straw {
  position: absolute;
  top: -26px;
  right: 28px;
  width: 12px;
  height: 78px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff9f7a, #ff5f5f);
  transform: rotate(9deg);
  box-shadow: 0 6px 12px rgba(255, 95, 95, 0.35);
}

.mix-liquid {
  position: absolute;
  inset: 32px 10px 12px;
  border-radius: 12px 12px 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(17, 15, 29, 0.25));
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mix-layers {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-bottom: 10px;
  font-size: 2rem;
}

.mix-layers span {
  animation: fruit-drop 0.4s ease;
  transform: translateY(calc((3 - var(--i)) * 2px));
}

@keyframes fruit-drop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(calc((3 - var(--i)) * 2px));
  }
}

.step-info h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.step-info p {
  margin: 0;
  color: rgba(248, 246, 255, 0.75);
  font-size: 0.98rem;
}

.ingredients-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.fruit-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  padding: 16px 10px;
  display: grid;
  gap: 8px;
  justify-items: center;
  color: inherit;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.fruit-card:disabled {
  cursor: default;
  opacity: 0.75;
}

.fruit-card:not(:disabled):hover,
.fruit-card:not(:disabled):focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.fruit-emoji {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.fruit-card--correct {
  background: linear-gradient(135deg, rgba(247, 201, 72, 0.45), rgba(246, 95, 77, 0.55));
  box-shadow: 0 16px 36px rgba(246, 95, 77, 0.35);
  transform: translateY(-4px);
}

.fruit-card--wrong {
  animation: shake 0.4s ease;
  background: rgba(255, 71, 87, 0.2);
  border-color: rgba(255, 71, 87, 0.5);
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  50% {
    transform: translateX(6px);
  }
  75% {
    transform: translateX(-4px);
  }
}

.game-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ghost-button {
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: transparent;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.ghost-button:hover,
.ghost-button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.ghost-button--light {
  border-color: rgba(248, 246, 255, 0.55);
  color: #f8f6ff;
}

.cta-button--secondary {
  background: linear-gradient(135deg, rgba(132, 94, 247, 0.9), rgba(106, 76, 255, 0.9));
  color: #f8f6ff;
  box-shadow: 0 16px 30px rgba(132, 94, 247, 0.4);
}

.result-panel {
  background: rgba(10, 9, 18, 0.45);
  border-radius: 24px;
  padding: 22px 20px;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.result-panel--fail {
  border-color: rgba(255, 71, 87, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 71, 87, 0.22);
}

.result-bars {
  display: grid;
  gap: 14px;
}

.result-bar {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
}

.bar-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.bar-fill {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(247, 201, 72, 0.9), rgba(246, 95, 77, 0.9));
  transition: width 0.5s ease;
}

.result-panel--fail .bar-fill {
  background: linear-gradient(135deg, rgba(255, 93, 109, 0.75), rgba(255, 186, 140, 0.7));
}

.result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.bartender-tip {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 0.95rem;
  color: rgba(248, 246, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.game-toast {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 30px);
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(246, 95, 77, 0.9);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 18px 40px rgba(246, 95, 77, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.game-toast--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 540px) {
  .game-panel {
    padding: 24px 18px 34px;
  }

  .fruit-card {
    padding: 14px 10px;
  }

  .result-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll,
  .animate-on-scroll.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  .typewriter::after {
    animation: none !important;
  }
}

