:root {
  --bg: #090b10;
  --bg-2: #0f1218;
  --card: #12161e;
  --line: #1f2530;
  --text: #f2f4f7;
  --muted: #8b93a3;
  --orange: #ff6a13;
  --orange-2: #ff8a3d;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: "Barlow", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(60rem 30rem at 85% -10%, rgba(255, 106, 19, .14), transparent 60%),
    radial-gradient(40rem 25rem at -10% 40%, rgba(255, 106, 19, .08), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 80px);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.wrap {
  width: min(1320px, 100% - 32px);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(9, 11, 16, .94);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .5px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand b {
  color: var(--orange);
  font-style: italic;
}

.nav {
  display: flex;
  gap: 24px;
  margin-right: auto;
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover {
  color: var(--text);
}

.account-btn {
  gap: 10px;
  height: 40px;
  padding: 0 16px;
}

.account-btn img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.account-btn img[hidden] {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: .2s;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 19, .45);
  background: rgba(255, 106, 19, .12);
  color: var(--orange-2);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 138, 61, .09) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}

.btn-primary:hover {
  border-color: var(--orange);
  background: rgba(255, 106, 19, .22);
  color: #ffb27f;
  box-shadow: 0 0 22px -6px rgba(255, 106, 19, .6);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary svg {
  width: 0;
  height: 17px;
  margin-left: 0;
  opacity: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateX(-6px);
  transition: .3s ease;
}

.btn-primary:hover svg {
  width: 17px;
  margin-left: 9px;
  opacity: 1;
  transform: none;
}

.btn-primary:active {
  transform: translateY(0) scale(.97);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn[disabled] {
  opacity: .6;
  pointer-events: none;
}

.hero {
  padding-top: 40px;
}

.hero-inner {
  --cut: 28px;
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  gap: 48px;
  padding: 56px 64px;
  background:
    linear-gradient(115deg, transparent 58%, rgba(255, 106, 19, .1) 58% 64%, transparent 64% 70%, rgba(255, 106, 19, .06) 70% 73%, transparent 73%),
    radial-gradient(circle at 80% 50%, rgba(255, 106, 19, .18), transparent 55%),
    linear-gradient(135deg, #141922, #0b0e14);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.hero-inner::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, transparent 50%, var(--orange) 50%);
}

h1 {
  font-size: clamp(36px, 5.5vw, 62px);
  line-height: 1;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -.5px;
}

h1 span {
  color: var(--orange);
  text-shadow: 0 0 30px rgba(255, 106, 19, .35);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-tags span {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-size: 14px;
  font-weight: 600;
}

.hero-tags span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: middle;
}
.hero-logo {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  max-width: 340px;
  justify-self: center;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -20px rgba(255, 106, 19, .35);
  transform: rotate(-3deg);
}

.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.perk {
  --cut: 14px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(135deg, #171c26, var(--bg-2));
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform .25s;
}

.perk::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, transparent 50%, var(--orange) 50%);
}

.perk:hover {
  transform: translateY(-3px);
}

.perk-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 106, 19, .12);
  color: var(--orange);
  transition: .25s;
}

.perk-icon svg {
  width: 20px;
  height: 20px;
}

.perk:hover .perk-icon {
  background: var(--orange);
  color: #fff;
}

.perk-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.perk strong {
  font-size: 16px;
}

.perk span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding-top: 88px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
}

h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 10px;
  background: var(--orange);
  transform: skewX(-20deg);
}

.filters {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.filter {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--muted);
  transition: .2s;
}

.filter:hover {
  color: var(--text);
}

.filter.active {
  background: rgba(255, 106, 19, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 19, .4);
  color: var(--orange-2);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .25s;
}

.card:hover {
  border-color: rgba(255, 106, 19, .5);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(255, 106, 19, .35);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a1f29, #0d1016);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 20px;
  text-align: center;
  background:
    linear-gradient(115deg, transparent 52%, rgba(255, 106, 19, .12) 52% 60%, transparent 60% 66%, rgba(255, 106, 19, .07) 66% 70%, transparent 70%),
    radial-gradient(circle at 70% 50%, rgba(255, 106, 19, .16), transparent 60%),
    linear-gradient(135deg, #1a1f29, #0d1016);
}

.cover small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
}

.cover small b {
  color: var(--orange);
  font-style: italic;
}

.cover strong {
  font-size: 34px;
  line-height: 1.05;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
}

.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(transparent 40%, rgba(9, 11, 16, .55));
}

.play span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(9, 11, 16, .78);
  font-size: 13px;
  font-weight: 700;
  transition: .25s;
}

.play i {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 106, 19, .6);
  background: linear-gradient(160deg, #2b303b, #090b10 70%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .15);
  transition: .25s;
}

.play i::before,
.play i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--orange);
  animation: pulse 1.8s ease-out infinite;
}

.play i::after {
  animation-delay: .9s;
}

.play svg {
  width: 14px;
  height: 14px;
  fill: var(--orange);
  filter: drop-shadow(0 0 6px rgba(255, 106, 19, .8)) drop-shadow(0 2px 2px rgba(0, 0, 0, .8));
  transition: transform .25s;
}

.play:hover span {
  transform: scale(1.05);
}

.play:hover i {
  border-color: var(--orange);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .6), 0 0 18px rgba(255, 106, 19, .5), inset 0 1px 0 rgba(255, 255, 255, .15);
}

.play:hover svg {
  transform: scale(1.15);
}

@keyframes pulse {
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .play i::before,
  .play i::after {
    animation: none;
  }
}

.badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: flex;
  gap: 6px;
  pointer-events: none;
}

.badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: rgba(9, 11, 16, .85);
  border: 1px solid var(--line);
}

.badge.open {
  color: var(--orange);
  border-color: rgba(255, 106, 19, .5);
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.card-body h3 {
  font-size: 21px;
  font-weight: 700;
}

.card-body p {
  flex: 1;
  color: var(--muted);
  font-size: 15px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.price {
  font-size: 24px;
  font-weight: 800;
}

.empty {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin-top: 28px;
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s;
}

details[open] {
  border-color: rgba(255, 106, 19, .4);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

details[open] summary::after {
  content: "–";
}

details p {
  padding: 0 22px 18px;
  color: var(--muted);
}

.reviews {
  overflow: hidden;
  margin-top: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.reviews-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  animation: marquee 96s linear infinite;
}

.reviews-track:has(.open) {
  animation-play-state: paused;
}

.review {
  --cut: 12px;
  position: relative;
  flex: 0 0 290px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 16px;
  padding: 18px;
  background: linear-gradient(135deg, #171c26, var(--bg-2));
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.review.long {
  cursor: pointer;
}

.review::before {
  content: "“";
  position: absolute;
  top: 2px;
  right: 16px;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 106, 19, .14);
}

.review::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, transparent 50%, var(--orange) 50%);
}

.stars {
  color: var(--orange);
  font-size: 13px;
  letter-spacing: 2px;
}

.review p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: calc(1.55em * 3);
  color: #c9ced8;
  font-size: 14px;
  line-height: 1.55;
}

.review.open p {
  -webkit-line-clamp: unset;
}

.review-foot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-foot i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 106, 19, .12);
  color: var(--orange);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.review-foot strong {
  font-size: 14px;
}

.more {
  display: none;
  margin: 0 10px 0 auto;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 600;
}

.review.long .more {
  display: block;
}

.more::after {
  content: "Lire la suite";
}

.review.open .more::after {
  content: "Réduire";
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.footer {
  margin-top: 100px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.video-modal,
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(5, 6, 9, .88);
}

.video-modal[hidden],
.modal[hidden] {
  display: none;
}

.video-box {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
}

.video-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 30px 80px -20px rgba(255, 106, 19, .35);
}

.video-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 15px;
  transition: .2s;
}

.video-close:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.modal-box {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -20px rgba(255, 106, 19, .35);
}

.modal-close {
  top: 16px;
  right: 16px;
}

.modal-box h3 {
  padding-right: 44px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
}

.modal-box h4 {
  margin: 28px 0 12px;
  font-size: 17px;
  font-weight: 700;
}

.modal-empty {
  color: var(--muted);
}

.auth,
.pay {
  display: grid;
  gap: 14px;
}

.pay p {
  color: var(--muted);
}

.pay b {
  color: var(--text);
}

.login {
  gap: 10px;
  height: 48px;
}

.login svg {
  width: 20px;
  height: 20px;
}

.login.discord {
  background: #5865f2;
  color: #fff;
}

.login.discord:hover {
  background: #4752c4;
}

.login.google {
  background: #fff;
  color: #1f1f1f;
}

.login.google:hover {
  background: #e8eaed;
}

.legal {
  contain: inline-size;
  text-wrap: balance;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.modal-box:has(.auth) {
  width: auto;
}

.modal-box:has(.auth) .modal-close {
  display: none;
}

.auth-logo {
  justify-self: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
}

.auth h3 {
  padding-right: 0;
  text-align: center;
}

.auth h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 10px auto 0;
  background: var(--orange);
  transform: skewX(-20deg);
}

.auth-sub {
  margin: 0 0 6px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}

.legal button {
  color: rgba(255, 106, 19, .5);
  transition: color .2s;
}

.legal button:hover {
  color: var(--orange);
}

.doc a {
  color: var(--orange);
}

.doc a:hover {
  text-decoration: underline;
}

.legal-box {
  width: min(760px, 100%);
}

.doc-date {
  margin-top: 8px;
  font-size: 14px;
}

.doc p,
.doc li {
  color: var(--muted);
}

.doc b {
  color: var(--text);
}

.doc p + p,
.doc p + ul,
.doc ul + p {
  margin-top: 10px;
}

.doc ul {
  display: grid;
  gap: 6px;
  padding-left: 20px;
}

.doc li::marker {
  color: var(--orange);
}

.steps {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--muted);
}

.steps li::marker {
  color: var(--orange);
  font-weight: 800;
}

.profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 44px;
}

.profile img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--orange);
}

.profile div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.profile strong {
  font-size: 19px;
}

.logout {
  color: var(--muted);
  font-size: 14px;
  transition: color .2s;
}

.logout:hover {
  color: var(--orange);
}

.orders {
  display: grid;
  gap: 8px;
  list-style: none;
}

.order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.order-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.order-info small {
  color: var(--muted);
  font-size: 13px;
}

.order .btn {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.order-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.status.pending {
  color: #ffc14d;
  border-color: rgba(255, 193, 77, .4);
}

.status.paid {
  color: #4ade80;
  border-color: rgba(74, 222, 128, .4);
}

.status.refused {
  color: #ff4d4d;
  border-color: rgba(255, 77, 77, .4);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: .3s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.error {
  border-left-color: #ff4d4d;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 24px;
    text-align: center;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-tags {
    justify-content: center;
  }
  .hero-logo {
    grid-row: 1;
    max-width: 240px;
  }

  .perks {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .topbar-inner {
    justify-content: space-between;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-inner {
    --cut: 18px;
    padding: 32px 20px;
  }

  .perks {
    grid-template-columns: 1fr;
  }

  .review {
    flex-basis: 260px;
  }

  .modal-box {
    padding: 24px 20px;
  }

  .auth-sub {
    white-space: normal;
  }
}
