/* ========================================
   hubgamebob - Simple Flat Design
   French Betting Portal Style
   ======================================== */

:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --secondary: #06b6d4;
  --accent: #f97316;
  --bg-light: #0b1020;
  --bg-white: #0f172a;
  --text-dark: #f8fafc;
  --text-medium: #cbd5e1;
  --text-light: #94a3b8;
  --border: rgba(148, 163, 184, 0.18);
  --border-light: rgba(148, 163, 184, 0.12);
  --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 22px 56px rgba(0, 0, 0, 0.38);
  --ring: 0 0 0 4px rgba(124, 58, 237, 0.28);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
}

*, *::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: #a78bfa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

*:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 8px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Header / Navigation
   ======================================== */
.hgb-topbar {
  background: rgba(15, 23, 42, 0.72);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hgb-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.hgb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 18px rgba(31, 157, 99, 0.20);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.hgb-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.hgb-brand-name:hover {
  text-decoration: none;
}

.hgb-nav {
  display: none;
}

.hgb-nav-link {
  padding: 8px 12px;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.hgb-nav-link:hover {
  color: #ffffff;
  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;
}

.hgb-menu-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 12px;
  padding: 8px 12px;
  color: white;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 16px 34px rgba(124, 58, 237, 0.25);
}

.hgb-mobile-nav {
  display: none;
  width: 100%;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}

.hgb-mobile-nav.open {
  display: flex;
  flex-direction: column;
}

.hgb-mobile-nav .hgb-nav-link {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

/* ========================================
   Hero Section
   ======================================== */
.hgb-hero,
.hero {
  background: radial-gradient(1200px 520px at 10% -10%, rgba(249, 115, 22, 0.28), transparent 60%),
    radial-gradient(1000px 480px at 90% -20%, rgba(6, 182, 212, 0.30), transparent 58%),
    radial-gradient(900px 520px at 60% 10%, rgba(124, 58, 237, 0.40), transparent 62%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.75), rgba(11, 16, 32, 1));
  padding: 56px 0 42px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hgb-hero .container,
.hero .container {
  position: relative;
}

.hgb-hero::before,
.hero::before {
  content: '';
  position: absolute;
  width: 680px;
  height: 680px;
  left: -260px;
  top: -340px;
  background: radial-gradient(circle at 35% 35%, rgba(249, 115, 22, 0.36), transparent 60%);
  filter: blur(6px);
  transform: rotate(14deg);
  pointer-events: none;
}

.hgb-hero::after,
.hero::after {
  content: '';
  position: absolute;
  width: 720px;
  height: 720px;
  right: -320px;
  bottom: -420px;
  background: radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.32), transparent 62%);
  filter: blur(7px);
  transform: rotate(-10deg);
  pointer-events: none;
}

.hgb-hero-content,
.hero-content {
  max-width: 700px;
}

.hgb-hero h1,
.hero h1 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.hgb-hero h1 span,
.hero h1 span {
  color: #f97316;
}

.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: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 14px;
  font-weight: 600;
  box-shadow: 0 18px 44px rgba(124, 58, 237, 0.28);
}

.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
   ======================================== */
.hgb-section,
.section {
  padding: 40px 0;
}

.hgb-panel,
.section-alt {
  background: rgba(15, 23, 42, 0.58);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.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;
}

.section-divider {
  display: block;
  width: 100%;
  height: 42px;
  margin-top: -1px;
}

.section-divider path {
  fill: rgba(15, 23, 42, 0.55);
}

/* ========================================
   Portal Components (Homepage)
   ======================================== */
.hgb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hgb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  list-style: none;
}

.hgb-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.35);
  border-radius: 999px;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.hgb-chip strong {
  color: #ffffff;
  font-weight: 700;
}

.hgb-kpi-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  grid-template-columns: 1fr;
}

.hgb-kpi {
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.72);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.hgb-kpi-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.hgb-kpi-number {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hgb-kpi-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.40);
  background: rgba(124, 58, 237, 0.12);
  color: #c4b5fd;
}

.hgb-kpi p {
  color: var(--text-medium);
  margin: 0;
}

.hgb-section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.hgb-section-head h2 {
  font-size: 1.6rem;
}

.hgb-section-lead {
  color: var(--text-medium);
  max-width: 780px;
}

.hgb-highlight {
  border: 1px solid rgba(249, 115, 22, 0.32);
  background: radial-gradient(700px 280px at 20% 0%, rgba(249, 115, 22, 0.14), transparent 55%),
    radial-gradient(700px 280px at 80% 0%, rgba(6, 182, 212, 0.12), transparent 55%),
    rgba(15, 23, 42, 0.62);
}

@media (min-width: 768px) {
  .hgb-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.info-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ========================================
   Operator Cards
   ======================================== */
.hgb-ops,
.operator-grid {
  display: grid;
  gap: 20px;
}

.hgb-opcard,
.operator-tile {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hgb-opcard:hover,
.operator-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(167, 139, 250, 0.38);
}

.hgb-ophead,
.operator-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.hgb-opname,
.operator-title {
  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);
}

.hgb-opcopy,
.operator-copy {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.hgb-offer,
.operator-offer {
  background: rgba(11, 16, 32, 0.72);
  border-radius: var(--radius-md);
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid var(--border-light);
}

.hgb-points,
.operator-features {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.hgb-points li,
.operator-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-medium);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hgb-points li::before,
.operator-features li::before {
  content: '';
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 6px 10px rgba(31, 157, 99, 0.18);
  flex: 0 0 10px;
}

.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: #f97316;
}

.hgb-cta,
.operator-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 18px 46px rgba(124, 58, 237, 0.28);
}

.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.40);
}

.btn-secondary:hover {
  background: rgba(167, 139, 250, 0.10);
  text-decoration: none;
}

/* ========================================
   Info Blocks
   ======================================== */
.info-block {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.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: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(249, 115, 22, 0.38);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.prevention-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), #fb7185);
  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: var(--accent);
  font-weight: 600;
}

.prevention-link:hover {
  background: rgba(15, 107, 74, 0.10);
  text-decoration: none;
}

/* ========================================
   Footer
   ======================================== */
.hgb-footer {
  background: rgba(2, 6, 23, 0.92);
  color: var(--text-medium);
  padding: 40px 0 30px;
}

.hgb-footer-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 30px;
}

.hgb-footer h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 15px;
}

.hgb-footer p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.hgb-footer-nav li {
  margin-bottom: 8px;
}

.hgb-footer-nav a {
  color: var(--text-medium);
  font-size: 0.9rem;
}

.hgb-footer-nav a:hover {
  color: white;
}

.hgb-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 25px;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.8;
}

.hgb-footer-bottom a {
  color: #e7d9d2;
}

/* ========================================
   Page Content
   ======================================== */
.page-hero {
  background: rgba(255, 255, 255, 0.78);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.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);
}

.bonus-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.bonus-list li {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--text-medium);
  box-shadow: 0 8px 18px rgba(59, 47, 42, 0.07);
}

.cta-block p {
  margin-bottom: 15px;
}

/* ========================================
   Cookie Banner
   ======================================== */
.hgb-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: white;
  padding: 15px 20px;
  z-index: 1000;
}

.hgb-cookie.hidden {
  display: none;
}

.hgb-cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hgb-cookie-text {
  font-size: 0.85rem;
  line-height: 1.6;
}

.hgb-cookie-text a {
  color: var(--secondary);
}

.hgb-cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hgb-cookie-btn {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.hgb-cookie-btn-accept {
  background: var(--secondary);
  color: white;
}

.hgb-cookie-btn-decline {
  background: transparent;
  color: white;
  border: 1px solid #5a6c7d;
}

/* ========================================
   Responsive
   ======================================== */
@media (min-width: 768px) {
  .hgb-nav {
    display: flex;
  }
  
  .hgb-menu-btn {
    display: none;
  }
  
  .age-badge {
    display: block;
  }
  
  .hgb-ops,
  .operator-grid {
    grid-template-columns: 1fr;
  }
  
  .hgb-opcard,
  .operator-tile {
    display: grid;
    grid-template-columns: 1fr 180px 150px;
    align-items: center;
    gap: 20px;
  }
  
  .hgb-ophead,
  .operator-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
  }
  
  .hgb-opcopy,
  .operator-copy {
    margin-bottom: 0;
  }
  
  .hgb-offer,
  .operator-offer {
    margin-bottom: 0;
  }
  
  .hgb-cta,
  .operator-cta {
    flex-direction: column;
  }
  
  .hgb-footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .hgb-cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hgb-hero h1,
  .hero h1 {
    font-size: 2.2rem;
  }
}
