:root {
  --accent: #00e5ff;
  --accent2: #7c00ff;
  --gold: #ffd700;
  --dark: #08001a;
  --dark2: #0f0025;
  --card-bg: #130030;
  --text: #e8e0ff;
  --text-dim: #9a8fbf;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* Глубокая страница: полоска перед редиректом */
body.page-deep-redirect { padding-top: 48px; }

.redirect-bar {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(90deg, rgba(124,0,255,0.97), rgba(0,229,255,0.92));
  color: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.redirect-bar a {
  margin-left: 12px;
  color: #fff;
  text-decoration: underline;
  font-weight: 800;
}

.redirect-bar a:hover { opacity: 0.95; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ─── HEADER ─── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 0, 26, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo svg { width: 38px; height: 38px; flex-shrink: 0; }
.logo-pinco { color: var(--gold); }
.logo-casino { color: #ffffff; }

nav { display: flex; gap: 8px; }

nav a {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: all 0.25s;
}

nav a:hover { color: #fff; background: rgba(0,229,255,0.1); }

.btn-header {
  padding: 10px 28px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff !important;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  white-space: nowrap;
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.55);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(124,0,255,0.25) 0%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 20% 30%, rgba(0,229,255,0.12) 0%, transparent 60%),
    linear-gradient(160deg, #0f0025 0%, #08001a 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.06);
  animation: spin 30s linear infinite;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 60%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--accent2) 0%, #3d00c8 50%, var(--accent) 100%);
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  transition: all 0.3s;
  box-shadow: 0 4px 30px rgba(124, 0, 255, 0.5);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 45px rgba(0, 229, 255, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border: 2px solid rgba(0, 229, 255, 0.4);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gold);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,229,255,0.2),
    0 20px 80px rgba(124,0,255,0.5),
    0 0 120px rgba(0,229,255,0.15);
}

.hero-img-wrap img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: cover;
}

.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,0,26,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  background: rgba(8, 0, 26, 0.85);
  border: 1px solid rgba(0,229,255,0.3);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 20px;
}

.hero-img-badge span { display: block; font-size: 0.8rem; color: var(--text-dim); }
.hero-img-badge strong { font-size: 1.1rem; color: var(--gold); font-weight: 800; }

/* ─── SECTION COMMONS ─── */
section { position: relative; z-index: 1; }

.section-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 12px;
}

.section-title span { color: var(--accent); }

.section-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  border-radius: 2px;
  margin: 16px auto 24px;
}

/* ─── FEATURES STRIP ─── */
.features-strip {
  background: linear-gradient(90deg, rgba(124,0,255,0.08), rgba(0,229,255,0.06), rgba(124,0,255,0.08));
  border-top: 1px solid rgba(0,229,255,0.1);
  border-bottom: 1px solid rgba(0,229,255,0.1);
}

.features-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.feature-item { display: flex; align-items: center; gap: 16px; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,0,255,0.3), rgba(0,229,255,0.2));
  border: 1px solid rgba(0,229,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-item strong { display: block; font-size: 1rem; font-weight: 700; }
.feature-item span { font-size: 0.83rem; color: var(--text-dim); }

/* ─── GAMES GRID ─── */
.games-section {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark2) 100%);
}

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

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(0,229,255,0.1);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 50px rgba(124,0,255,0.4), 0 0 0 1px rgba(0,229,255,0.3);
}

.game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

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

.game-card-body { padding: 14px 16px; }

.game-card-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }

.game-card-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-rtp {
  background: rgba(0,229,255,0.12);
  color: var(--accent);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.73rem;
  font-weight: 700;
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,0,26,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.game-card:hover .game-card-overlay { opacity: 1; }

.btn-play {
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 0 30px rgba(0,229,255,0.5);
}

/* ─── PROMO ROW ─── */
.promo-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.promo-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,229,255,0.08);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(124,0,255,0.35);
}

.promo-card img { width: 100%; height: 150px; object-fit: cover; display: block; }

/* ─── BONUS SECTION ─── */
.bonus-section {
  background: linear-gradient(135deg, #0f0025 0%, #08001a 100%);
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.bonus-card {
  background: linear-gradient(135deg, rgba(124,0,255,0.15), rgba(0,229,255,0.05));
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s, border-color 0.3s;
  cursor: pointer;
  display: block;
}

.bonus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,229,255,0.4);
}

.bonus-emoji { font-size: 2.5rem; margin-bottom: 16px; }
.bonus-amount { font-size: 2rem; font-weight: 900; color: var(--gold); margin-bottom: 8px; }
.bonus-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.bonus-card p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; }

.btn-claim {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 28px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  transition: all 0.25s;
}

.btn-claim:hover { box-shadow: 0 0 25px rgba(0,229,255,0.5); }

/* ─── FAQ ─── */
.faq-section {
  background: var(--dark2);
}

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: linear-gradient(135deg, rgba(124,0,255,0.1), rgba(0,229,255,0.05));
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open { border-color: rgba(0,229,255,0.4); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
}

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

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.3s, background 0.3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(0,229,255,0.2); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 24px;
}

.faq-answer p { color: var(--text-dim); font-size: 0.95rem; padding-bottom: 20px; }

.faq-item.open .faq-answer { max-height: 400px; }

/* ─── CTA BANNER ─── */
.cta-section {
  background: linear-gradient(135deg, rgba(124,0,255,0.2) 0%, rgba(0,229,255,0.1) 100%);
  border-top: 1px solid rgba(0,229,255,0.15);
  border-bottom: 1px solid rgba(0,229,255,0.15);
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; }
.cta-inner p { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 36px; }

/* ─── ARTICLE ─── */
.article-section { background: var(--dark); }

.article-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px;
}

.article-wrap h2 { font-size: 1.8rem; font-weight: 900; margin: 40px 0 16px; color: #fff; }
.article-wrap h2:first-child { margin-top: 0; }
.article-wrap h3 { font-size: 1.25rem; font-weight: 700; margin: 28px 0 12px; color: var(--accent); }
.article-wrap p { color: var(--text-dim); margin-bottom: 16px; font-size: 1rem; }

.article-wrap ul { list-style: none; padding: 0; margin-bottom: 20px; }

.article-wrap ul li {
  color: var(--text-dim);
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 0.97rem;
}

.article-wrap ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.article-cta {
  display: block;
  text-align: center;
  padding: 20px;
  margin: 32px 0;
  background: linear-gradient(135deg, rgba(124,0,255,0.2), rgba(0,229,255,0.1));
  border: 1px solid rgba(0,229,255,0.25);
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  transition: all 0.3s;
}

.article-cta:hover { background: linear-gradient(135deg, rgba(124,0,255,0.35), rgba(0,229,255,0.2)); }

/* ─── FOOTER ─── */
footer {
  background: #04000e;
  border-top: 1px solid rgba(0,229,255,0.1);
  padding: 48px 24px 28px;
}

.footer-inner { max-width: 1280px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.87rem; color: var(--text-dim); max-width: 340px; }

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.87rem; color: var(--text-dim); transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.8rem; color: #4a3a6a; }

.age-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-img-wrap img { max-width: 360px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  nav { display: none; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}
