:root {
  --bg-main: #0f0f0f;
  --bg-deep: #1a0a00;
  --panel: #1a0f00;
  --panel-soft: #241206;
  --text-main: #fffbf0;
  --text-soft: #d9cfc2;
  --accent: #ea580c;
  --ember: #dc2626;
  --amber: #fbbf24;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 10px 30px rgba(220, 38, 38, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--bg-main), var(--bg-deep));
  color: var(--text-main);
  font-family: "Open Sans", sans-serif;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  object-fit: contain;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: 0.3s ease;
}

.site-header.scrolled {
  background: rgba(17, 10, 8, 0.96);
  border-bottom-color: rgba(251, 191, 36, 0.25);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Bebas Neue", cursive;
  letter-spacing: 0.08em;
  font-size: 1.8rem;
  text-transform: uppercase;
}

.brand img {
  width: 38px;
  height: 38px;
}

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

.main-nav a {
  font-family: "Bebas Neue", cursive;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.2rem;
  position: relative;
  color: #ffe4cb;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

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

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-btn,
.cta-btn,
.secondary-btn,
.coin-btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  transition: 0.25s ease;
}

.auth-btn,
.secondary-btn {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(234, 88, 12, 0.5);
  padding: 10px 16px;
}

.auth-btn:hover,
.secondary-btn:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.cta-btn,
.coin-btn {
  background: linear-gradient(90deg, var(--ember), var(--accent));
  color: #fff;
  padding: 12px 24px;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.35);
}

.cta-btn:hover,
.coin-btn:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.08);
  animation: flicker 0.45s ease;
}

@keyframes flicker {
  0% { box-shadow: 0 0 10px rgba(220, 38, 38, 0.25); }
  50% { box-shadow: 0 0 28px rgba(251, 191, 36, 0.45); }
  100% { box-shadow: 0 8px 24px rgba(234, 88, 12, 0.35); }
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--text-main);
  border-radius: 8px;
  padding: 8px 10px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 86px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(251, 191, 36, 0.22), transparent 43%),
    radial-gradient(circle at 30% 52%, rgba(220, 38, 38, 0.2), transparent 42%),
    radial-gradient(circle at 70% 58%, rgba(234, 88, 12, 0.18), transparent 40%);
  animation: flamePulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes flamePulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.hero .container {
  position: relative;
  z-index: 1;
}

h1, h2, h3 {
  margin: 0 0 14px;
  font-family: "Bebas Neue", cursive;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

p {
  color: var(--text-soft);
  line-height: 1.65;
}

.lead {
  width: min(760px, 92%);
  margin: 0 auto 26px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.section {
  padding: 56px 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.section-title img {
  width: 32px;
  height: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, var(--panel), #130a03);
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--ember), var(--accent)) 1;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  transition: 0.25s ease;
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(234, 88, 12, 0.16);
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 12px;
}

.screenshot-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #120a05;
}

.slide-track {
  display: flex;
  transition: transform 0.35s ease;
}

.slide-track img {
  width: 100%;
  height: 290px;
  flex: 0 0 100%;
  padding: 10px;
}

.slider-controls {
  position: absolute;
  inset: auto 10px 10px auto;
  display: flex;
  gap: 8px;
}

.slider-controls button {
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--amber);
}

.reviews-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.reviews-tabs button {
  background: transparent;
  color: #ffe8d1;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.reviews-tabs button.active {
  background: linear-gradient(90deg, var(--ember), var(--accent));
  border-color: transparent;
}

.review-panel {
  display: none;
}

.review-panel.active {
  display: block;
}

.stars {
  color: var(--amber);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #170d05;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #ffe8d1;
  border: none;
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
}

.faq-a {
  display: none;
  padding: 0 16px 14px;
}

.faq-item.open .faq-a {
  display: block;
}

.promo-store {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.promo-store img {
  height: 56px;
}

.content-img {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #100904;
}

.badge-note {
  color: #ffd9b8;
  font-size: 0.95rem;
}

.auth-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #ffe8d1;
}

.auth-user .chip {
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 999px;
  padding: 8px 12px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.open {
  display: flex;
}

.modal-card {
  width: min(430px, 100%);
  background: linear-gradient(180deg, #220f05, #160c04);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--ember), var(--accent)) 1;
  border-radius: 16px;
  padding: 20px;
  position: relative;
}

.close-modal {
  position: absolute;
  right: 10px;
  top: 10px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.modal-switch button {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: transparent;
  color: #ffe8d1;
  padding: 9px;
  cursor: pointer;
  font-weight: 700;
}

.modal-switch button.active {
  background: linear-gradient(90deg, var(--ember), var(--accent));
  border-color: transparent;
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: #ffd9b8;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  padding: 11px 12px;
  border-radius: 10px;
  font-family: "Open Sans", sans-serif;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.error-text {
  color: #ff8f70;
  min-height: 18px;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.footer {
  padding: 36px 0 30px;
  border-top: 1px solid rgba(251, 191, 36, 0.2);
  background: rgba(0, 0, 0, 0.28);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Bebas Neue", cursive;
  letter-spacing: 0.06em;
  font-size: 1.6rem;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-nav a {
  color: #ffe1c6;
}

.footer small {
  color: #cfbea8;
  display: block;
  margin-top: 6px;
}

.inline-logo {
  width: 36px;
  height: 36px;
  vertical-align: middle;
  margin-right: 8px;
}

iframe {
  border-radius: 12px;
}

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    top: 68px;
    left: 4%;
    right: 4%;
    padding: 14px;
    border-radius: 14px;
    background: rgba(22, 12, 4, 0.96);
    border: 1px solid rgba(251, 191, 36, 0.3);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
  }
}
