@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;600;800&family=Spectral:wght@700&display=swap');

:root {
  /* Typography */
  --nxs-font-body: 'Urbanist', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --nxs-font-display: 'Spectral', Georgia, serif;

  /* Colors */
  --nxs-bg-0: #0b0f14;       /* page background */
  --nxs-bg-1: #0f1520;       /* surface base */
  --nxs-bg-2: #131b27;       /* surface elevated */
  --nxs-card: #111b2b;       /* card background */
  --nxs-card-hi: #16243a;    /* card hover */
  --nxs-border: #223142;     /* subtle border */
  --nxs-text: #e5ecf7;       /* primary text */
  --nxs-muted: #9fb0c3;      /* muted text */
  --nxs-brand-1: #5dd3e8;    /* cyan */
  --nxs-brand-2: #a58bff;    /* violet */
  --nxs-good: #34d399;       /* success */
  --nxs-warn: #f59e0b;       /* warning */

  /* Effects */
  --nxs-radius: 12px;
  --nxs-radius-lg: 16px;
  --nxs-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --nxs-maxw: 1280px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

/* Base */
.noctis-core, .eclat-core {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--nxs-text);
  background: radial-gradient(1200px 700px at 10% -10%, rgba(93, 211, 232, 0.07) 0%, rgba(165, 139, 255, 0.05) 40%, transparent 70%),
              linear-gradient(180deg, var(--nxs-bg-0) 0%, #131a24 100%) fixed;
  font-family: var(--nxs-font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

main {
  position: relative;
  z-index: 0;
  padding: 32px 0;
  background-image: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), url(../images/bg-france.webp);
  background-size: cover;
  background-position: center;
}

/* Skip link */
.noctis-skip, .eclat-skip-nav {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.noctis-skip:focus, .eclat-skip-nav:focus {
  left: 20px; top: 20px; width: auto; height: auto; background: var(--nxs-brand-1); color: #00222a; padding: 12px 16px; border-radius: 10px; outline: none;
  box-shadow: 0 0 0 4px rgba(93, 211, 232, 0.35); z-index: 1000;
}

:focus-visible { outline: 3px solid var(--nxs-brand-2); outline-offset: 3px; border-radius: 6px; }

/* Layout */
.noctis-wrap, .eclat-wrapper { width: min(90%, var(--nxs-maxw)); margin: 0 auto; }

/* Header */
.noctis-header, .eclat-header {
  background: rgba(19, 27, 39, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nxs-border);
}
.noctis-header__bar, .eclat-header__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.noctis-brand, .eclat-logo { display: flex; align-items: center; gap: 14px; }
.noctis-brand__img, .eclat-logo__img { height: 48px; width: auto; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35)); }

.noctis-nav, .eclat-nav { display: flex; align-items: center; position: relative; }
.noctis-nav__toggle, .eclat-nav__toggle { display: none; background: none; border: 1px solid var(--nxs-border); color: var(--nxs-text); font-size: 16px; cursor: pointer; padding: 8px 12px; border-radius: 8px; }
.noctis-nav__list, .eclat-nav__list { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; }
.noctis-nav__list a, .eclat-nav__list a { color: var(--nxs-muted); font-weight: 600; letter-spacing: 0.2px; transition: color .25s ease, text-shadow .25s ease; }
.noctis-nav__list a:hover, .eclat-nav__list a:hover { color: var(--nxs-text); text-shadow: 0 0 12px rgba(165, 139, 255, 0.35); }

/* Hero */
.noctis-hero, .eclat-hero { padding: 48px 0 24px; text-align: center; }
.noctis-hero__title, .eclat-hero__title {
  font-family: var(--nxs-font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 54px);
  background: linear-gradient(90deg, var(--nxs-brand-1), var(--nxs-brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 10px auto 14px;
}
.noctis-hero__lead, .eclat-hero__lead { max-width: 960px; margin: 0 auto; color: var(--nxs-muted); font-size: clamp(16px, 2.3vw, 22px); }

/* Grid */
.noctis-grid, .eclat-grid { display: grid; justify-content: center; gap: 22px; padding: 20px 0 40px; }
.noctis-grid--auto, .eclat-grid--reviews, .eclat-grid--payments, .eclat-grid--sports { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Cards / Tiles */
.noctis-tile, .eclat-card {
  background: var(--nxs-card);
  border-radius: var(--nxs-radius-lg);
  border: 1px solid var(--nxs-border);
  box-shadow: var(--nxs-shadow);
  transform: translateZ(0);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}
.noctis-tile:hover, .eclat-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,.35); border-color: rgba(165, 139, 255, 0.35); background: var(--nxs-card-hi); }

.noctis-tile__head, .eclat-card__header { display: flex; justify-content: space-between; align-items: center; padding: 16px; gap: 16px; }
.noctis-vendor, .eclat-brand { display: grid; grid-template-columns: auto; justify-items: center; gap: 10px; }
.noctis-vendor__img, .eclat-brand__img { height: 56px; width: auto; }
.noctis-vendor__name, .eclat-brand__name { font-weight: 800; font-size: 20px; letter-spacing: .2px; }

.noctis-meta, .eclat-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.noctis-badge, .eclat-rating { display: inline-flex; align-items: center; gap: 8px; background: rgba(165, 139, 255, 0.12); padding: 8px 12px; border-radius: 999px; color: var(--nxs-brand-2); font-weight: 800; }
.noctis-votes, .eclat-votes { font-size: 14px; color: var(--nxs-muted); }

.noctis-tile__body, .eclat-card__body { padding: 16px; }
.noctis-bullets, .eclat-list { display: grid; gap: 10px; padding: 0; margin: 0; }
.noctis-bullets__item, .eclat-list__item { display: flex; align-items: center; gap: 12px; background: rgba(93, 211, 232, 0.08); border-radius: 10px; padding: 10px; border: 1px solid rgba(93, 211, 232, 0.15); }
.noctis-ico, .eclat-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--nxs-good); color: #06120a; display: grid; place-items: center; font-size: 14px; font-weight: 900; }
.noctis-bullets__text, .eclat-item__text { font-size: 15px; }

.noctis-tile__cta, .eclat-cta { padding: 14px 16px; text-align: center; }
.noctis-btn, .eclat-btn {
  background: linear-gradient(90deg, var(--nxs-brand-1), var(--nxs-brand-2));
  color: #08121a;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 12px;
  display: inline-flex; width: 100%; justify-content: center; align-items: center;
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
  box-shadow: 0 8px 24px rgba(93, 211, 232, 0.15);
}
.noctis-btn:hover, .eclat-btn:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.1); box-shadow: 0 12px 30px rgba(165, 139, 255, 0.2); }

/* Sections */
.noctis-title, .eclat-section__title { font-family: var(--nxs-font-display); font-size: clamp(24px, 3.4vw, 34px); background: linear-gradient(90deg, var(--nxs-brand-1), var(--nxs-brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 20px 0 12px; }
.noctis-prose, .eclat-prose { padding: 20px; border-radius: var(--nxs-radius-lg); background: rgba(19, 27, 39, 0.9); border: 1px solid var(--nxs-border); }
.noctis-prose h3, .eclat-prose h3 { font-weight: 800; color: var(--nxs-text); margin: 16px 0 10px; }
.noctis-prose p, .noctis-prose ul, .eclat-prose p, .eclat-prose ul { color: var(--nxs-muted); margin: 10px 0; }

.noctis-review, .eclat-review { background: var(--nxs-card); padding: 16px; border-radius: var(--nxs-radius); border: 1px solid var(--nxs-border); }
.noctis-review__text, .eclat-review__text { font-style: italic; }

.noctis-chip, .eclat-payment, .eclat-sport { background: var(--nxs-card); padding: 12px; text-align: center; border-radius: var(--nxs-radius); border: 1px solid var(--nxs-border); }

/* Footer */
.noctis-footer, .eclat-footer { background: rgba(19, 27, 39, 0.92); border-top: 1px solid var(--nxs-border); }
.noctis-footer__inner, .eclat-footer__inner { padding: 32px 0; }
.noctis-footer__cols, .eclat-footer__cols { display: grid; gap: 24px; }
@media (min-width: 768px) { .noctis-footer__cols, .eclat-footer__cols { grid-template-columns: 280px 1fr; gap: 48px; } }
.noctis-badges, .eclat-footer__badges { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.noctis-badges__img, .eclat-footer__badge { height: 52px; width: auto; opacity: 0.9; transition: opacity .22s ease, transform .22s ease; }
.noctis-badges__img:hover, .eclat-footer__badge:hover { opacity: 1; transform: translateY(-2px); }
.noctis-age, .eclat-footer__age-icon { width: 60px; height: 60px; }
.noctis-links, .eclat-list--links { list-style: none; padding: 0; display: grid; gap: 12px; }
.noctis-links a:hover, .eclat-list--links a:hover { color: var(--nxs-text); }
.noctis-hr, .eclat-sep { height: 1px; background: var(--nxs-border); margin: 16px 0; border: 0; }
.noctis-copy, .eclat-copy { text-align: center; color: var(--nxs-muted); font-size: 15px; padding: 16px 0; }

/* Utilities */
.noctis-hidden, .eclat-hidden { display: none; }
.noctis-muted, .eclat-muted { color: var(--nxs-muted); }
.noctis-pad, .eclat-pad { padding: 12px 0; }

/* Mobile Nav */
@media (max-width: 768px) {
  .noctis-nav__list, .eclat-nav__list { display: none; }
  .noctis-nav__toggle, .eclat-nav__toggle { display: block; }
  .noctis-nav__list.active, .eclat-nav__list.active {
    display: flex; flex-direction: column; background: var(--nxs-bg-2); padding: 16px; position: absolute; top: 100%; right: 0; width: 220px; border: 1px solid var(--nxs-border); border-radius: 12px; box-shadow: var(--nxs-shadow);
  }
  .noctis-vendor__img, .eclat-brand__img { height: 46px; }
  .noctis-btn, .eclat-btn { font-size: 15px; }
}

/* Small screens */
@media (max-width: 480px) {
  .noctis-grid, .eclat-grid { grid-template-columns: 1fr; }
  .noctis-badges__img, .eclat-footer__badge { height: 40px; }
  .noctis-age, .eclat-footer__age-icon { width: 40px; height: 40px; }
}

/* Print */
@media print {
  .noctis-header, .eclat-header, .noctis-footer, .eclat-footer, .noctis-tile__cta, .eclat-cta { display: none !important; }
  .noctis-tile, .eclat-card { box-shadow: none; border: 1px solid var(--nxs-border); }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
