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

html,
body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #333;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

/* Modern Header */
.main-header {
  background-color: #f9f9fb;
  padding: 40px 20px;
  text-align: center;
}

.header-container {
  max-width: 960px;
  margin: 0 auto;
}

.main-header h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  color: #3478f6;
  margin: 0 auto;
}

.header-subtitle {
  font-size: 14px;
  color: #777;
  max-width: 720px;
  margin: 16px auto 0;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 768px) {
  .main-header h1 {
    font-size: 26px;
  }
}

/* Main Container */
main {
  flex: 1;
  max-width: 1200px;
  width: 95%;
  margin: 20px auto;
}

/* Section Spacing */
.section {
  margin-bottom: 60px;

}

#bonuses {
  margin-bottom: 25px;
}

.section>p {
  font-size: 14px;
}


/* Top Online Casinos Section */
#casino-rating {
  max-width: 1200px;
  margin: 0 auto;

}

.casino-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Compact Casino Card */
.casino-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.casino-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 1px, 0.1);
}

/* Card Top: Two-Part Layout */
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.card-left {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.card-header {
  display: flex;
  align-items: center;
}

.rating-circle {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
  margin-right: 10px;
}

.rating-circle img {
  width: 60px;
  height: 60px;
  border-radius: 5px;
}

.casino-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 10px;
}

.casino-details {
  overflow: hidden;
}

.casino-details h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.3;
  color: #555;
}

.launch-info {
  display: block;
  color: #777;
  font-size: 13px;
  margin-bottom: 2px;
}

.bonus-text {
  display: block;
  font-size: 13px;
  color: #333;
  font-weight: 400;
}

.bonus-text .red {
  color: #f04e23;
}

/* Card Right: Button and Payment Icons */
.card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 140px;
  margin-top: 8px;
}

.play-now {
  background: #3478f6;
  color: #fff;
  border: none;
  height: 44px;
  width: 140px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.play-now:hover {
  background: #255ee9;
}

.payment-icons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.payment-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Card Attributes Line */
.card-attributes {
  margin-top: 12px;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Extra Review Block */
.extra-review {
  margin-top: 6px;
}

.review-text {
  font-size: 13px;
  color: #333;
  margin-bottom: 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.review-link {
  font-size: 13px;
  color: #3478f6;
  text-decoration: underline;
}

/* Author Block */
#author-block {
  background-color: #f9f9fb;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
  max-width: 960px;
  margin: 64px auto 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.author-avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 20px;
  font-weight: bold;
  color: #444;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-position {
  font-size: 14px;
  color: #444;
  margin-top: 4px;
}

.author-bio {
  font-size: 15px;
  color: #444;
  margin-top: 12px;
  line-height: 1.5;
}

.author-profile-button {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  font-size: 14px;
  color: #3478f6;
  border: 1px solid #3478f6;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
}

.author-profile-button:hover {
  background: #3478f6;
  color: #fff;
}

@media (max-width: 768px) {
  #author-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-avatar {
    width: 80px;
    height: 80px;
  }

  .author-name {
    font-size: 18px;
    justify-content: center;
  }
}

/* Bonuses Table */
.bonuses-table-container {
  overflow-x: auto;
  margin: 20px 0;
}

.bonuses-table {
  width: 100%;
  border-collapse: collapse;
}

.bonuses-table th,
.bonuses-table td {
  padding: 15px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 14px;
}

.bonuses-table th {
  background: #f5f5f5;
  font-weight: 600;
}

/* Accordion */
.accordion-item {
  margin-bottom: 15px;
}

.accordion-question {
  background: #e8f0fe;
  border: none;
  padding: 15px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.accordion-question:hover {
  background: #d0e0fd;
}

.accordion-answer {
  background: #f9f9f9;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out, padding 0.3s;
  padding: 0 15px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  font-size: 14px;
}

.accordion-answer p {
  padding: 10px 0;
}

/* Review Card */
.review-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 24px;
  margin-bottom: 20px;
}

.review-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
  color: #3478f6;
}

.star-rating {
  color: #fbbc05;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 16px;
}

.casino-name {
  font-weight: 600;
  margin-top: 6px;
  font-size: 14px;
  color: #555;
}

.review-signature {
  font-size: 14px;
  color: #aaa;
}

/* Modern Footer */
.main-footer {
  background: #f5f5f5;
  width: 100%;
}

.main-footer .footer-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-link {
  color: #3478f6;
  text-decoration: none;
  font-size: 14px;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-disclaimer {
  max-width: 720px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: #333;
  text-align: center;
}

.footer-brand p {
  font-weight: bold;
  margin: 0;
}

.footer-icons p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* Mobile Adaptation */
@media (max-width: 768px) {
  .card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-icons {
    margin: 8px auto 0 auto;
  }

  .card-right {
    align-self: center;
    margin-top: 12px;
  }

  .rating-circle {
    margin-bottom: 8px;
  }

  .casino-logo {
    width: 40px;
    height: 40px;
  }

  .casino-details h3 {
    font-size: 20px;
  }

  .description {
    font-size: 12px;
  }

  .card-attributes {
    text-align: center;
    font-size: 12px;
  }
}

.content__img {
  max-width: 600px;
  width: 100%;
  max-height: 400px;
  height: 100%;
  display: block;
  margin: 20px auto;
  object-fit: contain;
}

h2 {
  margin-bottom: 20px;
}

h3 {
  margin-bottom: 15px;
}

p {
  margin-bottom: 10px;
}

.card-attributes p {
  margin-bottom: 0;
}

ul,
ol {
  margin: 15px 0;
  padding-left: 30px;
}

.operator {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 15px;
}

@media (max-width:850px) {
  .operator {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

.operator__logo {
  max-width: 80px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.operator__logo img {
  border-radius: 5px;
  max-width: 80px;
  width: 100%;
  height: auto;
}

.operator__descr {
  margin: 0 !important;
  font-size: 1.266rem !important;
}

.operator__btn {
  background-color: #0157ff;
  display: block;
  border-radius: .25rem;
  text-align: center;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  width: 100%;
  max-width: 310px;
  line-height: 50px;
  margin-bottom: 10px;
}

.operator__payments {
  display: flex;
  align-items: center;
  gap: 10px;
}

.operator__payments img {
  display: block;
  max-width: 30px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
}

@media (max-width:550px) {
  .operator__payments {
    gap: 5px;
  }

  .main-header {

    padding: 20px 10px;
  }

  .section>p {
    font-size: 13px;
    line-height: 1.4;
  }
}