@font-face {
  font-family: Poppins;
  src: url("../fun-casinogames-assets/fun-casinogames-fonts/fun-casinogames-istokweb-Bold.woff2");
  font-weight: 700;
}

@font-face {
  font-family: Poppins;
  src: url("../fun-casinogames-assets/fun-casinogames-fonts/fun-casinogames-poppins-medium.woff2");
  font-weight: 500;
}

@font-face {
  font-family: Istok Web;
  src: url("../fun-casinogames-assets/fun-casinogames-fonts/fun-casinogames-istokweb-bold.woff2");
  font-weight: 500;
}

/* ===== Переменные ===== */
:root {
  --container-width: 1236px;
  --container-step: 20px;
  --container-step-tablet: 15px;
  --container-step-mobile: 12px;
  --container: calc(var(--container-width) + (var(--container-step) * 2));
  --font-family: "Poppins", sans-serif;
  --second-family: "Istok Web", sans-serif;
}

/* ===== Базовые ===== */
body {
  margin: 0;
  background: url(/fun-casinogames-assets/fun-casinogames-img/fun-casinogames-main_bg.webp);
  background-size: cover;
  background-position: center;
}

.fun-casinogames-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-step);
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .fun-casinogames-container {
    padding: 0 var(--container-step-tablet);
  }
}

@media (max-width: 600px) {
  .fun-casinogames-container {
    padding: 0 var(--container-step-mobile);
  }
}

h1 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 58px;
  line-height: 120%;
  text-transform: uppercase;
  color: #fff;
  margin: 0px;
}

@media (max-width: 991px) {
  h1 {
    font-size: 39px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 20px;
  }
}

h2 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 28px;
  line-height: 120%;
  text-transform: uppercase;
  color: #fff;
  margin: 0px;
  text-align: center;
}

@media (max-width: 991px) {
  h2 {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  h2 {
    font-size: 16px;
    text-align: center;
  }
}

h3 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  text-transform: uppercase;
  color: #fff;
  margin: 0px;
}

@media (max-width: 991px) {
  h3 {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  h3 {
    font-size: 14px;
    text-align: center;
  }
}

h4 {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 120%;
  text-transform: uppercase;
  margin: 0px;
}

@media (max-width: 991px) {
  h4 {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  h4 {
    font-size: 14px;
    text-align: center;
  }
}

p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 120%;
  color: white;
  margin: 0px;
  text-align: center;
}

@media (max-width: 991px) {
  p {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  p {
    font-size: 14px;
    text-align: center;
  }
}

ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0px;
  padding: 0px;
}

a {
  text-decoration: none;
}

section {
  padding: 60px 0px;

}

@media (max-width: 600px) {
  section {
    padding: 30px 0px;
  }
}

.fun-casinogames-content-container {
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
  width: 100%;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px 0 rgba(200, 0, 255, 0.6);
  background: linear-gradient(90deg, #004bb3 0%, #780099 100%);
  border-radius: 20px;
  gap: 10px;
}

.fun-casinogames-btn {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  border-radius: 10px;
  padding: 10px;
  width: 100%;
  box-shadow: 0 0 15px 0 rgba(200, 0, 255, 0.6);
  background: linear-gradient(180deg, #004bb3 0%, #780099 100%);
  box-sizing: border-box;
}

header {
  background: #141c4b;
  padding: 10px 0px;
}

header .fun-casinogames-container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

header .fun-casinogames-nav-list {
  flex-direction: row;
  gap: 20px;
}

header .fun-casinogames-nav-list a {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  text-align: right;
  color: #fff;
}

.fun-casinogames-hero-section {
  background: url(/fun-casinogames-assets/fun-casinogames-img/fun-casinogames-hero_bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 150px 0px;
}

.fun-casinogames-hero-section h1 {
  align-self: flex-start;
}

.fun-casinogames-features-section .fun-casinogames-container {
  flex-direction: row;
}

.fun-casinogames-features-intro {
  flex: 1;
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.fun-casinogames-features-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  flex-direction: row;
}

.fun-casinogames-feature-item{
  max-width: 398px;
  align-items: center;
  text-align: center;
}

.mobile{
  display: none;
}

.fun-casinogames-games-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.fun-casinogames-game-card {
  display: flex;
  gap: 20px;
  flex-direction: column;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: rgba(17, 17, 17, 0.5);
}

.fun-casinogames-game-card h3 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  text-align: center;
}

.fun-casinogames-game-card img {
  width: 100%;
}

.fun-casinogames-benefits-section {
  background: rgba(17, 17, 17, 0.5);
}

.fun-casinogames-benefits-container {
  gap: 20px;
}

.fun-casinogames-benefits-container h2 {
  text-align: center;
}

.fun-casinogames-benefits-container p {
  text-align: center;
}

.fun-casinogames-benefits-list {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.fun-casinogames-benefit-item{
  max-width: 294px;
}

.fun-casinogames-pros-cons-wrapper {
  display: flex;
  gap: 20px;
}

.fun-casinogames-pros-cons-wrapper p {
  text-align: start;
}

.fun-casinogames-pros-block {
  flex: 1;
}

.fun-casinogames-cons-block {
  flex: 1;
}

.fun-casinogames-pros-cons-wrapper .fun-casinogames-content-container {
  gap: 0px;
  list-style: disc;
  color: white;
  padding-left: 30px;
}

.fun-casinogames-pros-cons-container h3 {
  margin-bottom: 20px;
  text-align: center;
}

.fun-casinogames-comparison-columns {
  display: flex;
  gap: 20px;
}

.fun-casinogames-comparison-column h3 {
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}

.fun-casinogames-comparison-item {
  align-items: center;
  border: 0px;
  padding: 10px;
  margin-bottom: 20px;
}

.fun-casinogames-comparison-item h4 {
  text-align: start;
  color: #fff;
}

.fun-casinogames-faq-container {
  gap: 20px;
}

.fun-casinogames-faq-container h2 {
  text-align: center;
}

.fun-casinogames-faq-list {
  gap: 20px;
}

.fun-casinogames-FAQ-section {
  background: rgba(17, 17, 17, 0.5);
}

.fun-casinogames-faq-answer {
  text-align: center;
}

footer {
  background: linear-gradient(270deg, #001829 0%, #000101 100%);
  padding: 80px 0px;
}

.fun-casinogames-footer-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fun-casinogames-footer-title {
  margin-bottom: 8px;
  text-align: center;
}

.fun-casinogames-partners-list {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.fun-casinogames-footer-bottom {
  display: flex;
  justify-content: space-between;
}

.fun-casinogames-footer-copy {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  color: #fff;
}

.fun-casinogames-footer-nav-list {
  flex-direction: row;
  gap: 100px;
}

.fun-casinogames-footer-nav-list a {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  text-transform: uppercase;
  color: #ff7100;
}

.fun-casinogames-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 45px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1101;
}

/* Анимация крестика */
.fun-casinogames-burger.fun-casinogames-active span:nth-child(1) {
  transform: rotate(45deg) translate(9px, 11px);
}

.fun-casinogames-burger.fun-casinogames-active span:nth-child(2) {
  opacity: 0;
}

.fun-casinogames-burger.fun-casinogames-active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media screen and (max-width: 1040px) {

  section{
    padding: 30px 0px;
  }

  .fun-casinogames-hero-section{
    padding: 70px 0px;
  }

  .fun-casinogames-burger {
    display: flex;
  }

  /* Навигация */
  .fun-casinogames-main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: #0d0d0d;
    /* тёмный фон */
    color: #fff;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 1100;
  }

  .fun-casinogames-main-navigation.fun-casinogames-open {
    right: 0;
  }

  header .fun-casinogames-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  header .fun-casinogames-nav-list a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s;
  }

  header .fun-casinogames-nav-list a:hover {
    color: #ff7a00;
  }

  /* Полупрозрачный оверлей */
  .fun-casinogames-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1099;
  }

  .fun-casinogames-menu-overlay.fun-casinogames-active {
    opacity: 1;
    pointer-events: auto;
  }

  .fun-casinogames-games-list{
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .fun-casinogames-burger span {
    display: block;
    width: 45px;
    height: 5px;
    background: #fff;
    /* оранжевый под стиль */
    border-radius: 2px;
    transition: 0.3s ease;
  }
  .fun-casinogames-footer-nav-list{
    gap: 30px;
  }
}

@media screen and (max-width: 600px){

  header img{
    width: 220px;
  }

  .fun-casinogames-hero-section{
    background: url(/fun-casinogames-assets/fun-casinogames-img/fun-casinogames-hero_bg-mobile.webp);
    background-size: cover;
    background-position: center;
  }

  .fun-casinogames-features-section .fun-casinogames-container{
    flex-direction: column;
  }

  .mobile{
    display: flex;
  }

  .desctop{
    display: none;
  }

  .fun-casinogames-benefit-item{
    max-width: unset;
  }

  .fun-casinogames-pros-cons-container{
    gap: 10px;
  }

  .fun-casinogames-pros-cons-wrapper{
    flex-direction: column;
  }

  .fun-casinogames-comparison-container{
    gap: 10px;
  }

  .fun-casinogames-comparison-columns{
    flex-direction: column;
    gap: 10px;
  }

  .fun-casinogames-comparison-column h3{
    margin-bottom: 10px;
  }

  .fun-casinogames-comparison-item p{
    text-align: center;
  }

  .fun-casinogames-comparison-item h4{
    text-align: center;
    margin: auto;
  }

  footer{
    padding: 30px 0px;
  }

  footer p{
    font-size: 14px;
  }

  .fun-casinogames-footer-nav-list{
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .fun-casinogames-footer-bottom{
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .fun-casinogames-partners-list{
    justify-content: center;
    gap: 16px;
  }

  .fun-casinogames-footer-copy{
    font-size: 12px;
    text-align: center;
  }

  .fun-casinogames-btn{
    font-size: 14px;
  }

  .fun-casinogames-games-list{
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 360px;
    align-self: center;
  }
  /* скрывать неактивные карточки */
  .fun-casinogames-game-card[hidden]{
    display: none !important;
  }
  /* точки навигации (создаёт JS) */
  .fun-casinogames-dots{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
  }
  .fun-casinogames-dot{
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,.35); border: 0; padding: 0;
    cursor: pointer;
  }
  .fun-casinogames-dot.is-active{
    background: #7b61ff; transform: scale(1.15);
  }

  .fun-casinogames-game-card h3{
    font-size: 14px;
  }
}

.fun-casinogames-terms ul{
  list-style: disc;
  padding-left: 15px;
}

.fun-casinogames-terms li{
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 120%;
  color: white;
  margin: 0px;
  margin-bottom: 10px;
}

.fun-casinogames-terms h1{
  text-align: center;
}