/* ========================================
   BrightSensePlay - Simple Flat Design
   French Gambling Portal Style
   ======================================== */

:root {
  --primary: #e68a7b;
  --primary-dark: #cf7466;
  --secondary: #f0b3a8;
  --accent: #8a5a44;
  --bg-light: #fbf3ee;
  --bg-white: #ffffff;
  --text-dark: #2f2622;
  --text-medium: #594a43;
  --text-light: #8a7b73;
  --border: #ead7cf;
  --border-light: #f1e3dd;
}

*, *::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
   ======================================== */
.site-top {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.top-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;
}

.brandmark {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.brandmark:hover {
  text-decoration: none;
}

.top-nav {
  display: none;
}

.top-link {
  padding: 8px 12px;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.top-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;
}

.drawer-nav {
  display: none;
  width: 100%;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}

.drawer-nav.open {
  display: flex;
  flex-direction: column;
}

.drawer-nav .top-link {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

/* ========================================
   Hero Section
   ======================================== */
.masthead {
  background: var(--bg-white);
  padding: 50px 0 40px;
  border-bottom: 1px solid var(--border);
}

.masthead-content {
  max-width: 700px;
}

.masthead h1 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.masthead h1 span {
  color: var(--primary);
}

.hero-text {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 25px;
  line-height: 1.7;
}

.masthead-cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  font-weight: 600;
}

.masthead-cta:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.masthead-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
  list-style: none;
}

.masthead-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.masthead-points li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: bold;
}

/* ========================================
   Section Styles
   ======================================== */
.block {
  padding: 40px 0;
}

.block-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 {
  display: grid;
  gap: 20px;
}

.op-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.op-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.op-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);
}

.op-desc {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.op-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);
}

.op-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: #fff4ec;
  border: 1px solid #f0c7bb;
  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
   ======================================== */
.site-footer {
  background: var(--text-dark);
  color: #b8c5d0;
  padding: 40px 0 30px;
}

.footer-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 30px;
}

.site-footer h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 15px;
}

.site-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-head {
  background: var(--bg-white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.page-head h1 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.page-head h1 span {
  color: var(--primary);
}

.page-head p {
  color: var(--text-medium);
}

.page-body {
  padding: 40px 0;
}

.content-wrap {
  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) {
  .top-nav {
    display: flex;
  }
  
  .menu-btn {
    display: none;
  }
  
  .age-badge {
    display: block;
  }
  
  .operators {
    grid-template-columns: 1fr;
  }
  
  .op-card {
    display: grid;
    grid-template-columns: 1fr 180px 150px;
    align-items: center;
    gap: 20px;
  }
  
  .op-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
  }
  
  .op-desc {
    margin-bottom: 0;
  }
  
  .op-bonus {
    margin-bottom: 0;
  }
  
  .op-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) {
  .masthead h1 {
    font-size: 2.2rem;
  }
}
