body.no-scroll {
  overflow: hidden;
}
/* === GALAXIE GAGNANTE THEME === */
:root {
  --primary: #2D65C9;        /* Bleu principal */
  --accent: #FFD84F;         /* Or / jaune lumineux */
  --text: #222;
  --muted: #555;
  --bg: #ffffff;
  --border: #e6e6e6;
  --radius: 14px;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  --container: 1200px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* === RESET === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* === CONTAINERS === */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* === HEADER === */
/* === HEADER BASE === */
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 20px;
}
.header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo img {
  width: 140px;
}

/* === BURGER === */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1200;
}
.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 7px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -7px);
}

/* === DESKTOP NAV === */
.nav {
  display: flex;
  gap: 24px;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav a:hover {
  color: var(--primary);
}

/* === FULLSCREEN BURGER MENU === */
@media (max-width: 880px) {
  .burger {
    display: flex;
  }
  .nav {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1100;
  }
  .nav.active {
    opacity: 1;
    visibility: visible;
  }

  .nav ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .nav li {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s ease forwards;
  }
  .nav.active li:nth-child(1) { animation-delay: 0.15s; }
  .nav.active li:nth-child(2) { animation-delay: 0.3s; }
  .nav.active li:nth-child(3) { animation-delay: 0.45s; }

  .nav a {
    font-size: 26px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}



/* === HERO  === */
.hero {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f9f9fb 100%);
  padding: 90px 0 80px;
  overflow: hidden;
}

.hero__wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero__text h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero__text h1 span {
  color: var(--primary);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__text p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons refined */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), #1f4faa);
  color: #fff;
  box-shadow: 0 4px 12px rgba(45, 101, 201, 0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 101, 201, 0.4);
}

.btn--outline {
  border: 2px solid var(--accent);
  color: var(--text);
  background: transparent;
}
.btn--outline:hover {
  background: var(--accent);
  color: #222;
}

/* === HERO IMAGE === */
.hero__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__art img {
  width: 100%;
  max-width: 480px;
  animation: floaty 6s ease-in-out infinite;
}
.hero__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,216,79,0.35), rgba(45,101,201,0.15), transparent 80%);
  filter: blur(40px);
  z-index: -1;
}

/* === ANIMATION === */
@keyframes floaty {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero {
    padding: 70px 0 60px;
  }
  .hero__wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero__text p {
    max-width: 600px;
    margin: 0 auto 24px;
  }
  .hero__cta {
    justify-content: center;
  }
  .hero__art img {
    max-width: 360px;
  }
  .hero__glow {
    width: 340px;
    height: 340px;
  }
}

@media (max-width: 580px) {
  .hero__text h1 {
    font-size: 30px;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* === SECTIONS === */
.section {
  padding: 70px 0;
}
.section--alt {
  background: #f9f9f9;
}
.section h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary);
}


/* === CASINO LIST SECTION === */
.casino-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.casino-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 18px 24px;
  transition: all 0.25s ease;
}

.casino-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(45,101,201,0.12);
}


.casino-logo {
  height: 60px;
  width: 100px;
  object-fit: contain;
  margin-right: 22px;
  flex-shrink: 0;
  background-color: #170149;
}

.casino-info {
  flex: 1;
}

.casino-info h3 {
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--primary);
}

.casino-info p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.casino-bonus {
  font-size: 16px;
  color: #222;
  margin-bottom: 6px;
}

.casino-bonus strong {
  color: var(--accent);
  font-weight: 700;
}

.casino-rating {
  font-size: 16px;
  color: #f5a623;
  font-weight: 700;
}
.casino-rating span {
  color: #444;
  font-weight: 500;
  margin-left: 4px;
}




.casino-item .btn {
  margin-left: 24px;
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.casino-item .btn:hover {
  background: #1f4faa;
  transform: translateY(-1px);
}

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .casino-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
  }
  .casino-logo {
    margin-right: 0;
  }
  .casino-item .btn {
    align-self: flex-start;
  }
}

@media (max-width: 580px) {
  .casino-item {
    padding: 16px;
  }
  .casino-info h3 {
    font-size: 18px;
  }
  .casino-info p {
    font-size: 14px;
  }
  .casino-rating, .casino-bonus {
    font-size: 15px;
  }
  .casino-item .btn {
    width: 100%;
    text-align: center;
  }
}

/* === CARDS === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.card__logo {
  height: 50px;
  margin: 0 auto 12px;
}
.card h3 {
  margin-bottom: 12px;
  color: var(--primary);
}
.card__list {
  list-style: none;
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 15px;
}
.card__list li {
  padding: 4px 0;
}

/* === GUIDES === */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.guide {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.guide:hover {
  transform: translateY(-4px);
}
.guide h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* === FOOTER === */
/* === FOOTER === */
.footer {
  background: #f3f5fb;
  border-top: 1px solid #ddd;
  padding: 60px 0 30px;
  color: var(--text);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 10px;
}

.footer__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 400px;
}

.footer h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__list li {
  margin-bottom: 8px;
}

.footer__list a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__list a:hover {
  color: var(--primary);
}

.footer__buttons {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__buttons .btn--outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.footer__buttons .btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

/* === BOTTOM LINE === */
.footer__bottom {
  border-top: 1px solid #ddd;
  padding-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.footer__bottom a {
  color: var(--primary);
  text-decoration: none;
}
.footer__bottom a:hover {
  text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 580px) {
  .footer__buttons {
    flex-direction: column;
  }
  .footer__buttons .btn--outline {
    width: 100%;
    text-align: center;
  }
}


/* === AGE GATE === */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.age-gate[aria-hidden="false"] {
  display: flex;
}
.age-gate__card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow);
}
.age-gate__badge {
  height: 50px;
  margin-bottom: 12px;
}
.age-gate__actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

/* === FLOAT ANIMATION === */
.floaty {
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero__wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__cta {
    justify-content: center;
  }
}
/* === LEGAL PAGE STYLES === */

main.section {
  padding: 70px 0 90px;
}

.section__title {
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 40px;
}

/* Карточки (блоки текста) */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.card h2 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}

.card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.card a:hover {
  text-decoration: underline;
}

/* Заголовки */
h1.section__title, .section h1 {
  color: var(--primary);
}

h2 {
  color: var(--primary);
  font-weight: 600;
}

/* Адаптивность */
@media (max-width: 720px) {
  .section__title {
    font-size: 28px;
  }
  .card {
    padding: 20px;
  }
}
.footer-logos {
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #3a3a52;
  padding-bottom: 16px;
}
.footer-logos img {
  height: 55px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  padding: 10px;
  border-radius: 15px;
  background-color: #170149;
}
.footer-logos img:hover {
  opacity: 1;
}