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

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

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.header .logo img {
  max-height: 50px;
}

.header-nav a {
  margin-left: 15px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 10px 20px;
  border: 2px solid #333;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.header-nav a:hover {
  background-color: #333;
  color: #fff;
}

/* CTA Block */
.cta {
  width: 100%;
  background-color: #f3f3f3;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  margin: 20px 0;
}

.cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
}

.cta-logo img {
  max-height: 60px;
}

.btn-cta {
  background-color: #d9534f;
  color: #fff;
  font-size: 1.2em;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-cta:hover {
  background-color: #c9302c;
}

/* Main Content */
.content {
  padding: 40px 0;
}

.content h1 {
  margin-bottom: 20px;
  font-size: 1.9em;
  text-align: center;
}

.content p {
  margin-bottom: 20px;
  font-size: 1.1em;
  text-align: left;
}

/* Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table th, table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

/* List Styling */
ul {
  margin: 20px 0;
  padding-left: 20px;
}

ul li {
  margin-bottom: 10px;
  list-style-type: disc;
}

/* À propos de l'auteur */
.about-author {
  padding: 40px 10px;
  text-align: center;
}

.about-author h2 {
  margin-bottom: 20px;
  font-size: 1.5em;
}

.author-details {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-details img {
  width: 200px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 20px;
}

.author-info {
  max-width: 800px;
}

/* Avis utilisateurs */
.reviews {
  padding: 40px 10px;
  background-color: #fafafa;
  text-align: center;
}

.reviews h2 {
  margin-bottom: 30px;
  font-size: 1.5em;
}

.reviews-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  flex: 0 1 calc(33.333% - 20px); /* 3 в ряд с учетом gap */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}


.review-rating {
  font-size: 1.2em;
  margin-bottom: 10px;
}

/* FAQ Section */
.faq {
  padding: 40px 10px;
  background-color: #fafafa;
  text-align: center;
}

.faq h2 {
  margin-bottom: 40px;
  font-size: 1.8em;
  color: #333;
  position: relative;
  padding-bottom: 15px;
}

.faq h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #d9534f;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 15px;
}

.faq-item {
  margin-bottom: 0;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  width: 100%;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.faq-question {
  padding: 20px;
  background-color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.faq-item.active .faq-question {
  background-color: #f8f8f8;
  border-bottom-color: #e0e0e0;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  text-align: left;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
  padding-right: 20px;
}

.faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #d9534f;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: #fff;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

.faq-answer p {
  margin: 0 0 15px 0;
  text-align: left;
  line-height: 1.6;
  color: #555;
}

.faq-source {
  display: block;
  text-align: right;
  font-size: 0.85em;
  color: #888;
  font-style: italic;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .faq-container {
    grid-template-columns: 1fr;
  }
  
  .faq-question h3 {
    font-size: 1em;
  }
  
  .faq {
    padding: 30px 10px;
  }
}

/* Footer */
.footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-nav {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #d9534f;
}

.footer-warning {
  font-size: 0.9em;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(51,51,51,0.9);
  color: #fff;
  text-align: center;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cookie-banner p {
  margin-bottom: 10px;
}

.cookie-banner .btn {
  background-color: #d9534f;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Buttons */
.btn {
  background-color: transparent;
  color: #333;
  border: 2px solid #333;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #333;
  color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }
  .header-nav {
    margin-top: 10px;
  }
  .cta-container {
    flex-direction: column;
    text-align: center;
  }
  .reviews-container {
    flex-direction: column;
    align-items: center;
  }
  .author-details {
    flex-direction: column;
  }
  table {
    overflow-x: auto;
    display:block;
  }
}
h2 {
  font-size: 1.5em;
}
h3 {
  font-size: 1.2em;
}
.content img {
  max-width: 100%;
  height: auto;
  margin:10px auto;
  display: block;
  border-radius: 10px;
}

/* Contact Page Styles */
.contact-info {
  max-width: 800px;
  margin: 0 auto;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.contact-method {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-method h2 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.3em;
}

.contact-method p {
  margin-bottom: 10px;
}

.contact-method a {
  color: #d9534f;
  text-decoration: none;
}

.contact-method a:hover {
  text-decoration: underline;
}

.contact-faq, .contact-security {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Responsible Gaming Page Styles */
.responsible-gaming {
  max-width: 800px;
  margin: 0 auto;
}

.responsible-gaming-section {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.control-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tool {
  background: #fafafa;
  padding: 20px;
  border-radius: 8px;
}

.tool h3 {
  color: #d9534f;
  margin-bottom: 10px;
}

.help-resources {
  background: #fafafa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.help-resources a {
  color: #d9534f;
  text-decoration: none;
}

.help-resources a:hover {
  text-decoration: underline;
}

/* Privacy Policy Page Styles */
.privacy-policy {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-section {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.data-collection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.data-collection h3 {
  color: #d9534f;
  margin-bottom: 15px;
}

.privacy-section ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 15px 0;
}

.privacy-section ul li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .contact-methods,
  .control-tools,
  .data-collection {
    grid-template-columns: 1fr;
  }
  
  .contact-method,
  .responsible-gaming-section,
  .privacy-section {
    padding: 20px;
  }
}
.btn-play {
  display:flex;
  gap:10px;
  justify-content: center;
  margin-bottom: 20px;
}