/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Styles */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #121212;
  color: #f0f0f0;
  line-height: 1.6;
  padding-top: 80px;
  text-align: center;
}

/* Header */
header {
  background-color: #1e1e1e;
  padding: 5px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.logo img {
  height: 50px;
  width: auto;
  margin-top: 10px;
}
.nav-menu {
  flex: 1;
}
.menu-list {
  list-style: none;
  display: flex;
  justify-content: flex-end;
}
.menu-list li {
  margin-left: 20px;
}
.menu-list li a {
  color: #e0c341;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
.menu-list li a:hover {
  color: #f5d76e;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.burger span {
  height: 3px;
  width: 25px;
  background-color: #e0c341;
  margin-bottom: 4px;
  border-radius: 5px;
}

/* Content Wrapper - Texte en largeur unique */
.content-wrapper {
  max-width: 1020px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
}
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3 {
  text-align: center;
}
.content-wrapper h1 {
  margin-bottom: 30px;
}

/* Section Démo */
.game-demo-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
}
.demo-image-container {
  position: relative;
}
.demo-placeholder {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.demo-buttons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.demo-btn {
  padding: 12px 20px;
  background-color: #ffea00;
  color: #000000;
  border: 2px solid #ffffff;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  text-decoration: none;
}
.demo-btn:hover {
  background-color: #ffe600;
  transform: scale(1.05);
}
.demo-iframe {
  width: 100%;
  border: none;
  border-radius: 8px;
  height: 600px;
}
.demo-bottom-btn {
  display: block;
  background-color: #28a745;
  color: #ffffff;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin: 20px auto 0;
  transition: background-color 0.3s, transform 0.3s;
}
.demo-bottom-btn:hover {
  transform: scale(1.03);
}

/* Section TOP Casinos et Casino Cards */
#top-casinos {
  padding: 40px 20px;
}
.casino-rating-header h2 {
  font-size: 2em;
  margin-bottom: 10px;
  text-align: center;
}
.casino-features {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.casino-features .feature-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9em;
  color: #f0f0f0;
}
.casino-features .feature-item .icon {
  font-size: 1.2em;
}

/* Casino Cards */
.casino-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.casino-card {
  background: #1e1e1e;
  /* color: #121212; */
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  padding: 15px;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ranking-marker {
  background-color: #28a745;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 5px;
  width: fit-content;
  font-weight: bold;
}
.casino-info {
  display: flex;
  gap: 10px;
  align-items: center;
}
.casino-logo img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}
.casino-details h3 {
  font-weight: bold;
  margin: 0;
}
.bonus-label {
  color: #007bff;
  font-size: 0.85em;
  margin: 0;
  text-align: center;
}
.bonus-offer {
  font-size: 0.9em;
  margin: 5px 0 0;
  text-align: center;
}
.casino-rating {
  text-align: center;
  font-weight: bold;
}
.casino-action {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}
.casino-action .btn {
  background-color: #28a745;
  color: #ffffff;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  text-align: center;
}
.casino-action .btn:hover {
  background-color: #218838;
}
.review-link {
  font-size: 0.85em;
  color: #007bff;
  text-decoration: none;
}
.review-link:hover {
  text-decoration: underline;
}

.casino-card-1 {
  background: #ffffff;
  color: #000000;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  padding: 0;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.casino-logo-1 {
  width: 100%;
  height: 120px;
  background: #000000;
  display: flex;
  justify-items: center;
  align-items: center;
}
.casino-info-1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  height: calc(100% - 120px);
  padding: 15px 10px 20px;
}
.rate-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.casino-card-1 .rate-block img {
  width: 30px;
  height: 30px;
  margin: 0 5px;
}
.casino-info-1 .casino-details h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}
.casino-info-1 .casino-details .bonus-label {
  color: #000;
  font-size: 16px;
  text-align: center;
  margin-top: 15px;
}
.casino-info-1 .casino-details .bonus-offer {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
}

/* Section Game Data */
.game-data-table-container {
  margin: 20px auto;
  overflow-x: auto;
}
.game-data-table {
  width: 100%;
  margin: 0 auto;
  border: none;
  border-radius: 8px;
  border-spacing: 0;
}
.game-data-table th, .game-data-table td {
  padding: 10px;
  text-align: left;
}
.game-data-table th {
  background-color: #1e1e1e;
  color: #e0c341;
}

.game-data-table thead tr th {
  border-color: #10111b;
}

.game-data-table th:first-child {
  border-top-left-radius: 8px;
}

.game-data-table th:last-child {
  border-top-right-radius: 8px;
}

.game-data-table tbody tr td {
  border-color: #4b4e6e;
  background: #25262a;
}

.game-data-table tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

.game-data-table tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}

/* Section Description du Jeu */
#game-description {
  padding: 20px;
}
#game-description p {
  margin: 15px 0;
}
#game-description ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}
#game-description ol {
  padding-left: 20px;
  margin-bottom: 15px;
}

/* Section FAQ */
#faq {
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}
.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}
.faq-item h3 {
  color: #e0c341;
}

#fixed-bottom {
  position: fixed;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: center;
  padding: 20px 20px 10px;
}

.fixed-bottom-btn {
  background-color: #ffea00;
  color: #000000;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s, transform 0.3s;
}
.fixed-bottom-btn:hover {
  transform: scale(1.01);
}
.fixed-bottom-content {
  display: flex;
  flex-direction: row;
  max-width: 400px;
  --container-widget-flex-grow: 1;
  --container-widget-align-self: stretch;
  --flex-wrap-mobile: wrap;
  justify-content: center;
  align-items: center;
  --gap: 10px 10px;
  gap: 10px 10px;
  --row-gap: 10px;
  --column-gap: 10px;
  padding: 10px 0;
}
.fixed-bottom-content img {
  width: 65px;
  height: auto;
}
#random-number-wrapper{
  display: flex;
  gap: 8px;
  color: white;
  font-size: 14px;
}

/* Footer */
footer {
  margin-top: 40px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: #1e1e1e;
  padding: 20px;
}
.footer-section h3 {
  color: #e0c341;
  margin-bottom: 10px;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin-bottom: 8px;
}
.footer-section ul li a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-section ul li a:hover {
  color: #f5d76e;
}
.footer-bottom {
  text-align: center;
  padding: 10px 10px 130px;
  background-color: #121212;
}

/* Language bar */

.linking_bl {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 10px;
}

.linking_bl__container {
  position: relative;
}

.linking_btn {
  position: relative;
  right: 0;
  padding: 6px 10px;
  background: #3b3c50;
  border: 1px solid #e0c341;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  color: #e0c341;
}

.linking_btn:hover {
  background: #222335;
}

.flag {
  width: 20px;
  height: 15px;
  display: flex;
}

.flag img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.linking_bl_menu {
  display: none;
  background: #222335;
  border: 1px solid #e0c341;
  border-radius: 8px;
  padding: 5px 0;
  min-width: 69px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
  max-width: max-content;
}

.linking_bl_menu.active {
  display: block;
  list-style-type: none;
  position: absolute;
  top: 34px;
}

.linking_bl_menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  color: #e0c341;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.linking_bl_menu li a:hover {
  background: #3b3c50;
}

.linking_bl_menu li img {
  width: 20px;
  height: 15px;
  object-fit: contain;
}

.menu-list li {
  position: relative;
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: -15px;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #1e1e1e;
  flex-direction: column;
  border: 1px solid #333;
  border-top: 0;
  padding-top: 10px;
  border-radius: 5px;
  min-width: 200px;
  text-align: left;
}
.submenu li {
  margin: 10px;
}
.submenu li a {
  padding: 10px 10px 10px 5px ;
}
.menu-list li:hover > .submenu {
  display: block;
}
.menu-sub::after {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  padding-left: 5px;
  font-size: 12px;
}
.menu-sub::after {
  content: "▼";
}
/* Responsive Styles */
@media (max-width: 920px) {
  .menu-list {
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #1e1e1e;
    flex-direction: column;
    /*width: 200px;*/
    border: 1px solid #333;
    border-radius: 5px;
    display: none;
  }
  .menu-list.active {
    display: flex;
  }
  .menu-list li {
    margin: 10px;
    text-align: center;
  }
  .burger {
    display: flex;
  }
  .submenu {
    display: block;
    position: relative;
    left: 0;
    margin: 10px auto;
    border-top: 1px solid #333;
    padding-top: 0;
    min-width: unset;
  }
}
@media (max-width: 768px) {
  .demo-iframe {
    height: 400px;
  }
  .casino-cards {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .content-wrapper {
    padding: 10px;
  }
  .burger span {
    width: 20px;
  }
}
.reviews-new-class {
  max-width: 1200px;
  width: auto;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
}
.reviews-new-class .review-card-new {
  background-color: #1e1e1e;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s;
  color: #FFFFFF;
}
.reviews-new-class .review-card-new:hover {
  transform: translateY(-5px);
}
.reviews-new-class .review-card-new .review-header-new-class {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.review-card-new .review-header-new-class .user-name-new-new-class {
  font-size: 18px;
  font-weight: 500;
}
.review-card-new .review-header-new-class .user-rating-new-class {
  font-size: 16px;
  color: #e0c341;
}
.reviews-new-class .review-card-new .user-review-new-class {
  font-size: 16px;
  line-height: 1.6;
}
#game-description img, #demo-jeu img {
  width: 800px;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin: 20px auto;
}
.casino-review {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap:0;
  justify-items: center;
  align-items: center;
  margin: 20px 0;
  border-bottom: 1px solid #cdcdcd;
  position: relative;
}
.casino-review-img {
  width: 200px;
  padding: 20px;
  background-color: #ffffff24;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  border: 1px solid #9d9696;
}
.casino-review-img img {
  width: 150px;
  height: auto;
  max-width: 100%;
  margin: auto;
}
.casino-review-text {
  padding: 0 20px 20px 20px;
  width: calc(100% - 200px);
}
@media (max-width: 900px) {
  .casino-review {
    flex-direction: column;
  }
  .casino-review-img {
    width: 250px;
    margin: 20px auto;
  }
  .casino-review-text {
    padding: 0 0 20px 0;
    width: 100%;
  }
}
blockquote {
  border-left: 2px solid #e0c341;
  background-color: rgba(237, 237, 237, 0.12);
  margin: 30px auto;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
}