/* Jeuxfrfiables.com - Custom Styles */
:root {
  --accent-color: #D32F2F;
  --accent-light: #fed5b8;
  --accent-dark: #a32b2b;
  --dark-bg: #0e1834;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: "PT Sans", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Header */
.header {
  background: var(--dark-bg);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Main Content */
main {
  padding-top: 80px;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-dark {
  background: var(--dark-bg);
  color: var(--text-light);
}

.section-light {
  background: var(--light-bg);
}

.section-white {
  background: var(--white);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a2951 100%);
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-warning {
  background: rgba(211, 47, 47, 0.1);
  border: 1px solid var(--accent-color);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--accent-light);
}

/* Buttons */
.btn-primary {
  background: var(--accent-color);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline-primary {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: var(--border-radius);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--accent-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.platform-card {
  background: var(--white);
  position: relative;
}

.platform-card .card-header {
  background: var(--light-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.platform-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-color);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.platform-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.rating {
  color: #ffc107;
  margin-bottom: 1rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.features-list li {
  padding: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.features-list li::before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  margin-right: 0.5rem;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.payment-badge {
  background: #6c5ce7;
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* News Cards */
.news-card {
  background: var(--white);
  height: 100%;
}

.news-card .card-body {
  padding: 1.5rem;
}

.news-date {
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-card h5 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* Tips Section */


.tip-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
}

.tip-number {
  background: var(--accent-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  position: absolute;
  top: -20px;
  left: 2rem;
}

.tip-item h4 {
  margin-top: 1rem;
  color: var(--text-dark);
}

/* Testimonials */
.testimonial-carousel {
  background: var(--light-bg);
  padding: 3rem 0;
}

.testimonial-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  margin: 0 1rem;
}

.testimonial-rating {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent-color);
}

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  background: var(--light-bg);
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--accent-light);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--text-dark);
  display: none;
}

.faq-answer.show {
  display: block;
}

/* Responsible Gaming */
.responsible-gaming {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 3rem 0;
}

.age-restriction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.age-icon {
  background: var(--accent-color);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.partner-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.partner-logo {
  width: 120px;
  height: 60px;
  background: var(--white);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Popups */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.popup-content h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.popup-content p {
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.popup-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 1rem;
  z-index: 1001;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  margin-bottom: 0;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {

.navbar-nav .nav-link {
  color: #1A0F0F !important;
}
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .partner-logos {
    gap: 1rem;
  }
  
  .partner-logo {
    width: 100px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .popup-content {
    padding: 1.5rem;
  }
  
  .popup-buttons {
    flex-direction: column;
  }
}
