/* --- General Styles & Variables --- */
body {
  background-color: #121926 ;
  color: #FFFFFF;
  font-family: 'Roboto', sans-serif;
  margin: 0;
  line-height: 1.4;
  font-size: 16px;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
}

a {
  color: #c4891d;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover:not(.header__logo) {
  transform: scale(1.1);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section__title {
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 900;
}

.section__subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
  color: #bdc3c7;
}

/* --- Buttons --- */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background-color: #c4891d;
  color: #FFFFFF;
  font-weight: 700;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-3px) scale(1.2);
}

.button--primary {
background: #c4891d;
box-shadow: 0 4px 15px rgba(31, 127, 63, 0.45);
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.button--small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* --- Header --- */
.header {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  background-color: rgba(6, 40, 63, 0.472);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid #121926 ;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #FFFFFF;
}

.nav__list {
  display: none;
  /* Hidden on mobile */
  list-style: none;
  padding: 0;
  margin: 0;
}

.header__cta {
  font-size: 0.9rem;
}

/* --- Hero Section --- */
.hero {
  padding: 4rem 0;
  text-align: center;
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero__title {
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  font-size: 3rem;
  font-weight: 600;
}

.hero__description {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #bdc3c7;
}

.hero__image-container {
  width: 100%;
}

/* .hero__image {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
} */

/* --- About Section --- */
.about {
  background-color: #121926 ;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.about-card {
  background-color: #121926 ;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #c4891d;
}

/* --- Bonus Section --- */
.bonus__cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.bonus-card {
  background: linear-gradient(135deg, #121926 , #082154);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #1c3d7e;
}

.bonus-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.bonus-card__title {
  margin-bottom: 0.5rem;
}

.bonus-card__description {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFD700;
}

/* --- How-to Section --- */
.howto {
  background-color: #121926 ;
}

.howto__steps {
  list-style: none;
  padding: 0;
  counter-reset: steps-counter;
}

.howto__step {
  background-color: #121926 ;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  position: relative;
}

.howto__step span {
  counter-increment: steps-counter;
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: #c4891d;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* --- Tables (Offers, Tournaments) --- */
.offers__table-wrapper,
.tournaments__table-wrapper {
  overflow-x: auto;
}

.offers {
  position: relative;
}
.offers__table,
.tournaments__table {
  width: 100%;
  border-collapse: collapse;
  background-color: #121926 ;
}

.offers__table th,
.offers__table td,
.tournaments__table th,
.tournaments__table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #121926 ;
}

.offers__table th,
.tournaments__table th {
  background-color: #121926 ;
  font-weight: 700;
}

/* --- Games Section --- */
.games__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.game-card {
  background-color: #121926 ;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
}

.game-card__content {
  padding: 1rem;
}

.game-card__title {
  margin-bottom: 0.25rem;
}

.game-card__provider {
  color: #bdc3c7;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.game-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.game-card__tag {
  background-color: #c4891d;
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 700;
}

.game-card__payout {
  font-weight: 700;
  color: #FFD700;
}

/* --- Live Casino (Accordion) --- */
.accordion__item {
  background-color: #121926 ;
  margin-bottom: 0.5rem;
  border-radius: 8px;
}

.accordion__header {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.accordion__header::after {
  content: '+';
  position: absolute;
  right: 1rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion__header--active::after {
  transform: rotate(45deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1rem;
}

.accordion__content p {
  margin: 0 0 1rem 0;
}

/* --- Sports Section --- */
.sports {
  background-color: #121926 ;
}

.sports__subheading {
  text-align: center;
  margin-bottom: 1.5rem;
}

.sports__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.sports__list li {
  background-color: #121926 ;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

/* --- Payments Section --- */
.payments__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.payments__logo {
  height: 40px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
}

.payments__logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Reasons Section --- */
.reasons {
  background-color: #121926 ;
}

.reasons__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.reason-card {
  background-color: #121926 ;
  padding: 2rem;
  border-radius: 10px;
  position: relative;
  text-align: center;
}

.reason-card__number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #FF416C, #FF4B2B);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  border: 3px solid #121926 ;
}

.reason-card__title {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* --- Footer --- */
.footer {
  background-color: #121926 ;
  border-top: 1px solid #121926 ;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #bdc3c7;
}

.footer p {
  margin: 0;
}

/* --- Promo Block --- */
.promo-block {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background:  #c4891d;
box-shadow: 0 4px 15px rgba(31, 127, 63, 0.45);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transform: translateX(120%);
  transition: transform 0.5s ease-in-out;
  width: 280px;
}

.promo-block--visible {
  transform: translateX(0);
}

.promo-block__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.promo-block__title {
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.promo-block__text {
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
}

.promo-block__cta {
  background-color: white;
  color: #c4891d;
}

/* --- Exit Intent Popup --- */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay--visible {
  opacity: 1;
  visibility: visible;
}

.popup {
  background-color: #121926 ;
  padding: 2rem;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.popup-overlay--visible .popup {
  transform: scale(1);
}

.popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.popup__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.popup__text {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* --- Desktop Styles (min-width: 768px) --- */
@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .nav__list {
    display: flex;
    gap: 1.5rem;
  }

  .nav__link {
    font-weight: 700;
  }

  .hero__container {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
  }

  .hero__content {
    flex: 1;
  }

  .hero__image-container {
    flex: 1;
  }

  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bonus__cards {
    flex-direction: row;
  }

  .games__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reasons__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Larger Desktop Styles (min-width: 1024px) --- */
@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .games__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .reasons__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .reason-card {
    padding: 2rem 1rem;
  }
}


table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 16px;
}

thead {
  background-color: #f5f5f5;
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #ddd;
}


/* Адаптивність */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.chair-img{
  position: absolute;
    right: 0;
    top:-126px;
    max-width: 60%;
    object-fit: cover;
}
.about__container {
  position: relative;
}
@media (max-width: 1087px) {
  .chair-img {
    display: none
  }
  
}


  
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
}

thead {
  background: #121926;
  color: #fff;
}

th, td {
  padding: 12px 16px;
  text-align: left;
}

tbody tr:nth-child(odd) {
  background: #fff;
  color: #121926;
}

tbody tr:nth-child(even) {
  background: #121926;
  color: #fff;
}
@media(max-width:768px)
{
table {
    display: block;
    overflow-x: auto;
}
    .alignright {
    float: inherit;
    display: block;
}
}

/* Заголовки */
h2, h3, h4, h5, h6 {
  font-family: 'Arial', sans-serif;
  color: white; /* темний фіолетовий */
  margin: 16px 0 8px 0;
  line-height: 1.3;
  font-weight: 600;
}

h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

/* Списки */
ul, ol {
  padding-left: 20px;
  margin: 12px 0;
}

li {
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: white; /* темний фіолетовий текст */
  margin-bottom: 6px;
  position: relative;
}

/* Можна додати стиль маркерів */
li::marker {
  color: #c4891d; /* зелений акцент */
  font-weight: bold;
}
