/* FranceCasinoPicks — Design System v1 (FR GEO)
   Unique palette, tokens, animations, and components. */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;600;800&family=Spectral:wght@500;700&display=swap");

:root {
  /* Colors - distinct from original */
  --surface-0: #0b1020; /* deep night */
  --surface-1: #121936; /* indigo navy */
  --surface-2: #1b2350; /* panel */
  --ink-0: #f7f9ff; /* high contrast text */
  --ink-1: #c9d4ff; /* dim text */
  --brand-0: #ffd166; /* saffron */
  --brand-1: #ef476f; /* raspberry */
  --brand-2: #06d6a0; /* mint */
  --brand-3: #118ab2; /* azure */
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;
  --w: 1220px;

  /* Typography */
  --font-ui: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  --font-deco: "Spectral", Georgia, "Times New Roman", serif;

  /* Motion */
  --ease-1: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-ui);
  background: radial-gradient(
      1400px 700px at 100% -10%,
      rgba(17, 138, 178, 0.15),
      transparent 60%
    ),
    radial-gradient(
      1200px 600px at -10% 110%,
      rgba(239, 71, 111, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, var(--surface-0), var(--surface-1));
  color: var(--ink-0);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--brand-2);
  text-decoration: none;
}
a:hover {
  color: var(--brand-0);
}

/* Utilities */
.u-shell {
  max-width: var(--w);
  margin-inline: auto;
  padding: 16px;
}
.u-grid {
  display: grid;
  gap: 24px;
}
.u-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.u-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .u-grid-2,
  .u-grid-3 {
    grid-template-columns: 1fr;
  }
}

.u-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.hr-line {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 36px 0;
}

/* Top navigation */
.nav-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 16, 32, 0.8);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-head .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-mark {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.brand-name {
  font: 800 26px/1 var(--font-ui);
  letter-spacing: 0.2px;
  color: var(--ink-0);
}
.brand-tag {
  font: 600 12px/1 var(--font-ui);
  color: var(--ink-1);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink-1);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.nav-links a:hover {
  color: var(--ink-0);
  border-color: var(--line);
}

/* Hero */
.hero-unit {
  padding: 58px 0 32px;
  text-align: center;
}
.hero-title {
  font-family: var(--font-deco);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  margin: 0 0 10px;
}
.hero-lead {
  color: var(--ink-1);
  font-size: clamp(16px, 2.1vw, 20px);
  max-width: 880px;
  margin: 0 auto;
}
.hero-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.pill {
  border: 1px dashed rgba(255, 255, 255, 0.3);
  color: var(--ink-0);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0)
  );
}

/* Cards grid */
.grid-hubs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 1080px) {
  .grid-hubs {
    grid-template-columns: 1fr;
  }
}

.tile {
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateZ(0);
}
.tile header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  border-bottom: 1px solid var(--line);
}
.tile header strong {
  font-size: 20px;
  color: var(--ink-0);
}
.tile small {
  color: var(--ink-1);
}
.tile .rating {
  color: var(--brand-0);
  font-weight: 800;
  border: 2px solid var(--brand-0);
  padding: 5px 12px;
  border-radius: 999px;
}
.tile .content {
  padding: 16px;
  display: grid;
  gap: 12px;
  flex-grow: 1;
}
.kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.kv > div {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.14);
}
.kv strong {
  display: block;
  color: var(--ink-0);
  margin-bottom: 4px;
}
.tile .cta {
  padding: 14px;
  border-top: 1px solid var(--line);
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.2px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease-1), box-shadow 0.18s var(--ease-1),
    background-color 0.18s var(--ease-1), color 0.18s var(--ease-1);
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn-primary {
  width: 100%;
  padding: 12px 14px;
  color: #0b1020 !important;
  background: linear-gradient(180deg, var(--brand-0), #ffc44a);
  box-shadow: 0 8px 24px rgba(255, 209, 102, 0.25);
}
.btn-primary:hover {
  filter: brightness(1.02);
  box-shadow: 0 12px 28px rgba(255, 209, 102, 0.35);
}
.btn-ghost {
  width: auto;
  padding: 10px 12px;
  color: var(--brand-0);
  border: 1px solid var(--brand-0);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255, 209, 102, 0.1);
}

/* Panel / table */
.panel {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
}
.panel header {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.panel header h2 {
  margin: 0;
  font-family: var(--font-deco);
  font-size: 28px;
}
.table-wrap {
  overflow-x: auto;
}
.table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}
.table thead th {
  text-align: left;
  padding: 12px;
  color: var(--ink-0);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
}
.table tbody td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-0);
}

/* FAQ */
.faq-accord {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.faq-accord details {
  border-bottom: 1px solid var(--line);
}
.faq-accord details:last-child {
  border-bottom: none;
}
.faq-accord summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 800;
}
.faq-accord .answer {
  padding: 0 16px 16px;
  color: var(--ink-1);
}

/* Responsible gaming box */
.guardian {
  background: linear-gradient(
    180deg,
    rgba(6, 214, 160, 0.08),
    rgba(6, 214, 160, 0.04)
  );
  border: 1px solid rgba(6, 214, 160, 0.35);
  border-radius: var(--radius-l);
}
.guardian header {
  padding: 16px;
  border-bottom: 1px dashed rgba(6, 214, 160, 0.35);
}
.guardian .body {
  padding: 16px;
}
.guardian .linkpill {
  display: block;
  padding: 10px;
  text-align: center;
  border: 1px dashed rgba(6, 214, 160, 0.35);
  border-radius: 999px;
  color: var(--ink-0);
}
.guardian .linkpill:hover {
  background: rgba(6, 214, 160, 0.12);
}

/* Footer */
.site-foot {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  text-align: center;
  color: var(--ink-1);
}
.site-foot .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}
.site-foot .badge {
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-1);
  font-weight: 700;
}
.site-foot .links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  margin-bottom: 10px;
}
.site-foot .links a {
  color: var(--ink-1);
}
.site-foot small {
  font-size: 13px;
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }
  .brand-mark {
    justify-content: center;
    width: 100%;
  }
  .hero-unit {
    padding: 24px 12px 0;
  }
  .pill {
    font-size: 12px;
  }
  .hero-title {
    font-size: 24px;
  }
  .hr-line {
    margin: 12px 0;
  }
  .tile .content,
  .tile header,
  .tile .cta {
    padding: 10px;
  }
  .kv {
    gap: 8px;
  }
  .site-foot {
    margin-top: 12px;
  }
  .brand-name {
    font-size: 18px;
  }
  .brand-tag {
    font-size: 10px;
  }
  .brand-mark {
    gap: 10px;
  }
}

/* Motion accents */
@keyframes floaty {
  from {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  to {
    transform: translateY(0);
  }
}
.pill,
.badge {
  animation: floaty 5s var(--ease-1) infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
