:root {
  --bg-deep: #050a12;
  --bg-card: #0c1629;
  --bg-card-hover: #111f3a;
  --border: rgba(56, 189, 248, 0.18);
  --text: #e8f1ff;
  --muted: #94a3b8;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --blue-deep: #1d4ed8;
  --gradient: linear-gradient(120deg, #0ea5e9 0%, #2563eb 45%, #6366f1 100%);
  --gradient-soft: linear-gradient(135deg, rgba(14, 165, 233, 0.35), rgba(99, 102, 241, 0.25));
  --radius: 16px;
  --header-h: 72px;
  --redirect-bar-h: 0px;
}

html.has-redirect-bar {
  --redirect-bar-h: 56px;
}

html.has-redirect-bar.redirect-bar-hidden {
  --redirect-bar-h: 0px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--redirect-bar-h);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  transition: padding-top 0.25s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.22), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(14, 165, 233, 0.08), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(59, 130, 246, 0.1), transparent);
  z-index: -1;
}

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

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

.wrap {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.redirect-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  min-height: 56px;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  background: linear-gradient(105deg, #000033 0%, #001a4d 45%, #0055ff 100%);
  border-bottom: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: 0 4px 24px rgba(0, 0, 51, 0.45);
}

.redirect-bar--dismissed {
  display: none;
}

.redirect-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  width: 100%;
}

.redirect-bar-close {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.redirect-bar-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.redirect-bar .redirect-bar-inner {
  position: relative;
  padding-left: 2.25rem;
}

.redirect-bar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.redirect-bar-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.35);
  display: grid;
  place-items: center;
}

.redirect-bar-icon svg {
  width: 16px;
  height: 16px;
}

.redirect-bar-name {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.redirect-bar-name .rb-ak {
  color: #5ecbff;
}

.redirect-bar-name .rb-cas {
  color: #fff;
}

.redirect-bar-msg {
  margin: 0;
  flex: 1 1 200px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(232, 241, 255, 0.92);
  line-height: 1.4;
}

.redirect-bar-msg strong {
  color: #fff;
  font-weight: 700;
}

.redirect-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.redirect-bar-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.redirect-bar-timer svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.redirect-bar-timer strong {
  color: #22d3ee;
  font-size: 1rem;
  font-weight: 800;
  min-width: 1ch;
  text-align: center;
}

.redirect-bar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(90deg, #0ea5e9 0%, #2563eb 50%, #6366f1 100%);
  box-shadow: 0 2px 16px rgba(0, 85, 255, 0.4);
  transition: transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}

.redirect-bar-cta:hover {
  box-shadow: 0 4px 22px rgba(34, 211, 238, 0.35);
}

.redirect-bar-cta:active {
  transform: scale(0.98);
}

@media (max-width: 900px) {
  .redirect-bar-msg {
    order: 3;
    flex-basis: 100%;
    text-align: center;
  }

  .redirect-bar-inner {
    justify-content: center;
  }

  .redirect-bar-actions {
    margin-left: auto;
  }
}

.site-header {
  position: sticky;
  top: var(--redirect-bar-h);
  z-index: 50;
  background: rgba(5, 10, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: top 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

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

.nav-main a:not(.btn) {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-main a:not(.btn):hover {
  color: var(--cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(14, 165, 233, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.45);
}

.btn-ghost:hover {
  background: rgba(34, 211, 238, 0.08);
}

.btn-telegram {
  background: rgba(14, 165, 233, 0.12);
  color: var(--text);
  border: 1px solid var(--border);
  padding-inline: 0.9rem;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .nav-main {
    display: none;
  }
}

.hero {
  position: relative;
  padding: 2.5rem 0 3rem;
  overflow: hidden;
}

.hero-banner {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat url("images/arkada.jpg");
  opacity: 0.45;
  filter: saturate(1.1);
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.2) 0%, var(--bg-deep) 92%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 1rem;
}

.pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(12, 22, 41, 0.9);
  border: 1px solid var(--border);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero h1 .h1-brand {
  color: #fff;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(105deg, #22d3ee 0%, #38bdf8 40%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 560px;
  margin: 0 auto 1.75rem;
  color: var(--muted);
  font-size: 1rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-ctas .btn {
  min-width: 200px;
  padding: 0.85rem 1.5rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item svg {
  flex-shrink: 0;
  color: var(--cyan);
}

.section {
  padding: 3.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.game-strip {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.5rem 0 1.5rem;
  margin: 0 calc(50% - 50vw) 0;
  padding-inline: max(4vw, calc(50vw - min(590px, 46vw)));
  scrollbar-width: thin;
}

.game-strip a {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.15s, box-shadow 0.2s;
}

.game-strip a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.game-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }
}

.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: background 0.2s, border-color 0.2s;
}

.bonus-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(34, 211, 238, 0.35);
}

.bonus-card .tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.tag-novice {
  background: rgba(14, 165, 233, 0.2);
  color: var(--cyan);
}

.tag-week {
  background: rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
}

.tag-vip {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.bonus-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.bonus-offer {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.bonus-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex-grow: 1;
}

.bonus-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.bonus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

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

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

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

.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
}

.cat-card a {
  display: block;
  color: inherit;
}

.cat-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  font-size: 0.75rem;
  font-weight: 600;
}

.cat-body {
  padding: 1.1rem 1.25rem 1.35rem;
}

.cat-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.cat-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(14, 165, 233, 0.35), rgba(59, 130, 246, 0.3));
  color: #e0f2fe;
  font-size: 0.78rem;
  font-weight: 700;
}

.catalog-cta {
  text-align: center;
  margin-top: 2.25rem;
}

.catalog-cta .btn {
  padding: 0.95rem 2.5rem;
  font-size: 1rem;
}

.faq-section .faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.faq-item button.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-item button.faq-q:hover {
  background: rgba(34, 211, 238, 0.06);
}

.faq-item button.faq-q .faq-chevron {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  margin-top: -0.35rem;
  transition: transform 0.2s;
}

.faq-item.open button.faq-q .faq-chevron {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

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

.seo-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.seo-article h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article p {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 0.98rem;
}

.seo-article a.inline-link {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer a.ref-link {
  color: var(--cyan);
}
