*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:Arial,sans-serif;
  background:#0b0f1a;
  color:#fff;
  line-height:1.6;
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}


/* =========================
   HEADER
========================= */

header{
  background:#111827;
  border-bottom:1px solid rgba(255,255,255,.08);
  position:sticky;
  top:0;
  z-index:10;
}

.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0;
  flex-wrap:wrap;
  gap:20px;
}

.logo{
  display:flex;
  align-items:center;
}

.logo img{

  max-width:45px;
  display:block;
}

.menu{
  display:flex;
  gap:25px;
  list-style:none;
}

.menu a{
  color:#cbd5e1;
  text-decoration:none;
}

.menu a:hover{
  color:#ea4286;
}

.header-buttons{
  display:flex;
  gap:10px;
}

.btn{
  padding:10px 18px;
  border-radius:10px;
  font-weight:700;
}

.btn-login{
  background:#1f2937;
  border:1px solid #374151;
}

.btn-register{
  background:#ea4286;
  color:#fff;
}

.btn-login,
.btn-register{
  cursor:pointer;
  transition:0.3s;
}

/* LOGIN */

.btn-login:hover{
  background:#374151;
  border-color:#4b5563;
}

.btn-register:hover{
  background:#c9356f;
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.btn-register {
  display: inline-flex;   /* важно */
  width: auto;            /* убирает full width */
  padding: 10px 22px;
}

/* =========================
   HERO
========================= */

.hero{
  padding:20px 0;
}

.hero-banner{
  min-height:420px;
  border-radius:24px;
  background:
    linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.7)),
    url('img/casinoimage.png') center/cover;
  display:flex;
  align-items:center;
  padding:50px;
}

.hero h1, .xy{
  font-size:48px;
}

.hero p{
  color:#cbd5e1;
  max-width:600px;
}

/* =========================
   CONTENT
========================= */

.section{
  padding:30px 0;
}

.content-block{
  margin-bottom:40px;
}

.section-title{
  font-size:34px;
  margin-bottom:25px;
  margin-top:12px;
}

.section-title.left{
  text-align:left;
}

.section-text{
  color:#cbd5e1;
  max-width:1100px;
  margin:0 0 12px 0;
}



/* =========================
   TABLE
========================= */

.table-wrapper {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding: 0 10px;
}

.info-table {
  width: auto;
  min-width: 680px;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  margin: 0 auto;
}

/* более компактные отступы */
.info-table th,
.info-table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  word-break: break-word;
}

/* header */
.info-table thead th {
  background: #1f2937;
  color: #fff;
  font-weight: 700;
}

/* текст */
.info-table tbody td {
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* первая колонка чуть шире */
.info-table th:first-child,
.info-table td:first-child {
  width: 220px;
  white-space: normal;
}

/* остальные колонки не растягиваются искусственно */
.info-table th:not(:first-child),
.info-table td:not(:first-child) {
  width: auto;
}


/* =========================
   PROS / CONS
========================= */

.pros-cons-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  max-width:1100px;
  margin:0 auto;
}

.pros-box, .games-box,
.cons-box{
  background:#151c2c;
  padding:25px;
  border-radius:16px;
}

/* =========================
   TABS
========================= */

.tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:25px;
}

.tab-btn{
  background:#1f2937;
  border:none;
  color:#fff;
  padding:10px 16px;
  border-radius:10px;
  cursor:pointer;
}

.tab-btn.active{
  background:#ea4286;
  color:#fff;
}

.tab-content{
  display:none;
}

.tab-content.active{
  display:block;
}

/* =========================
   GAMES
========================= */

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

.game-card{
  background:#151c2c;
  padding:18px;
  border-radius:12px;
  text-align:center;
  border:1px solid rgba(255,255,255,.06);
}

/* =========================
   PAYMENTS
========================= */

.payments-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
  max-width:1100px;
  margin:20px auto 0;
}

.payment-card {
  background:#151c2c;
  padding:18px;
  border-radius:12px;
  text-align:center;
  border:1px solid rgba(255,255,255,.06);
}


/* =========================
   FAQ  */

.faq-item {
  background:#151c2c;
  padding:18px;
  border-radius:12px;
  text-align:left;
  border:1px solid rgba(255,255,255,.06);
}

/* =========================
   FOOTER  */
   
   
footer{
  
  background:#111827;
  margin-top:60px;
  border-top:1px solid rgba(255,255,255,.08);
 
}

/* TOP SECTION (СТАБИЛЬНЫЙ FLEX ВМЕСТО GRID) */
.footer-top{
  margin:20px;
  display:flex;
  justify-content:space-between;
  gap:40px;
  flex-wrap:nowrap;
  align-items:flex-start;
}

.footer-left{
  flex:0 0 340px;
}

.footer-column{
  flex:1;
  min-width:160px;
}



/* LEFT BLOCK (LOGO + TRUST) */
.footer-top > div:first-child{
  flex:1.9;
  min-width:250px;
}

/* LOGO */



.footer-logo{
  margin-bottom:15px;
  display:flex;
  align-items:center;
}

.footer-logo img{
  height:42px;
  width:auto;
  display:block;
  object-fit:contain;
}

/* TRUST BADGES */
.legal-logos{
  display:grid;
  grid-template-columns:repeat(3, max-content);
  gap:8px;
  max-width:340px;
}

.legal-logos a{
  color:#cbd5e1;
  text-decoration:none;
}

.legal-item{
  background:#151c2c;
  padding:8px 12px;
  border-radius:8px;
  font-size:12px;
  color:#cbd5e1;
}



/* MIDDLE + RIGHT COLUMNS */


.footer-column h4{
  margin-bottom:15px;
}

.footer-links{
  list-style:none;
  padding:0;
  
}

.footer-links li{
  margin-bottom:10px;
  
}

.footer-links a{
  color:#cbd5e1;
  text-decoration:none;
}

.footer-links a:hover{
  color:#ea4286;
}

/* BOTTOM BAR */
.footer-bottom{
  text-align:center;
  padding:20px;
  color:#94a3b8;
  border-top:1px solid rgba(255,255,255,0.08);
}

.steps-list {
  margin: 10px 0 16px;
  padding-left: 0;
  list-style-position: inside;
  color: #cbd5e1;
}

.steps-list li {
  margin-bottom: 6px;
}

ul {
  padding-left: 20px;
}

/* UNIVERSAL ADAPTIVE IMAGE */

.image-block{
  width:100%;
  margin:30px 0;
  text-align:center; 
}

.image-block img{
  max-width:100%;   
  width:auto;      
  height:auto;
  display:inline-block;
  border-radius:20px;
  object-fit:cover;
}

/* TABLET */
@media (max-width:992px){

  .image-block{
    margin:24px 0;
  }

  .image-block img{
    border-radius:16px;
  }

}

/* MOBILE */
@media (max-width:600px){

  .image-block{
    margin:20px 0;
  }

  .image-block img{
    border-radius:12px;
  }

}

/* MOBILE */
@media (max-width:600px){

  .image-block{
    margin:20px 0;
  }

  .image-block img{
    border-radius:12px;
  }

}

/* =========================
   REVIEWS
========================= */

.reviews-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:15px;
  max-width:1100px;
  margin:20px auto 0;
}

.reviews-card{
  background:#151c2c;
  padding:20px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.06);
  transition:0.3s;
}

.reviews-card:hover{
  transform:translateY(-3px);
  border-color:rgba(234,66,134,.35);
  box-shadow:0 10px 25px rgba(0,0,0,.35);
}

.review-header{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
  color:#cbd5e1;
  font-size:14px;
}

.review-header strong{
  color:#fff;
}

.review-rating{
  color:#ea4286;
  font-weight:700;
  margin-bottom:10px;
  font-size:14px;
}

.review-text{
  color:#cbd5e1;
  font-size:15px;
  line-height:1.6;
}

.reviews-card a{
  display:inline-block;
  margin-top:12px;
  font-size:13px;
  color:#94a3b8;
  text-decoration:none;
}

.reviews-card a:hover{
  color:#ea4286;
}

/* MOBILE */
@media (max-width:768px){
  .reviews-grid{
    grid-template-columns:1fr;
  }
}

/* =========================
   MOBILE FIXES
========================= */

@media (max-width: 768px){

  /* HEADER */

  .header-inner{
    flex-direction:column;
    align-items:center;
    gap:15px;
  }

  .menu{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px 15px;
  }

  .menu li{
    text-align:center;
  }

  .header-buttons{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
  }

  /* HERO */

  .hero-banner{
    padding:25px;
    min-height:auto;
  }

  .hero h1, .xy {
    font-size:32px;
    line-height:1.2;
  }

  /* TABLES */

  .table-wrapper{
    display:block;
    overflow-x:auto;
    padding:0;
  }

  .info-table{
    min-width:700px;
    margin:0;
  }

  /* TABS */

  .tabs{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .tab-btn{
    width:100%;
    padding:12px;
  }

  /* GAMES */

  .games-grid{
    grid-template-columns:1fr 1fr;
  }

  /* PAYMENTS */

  .payments-grid{
    grid-template-columns:1fr 1fr;
  }

  /* PROS / CONS */

  .pros-cons-grid{
    grid-template-columns:1fr;
  }

  /* FOOTER */

  .footer-top{
    flex-direction:column;
    flex-wrap:wrap;
    gap:25px;
    margin:0;
  }

  .footer-left,
  .footer-column{
    width:100%;
    min-width:0;
  }

  .legal-logos{
    grid-template-columns:repeat(2,1fr);
    max-width:100%;
  }

  .footer-links{
    padding-left:0;
  }

  .footer-bottom{
    font-size:13px;
    word-break:break-word;
  }

  /* TEXT */

  .section-title{
    font-size:28px;
  }

}

@media (max-width:480px){

  .games-grid,
  .payments-grid{
    grid-template-columns:1fr;
  }

  .tabs{
    grid-template-columns:1fr;
  }

  .btn{
    width:100%;
    text-align:center;
  }

  .legal-logos{
    grid-template-columns:1fr;
  }

}

/* MOB BUTTONS */

@media (max-width:480px){

  .header-buttons .btn{
    width:45%;
    min-width:110px;
  }

  .btn-wrapper .btn,
  .btn-wrapper .btn-register{
    width:60% !important;
  }

}

.language-selector{
  margin-top:20px;
  max-width:260px;
}

.language-selector label{
  display:block;
  color:#cbd5e1;
  font-size:14px;
  font-weight:700;
  margin-bottom:8px;
}

.language-selector select{
  width:100%;
  padding:11px 38px 11px 14px;
  border-radius:10px;
  border:1px solid #374151;
  background:#1f2937;
  color:#fff;
  font-family:Arial,sans-serif;
  font-size:14px;
  cursor:pointer;
  outline:none;
  appearance:auto;
}

.language-selector select:hover{
  border-color:#4b5563;
}

.language-selector select:focus{
  border-color:#ea4286;
  box-shadow:0 0 0 2px rgba(234,66,134,.15);
}

.language-selector option{
  background:#1f2937;
  color:#fff;
}

@media (max-width:600px){

  .language-selector{
    max-width:100%;
  }

}

