/* Dragon Money — 1ru-dragonmoney.ru · orange theme */
:root {
  --bg-deep: #0c0705;
  --bg-card: rgba(28, 16, 10, 0.78);
  --accent: #ff8c42;
  --accent-hot: #ff6b35;
  --accent-bright: #ffb347;
  --accent-dim: #c45c24;
  --ember: #ff4500;
  --text: #f5f0eb;
  --text-muted: #b8a99a;
  --border: rgba(255, 140, 66, 0.28);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --radius: 18px;
  --shadow-accent: 0 0 50px rgba(255, 107, 53, 0.22);
  --ref-bar-h: 52px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

body.has-ref-bar .site-header {
  top: var(--ref-bar-h);
}

.ref-redirect-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  min-height: var(--ref-bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a0a06;
  text-align: center;
  background: linear-gradient(90deg, var(--accent-hot), var(--accent) 45%, var(--accent-bright));
  box-shadow: 0 4px 24px rgba(255, 107, 53, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.ref-redirect-bar__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  padding: 0.12rem 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 8px;
  background: rgba(26, 10, 6, 0.2);
  color: #1a0a06;
  font-variant-numeric: tabular-nums;
}

.ref-redirect-bar__link {
  color: #1a0a06;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ref-redirect-bar__link:hover {
  color: #000;
}

/* Фон: оранжевые пятна + сетка + шум */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(255, 107, 53, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 30%, rgba(255, 140, 66, 0.12), transparent 50%),
    radial-gradient(ellipse 55% 45% at 0% 85%, rgba(255, 69, 0, 0.1), transparent 45%),
    var(--bg-deep);
}

.bg-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 140, 66, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 140, 66, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 95% 75% at 50% 35%, black, transparent);
  pointer-events: none;
  animation: grid-drift 80s linear infinite;
}

@keyframes grid-drift {
  to {
    transform: translate(56px, 56px);
  }
}

.bg-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Вспышки на фоне */
.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.ambient-glow span {
  position: absolute;
  left: 8%;
  top: 12%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.15), transparent 70%);
  filter: blur(40px);
  animation: ambient-float 14s ease-in-out infinite;
}

.ambient-glow span:nth-child(2) {
  left: 60%;
  top: 40%;
  animation-delay: -5s;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.12), transparent 70%);
}

.ambient-glow span:nth-child(3) {
  left: 20%;
  top: 60%;
  animation-delay: -9s;
  width: 200px;
  height: 200px;
}

@keyframes ambient-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  33% {
    transform: translate(40px, -30px) scale(1.1);
    opacity: 1;
  }
  66% {
    transform: translate(-30px, 20px) scale(0.95);
    opacity: 0.75;
  }
}

/* Частицы */
.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
  opacity: 0.45;
  animation: drift 20s ease-in-out infinite;
  box-shadow: 0 0 14px var(--accent-hot);
}

.particles span:nth-child(3n) {
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember);
  animation-duration: 26s;
}

.particles span:nth-child(5n) {
  width: 3px;
  height: 3px;
  animation-duration: 16s;
}

@keyframes drift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  25% {
    transform: translate(40px, -100px) scale(1.3);
    opacity: 0.55;
  }
  50% {
    transform: translate(-35px, -200px) scale(0.85);
    opacity: 0.35;
  }
  75% {
    transform: translate(55px, -120px) scale(1.15);
    opacity: 0.5;
  }
}

.wrap {
  width: min(1220px, 92vw);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* Появление при скролле */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* Шапка */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(12, 7, 5, 0.96), rgba(12, 7, 5, 0.78) 65%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s, box-shadow 0.35s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s;
}

.logo:hover img {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 0 28px rgba(255, 140, 66, 0.35);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--accent-bright) 45%, var(--accent-hot) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-main {
  display: flex;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-main a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-hot), var(--accent-bright));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-main a:hover {
  color: var(--accent-bright);
}

.nav-main a:hover::after {
  width: 100%;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.88rem 1.65rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.btn-primary {
  color: #1a0a06;
  background: linear-gradient(135deg, #ffe0c2, var(--accent) 35%, var(--accent-hot));
  box-shadow: 0 4px 28px rgba(255, 107, 53, 0.45), var(--shadow-accent);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

.btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 10px 36px rgba(255, 107, 53, 0.55);
}

.btn-ghost {
  color: var(--accent-bright);
  background: rgba(255, 140, 66, 0.1);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 140, 66, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(255, 140, 66, 0.15);
}

/* Бегущая строка */
.ticker {
  margin: 1rem auto 0;
  max-width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 179, 71, 0.55);
  white-space: nowrap;
}

.ticker-track span {
  color: var(--accent-bright);
}

@keyframes ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* Герой */
.hero {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 3.5rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  border: 1px solid rgba(255, 140, 66, 0.45);
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.12);
  margin-bottom: 1rem;
  animation: pulse-orange 2.8s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.25);
}

@keyframes pulse-orange {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.2);
  }
  50% {
    box-shadow: 0 0 24px 4px rgba(255, 140, 66, 0.2);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.65rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 1rem;
  max-width: 19ch;
  margin-inline: auto;
}

.hero h1 .line-gold {
  display: block;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent), #fff5e6, var(--accent-bright), var(--accent-hot));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-move 5s linear infinite;
  filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.35));
}

@keyframes grad-move {
  to {
    background-position: 220% center;
  }
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 auto 1.75rem;
}

.hero-visual {
  margin-top: 2.25rem;
  position: relative;
  perspective: 1400px;
}

.hero-card-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin-inline: auto;
}

.hero-mini-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 2px solid var(--border);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5);
  animation: card-float 5s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem;
  background: radial-gradient(ellipse 100% 100% at 50% 42%, #2a1810, #0e0806);
}

.hero-mini-card:nth-child(1) {
  animation-delay: 0s;
}

.hero-mini-card:nth-child(2) {
  animation-delay: -1.2s;
}

.hero-mini-card:nth-child(3) {
  animation-delay: -2.4s;
}

.hero-mini-card:nth-child(4) {
  animation-delay: -3.6s;
}

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

.hero-mini-card:hover {
  transform: rotateY(8deg) rotateX(-5deg) translateZ(28px) scale(1.03) translateY(-6px);
  box-shadow: 0 28px 64px rgba(255, 107, 53, 0.25);
  animation-play-state: paused;
}

.hero-mini-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-mini-card:hover img {
  transform: scale(1.04);
}

.hero-mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(12, 7, 5, 0.88));
  pointer-events: none;
}

.hero-mini-card .card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
  pointer-events: none;
  animation: shine-sweep 4s ease-in-out infinite;
}

@keyframes shine-sweep {
  0%, 100% {
    opacity: 0;
    transform: translateX(-100%);
  }
  50% {
    opacity: 1;
    transform: translateX(100%);
  }
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.75rem;
}

/* Секции */
section {
  padding: clamp(2.75rem, 6vw, 4.75rem) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.45rem);
  text-align: center;
  margin: 0 0 0.5rem;
  color: var(--text);
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-hot), var(--accent-bright), transparent);
  animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
  from {
    opacity: 0.5;
    transform: scaleX(0.85);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 auto 2.25rem;
  font-size: 1rem;
}

.section-sub strong {
  color: var(--accent-bright);
  font-weight: 600;
}

/* Оболочка карточки с анимированной рамкой */
.game-card-shell {
  border-radius: calc(var(--radius) + 3px);
  padding: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-hot),
    var(--accent-bright),
    var(--ember),
    var(--accent),
    var(--accent-hot)
  );
  background-size: 300% 300%;
  animation: border-flow 5s ease infinite;
  height: 100%;
}

@keyframes border-flow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.game-card-shell:hover {
  animation-duration: 2.5s;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.35rem;
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: none;
  overflow: hidden;
  backdrop-filter: blur(18px);
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 107, 53, 0.12);
}

.game-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
  background: radial-gradient(ellipse 95% 90% at 50% 48%, #281610, #0c0705);
}

.game-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(12, 7, 5, 0.55));
  pointer-events: none;
}

.game-card-media img {
  position: relative;
  z-index: 0;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  image-rendering: auto;
}

.game-card:hover .game-card-media img {
  transform: scale(1.035);
}

.game-card-body {
  padding: 1.2rem 1.3rem 1.45rem;
}

.game-card h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  margin: 0 0 0.45rem;
}

.game-card p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.game-card .btn {
  width: 100%;
}

.game-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  background: rgba(12, 7, 5, 0.75);
  color: var(--accent-bright);
  border: 1px solid var(--border);
  animation: tag-pulse 2s ease-in-out infinite;
}

@keyframes tag-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.75;
  }
}

/* Промо-карточки с фото */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.offer-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.4s ease, box-shadow 0.4s, border-color 0.4s;
  display: flex;
  flex-direction: column;
}

.offer-card:hover {
  transform: scale(1.02) translateY(-4px);
  border-color: rgba(255, 179, 71, 0.5);
  box-shadow: 0 20px 50px rgba(255, 107, 53, 0.18);
}

.offer-card-visual {
  flex: 0 0 auto;
  min-height: clamp(200px, 38vw, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.75rem;
  background: radial-gradient(ellipse 85% 85% at 50% 45%, #2a1810, #0d0705);
}

.offer-card-visual img {
  max-width: 100%;
  max-height: min(280px, 42vw);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.55s ease;
  image-rendering: auto;
}

.offer-card:hover .offer-card-visual img {
  transform: scale(1.03);
}

.offer-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.35rem 1.45rem;
  background: linear-gradient(180deg, rgba(18, 10, 7, 0.98), rgba(12, 7, 5, 1));
  border-top: 1px solid rgba(255, 140, 66, 0.12);
}

.offer-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.offer-card-body p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.offer-card .btn {
  align-self: flex-start;
}

/* Преимущества */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.feature-pill {
  padding: 1.45rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 107, 53, 0.1), rgba(28, 16, 10, 0.85));
  border: 1px solid rgba(255, 140, 66, 0.2);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 179, 71, 0.4);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.1);
}

.feature-pill h3 {
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  color: var(--accent-bright);
}

.feature-pill p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Галерея */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-strip figure {
  margin: 0;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--border);
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  background: radial-gradient(ellipse 90% 90% at 50% 50%, #251610, #0c0705);
}

.gallery-strip figure::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 179, 71, 0.15);
  pointer-events: none;
  z-index: 1;
}

.gallery-strip figure:hover {
  transform: rotate(-2deg) scale(1.04);
  box-shadow: 0 12px 36px rgba(255, 107, 53, 0.2);
  z-index: 2;
}

.gallery-strip img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.45s ease;
  image-rendering: auto;
}

.gallery-strip figure:hover img {
  transform: scale(1.06);
}

/* CTA */
.cta-band {
  margin: 2rem 0;
  padding: clamp(2rem, 5vw, 3.2rem);
  border-radius: calc(var(--radius) + 8px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(255, 69, 0, 0.12)),
    var(--bg-card);
  border: 2px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 179, 71, 0.08), transparent 28%, transparent 60%, rgba(255, 107, 53, 0.06), transparent);
  animation: spin-slow 24s linear infinite;
  pointer-events: none;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.cta-band h2,
.cta-band p {
  position: relative;
  z-index: 1;
}

.cta-band .hero-cta-row {
  position: relative;
  z-index: 1;
  width: 100%;
  justify-content: center;
  margin-top: 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  margin: 0 0 0.65rem;
  width: 100%;
  max-width: 36rem;
  text-align: center;
  text-wrap: balance;
}

.cta-band p {
  color: var(--text-muted);
  margin: 0 auto 1.45rem;
  max-width: 34rem;
  width: 100%;
  text-align: center;
  text-wrap: balance;
  box-sizing: border-box;
}

/* FAQ */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item:hover {
  background: rgba(255, 107, 53, 0.04);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s;
}

.faq-trigger:hover {
  color: var(--accent-bright);
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.4s, background 0.25s, border-color 0.25s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: rgba(255, 140, 66, 0.18);
  border-color: var(--accent);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-panel p {
  margin: 0 0 1.25rem;
  padding-right: 2rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Футер */
.site-footer {
  padding: 2.75rem 0 1.75rem;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--accent-dim);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-bright);
}

.copyright {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.corner-suits {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  font-size: 2rem;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  color: var(--accent);
  animation: suit-wobble 6s ease-in-out infinite;
}

@keyframes suit-wobble {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-6deg);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }

  .ticker-track {
    animation: none;
  }
}
