* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #2a2d3a;
  color: #a8aab4;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #000000;
  padding: 15px 0;
  width: 100%;
  border-bottom: 1px solid #1a1a1a;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 30px;
}

.main__logo {
  width: 160px;
  height: auto;
}

.nav {
  flex: 1;
  position: relative;
}

.nav__checkbox {
  display: none;
}

.nav__toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #e8ff00;
  background: none;
  border: none;
}

.nav__list {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.nav__list li a {
  color: #a8aab4;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav__list li a:hover {
  color: #e8ff00;
}

.header__buttons {
  display: flex;
  gap: 10px;
}

.header__button {
  font-weight: 700;
  font-size: 14px;
  padding: 12px 30px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  text-transform: capitalize;
  min-width: 120px;
}

.header__button--login {
  background: transparent;
  border: 2px solid #e8ff00;
  color: #e8ff00;
}

.header__button--login:hover {
  background: #e8ff00;
  color: #000000;
  transform: translateY(-2px);
}

.header__button--signup {
  background: #e8ff00;
  border: 2px solid #e8ff00;
  color: #000000;
}

.header__button--signup:hover {
  background: #ffff33;
  border-color: #ffff33;
  transform: translateY(-2px);
}

/* ===== BANNER ===== */
.banner__container {
  display: flex;
  justify-content: center;
  margin-top: 0;
  padding: 0;
}

.main__image {
  background-image: url('../images/banner.png');
  background-size: cover;
  background-position: center;
  border-radius: 0;
  width: 100%;
  max-width: 100%;
  height: 500px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #2a2d3a;
}

.welcome-banner__title {
  display: none;
}

.welcome-banner__buttons {
  display: none;
}

.banner-content {
  max-width: 1200px;
  width: 100%;
  padding: 40px 20px;
  margin: 0 auto;
}

.banner-content__title {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  margin-bottom: 30px;
  text-align: center;
}

.banner-content__title .orange__title {
  color: #e8ff00;
}

.banner-content__buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.banner-content__button {
  border-radius: 8px;
  padding: 16px 40px;
  font-weight: 700;
  font-size: 16px;
  text-transform: capitalize;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  min-width: 140px;
  text-decoration: none;
}

.banner-content__button:hover {
  transform: translateY(-2px);
}

.banner-content__button--filled {
  background: #e8ff00;
  color: #000000;
  border: 2px solid #e8ff00;
}

.banner-content__button--filled:hover {
  background: #ffff33;
  border-color: #ffff33;
}

.banner-content__button--outlined {
  background: transparent;
  border: 2px solid #e8ff00;
  color: #e8ff00;
}

.banner-content__button--outlined:hover {
  background: #e8ff00;
  color: #000000;
}

/* ===== MAIN CONTENT ===== */
.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.section {
  width: 100%;
  max-width: 1052px;
  margin-bottom: 40px;
}

.section__title, h1, h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.3;
  color: #e8eaf0;
  margin: 30px 0 20px;
}

h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #8bff63;
  margin: 25px 0 15px;
}

h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #e8eaf0;
  margin: 20px 0 10px;
}

.section__paragraph, p {
  font-size: 14px;
  color: #b8bcc8;
  margin-bottom: 15px;
  line-height: 1.8;
  text-align: justify;
}

.section__list, ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.section__list li, ul li {
  color: #b8bcc8;
  font-size: 14px;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.section__list li::before, ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8bff63;
  font-weight: bold;
  font-size: 16px;
}

ol {
  counter-reset: item;
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

ol li {
  color: #b8bcc8;
  font-size: 14px;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

ol li::before {
  content: counter(item) ".";
  counter-increment: item;
  position: absolute;
  left: 0;
  color: #8bff63;
  font-weight: bold;
}

/* ===== ADVANTAGES BOX ===== */
.advantages-box {
  background: rgba(139, 255, 99, 0.05);
  border-left: 4px solid #8bff63;
  border-radius: 8px;
  padding: 25px;
  margin: 30px 0;
  border: 1px solid rgba(139, 255, 99, 0.15);
}

.advantages-box h2 {
  margin-top: 0;
  font-size: 28px;
}

.advantages-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.advantages-list li {
  background: rgba(139, 255, 99, 0.08);
  padding: 12px 15px;
  margin-bottom: 10px;
  border-radius: 6px;
  padding-left: 40px;
  border: 1px solid rgba(139, 255, 99, 0.2);
}

.advantages-list li::before {
  content: "★";
  color: #8bff63;
  font-size: 18px;
}

/* ===== INFO HIGHLIGHT ===== */
.info-highlight {
  background: rgba(139, 255, 99, 0.05);
  border-left: 4px solid #8bff63;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  border: 1px solid rgba(139, 255, 99, 0.15);
}

.info-highlight h4 {
  margin-top: 0;
  color: #8bff63;
}

/* ===== STEPS LIST ===== */
.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps-list li {
  counter-increment: step;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px 15px 15px 60px;
  margin-bottom: 15px;
  border-radius: 8px;
  position: relative;
  border-left: 3px solid #8bff63;
  border: 1px solid rgba(139, 255, 99, 0.15);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: #8bff63;
  color: #1a1d2e;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.steps-list li ul {
  margin-top: 10px;
}

.steps-list li ul li::before {
  content: "•";
  color: #8bff63;
}

/* ===== TABLE ===== */
.table-responsive {
  overflow-x: auto;
  margin: 25px 0;
}

.promo-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(139, 255, 99, 0.15);
}

.promo-table thead {
  background: rgba(139, 255, 99, 0.1);
  border-bottom: 2px solid #8bff63;
}

.promo-table th {
  padding: 15px;
  text-align: left;
  color: #8bff63;
  font-weight: 700;
  font-size: 14px;
}

.promo-table td {
  padding: 15px;
  border-bottom: 1px solid rgba(139, 255, 99, 0.1);
  color: #b8bcc8;
  font-size: 13px;
}

.promo-table tr:last-child td {
  border-bottom: none;
}

.promo-table tbody tr:hover {
  background: rgba(139, 255, 99, 0.05);
}

/* ===== DEFINITION LIST ===== */
dl {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

dt {
  color: #8bff63;
  font-weight: 700;
  font-size: 15px;
}

dd {
  color: #b8bcc8;
  margin-left: 20px;
  font-size: 14px;
}

/* ===== CASINO GAMES ===== */
.casino-title {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #e8eaf0;
  text-align: center;
  margin: 40px 0 30px;
}

.casino-games {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.game-card {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
  border: 1px solid rgba(139, 255, 99, 0.15);
}

.game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(139, 255, 99, 0.3);
  border-color: #8bff63;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== CTA BUTTONS ===== */
.cta-button-wrapper {
  display: flex;
  justify-content: center;
  margin: 35px 0;
}

.cta-button {
  display: inline-block;
  padding: 16px 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  background: transparent;
  border: 2px solid #8bff63;
  color: #8bff63;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(139, 255, 99, 0.2);
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #8bff63;
  color: #1a1d2e;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(139, 255, 99, 0.4);
}

.cta-button:active {
  transform: translateY(-1px);
}

/* Варіант заповнений */
.cta-button--filled {
  background: #8bff63;
  color: #1a1d2e;
}

.cta-button--filled:hover {
  background: transparent;
  color: #8bff63;
}

/* Пульсуюча анімація */
.cta-button--pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(139, 255, 99, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(139, 255, 99, 0.5);
  }
}

/* ===== FAQ SECTION ===== */
.faqs-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.faq {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(139, 255, 99, 0.15);
}

.faq summary {
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.question-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  transition: background 0.3s;
}

.question-wrapper:hover {
  background: rgba(139, 255, 99, 0.05);
}

.question {
  font-size: 14px;
  font-weight: 600;
  color: #e8eaf0;
  flex: 1;
}

.arrow {
  color: #8bff63;
  font-size: 12px;
  transition: transform 0.3s;
}

.faq[open] .arrow {
  transform: rotate(180deg);
}

.faq[open] {
  border-color: #8bff63;
}

.answer-wrapper {
  padding: 0 20px 20px;
}

.answer {
  font-size: 13px;
  color: #b8bcc8;
  line-height: 1.7;
  margin: 0;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #14161f;
  padding: 40px 20px 20px;
  border-top: 2px solid rgba(139, 255, 99, 0.2);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__casino {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer__links-title {
  font-size: 17px;
  color: #8bff63;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer__link {
  display: block;
  color: #b8bcc8;
  font-size: 13px;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer__link:hover {
  color: #8bff63;
}

.footer__info-wrapper {
  flex: 1;
}

.footer__info-paragraph {
  font-size: 12px;
  color: #7a7e8a;
  line-height: 1.6;
}

.footer__payment {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid rgba(139, 255, 99, 0.1);
}

.footer__payment--providers {
  padding-top: 20px;
  border-top: none;
}

.footer__payment-image {
  height: 40px;
  opacity: 0.6;
  transition: opacity 0.3s;
  filter: grayscale(50%);
}

.footer__payment-image:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1d2e;
}

::-webkit-scrollbar-thumb {
  background: #8bff63;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a3ff7f;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1024px) {
  .casino-games {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .header__container {
    gap: 10px;
  }

  .nav {
    order: 3;
    position: static;
  }

  .nav__list {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #000000;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 0;
    border-bottom: 1px solid #e8ff00;
    z-index: 999;
  }

  .nav__list li {
    border-bottom: 1px solid rgba(232, 255, 0, 0.1);
  }

  .nav__list li:last-child {
    border-bottom: none;
  }

  .nav__list li a {
    display: block;
    padding: 15px 20px;
    text-align: left;
  }

  .nav__checkbox:checked ~ .nav__list {
    max-height: 400px;
  }

  .main__logo {
    width: 130px;
    order: 1;
  }

  .header__buttons {
    order: 2;
    gap: 8px;
    margin-left: auto;
  }

  .header__button {
    padding: 10px 20px;
    font-size: 12px;
    min-width: 90px;
    height: 38px;
  }

  .banner__container {
    margin-top: 70px;
    padding: 0;
  }

  .main__image {
    height: 300px;
    border-radius: 0;
    padding-left: 20px;
  }

  .welcome-banner__title {
    font-size: 32px;
  }

  .welcome-banner__button {
    padding: 10px 20px;
    font-size: 12px;
    height: 38px;
    min-width: 100px;
  }

  .section__title, h1, h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 19px;
  }

  h4 {
    font-size: 16px;
  }

  .casino-games {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .footer__casino {
    flex-direction: column;
    gap: 25px;
  }

  .promo-table {
    font-size: 11px;
  }

  .promo-table th,
  .promo-table td {
    padding: 8px 6px;
  }

  .steps-list li {
    padding-left: 50px;
  }

  .steps-list li::before {
    width: 30px;
    height: 30px;
    font-size: 14px;
    left: 10px;
  }
  
  .cta-button {
    padding: 14px 35px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .header__container {
    flex-wrap: wrap;
  }

  .main__logo {
    width: 110px;
  }

  .header__button {
    padding: 8px 15px;
    font-size: 11px;
    min-width: 75px;
    height: 34px;
  }

  .casino-games {
    grid-template-columns: 1fr;
  }

  .main__image {
    height: 250px;
  }

  .welcome-banner__title {
    font-size: 24px;
  }

  .welcome-banner__buttons {
    flex-direction: column;
    gap: 10px;
  }

  .welcome-banner__button {
    width: 140px;
  }

  .section__title, h1, h2 {
    font-size: 22px;
  }
  
  .cta-button {
    padding: 12px 30px;
    font-size: 13px;
    width: 100%;
    max-width: 280px;
  }

  .promo-table {
    font-size: 10px;
  }

  .promo-table th,
  .promo-table td {
    padding: 6px 4px;
  }
}