/* Livecasinofrance UI – main stylesheet */

:root {
  --clr-bg: #081412;
  --clr-bg-raise: #0e1e1b;
  --clr-surface: #112825;
  --clr-card: #14312d;
  --clr-primary: #35e6c8;
  --clr-primary-600: #22bda3;
  --clr-accent: #ff7a59;
  --clr-text: #fff;
  --clr-text-dim: #fff;
  --clr-danger: #ff4d4f;
  --shadow-1: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 12px 36px rgba(0, 0, 0, 0.45);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --font-ui: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  --font-head: "Merriweather", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--clr-text);
  /* Background image with dark overlay */
  background: linear-gradient(rgba(5, 12, 11, 0.72), rgba(5, 12, 11, 0.72)),
    url("../media/bg.webp") center / cover no-repeat fixed,
    radial-gradient(1200px 800px at 80% -10%, #0f2924 0%, transparent 60%),
    radial-gradient(900px 600px at 10% 10%, #0a1f1d 0%, transparent 60%),
    var(--clr-bg);
  background-attachment: fixed, fixed, fixed, fixed, fixed;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.u-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top bar 18+ */
.bar-legal {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  min-height: 42px;
  padding: 8px 16px;
  background: linear-gradient(90deg, #2a1918, #371e1c 60%, #2a1918);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bar-legal__icon {
  width: 28px;
  height: 28px;
}
.bar-legal__text {
  font-size: 14px;
  color: #ffede6;
  letter-spacing: 0.2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}
.nav-shell {
  background: rgba(12, 27, 25, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__logo {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.brand__name {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: 0.4px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-weight: 600;
  font-size: 14px;
  opacity: 0.9;
}
.menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  opacity: 1;
}
.menu a.is-active {
  color: var(--clr-primary);
  background: rgba(53, 230, 200, 0.12);
}

.btn-burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
  color: var(--clr-text);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.btn-burger:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 60;
}
.drawer.is-open {
  display: block;
}
.drawer__panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(86%, 360px);
  background: #0e1e1b;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-2);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
}
.drawer.is-open .drawer__panel {
  transform: translateX(0);
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
}
.drawer__close {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--clr-text);
  cursor: pointer;
}
.drawer__list {
  display: grid;
  gap: 4px;
  padding: 6px 12px 16px;
}
.drawer__list a {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 15px;
  line-height: 1.2;
}
.drawer__list a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Hero */
.hero {
  position: relative;
}
.hero__wrap {
  padding: 40px 0 16px;
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 4.8vw, 44px);
  line-height: 1.16;
  letter-spacing: 0.2px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.hero__subtitle {
  max-width: 820px;
  color: var(--clr-text-dim);
  font-size: clamp(16px, 2.4vw, 18px);
  letter-spacing: 0.2px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: var(--shadow-1);
}
.pill__icon {
  width: 22px;
  height: 22px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-items: center;
}
.card {
  position: relative;
  width: 100%;
  max-width: 880px; /* bigger card */
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
  border-color: rgba(53, 230, 200, 0.35);
}
.card__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.card__bonus {
  min-height: 240px; /* taller bonus panel */
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  background: conic-gradient(
    from 120deg at 50% 50%,
    #173b35,
    #14312d 40%,
    #173b35 80%,
    #173b35
  );
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.card__bonus p {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.2px;
}
.card__brand {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 22px 12px;
  background: #0f2421;
}
.card__brand img {
  width: 160px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}
.card__score {
  display: grid;
  gap: 4px;
}
.card__score small {
  text-align: center;
  color: var(--clr-text-dim);
}
.card__score .score {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 2px;
}
.card__score .score b {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 24px;
  font-weight: 800;
}

.card__cta {
  display: grid;
  gap: 12px;
  padding: 18px;
  place-items: center;
}
.btn-primary {
  --btn-bg: var(--clr-primary);
  --btn-bg-h: var(--clr-primary-600);
  background: radial-gradient(
      80% 150% at 20% -30%,
      rgba(255, 255, 255, 0.35),
      transparent 30%
    ),
    var(--btn-bg);
  color: #051311;
  border: none;
  height: 52px;
  min-width: 240px;
  padding: 0 18px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 22px rgba(53, 230, 200, 0.28);
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-primary:hover {
  background: radial-gradient(
      80% 150% at 20% -30%,
      rgba(255, 255, 255, 0.45),
      transparent 30%
    ),
    var(--btn-bg-h);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(34, 189, 163, 0.38);
}
.btn-link {
  background: transparent;
  color: var(--clr-text);
  text-decoration: underline;
  cursor: pointer;
  border: none;
}

/* Footer */
.site-footer {
  margin: 48px auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  align-items: center;
  justify-items: center;
  gap: 24px;
  padding: 22px 0;
}
.partners img {
  margin: 0 auto;
  filter: saturate(0.9) contrast(1.05)
    drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}
.legal-text {
  display: grid;
  gap: 14px;
  margin: 18px 0 36px;
  color: var(--clr-text-dim);
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.site-footer > *,
.simple-footer > * {
  max-width: 1080px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.footer-links a {
  text-decoration: underline;
}
.copyright {
  margin-top: 24px;
  color: #9db1ae;
  font-size: 14px;
}

/* Modals & cookies */
.modal,
.overlay {
  position: fixed;
  inset: 0;
  display: none;
}
.overlay {
  background: rgba(0, 0, 0, 0.72);
  z-index: 80;
}
.overlay.is-open {
  display: block;
}
.modal {
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal[hidden] {
  display: none !important;
}
.modal__box {
  width: 100%;
  max-width: 500px;
  background: #0e1e1b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-2);
}
.modal__box h3 {
  margin: 4px 0 8px;
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 800;
}
.modal__box p {
  color: var(--clr-text-dim);
  font-size: 14px;
}

.cookie {
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: min(360px, calc(100% - 16px));
  display: none;
  z-index: 100;
  background: #bff5ea;
  color: #052420;
  border-radius: 12px;
  box-shadow: var(--shadow-2);
}
.cookie.is-open {
  display: block;
}
.cookie__inner {
  padding: 12px;
  display: grid;
  gap: 12px;
}
.cookie__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cookie__btns .btn {
  height: 40px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 700;
}
.cookie__btns .btn--plain {
  background: transparent;
  text-decoration: underline;
}
.cookie__btns .btn--ok {
  background: #0c0c0c;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.cookie__btns .btn--ok:hover {
  background: #181818;
}

/* Utils */
.no-scroll {
  overflow: hidden !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .nav {
    height: 60px;
  }
  .menu {
    display: none;
  }
  .btn-burger {
    display: inline-flex;
  }
  .hero__wrap {
    padding-top: 14px;
    gap: 6px;
  }
  .partners {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .card__bonus {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .drawer__list {
    display: flex;
    flex-direction: column;
  }
  .hero__title {
    font-size: 24px;
    margin: 0;
  }
  .hero__subtitle {
    margin: 0;
    font-size: 0.9rem;
  }
  .card__bonus {
    min-height: auto;
    padding: 10px;
  }
  .card__bonus p {
    margin: 0;
  }
  .bar-legal__text {
    margin: 0;
  }
  .card__brand img {
    height: 80px;
  }
  .pill {
    font-size: 0.7rem;
  }
}

/* Subpages (simple blocks) */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.simple-nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 27, 25, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.simple-menu {
  display: flex;
  gap: 10px;
}
.simple-menu a {
  padding: 8px 12px;
  border-radius: 10px;
}
.simple-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}
.simple-menu a.is-active {
  color: var(--clr-primary);
  background: rgba(53, 230, 200, 0.12);
}
.page-title {
  font-family: var(--font-head);
  font-size: 32px;
  margin: 22px 0 8px;
  text-align: center;
}
.page-lead {
  color: var(--clr-text-dim);
  text-align: center;
  max-width: 820px;
  margin: 0 auto 20px;
}
.block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 16px 0;
}
.block h2 {
  margin: 0 0 6px;
  font-size: 20px;
}
.block p,
.block li {
  color: var(--clr-text-dim);
}
.block-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.simple-footer {
  margin: 32px 0;
  text-align: center;
  color: #9db1ae;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Contact form */
#contactForm {
  display: grid;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
}
#contactForm > div {
  display: grid;
  width: 100%;
  gap: 8px;
}
#contactForm label {
  font-weight: 800;
  letter-spacing: 0.2px;
}
#contactForm input,
#contactForm textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--clr-text);
  padding: 14px 16px;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
#contactForm textarea {
  min-height: 180px;
  resize: vertical;
}
#contactForm input::placeholder,
#contactForm textarea::placeholder {
  color: rgba(234, 244, 241, 0.6);
}
#contactForm input:hover,
#contactForm textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
}
#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 4px rgba(53, 230, 200, 0.18);
  background: rgba(255, 255, 255, 0.04);
}
#contactForm input:invalid,
#contactForm textarea:invalid {
  border-color: rgba(255, 77, 79, 0.7);
}
#contactForm .btn-primary {
  align-self: center;
}
#contactForm small {
  justify-self: center;
  color: var(--clr-text-dim);
}
/* Inline error helper */
#contactForm .field-error {
  color: var(--clr-danger);
  font-weight: 700;
}
#contactForm .is-error {
  border-color: rgba(255, 77, 79, 0.9) !important;
  box-shadow: 0 0 0 4px rgba(255, 77, 79, 0.18) !important;
}
