/* Fonts */
@font-face {
  font-family: "notosans-bold";
  src: url("../fonts/notosans-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "notosans-reg";
  src: url("../fonts/notosans-reg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "roboto-bold";
  src: url("../fonts/roboto-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "roboto-regular";
  src: url("../fonts/roboto-reg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Typography */
  --n-font-display: "notosans-bold", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --n-font-body: "roboto-regular", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --n-font-body-bold: "roboto-bold", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* New color system - dramatically different palette */
  --n-bg: radial-gradient(1200px 600px at 100% 0%, #0a0d14 0%, #1a1033 40%, #220b2e 70%, #0b141a 100%);
  --n-surface: #0f1420;
  --n-surface-2: #141a2a;
  --n-border: #2a3350;
  --n-text: #e7e9f0;
  --n-text-muted: #b8bfd6;
  --n-accent: #ff4d6d; /* magenta-red */
  --n-accent-2: #08d5ff; /* cyan */
  --n-success: #5ef38c;
  --n-danger: #ff6b6b;
  --n-shadow: 0 10px 30px rgba(8, 213, 255, 0.2);

  --n-radius-sm: 10px;
  --n-radius-md: 16px;
  --n-radius-lg: 24px;

  --n-transition-fast: 140ms cubic-bezier(.2,.8,.2,1);
  --n-transition: 260ms cubic-bezier(.2,.8,.2,1);
}

/* Reset */
* { box-sizing: border-box; }
html { height: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--n-font-body);
  color: var(--n-text);
  background: var(--n-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  z-index: 2;
  background-image: url(../images/body.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
body::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0,0,0,.75);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul,ol { margin: 0; padding: 0; list-style: none; }

/* Accessibility utilities */
.u-sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 3px solid var(--n-accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Layout */
.n-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }

/* Header */
.n-header { padding-block: 18px 10px; position: relative; z-index: 10; }
.n-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.n-logo { width: 190px; height: 32px; object-fit: contain; }
.n-header__note {
  max-width: 640px; color: var(--n-text-muted); font-size: 12px; line-height: 1.2; text-align: right;
}

/* Skip link */
.n-skip {
  position: absolute; left: 50%; transform: translate(-50%, -120%);
  background: var(--n-accent-2); color: #001018; padding: 8px 12px; border-radius: 8px; font-weight: 700;
  transition: transform var(--n-transition-fast);
}
.n-skip:focus { transform: translate(-50%, 0); }

/* Hero */
.n-hero { padding-block: 24px; }
.n-hero__container { display: grid; gap: 14px; }
.n-hero__intro { display: grid; gap: 14px; }
.n-datepill { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(90deg, var(--n-accent-2), #5b7cfd); color: #001018; padding: 10px 14px; border-radius: 12px; transform: skewX(-10deg); width: max-content; }
.n-datepill__icon { width: 16px; height: 16px; background: url(../images/icon-clock.svg) center/contain no-repeat; filter: drop-shadow(0 0 2px rgba(0,0,0,.5)); }
#current-date { font-family: var(--n-font-display); font-size: 16px; font-weight: 800; text-transform: uppercase; }

.n-hero__headline { display: flex; justify-content: center; }
.n-hero__title {
  font-family: var(--n-font-display); font-weight: 900; font-style: italic; letter-spacing: -0.02em;
  font-size: clamp(28px, 6vw, 56px); line-height: 1.1; text-align: center;
}
.n-accent-text { color: var(--n-accent-2); }
.n-flag { width: 80px; height: 68px; background: url(../images/icon-flag.webp) center/cover no-repeat; display: inline-block; vertical-align: middle; }

.n-features { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.n-feature {
  background: linear-gradient(180deg, var(--n-surface), var(--n-surface-2)); border: 1px solid var(--n-border); color: var(--n-text);
  padding: 10px 12px; border-radius: 14px; text-transform: uppercase; font-weight: 800; font-family: var(--n-font-display); font-size: 12px;
}

/* Catalog cards */
.n-catalog { padding-block: 8px 20px; }
.n-grid { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }

.n-card {
  background: linear-gradient(180deg, rgba(20,24,42,0.85), rgba(15,19,33,0.85));
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-lg);
  padding: 18px 18px 12px;
  max-width: 280px; width: 100%; display: grid; gap: 10px; transition: transform var(--n-transition), box-shadow var(--n-transition);
  box-shadow: 0 0 0 1px rgba(8,213,255,0), var(--n-shadow);
}
.n-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 10px 40px rgba(255,77,109,.25), 0 0 0 1px rgba(8,213,255,.15); }

.n-card__media {
  position: relative; height: 150px; width: 100%; display: grid; place-items: center;
  background: linear-gradient(rgba(14, 15, 27, 0.8)), url(../images/card-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--n-border); border-radius: 16px; overflow: hidden;
}
.n-card__badge {
  position: absolute; inset: 0 auto auto 0; width: 100%; text-align: center; padding: 10px 0 8px;
  background: linear-gradient(180deg, var(--n-danger), #e93d5b); color: #fff; font-family: var(--n-font-display); font-weight: 900; font-size: 12px;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
}
.n-card__logo { width: 120px; height: 90px; object-fit: contain; }

.n-card__top { display: grid; gap: 10px; }

.n-rating { display: flex; align-items: center; justify-content: center; gap: 10px; }
.n-rating__num {
  background: #101628; color: #a7b0cc; width: 60px; height: 28px; display: grid; place-items: center; border-radius: 8px; transform: skewX(-12deg);
  font-family: var(--n-font-display); font-weight: 800; font-size: 14px;
}
.n-rating__stars { display: flex; align-items: center; gap: 4px; }
.n-rating__star { width: 18px; height: 18px; background: url(../images/icon-star.svg) center/cover no-repeat; filter: drop-shadow(0 0 3px rgba(255, 200, 80, .3)); }

.n-card__body { display: grid; gap: 8px; }
.n-card__title { font-family: var(--n-font-display); font-weight: 900; font-style: italic; font-size: 18px; line-height: 1.2; text-align: center; min-height: 68px; display: grid; place-items: center; }

.n-button {
  --btn-bg: linear-gradient(90deg, var(--n-accent) 0%, #ff8fa3 50%, var(--n-accent) 100%);
  position: relative; overflow: hidden; display: grid; place-items: center; height: 46px; border-radius: 10px; transform: skewX(-10deg);
  font-family: var(--n-font-display); font-size: 18px; font-weight: 900; color: #fff; text-transform: uppercase; background: var(--btn-bg);
  transition: transform var(--n-transition), box-shadow var(--n-transition);
}
.n-button::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-100%);
}
.n-button:hover { box-shadow: 0 10px 30px rgba(255,77,109,.35); transform: translateY(-4px) skewX(-10deg); }
.n-button:hover::after { animation: sheen 1.4s ease; }

@keyframes sheen { 100% { transform: translateX(100%); } }

.n-card__disclaimer { color: var(--n-text-muted); font-size: 12px; text-align: center; }
.n-payment { display: flex; align-items: center; gap: 4px; }
.n-payment__icon { width: 38px; height: 30px; object-fit: contain; border-radius: 8px; }

/* FAQ */
.n-faq { display: grid; gap: 18px; }
.n-faq__header { display: flex; align-items: center; justify-content: center; gap: 8px; }
.n-faq__rule { height: 2px; width: 100px; background: #3c4161; display: inline-block; }
.n-faq__title { font-family: var(--n-font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(18px, 3.5vw, 32px); text-align: center; }
.n-text { color: var(--n-text-muted); font-size: 16px; line-height: 1.6; text-align: center; }

.n-accordion { display: grid; gap: 14px; padding-inline: 20px; }
.n-accordion__item {
  border: 1px solid var(--n-border); background: linear-gradient(180deg, var(--n-surface), var(--n-surface-2)); border-radius: 16px; padding: 16px; box-shadow: var(--n-shadow);
  transition: transform var(--n-transition), background var(--n-transition);
}
.n-accordion__item:hover { transform: translateY(-2px); background: #16213c; }
.n-accordion__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.n-accordion__title { font-family: var(--n-font-body-bold); font-size: 18px; }
.n-accordion__toggle { background: transparent; border: none; display: grid; place-items: center; width: 36px; height: 36px; }
.n-accordion__icon { width: 28px; height: 28px; display: inline-block; background: center/contain no-repeat; transition: transform var(--n-transition-fast); }
.n-accordion__icon.plus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e7e9f0' stroke='%23e7e9f0' stroke-width='2' d='M19 11h-6V5c0-.6-.4-1-1-1s-1 .4-1 1v6H5c-.6 0-1 .4-1 1s.4 1 1 1h6v6c0 .6.4 1 1 1s1-.4 1-1v-6h6c.6 0 1-.4 1-1s-.4-1-1-1z'/%3E%3C/svg%3E"); }
.n-accordion__icon.minus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e7e9f0' stroke='%23e7e9f0' stroke-width='2' d='M19 11H5c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z'/%3E%3C/svg%3E"); }
.n-accordion__content { overflow: hidden; transition: all var(--n-transition); }

/* Footer */
.n-footer { padding-block: 48px; }
.n-footer__container { display: grid; gap: 20px; }

.n-logos { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.n-age-badge { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: #0f1729; border: 2px solid var(--n-accent-2); color: var(--n-accent-2); font-family: var(--n-font-body-bold); }

.n-hover-z { transition: transform var(--n-transition), filter var(--n-transition); filter: grayscale(.05) brightness(.95); }
.n-hover-z:hover { transform: translateY(-2px) scale(1.03); filter: grayscale(0) brightness(1); }

.n-footer__info {  padding: 10px 0; display: grid; gap: 12px; }
.n-footer__list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.n-footer__item { display: grid; gap: 8px; }
.n-footer__title { font-family: var(--n-font-body-bold); font-size: 16px; }
.n-footer__text { color: var(--n-text); font-size: 14px; line-height: 1.4; }

.n-footer__nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.n-age-green { background-image: url(../images/iconage-green.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 48px;
    width: 100%;
    height: 48px;}
.n-footer__menu { display: flex; gap: 18px; flex-wrap: wrap; }
.n-footer__link a { color: var(--n-text); font-size: 14px; transition: color var(--n-transition); }
.n-footer__link a:hover { color: var(--n-accent-2); }

/* Cookie bar */
.n-cookiebar { position: fixed; right: 1rem; bottom: 1rem; z-index: 20; }
#CookiePopup {
  position: fixed; right: 0; bottom: 0; width: 100%; background: linear-gradient(180deg, rgba(10,13,20,.95), rgba(10,13,20,.98)); border-top: 1px solid rgba(8,213,255,.25);
  padding: 18px; transition: all var(--n-transition); z-index: 20;
}
.n-cookiebar__wrap { display: flex; align-items: center; gap: 24px; }
.n-cookiebar__text { display: grid; gap: 8px; max-width: 720px; }
.n-cookiebar__title { font-family: var(--n-font-display); font-weight: 900; font-style: italic; font-size: 16px; text-transform: uppercase; }
.n-cookiebar__desc { font-size: 12px; color: var(--n-text); }

.n-cookiebar__actions { display: flex; gap: 12px; align-items: center; }
.n-cookiebar__accept { cursor: pointer; height: 40px; min-width: 160px; background: linear-gradient(90deg, var(--n-accent-2), #63efff); color: #001018; border: none; border-radius: 10px; font-weight: 900; text-transform: uppercase; transform: skewX(-10deg); transition: transform var(--n-transition), box-shadow var(--n-transition); }
.n-cookiebar__accept:hover { transform: translateY(-2px) skewX(-10deg); box-shadow: 0 10px 24px rgba(8,213,255,.3); }
.n-cookiebar__more { height: 40px; min-width: 160px; display: grid; place-items: center; background: #1b2140; color: #fff !important; border-radius: 10px; text-transform: uppercase; font-weight: 900; transform: skewX(-10deg); transition: transform var(--n-transition), box-shadow var(--n-transition); }
.n-cookiebar__more:hover { transform: translateY(-2px) skewX(-10deg); box-shadow: 0 10px 24px rgba(255,77,109,.3); }

/* Cookie popup visibility classes */
.hide { visibility: hidden; }
.show { visibility: visible; }

/* Document pages (privacy/terms/responsible/cookies) */
.n-doc { padding-block: 40px; }
.n-doc__list, .n-doc__item, .n-dotlist { display: grid; gap: 14px; }
.n-doc h1 { font-family: var(--n-font-display); font-size: clamp(22px, 3.2vw, 36px); text-align: center; text-transform: uppercase; }
.n-doc h2, .n-doc p { margin: 0; }
.n-doc p, .n-doc li { font-size: 15px; line-height: 1.6; color: var(--n-text); }
.n-dotlist { margin-left: 1rem; }
.n-dotlist li { list-style: disc; margin-left: 1rem; }

/* Utilities */
.u-hidden-sm { display: none; }

/* Media queries */
@media (min-width: 700px) { .u-hidden-sm { display: inline-block; } }

@media (max-width: 991px) {
  .n-header__note { display: none; }
  .n-header__bar { justify-content: center; }
  .n-datepill {
    margin: 0 auto;
  }
  .n-footer { padding-bottom: 16px; }
  .n-logos { gap: 18px; }
  .n-footer__list { grid-template-columns: 1fr; }
  .n-footer__title, .n-footer__text { text-align: center; }
  .n-footer__nav { flex-direction: row-reverse; }
  .n-faq__rule { width: 50px; }
  .n-accordion { padding-inline: 10px; }
}

@media (max-width: 620px) {
  .n-grid { gap: 10px; }
  /* .n-card { max-width: 100%; grid-template-columns: 254px 1fr; align-items: center; padding: 12px; } */
  .n-card__media { height: 121px; }
  .n-card__title { min-height: 56px; font-size: 14px; }
  .n-button { height: 34px; font-size: 14px; }
  .n-rating__num { width: 40px; height: 22px; font-size: 12px; }
  .n-rating__star { width: 12px; height: 12px; }
  .n-card__body { align-items: center; gap: 6px; }
}

@media (max-width: 560px) {
  .n-age-badge { width: 28px; height: 28px; font-size: 12px; }
  .n-cookiebar__wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
  .n-cookiebar__accept, .n-cookiebar__more { min-width: 140px; height: 34px; font-size: 12px; }
}

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