/* ========================================
   LumiPlayHub - Simple Flat Design
   French Gambling Portal Style
   ======================================== */

:root {
  --primary: #1a5f7a;
  --primary-dark: #134b61;
  --secondary: #2d8fa5;
  --accent: #e8a838;
  --bg-light: #f5f7f9;
  --bg-white: #ffffff;
  --text-dark: #2c3e50;
  --text-medium: #5a6c7d;
  --text-light: #8899a6;
  --border: #dce3e8;
  --border-light: #e9eef2;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Header / Navigation
   ======================================== */
.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-text:hover {
  text-decoration: none;
}

.nav {
  display: none;
}

.nav-link {
  padding: 8px 12px;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.nav-link:hover {
  color: var(--primary);
  text-decoration: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.age-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  display: none;
}

.menu-btn {
  background: var(--primary);
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  color: white;
  cursor: pointer;
  font-size: 1.1rem;
}

.mobile-nav {
  display: none;
  width: 100%;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}

.mobile-nav.open {
  display: flex;
  flex-direction: column;
}

.mobile-nav .nav-link {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background: var(--bg-white);
  padding: 50px 0 40px;
  border-bottom: 1px solid var(--border);
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.hero h1 span {
  color: var(--primary);
}

.hero-text {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 25px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  font-weight: 600;
}

.hero-cta:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
  list-style: none;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.hero-features li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: bold;
}

/* ========================================
   Section Styles
   ======================================== */
.section {
  padding: 40px 0;
}

.section-alt {
  background: var(--bg-white);
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: center;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  color: var(--text-medium);
  text-align: center;
  margin-bottom: 30px;
}

/* ========================================
   Operator Cards
   ======================================== */
.operators-grid {
  display: grid;
  gap: 20px;
}

.operator-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.operator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.operator-name {
  font-size: 1.15rem;
  font-weight: 600;
}

.operator-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars {
  color: var(--accent);
  font-size: 0.9rem;
}

.score {
  font-weight: 700;
  color: var(--text-dark);
}

.operator-desc {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.operator-bonus {
  background: var(--bg-light);
  border-radius: 6px;
  padding: 12px 15px;
  margin-bottom: 15px;
}

.bonus-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.bonus-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.operator-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--bg-light);
  text-decoration: none;
}

/* ========================================
   Info Blocks
   ======================================== */
.info-block {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
}

.info-block h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.info-block p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 10px;
}

.info-block p:last-child {
  margin-bottom: 0;
}

.info-list {
  list-style: none;
}

.info-list li {
  padding: 12px 15px;
  background: var(--bg-light);
  border-left: 3px solid var(--secondary);
  margin-bottom: 10px;
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* ========================================
   Prevention Section
   ======================================== */
.prevention {
  background: #fef9e7;
  border: 1px solid #f5d76e;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}

.prevention-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  margin-bottom: 15px;
}

.prevention-badge span {
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
}

.prevention h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.prevention p {
  color: var(--text-medium);
  margin-bottom: 15px;
}

.prevention-link {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: #b8860b;
  font-weight: 600;
}

.prevention-link:hover {
  background: rgba(232, 168, 56, 0.1);
  text-decoration: none;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--text-dark);
  color: #b8c5d0;
  padding: 40px 0 30px;
}

.footer-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 30px;
}

.footer h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 15px;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-age {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-age span:first-child {
  font-weight: 800;
  padding: 3px 8px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  font-size: 0.85rem;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: #b8c5d0;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #3d5266;
  padding-top: 25px;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.8;
}

.footer-bottom a {
  color: #b8c5d0;
}

/* ========================================
   Page Content
   ======================================== */
.page-hero {
  background: var(--bg-white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.page-hero h1 span {
  color: var(--primary);
}

.page-hero p {
  color: var(--text-medium);
}

.page-content {
  padding: 40px 0;
}

.content-box {
  max-width: 800px;
  margin: 0 auto;
}

.article h2 {
  font-size: 1.25rem;
  margin: 30px 0 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.article h3 {
  font-size: 1.1rem;
  margin: 20px 0 10px;
}

.article p {
  color: var(--text-medium);
  margin-bottom: 15px;
  line-height: 1.7;
}

.article ul, .article ol {
  margin: 15px 0 15px 25px;
  color: var(--text-medium);
}

.article li {
  margin-bottom: 8px;
}

.article a {
  color: var(--primary);
}

.cta-block {
  text-align: center;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
}

.cta-block p {
  margin-bottom: 15px;
}

/* ========================================
   Cookie Banner
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: white;
  padding: 15px 20px;
  z-index: 1000;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--secondary);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.cookie-btn-accept {
  background: var(--secondary);
  color: white;
}

.cookie-btn-decline {
  background: transparent;
  color: white;
  border: 1px solid #5a6c7d;
}

/* ========================================
   Responsive
   ======================================== */
@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  
  .menu-btn {
    display: none;
  }
  
  .age-badge {
    display: block;
  }
  
  .operators-grid {
    grid-template-columns: 1fr;
  }
  
  .operator-card {
    display: grid;
    grid-template-columns: 1fr 180px 150px;
    align-items: center;
    gap: 20px;
  }
  
  .operator-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
  }
  
  .operator-desc {
    margin-bottom: 0;
  }
  
  .operator-bonus {
    margin-bottom: 0;
  }
  
  .operator-actions {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }
  
  .cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 2.2rem;
  }
}
