@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Italiana&display=swap");

:root {
  --green-950: #09261f;
  --green-900: #0d332a;
  --green-800: #123c31;
  --green-700: #1b4a3c;
  --cream: #f2eee4;
  --cream-2: #e8e2d4;
  --cream-3: #d8d1bf;
  --gold: #c8ad71;
  --gold-light: #dcc690;
  --gold-deep: #92743c;
  --ink: #102f27;
  --muted: #5d736c;
  --red: #8f3634;
  --line: rgba(18, 60, 49, 0.16);
  --font-sans: "DM Sans", sans-serif;
  --font-display: "Italiana", serif;
  --page: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.font-display {
  font-family: var(--font-display);
  font-weight: 400;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding-inline: 20px;
}

@media (min-width: 640px) {
  .wrap {
    padding-inline: 32px;
  }
}

@media (min-width: 1024px) {
  .wrap {
    padding-inline: 56px;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 30;
  background: var(--green-900);
  color: #f6f0e4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(216, 193, 141, 0.75);
  border-radius: 999px;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: 0.04em;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: #d9ded8;
}

.site-nav a {
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

@media (min-width: 900px) {
  .site-nav,
  .header-actions {
    display: flex;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease,
    border-color 180ms ease;
}

.btn--ghost {
  background: transparent;
  color: #e8e8e2;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--light {
  background: var(--cream);
  color: var(--green-900);
}

.btn--light:hover {
  background: var(--gold-light);
}

.btn--gold {
  min-height: 52px;
  padding-inline: 26px;
  background: var(--gold);
  color: var(--green-900);
}

.btn--gold:hover {
  background: var(--gold-light);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.btn--dark {
  min-height: 50px;
  background: var(--green-800);
  color: #f5f0e5;
}

.btn--dark:hover {
  background: var(--green-950);
}

.btn--outline {
  border: 1px solid rgba(242, 238, 228, 0.35);
  background: transparent;
  color: #f2eee4;
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  color: #f6f0e4;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
  min-height: 620px;
  padding-block: 64px;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    padding-block: 80px;
  }
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 92px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  color: #c9b47f;
}

.hero__lead {
  max-width: 32rem;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.7;
  color: #c8d2cc;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}

.hero__link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
  font-size: 14px;
  color: #ece9df;
  transition: border-color 180ms ease;
}

.hero__link:hover {
  border-color: #fff;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: 48px;
  font-size: 12px;
  color: #91a69e;
}

/* Hero card composition */
.hero__art {
  position: relative;
  display: none;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .hero__art {
    display: grid;
  }
}

.hero__orbit {
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(204, 181, 129, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(194, 162, 95, 0.08);
}

.hero__orbit::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px dashed rgba(204, 181, 129, 0.2);
  border-radius: 50%;
}

.hero__orbit::after {
  content: "";
  position: absolute;
  top: 48%;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccb581;
  box-shadow: 0 0 22px #ccb581;
}

.hero__table {
  position: relative;
  display: grid;
  place-items: center;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(210, 185, 127, 0.45);
  background: radial-gradient(circle at 50% 40%, #1a5243 0%, #0f3a2f 55%, #0b2c24 100%);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.45), 0 40px 80px rgba(0, 0, 0, 0.25);
}

.hero__table::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(200, 173, 113, 0.28);
  border-radius: 50%;
}

.card-fan {
  position: relative;
  width: 272px;
  height: 342px;
}

.playing-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 156px;
  height: 224px;
  padding: 14px;
  border-radius: 9px;
  background: #f8f4ea;
  color: #14201d;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  font-family: var(--font-display);
  transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.playing-card--red {
  color: #9c2f2f;
}

.playing-card__rank {
  font-size: 34px;
  line-height: 1;
}

.playing-card__suit {
  font-size: 24px;
  line-height: 1;
}

.playing-card__pip {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 64px;
  opacity: 0.9;
}

.playing-card--back {
  background:
    repeating-linear-gradient(45deg, rgba(200, 173, 113, 0.16) 0 2px, transparent 2px 8px),
    #123c31;
  border: 1px solid rgba(216, 193, 141, 0.55);
  color: var(--gold-light);
}

.playing-card--back .playing-card__pip {
  inset: auto;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(216, 193, 141, 0.5);
  border-radius: 50%;
  background: rgba(9, 38, 31, 0.55);
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  opacity: 1;
}

.card-fan .playing-card:nth-child(1) {
  top: 34px;
  left: 4px;
  transform: rotate(-14deg);
}

.card-fan .playing-card:nth-child(2) {
  top: 14px;
  left: 56px;
  transform: rotate(-2deg);
  z-index: 2;
}

.card-fan .playing-card:nth-child(3) {
  top: 38px;
  left: 108px;
  transform: rotate(11deg);
  z-index: 3;
}

.hero__art:hover .card-fan .playing-card:nth-child(1) {
  transform: rotate(-18deg) translate(-8px, 4px);
}

.hero__art:hover .card-fan .playing-card:nth-child(3) {
  transform: rotate(15deg) translate(8px, 4px);
}

.hero__badge {
  position: absolute;
  right: 4%;
  top: 12%;
  padding: 8px 16px;
  border: 1px solid rgba(217, 193, 141, 0.4);
  border-radius: 999px;
  background: rgba(21, 63, 52, 0.8);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #dbc99f;
  backdrop-filter: blur(6px);
}

.hero__chip {
  position: absolute;
  left: 8%;
  bottom: 16%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px dashed rgba(13, 51, 42, 0.55);
  background: var(--gold);
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 22px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  transform: rotate(-8deg);
}

.hero__chip::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(13, 51, 42, 0.35);
  border-radius: 50%;
}

/* ---------- Section scaffolding ---------- */
.section {
  padding-block: 64px;
}

@media (min-width: 1024px) {
  .section {
    padding-block: 96px;
  }
}

.section__head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 1024px) {
  .section__head {
    flex-direction: row;
    align-items: flex-end;
  }
}

.section h2 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.section__note {
  max-width: 26rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Table section ---------- */
.table-showcase {
  display: grid;
  gap: 0;
  margin-top: 40px;
  border: 1px solid rgba(18, 60, 49, 0.18);
  background: #f6f2e8;
}

@media (min-width: 900px) {
  .table-showcase {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.table-showcase__felt {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: 40px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #1c5646 0%, #0f3a2f 60%, #0b2c24 100%);
  color: var(--gold-light);
}

.table-showcase__felt::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(200, 173, 113, 0.35);
  border-radius: 4px;
}

.table-showcase__felt::after {
  content: "BLACKJACK · PAIE 3 : 2";
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.28em;
  white-space: nowrap;
  color: rgba(220, 198, 144, 0.65);
}

.table-showcase__hand {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 0;
  transform: translateY(10px);
}

.table-showcase__hand .playing-card {
  position: relative;
  width: 92px;
  height: 132px;
  padding: 9px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.table-showcase__hand .playing-card + .playing-card {
  margin-left: -28px;
}

.table-showcase__hand .playing-card:nth-child(1) {
  transform: rotate(-7deg) translateY(4px);
}

.table-showcase__hand .playing-card:nth-child(2) {
  transform: rotate(3deg) translateY(-4px);
  z-index: 2;
}

.table-showcase__hand .playing-card:nth-child(3) {
  transform: rotate(9deg) translateY(6px);
}

.table-showcase__hand .playing-card__rank {
  font-size: 22px;
}

.table-showcase__hand .playing-card__pip {
  font-size: 38px;
}

.table-showcase__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 36px;
}

@media (min-width: 640px) {
  .table-showcase__info {
    padding: 44px;
  }
}

.table-showcase__info h3 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
}

.table-showcase__info p {
  margin-top: 14px;
  max-width: 26rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.specs {
  margin: 0;
  border-top: 1px solid var(--line);
}

.specs > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.specs dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71847e;
}

.specs dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Rules ---------- */
.rules {
  background: var(--cream-2);
}

.rules__grid {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

@media (min-width: 760px) {
  .rules__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.rule {
  border-top: 1px solid rgba(18, 60, 49, 0.28);
  padding-top: 22px;
}

.rule__num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--gold-deep);
}

.rule h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
}

.rule p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #536b64;
}

.payouts {
  display: grid;
  gap: 0;
  margin-top: 44px;
  border: 1px solid rgba(18, 60, 49, 0.2);
  background: rgba(246, 242, 232, 0.7);
}

@media (min-width: 760px) {
  .payouts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.payouts > div {
  padding: 20px 24px;
}

.payouts > div + div {
  border-top: 1px solid var(--line);
}

@media (min-width: 760px) {
  .payouts > div + div {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

.payouts dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #71847e;
}

.payouts dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 24px;
}

/* ---------- Club ---------- */
.club {
  background: var(--cream-3);
}

.club__inner {
  display: grid;
}

@media (min-width: 900px) {
  .club__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.club__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 40px;
  overflow: hidden;
  background: #b8a36f;
}

.club__art::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: linear-gradient(
      30deg,
      rgba(16, 47, 39, 0.18) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(16, 47, 39, 0.18) 87.5%
    ),
    linear-gradient(
      150deg,
      rgba(16, 47, 39, 0.18) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(16, 47, 39, 0.18) 87.5%
    );
  background-size: 70px 120px;
}

.club-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(100%, 430px);
  aspect-ratio: 1.63;
  padding: 30px;
  border: 1px solid rgba(208, 184, 127, 0.48);
  border-radius: 15px;
  background: radial-gradient(circle at 90% 10%, rgba(200, 174, 116, 0.15), transparent 35%),
    #12362d;
  box-shadow: 0 28px 60px rgba(31, 35, 25, 0.25);
  transform: rotate(-4deg);
}

.club-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.club-card__label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #bba56f;
}

.club-card__name {
  font-family: var(--font-display);
  font-size: 30px;
  color: #eee7d8;
}

.club-card__bottom {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7f948c;
}

.club__body {
  display: flex;
  align-items: center;
  padding: 64px 24px;
}

@media (min-width: 640px) {
  .club__body {
    padding-inline: 56px;
  }
}

@media (min-width: 1024px) {
  .club__body {
    padding-inline: 80px;
  }
}

.club__body h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  margin-top: 12px;
}

.club__body p {
  max-width: 30rem;
  margin-top: 22px;
  line-height: 1.75;
  color: #536b64;
}

.club__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  border-bottom: 1px solid rgba(21, 63, 52, 0.4);
  padding-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  padding: 48px 20px 40px;
  color: #9eafa9;
}

.site-footer__inner {
  display: grid;
  gap: 40px;
  max-width: 1330px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 760px) {
  .site-footer__inner {
    grid-template-columns: 1fr auto auto;
  }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #eee9dd;
}

.site-footer__brand .brand__mark {
  width: 32px;
  height: 32px;
  font-size: 16px;
}

.site-footer__brand span:last-child {
  font-family: var(--font-display);
  font-size: 20px;
}

.site-footer p {
  max-width: 24rem;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer__col {
  font-size: 14px;
  line-height: 2;
}

.site-footer__col p {
  margin: 0 0 4px;
  color: #eee9dd;
}

.site-footer__col a:hover {
  color: var(--gold-light);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1330px;
  margin: 0 auto;
  padding-top: 28px;
  font-size: 12px;
}

@media (min-width: 760px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__bottom strong {
  color: #d3c18f;
}

/* ---------- Utilities ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid rgba(18, 60, 49, 0.25);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #526b64;
}

.tag--gold {
  border-color: rgba(146, 116, 60, 0.35);
  color: var(--gold-deep);
}

/* ---------- Modal / auth ---------- */
.footer-link {
  border: 0;
  background: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
  text-align: left;
}

.footer-link:hover {
  color: var(--gold-light);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 30, 25, 0.72);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  animation: modal-in 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
}

.modal__close:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.modal__panel h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.05;
}

.modal__lead {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 6px;
  margin-top: 28px;
}

.auth-label {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7f78;
}

.auth-submit {
  width: 100%;
  margin-top: 22px;
}

.auth-note {
  margin-top: 12px;
  font-size: 11px;
  text-align: center;
  color: #7b8d87;
}

/* ---------- Compte connecté / onglets ---------- */
.header-user {
  font-size: 13px;
  color: #d9ded8;
  white-space: nowrap;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  flex: 1;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: #7b8d87;
  transition: color 160ms ease, border-color 160ms ease;
}

.auth-tab:hover {
  color: var(--green-900);
}

.auth-tab.is-active {
  border-bottom-color: var(--gold-deep);
  color: var(--green-900);
}

.auth-form.is-hidden {
  display: none;
}

.auth-error {
  margin-top: 14px;
  padding: 9px 12px;
  border-left: 2px solid var(--red);
  background: rgba(143, 54, 52, 0.07);
  font-size: 12px;
  color: var(--red);
}

.auth-error[hidden] {
  display: none;
}
