/* ======================================================
   SlotPower Casino — app.css
   Neon electric dark-navy & magenta theme
   ====================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── VARIABLES ── */
:root {
  --bg-dark:        #05091a;
  --bg-section:     #080d22;
  --bg-card:        #0c1228;
  --bg-card-hover:  #111c38;
  --primary:        #e0197a;
  --primary-hover:  #f01f88;
  --primary-light:  #ff6ab0;
  --violet:         #7c2ee0;
  --violet-hover:   #9040f5;
  --neon-blue:      #1a7cff;
  --pink-glow:      rgba(224, 25, 122, 0.28);
  --text:           #dce8ff;
  --text-muted:     #7898cc;
  --text-faint:     rgba(220, 232, 255, 0.30);
  --border:         rgba(224, 25, 122, 0.12);
  --border-bright:  rgba(224, 25, 122, 0.38);
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --trans: 0.22s ease;
}

/* ── LAYOUT ── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 28px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 700; cursor: pointer; border: none;
  transition: all var(--trans); white-space: nowrap; line-height: 1;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 100%);
  color: #fff;
  box-shadow: 0 0 20px var(--pink-glow);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--violet-hover) 100%);
  box-shadow: 0 0 36px var(--pink-glow);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-bright);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-light); }
.btn--hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 100%);
  color: #fff; padding: 15px 44px; font-size: 17px;
  border-radius: var(--r-lg); box-shadow: 0 0 30px var(--pink-glow);
}
.btn--hero:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--violet-hover) 100%);
  transform: translateY(-2px); box-shadow: 0 0 50px var(--pink-glow);
}
.btn--demo {
  background: transparent; color: var(--primary-light);
  border: 2px solid var(--border-bright);
  padding: 13px 36px; font-size: 16px; border-radius: var(--r-lg);
}
.btn--demo:hover { background: var(--bg-card); border-color: var(--primary); }
.btn--full { width: 100%; }

/* ── HEADER ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 9, 26, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.header__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header__logo-img { height: 36px; width: auto; object-fit: contain; }
.header__logo-text {
  font-size: 18px; font-weight: 800; color: var(--primary-light);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.header__nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 8px 10px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  transition: color var(--trans), background var(--trans);
}
.nav-link:hover { color: var(--text); background: var(--bg-card); }
.header__actions { display: flex; gap: 10px; margin-left: 16px; }

.burger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 6px;
  margin-left: auto; flex-shrink: 0;
}
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--trans); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed;
  inset: 64px 0 0 0; z-index: 99;
  background: rgba(5, 9, 26, 0.7); backdrop-filter: blur(6px);
}
.mobile-menu.open { display: block; }
.mobile-menu__panel {
  background: var(--bg-card); width: min(320px, 90vw); height: 100%;
  padding: 24px; display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--border);
}
.mobile-nav-link {
  display: block; padding: 13px 16px; border-radius: var(--r-md);
  font-size: 16px; font-weight: 500; color: var(--text-muted);
  transition: all var(--trans);
}
.mobile-nav-link:hover { color: var(--text); background: var(--bg-card-hover); }
.mobile-menu__actions { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

/* ── HERO ── */
.hero {
  position: relative;
  max-width: 1400px; margin: 16px auto 0;
  min-height: 500px; display: flex; align-items: center; overflow: hidden;
  padding: 90px 64px 80px;
  border-radius: var(--r-xl);
  background: var(--bg-dark) url('../images/360_F_860618621_W7YXfVK7WG7fJF4S87tYnoiq7pQJTdcX.webp') center/cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 9, 26, 0.92) 0%,
    rgba(5, 9, 26, 0.60) 50%,
    rgba(5, 9, 26, 0.15) 100%
  );
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 80%, rgba(224, 25, 122, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(124, 46, 224, 0.08) 0%, transparent 38%);
  z-index: 1; pointer-events: none;
}
/* neon bottom line */
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 52%; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(224, 25, 122, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(224, 25, 122, 0.38);
  border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__tag::before {
  content: '';
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}
.hero__h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800; line-height: 1.06; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary-light) 55%, var(--primary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__subtitle { font-size: 17px; color: var(--text-muted); margin-bottom: 38px; line-height: 1.65; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* neon accent line under hero */
.hero-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary), var(--violet), var(--primary), transparent);
  max-width: 1400px; margin: 0 auto;
  opacity: 0.6;
}

/* ── GAMES SECTION ── */
.games-section { padding: 64px 0 48px; background: var(--bg-section); }
.section-header { text-align: center; margin-bottom: 36px; }
.section-title {
  font-size: clamp(26px, 3.5vw, 38px); font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 8px;
}
.section-subtitle { font-size: 16px; color: var(--text-muted); }

.section-header::after {
  content: '';
  display: block; width: 80px; height: 2px; margin: 16px auto 0;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.game-card {
  position: relative; display: block;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 4 / 3;
  transition: transform var(--trans), box-shadow var(--trans);
  border: 1px solid var(--border);
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(224, 25, 122, 0.22), 0 0 0 1px var(--border-bright);
}
.game-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--trans); }
.game-card:hover .game-card__img { transform: scale(1.04); }

.game-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,9,26,0.90) 0%, rgba(5,9,26,0.20) 40%, transparent 70%);
}
.game-card__info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 12px 11px; z-index: 2;
}
.game-card__name {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: 0.04em;
}
.game-card__provider { font-size: 9px; color: var(--text-muted); margin-top: 2px; text-transform: uppercase; }

.game-card__play {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--trans);
}
.game-card:hover .game-card__play { opacity: 1; }
.game-card__play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(224, 25, 122, 0.90);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px rgba(224, 25, 122, 0.60);
  transition: transform var(--trans);
}
.game-card:hover .game-card__play-btn { transform: scale(1.1); }

.games-cta { text-align: center; margin-top: 36px; }

/* ── BONUS SECTION ── */
.bonus-section {
  padding: 72px 0;
  background: var(--bg-dark);
  position: relative; overflow: hidden;
}
.bonus-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(124, 46, 224, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(224, 25, 122, 0.08) 0%, transparent 50%);
}
.bonus-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}
.bonus-badge {
  display: inline-block; padding: 5px 16px;
  background: rgba(124, 46, 224, 0.20);
  color: #b47fff;
  border: 1px solid rgba(124, 46, 224, 0.40);
  border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.bonus-title {
  font-size: clamp(28px, 4vw, 52px); font-weight: 800; line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.bonus-text { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }

.bonus-img-wrap {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(224, 25, 122, 0.10);
}
.bonus-img { width: 100%; height: auto; display: block; }

/* ── SEO CONTENT ── */
.content-section { padding: 56px 0 64px; background: var(--bg-section); }
.seo-content {
  max-width: 860px; width: 100%; margin: 0 auto;
  color: var(--text-muted); line-height: 1.75; font-size: 0.95rem;
}
.seo-content h1 { font-size: 22px; font-weight: 800; color: var(--primary-light); margin: 0 0 18px; }
.seo-content h2 { font-size: 18px; font-weight: 700; color: var(--text); margin: 32px 0 10px; }
.seo-content h3 {
  font-size: 1rem; font-weight: 700; color: var(--text); text-transform: uppercase;
  letter-spacing: 0.05em; margin: 0; cursor: pointer;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  transition: color var(--trans);
}
.seo-content h3.faq-open { color: var(--primary-light); }
.seo-content h3 + p { display: none; padding: 12px 0 4px; color: var(--text-muted); line-height: 1.75; }
.seo-content h3.faq-open + p { display: block; }
.seo-content p { margin: 0 0 14px; }
.seo-content a { color: var(--primary-light); }
.seo-content a:hover { text-decoration: underline; }

.seo-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.88rem; background: var(--bg-card) !important; border: 1px solid var(--border); }
.seo-content th { background: rgba(224, 25, 122, 0.08) !important; color: var(--text); padding: 10px 14px; text-align: left; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.seo-content td { background: var(--bg-card) !important; padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-muted); vertical-align: top; }
.seo-content tr:nth-child(even) td { background: rgba(255,255,255,0.03) !important; }

/* ── FOOTER ── */
.footer { background: #030714; border-top: 1px solid var(--border); padding: 40px 0 24px; }
.footer__top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.footer__logo { display: flex; align-items: center; gap: 10px; }
.footer__logo-img { height: 32px; width: auto; }
.footer__logo-text { font-size: 17px; font-weight: 800; color: var(--primary-light); text-transform: uppercase; letter-spacing: 0.05em; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px; }
.footer__nav a {
  padding: 6px 12px; font-size: 13px; color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color var(--trans);
}
.footer__nav a:hover { color: var(--primary-light); }
.footer__bottom { padding-top: 20px; }
.footer__copy { font-size: 12px; color: var(--text-faint); line-height: 1.7; }

/* ── RESPONSIVE ── */
@media (max-width: 1280px) {
  .header__nav { display: none; }
  .header__actions { display: none; }
  .burger { display: flex; }
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .bonus-inner { grid-template-columns: 1fr; }
  .bonus-img-wrap { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .hero { padding: 60px 32px 50px; margin: 8px; border-radius: var(--r-lg); }
  .hero__content { max-width: 100%; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { flex-direction: column; align-items: flex-start; }
}
