/* =========================
   01 ROOT
========================= */

:root {
  --bg: #07080c;
  --bg-soft: #101116;
  --card: rgba(21, 22, 29, 0.92);
  --card-strong: rgba(28, 29, 38, 0.96);
  --gold: #e8b875;
  --gold-strong: #f3c983;
  --text: #ffffff;
  --muted: #aaaab4;
  --soft: #d6d6dc;
  --line: rgba(232, 184, 117, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --max: 1380px;
}

/* =========================
   02 BASE
========================= */

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(232, 184, 117, 0.12), transparent 34rem),
    radial-gradient(circle at top right, rgba(232, 184, 117, 0.08), transparent 32rem),
    linear-gradient(180deg, #07080c 0%, #0b0c11 100%);
}

body.auth-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* =========================
   03 HEADER FIXED
========================= */

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(var(--max), calc(100% - 32px));
  padding: 12px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(10, 11, 16, 0.78);
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header:hover {
  border-color: var(--gold);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(232, 184, 117, 0.15);
}

main {
  padding-top: 110px;
}

/* =========================
   04 BRAND
========================= */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
}

.brand:hover {
  color: var(--gold);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  font-weight: 950;
  letter-spacing: 0.02em;
}

/* =========================
   05 NAVIGATION
========================= */

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.desktop-nav a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-button,
.mobile-login-button,
.mobile-menu-button {
  border: 1px solid var(--line);
  background: rgba(232, 184, 117, 0.1);
  color: var(--gold);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}

.login-button {
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #07080c;
  box-shadow: 0 14px 36px rgba(232, 184, 117, 0.18);
  transition: all 0.25s ease;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232, 184, 117, 0.35);
}

.mobile-menu-button {
  display: none;
}

.mobile-menu {
  display: none;
  width: min(var(--max), calc(100% - 40px));
  margin: 10px auto 0;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(10, 11, 16, 0.96);
  padding: 14px;
  position: fixed;
  top: 82px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
}

.mobile-menu a,
.mobile-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 12px;
  color: var(--soft);
  text-align: left;
  font-weight: 850;
  cursor: pointer;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
  color: var(--gold);
}

.mobile-login-button {
  width: 100%;
  margin-top: 10px;
}

/* =========================
   06 HERO
========================= */

.hero {
  width: min(var(--max), calc(100% - 40px));
  min-height: clamp(500px, 66vh, 635px);
  margin: auto;
  border: 1px solid var(--line-soft);
  border-radius: 36px;
  padding: clamp(26px, 3.6vw, 56px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0b0c11;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(8, 9, 13, 0.06), rgba(8, 9, 13, 0.42) 42%, rgba(8, 9, 13, 0.94)),
    linear-gradient(180deg, rgba(8, 9, 13, 0.02), rgba(8, 9, 13, 0.26));
  pointer-events: none;
  z-index: 2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 230, 180, 0.07) 48%,
    transparent 58%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: shimmer 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 5;
}

/* =========================
   07 HERO BACKGROUND IMAGE UND SIEGEL
========================= */

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
  opacity: 1;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  user-select: none;
}

.hero-corner-logo {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 185px;
  z-index: 10;
  transform: rotate(14deg);
  filter:
    drop-shadow(0 26px 62px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 30px rgba(232, 184, 117, 0.35))
    drop-shadow(-10px -8px 16px rgba(255, 232, 180, 0.18));
  pointer-events: none;
  user-select: none;
}

/* =========================
   08 HERO PERSON
========================= */

.hero-person-left {
  position: absolute;
  left: 28px;
  bottom: 0;
  width: min(500px, 39vw);
  max-height: 94%;
  object-fit: contain;
  object-position: bottom left;
  z-index: 3;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.86));
  transition: transform 0.35s ease, filter 0.35s ease;
  pointer-events: none;
}

.hero:hover .hero-person-left {
  transform: translateY(-8px) scale(1.015);
}

/* =========================
   09 HERO TEXT
========================= */

.hero-content {
  position: relative;
  z-index: 6;
}

.hero-content-right {
  max-width: 680px;
  margin-left: auto;
  margin-right: clamp(14px, 4vw, 64px);
  padding-top: clamp(42px, 6vw, 74px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
}

.hero-kicker-logo img {
  width: 170px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
}

.hero h1 {
  max-width: 740px;
  font-size: clamp(42px, 4.7vw, 70px);
  margin: clamp(32px, 4.4vw, 46px) 0 20px;
  line-height: 1.06;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero p {
  max-width: 600px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #08080a;
  box-shadow: 0 18px 48px rgba(232, 184, 117, 0.22);
}

.button.ghost {
  border-color: var(--line);
  color: var(--gold);
  background: rgba(232, 184, 117, 0.08);
}

.button.full {
  width: 100%;
}

/* =========================
   10 OFFERS
========================= */

.offers-section {
  width: min(1440px, calc(100% - 40px));
  margin: 64px auto 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 950;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.05em;
}

.trusted {
  color: var(--soft);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.trusted span {
  color: var(--gold);
}

.offers-list {
  display: grid;
  gap: 26px;
}

.bonus-card,
.loading-card,
.empty-card,
.legal-card {
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at top left, rgba(232, 184, 117, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--card);
  border-radius: 28px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

.loading-card,
.empty-card {
  padding: 30px;
  color: var(--soft);
  font-weight: 800;
}

.empty-card.error {
  color: #ff6b6b;
}

/* =========================
   11 BONUS CARDS
========================= */

.bonus-card {
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 270px;
  gap: 30px;
  padding: 28px;
  align-items: stretch;
  overflow: hidden;
}

.bonus-card.featured-offer {
  border-color: rgba(232, 184, 117, 0.45);
  box-shadow:
    0 0 34px rgba(232, 184, 117, 0.12),
    0 22px 70px rgba(0, 0, 0, 0.34);
}

.featured-banner {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(232, 184, 117, 0.14);
  border: 1px solid rgba(232, 184, 117, 0.42);
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.bonus-logo-box {
  min-height: 180px;
  border-radius: 22px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bonus-logo-box img {
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: contain;
  padding: 24px;
}

.bonus-logo-box strong {
  padding: 20px;
  color: var(--gold);
  font-size: 34px;
  font-weight: 950;
  text-align: center;
}

.bonus-main {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 16px;
}

.bonus-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.bonus-title-row h3 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.badge {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: rgba(232, 184, 117, 0.11);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.bonus-description {
  color: var(--muted);
  margin: 0;
  font-weight: 750;
  line-height: 1.45;
}

.feature-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 850;
}

.feature-list span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--gold);
  color: #09090b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 950;
  flex: 0 0 auto;
}

.bonus-action {
  border-left: 1px solid var(--line-soft);
  padding-left: 28px;
  display: grid;
  align-content: center;
  gap: 14px;
  text-align: center;
}

.age-note {
  font-weight: 950;
  font-size: 16px;
  color: var(--soft);
}

.terms-link,
.more-button {
  color: var(--soft);
  font-weight: 850;
}

.terms-link:hover,
.more-button:hover {
  color: var(--gold);
}

.more-button {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 9px 12px;
}

.more-button span {
  color: var(--gold);
  margin-left: 8px;
}

.bonus-details {
  grid-column: 1 / -1;
  display: none;
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
}

.bonus-card.is-open .bonus-details {
  display: block;
}

.extended-content {
  width: 100%;
  display: grid;
  gap: 24px;
}

.extended-content h4 {
  margin: 0;
  color: var(--gold);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.extended-feature-list {
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 34px;
  list-style: none;
}

.extended-feature-list li {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 12px;
}

.extended-feature-list span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--gold);
  color: #09090b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 950;
  flex: 0 0 auto;
}

.extended-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
}

.extended-footer-block {
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.22);
  padding: 20px;
}

.extended-block-title {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.extended-footer-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.extended-footer-icon {
  height: 34px;
  width: auto;
  max-width: 92px;
  object-fit: contain;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
}

.license-logo {
  height: 46px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.extended-empty {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

/* =========================
   ACP OFFERS
========================= */

.acp-offer-layout {
  display: grid;
  gap: 22px;
}

.acp-offer-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.acp-offer-form-card,
.acp-offer-table-card {
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(232, 184, 117, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--card);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  padding: 24px;
}

[data-offer-form] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

[data-offer-form] label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
}

[data-offer-form] input,
[data-offer-form] textarea,
[data-offer-form] select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  font-weight: 750;
  outline: none;
}

[data-offer-form] textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.45;
}

[data-offer-form] input:focus,
[data-offer-form] textarea:focus,
[data-offer-form] select:focus {
  border-color: rgba(232, 184, 117, 0.55);
  box-shadow: 0 0 0 3px rgba(232, 184, 117, 0.10);
}

[data-offer-form] input::placeholder,
[data-offer-form] textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

[data-offer-form] label:has(textarea),
[data-offer-form] .check-row,
[data-offer-form] .offer-feature-editor,
[data-offer-form] .offer-form-actions,
[data-offer-form] .auth-status {
  grid-column: 1 / -1;
}

[data-offer-form] .check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
}

[data-offer-form] .check-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--gold);
}

.offer-feature-editor {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.18);
}

.offer-feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.offer-feature-head h3 {
  margin: 0;
  color: var(--gold);
  font-size: 18px;
}

.offer-feature-list {
  display: grid;
  gap: 10px;
}

.offer-feature-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 90px auto;
  gap: 10px;
  align-items: center;
}

.offer-feature-row select,
.offer-feature-row input {
  min-height: 42px;
}

.offer-feature-row button {
  min-height: 42px;
}

.offer-form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.acp-table-wrap {
  overflow-x: auto;
}

.acp-table {
  width: 100%;
  border-collapse: collapse;
}

.acp-table th,
.acp-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}

.acp-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.acp-table td {
  color: var(--soft);
  font-weight: 750;
}

.acp-offer-name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.acp-offer-name-cell img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #000;
  object-fit: contain;
  padding: 6px;
}

.acp-offer-name-cell strong {
  display: block;
  color: var(--text);
  font-weight: 950;
}

.acp-offer-name-cell span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.acp-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.acp-table [data-offer-edit],
.acp-table [data-offer-delete],
.acp-table [data-offer-toggle] {
  margin: 0;
}

@media (max-width: 1180px) {
  .bonus-card {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .bonus-action {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding-left: 0;
    padding-top: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
  }
}

@media (max-width: 900px) {
  .offers-section {
    width: min(100% - 24px, 1440px);
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .bonus-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .bonus-logo-box {
    min-height: 140px;
  }

  .bonus-action {
    grid-template-columns: 1fr;
  }

  .extended-feature-list {
    columns: 1;
  }

  .extended-footer {
    grid-template-columns: 1fr;
  }

  [data-offer-form] {
    grid-template-columns: 1fr;
  }

  .offer-form-actions {
    grid-template-columns: 1fr;
  }

  .offer-feature-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .bonus-title-row h3 {
    font-size: 32px;
  }

  .feature-list li {
    font-size: 16px;
  }

  .acp-offer-form-card,
  .acp-offer-table-card {
    padding: 18px;
  }
}

/* =========================
   12 LEGAL
========================= */

.legal-card {
  width: min(var(--max), calc(100% - 40px));
  margin: 48px auto 0;
  padding: clamp(24px, 4vw, 42px);
}

.legal-card h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
}

.legal-card p {
  margin: 0;
  color: var(--soft);
  line-height: 1.8;
  font-weight: 650;
}

/* =========================
   13 FOOTER
========================= */

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 46px auto 28px;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: rgba(10, 11, 16, 0.78);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-brand strong {
  font-size: 22px;
}

.footer-brand p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-socials a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--gold);
  background: rgba(232, 184, 117, 0.08);
  font-weight: 850;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}

/* =========================
   14 AUTH MODAL PREMIUM
========================= */

.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 200;
}

.auth-modal.is-open {
  display: flex;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(18px);
}

.auth-dialog {
  position: relative;
  z-index: 2;
  width: min(590px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(232, 184, 117, 0.24), transparent 20rem),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    var(--bg-soft);
  box-shadow:
    0 40px 120px rgba(0,0,0,0.8),
    0 0 50px rgba(232, 184, 117, 0.12);
  padding: 30px;
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  transition: 0.2s;
}

.auth-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.auth-head {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-right: 54px;
  margin-bottom: 20px;
}

.auth-head img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(232, 184, 117, 0.2));
}

.auth-head h2 {
  margin: 0 0 7px;
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.auth-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.auth-tabs {
  margin-top: 18px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(0,0,0,0.25);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.auth-tab {
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s;
}

.auth-tab.is-active {
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #08080a;
  box-shadow: 0 10px 25px rgba(232, 184, 117, 0.3);
}

.auth-panel {
  display: none;
  margin-top: 22px;
}

.auth-panel.is-active {
  display: block;
}

.discord-button {
  min-height: 54px;
  border-radius: 16px;
  background: linear-gradient(180deg, #6d7cff, #5865f2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(88, 101, 242, 0.35);
  transition: 0.25s;
}

.discord-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(88, 101, 242, 0.45);
}

.auth-separator {
  margin: 18px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.auth-separator::before,
.auth-separator::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line-soft);
}

.auth-register-note {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(232, 184, 117, 0.06);
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 650;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  color: var(--soft);
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  padding: 0 14px;
  outline: none;
  transition: 0.2s;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 117, 0.15);
}

.check-row {
  display: grid !important;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 11px !important;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: rgba(0,0,0,0.22);
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.45;
  cursor: pointer;
}

.check-row input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s;
}

.check-row input[type="checkbox"]::after {
  content: "✓";
  font-size: 14px;
  font-weight: 950;
  color: #08080a;
  opacity: 0;
  transform: scale(0.6);
  transition: 0.2s;
}

.check-row input[type="checkbox"]:checked {
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  border-color: var(--gold);
}

.check-row input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: scale(1);
}

.check-row:hover {
  border-color: var(--line);
  background: rgba(232, 184, 117, 0.055);
}

.auth-form .button {
  margin-top: 6px;
}

.auth-status {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.auth-status[data-type="error"] {
  color: #ff6b6b;
}

.auth-status[data-type="success"] {
  color: #35d07f;
}

/* =========================
   15 USER MENU DROPDOWN
========================= */

.user-menu-wrap {
  position: relative;
}

.user-menu-button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px 5px 5px;
  background: rgba(232, 184, 117, 0.08);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 900;
}

.user-menu-button img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  background: #000;
  border: 1px solid rgba(232, 184, 117, 0.35);
}

.user-menu-button:hover {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(232, 184, 117, 0.16);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 230px;
  display: none;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(232, 184, 117, 0.14), transparent 12rem),
    rgba(10, 11, 16, 0.97);
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.55);
  z-index: 120;
}

.user-dropdown.is-open {
  display: grid;
  gap: 6px;
}

.user-dropdown button,
.user-dropdown a {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--soft);
  display: flex;
  align-items: center;
  padding: 0 12px;
  text-align: left;
  font-weight: 850;
  cursor: pointer;
}

.user-dropdown button:hover,
.user-dropdown a:hover {
  background: rgba(232, 184, 117, 0.1);
  color: var(--gold);
}

/* =========================
   16 FORGOT PASSWORD
========================= */

.forgot-link {
  width: fit-content;
  margin: -2px auto 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 999px;
}

.forgot-link:hover {
  background: rgba(232, 184, 117, 0.09);
  box-shadow: 0 0 20px rgba(232, 184, 117, 0.1);
}

/* =========================
   17 PROFILE MODAL
========================= */

.profile-modal,
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.profile-modal[hidden],
.legal-modal[hidden] {
  display: none;
}

.profile-backdrop,
.legal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(18px);
}

.profile-dialog,
.legal-dialog {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(232, 184, 117, 0.22), transparent 20rem),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    var(--bg-soft);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(232, 184, 117, 0.12);
  padding: 30px;
}

.profile-dialog-wide {
  width: min(680px, 100%);
}

.profile-close,
.legal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.profile-close:hover,
.legal-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.profile-dialog h2,
.legal-dialog h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.05em;
}

.profile-dialog p,
.legal-dialog p {
  margin: 0 0 18px;
  color: var(--soft);
  line-height: 1.7;
  font-weight: 650;
}

.profile-dialog form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.profile-dialog label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 850;
}

.profile-dialog input[type="text"],
.profile-dialog input[type="email"],
.profile-dialog input[type="password"],
.profile-dialog input[type="file"] {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}

.profile-dialog input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 117, 0.15);
}

.profile-avatar-edit {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.24);
}

.profile-avatar-edit img {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

.profile-avatar-edit strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  margin-bottom: 5px;
}

.profile-avatar-edit span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.upload-button {
  width: fit-content;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(232, 184, 117, 0.08);
  color: var(--gold);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 900;
}

.upload-button:hover {
  background: rgba(232, 184, 117, 0.14);
}

.profile-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 4px 0;
}

.profile-info-box {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(232, 184, 117, 0.06);
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

/* =========================
   18 PLUS HINWEIS MODAL
========================= */

.legal-modal-head {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-right: 44px;
  margin-bottom: 22px;
}

.legal-modal-head img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(232, 184, 117, 0.2));
}

.legal-modal-head h2 {
  margin: 0;
}

.legal-highlight {
  margin: 0 0 20px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(232, 184, 117, 0.11), rgba(232, 184, 117, 0.045));
  color: var(--gold);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 950;
}

/* neuer Content Aufbau */

.legal-dialog {
  display: grid;
  gap: 14px;
}

.legal-dialog p {
  margin: 0;
  color: var(--soft);
  line-height: 1.7;
  font-weight: 650;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 6px 0 4px;
  padding: 0;
  list-style: none;
}

.legal-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.legal-list span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--gold);
  color: #09090b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 950;
  flex: 0 0 auto;
  margin-top: 2px;
}

.legal-warning-box {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 100, 100, 0.25);
  background: rgba(255, 80, 80, 0.06);
  color: #ff8a8a;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 800;
}

.legal-warning-box strong {
  color: #ff6b6b;
}

.legal-actions {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.legal-actions .button {
  width: 100%;
}

.legal-actions .button.ghost {
  border-color: var(--line);
  background: rgba(232, 184, 117, 0.06);
  color: var(--gold);
}

.legal-actions .button.ghost:hover {
  background: rgba(232, 184, 117, 0.12);
}

/* mobile feinheiten */

@media (max-width: 980px) {
  .legal-dialog {
    gap: 12px;
  }

  .legal-highlight {
    font-size: 15px;
    padding: 14px;
  }

  .legal-list li {
    font-size: 13px;
  }

  .legal-warning-box {
    font-size: 13px;
    padding: 14px;
  }
}

@media (max-width: 520px) {
  .legal-highlight {
    font-size: 14px;
  }

  .legal-list span {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .legal-list li {
    font-size: 12px;
  }

  .legal-warning-box {
    font-size: 12px;
  }
}

/* =========================
   19 ACP DASHBOARD
========================= */

.acp-section {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}

.acp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.acp-stat-card,
.acp-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    var(--card);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.28);
}

.acp-stat-card {
  padding: 22px;
}

.acp-stat-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.acp-stat-card strong {
  display: block;
  color: var(--gold);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.acp-card {
  padding: 22px;
}

.section-head.compact {
  margin-bottom: 16px;
}

/* =========================
   CHART GRID
========================= */

.acp-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.acp-chart-box {
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.22);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.acp-chart-box:hover {
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(232, 184, 117, 0.15);
}

.acp-chart-box h3 {
  margin: 0;
  color: var(--gold);
  font-size: 16px;
}

/* =========================
   CHART FIX (WICHTIG)
========================= */

.acp-chart {
  position: relative;
  width: 100%;
  height: 220px;
  max-height: 220px;
  overflow: hidden;
}

.acp-chart canvas {
  display: block;
  width: 100% !important;
  height: 220px !important;
  max-height: 220px !important;
}

/* =========================
   TABLE / USER
========================= */

.acp-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.2);
}

.acp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 940px;
}

.acp-table th,
.acp-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

.acp-table th {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(232, 184, 117, 0.045);
}

.acp-table td {
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.acp-table tr:last-child td {
  border-bottom: 0;
}

/* =========================
   USER CELLS
========================= */

.acp-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.acp-user-cell img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--line);
}

.acp-mail-cell {
  display: grid;
  gap: 6px;
}

.acp-mail-cell > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* =========================
   BADGES
========================= */

.acp-badge,
.acp-role {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.acp-badge.success {
  color: #35d07f;
  border: 1px solid rgba(53, 208, 127, 0.35);
  background: rgba(53, 208, 127, 0.08);
}

.acp-badge.warning {
  color: #ffd166;
  border: 1px solid rgba(255, 209, 102, 0.35);
  background: rgba(255, 209, 102, 0.08);
}

.acp-badge.protected {
  color: var(--gold);
  border: 1px solid var(--line);
  background: rgba(232, 184, 117, 0.08);
}

.acp-role {
  color: var(--soft);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
}

.acp-role.role-admin {
  color: #8ab4ff;
}

.acp-role.role-owner {
  color: var(--gold);
}

/* =========================
   BUTTONS
========================= */

.acp-mini-button {
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(232, 184, 117, 0.08);
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.acp-mini-button:hover {
  background: rgba(232, 184, 117, 0.14);
}

.button:disabled,
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.acp-search-row {
  position: relative;
  margin-bottom: 20px;
}

.acp-search-row input {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  padding: 0 18px 0 46px;
  outline: none;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.25s ease;
}

/* 🔍 Icon */
.acp-search-row::before {
  content: "🔍";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.6;
  pointer-events: none;
}

/* Hover */
.acp-search-row input:hover {
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.45);
}

/* Fokus */
.acp-search-row input:focus {
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.55);
  box-shadow:
    0 0 0 3px rgba(232, 184, 117, 0.15),
    0 0 20px rgba(232, 184, 117, 0.1);
}

/* Placeholder */
.acp-search-row input::placeholder {
  color: var(--muted);
  font-weight: 700;
}

/* Mobile */
@media (max-width: 980px) {
  .acp-search-row input {
    height: 48px;
    font-size: 13px;
  }
}

/* =========================
   20 ACP EDIT MODAL
========================= */

.acp-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.acp-edit-modal[hidden] {
  display: none;
}

.acp-edit-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(18px);
}

.acp-edit-dialog {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(232, 184, 117, 0.22), transparent 20rem),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    var(--bg-soft);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(232, 184, 117, 0.12);
  padding: 30px;
}

.acp-edit-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.acp-edit-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.acp-edit-head {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-right: 54px;
  margin-bottom: 22px;
}

.acp-edit-head img {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

.acp-edit-head h2 {
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.05em;
}

.acp-edit-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.acp-edit-dialog form {
  display: grid;
  gap: 14px;
}

.acp-edit-dialog label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 850;
}

.acp-edit-dialog input[type="text"],
.acp-edit-dialog input[type="email"],
.acp-edit-dialog input[type="password"],
.acp-edit-dialog select {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

.acp-edit-dialog select {
  cursor: pointer;
}

.acp-edit-dialog input:focus,
.acp-edit-dialog select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 117, 0.15);
}

/* =========================
   20 ANIMATIONS
========================= */

@keyframes shimmer {
  0% {
    transform: translateX(-120%);
  }

  42%, 100% {
    transform: translateX(120%);
  }
}

/* =========================
   21 HERO OVERLAP FIX
========================= */

@media (max-width: 1250px) {
  .hero-person-left {
    width: min(440px, 38vw);
    left: 8px;
  }

  .hero-content-right {
    max-width: 560px;
    margin-right: 14px;
  }

  .hero h1 {
    font-size: clamp(40px, 4.4vw, 60px);
  }
}

/* =========================
   22 RESPONSIVE MOBILE FIX
========================= */

@media (max-width: 980px) {

  main {
    padding-top: 82px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px 12px;
  }

  .desktop-nav,
  .login-button {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .mobile-menu {
    top: 70px;
    width: calc(100% - 20px);
  }

  .mobile-menu button {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--soft);
    text-align: left;
    padding: 12px;
    font-weight: 850;
    cursor: pointer;
  }

  .mobile-menu button:hover,
  .mobile-menu a:hover {
    color: var(--gold);
  }

  .user-menu-wrap {
    width: 100%;
  }

  .user-menu-button {
    width: 100%;
    justify-content: center;
  }

  .user-dropdown {
    right: 0;
    width: 100%;
  }

  .hero,
  .offers-section,
  .legal-card,
  .site-footer,
  .acp-section {
    width: min(100% - 20px, var(--max));
  }

  .hero {
    min-height: unset;
    max-height: 48vh;
    padding: 12px 12px 14px;
    border-radius: 20px;
    text-align: center;
  }

  .hero-bg-image {
    object-position: center left;
    border-radius: 20px;
  }

  .hero-corner-logo {
    top: -8px;
    right: -6px;
    width: 68px;
    transform: rotate(10deg);
  }

  .hero-person-left {
    position: relative;
    width: min(145px, 48vw);
    margin: 4px auto 6px;
  }

  .hero-content-right {
    margin: 0;
    padding-top: 8px;
  }

  .hero-kicker-logo img {
    width: 105px;
  }

  .hero h1 {
    font-size: 21px;
    margin: 8px 0 6px;
    line-height: 1.08;
  }

  .hero p {
    font-size: 12px;
    line-height: 1.35;
  }

  .hero-actions {
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }

  .hero-actions .button {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
  }

  .bonus-card {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 20px;
  }

  .bonus-action {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding-top: 18px;
  }

  .bonus-details {
    grid-template-columns: 1fr;
  }

  .extended-footer {
    grid-template-columns: 1fr;
  }

  .profile-avatar-preview {
    width: 80px;
    height: 80px;
  }

  .profile-avatar-upload {
    align-items: center;
    text-align: center;
  }

  .profile-dialog form {
    gap: 12px;
  }

  .profile-dialog input {
    font-size: 14px;
  }

  .acp-grid {
    grid-template-columns: 1fr;
  }

  .acp-card {
    padding: 18px;
  }

  .acp-table-wrap {
    border-radius: 16px;
  }

  .acp-chart-grid {
    grid-template-columns: 1fr;
  }

  .acp-bars {
    height: 190px;
  }

  .acp-search-row input {
    min-height: 48px;
  }

  .acp-edit-dialog {
    padding: 22px;
    border-radius: 24px;
  }

  .acp-edit-head {
    align-items: flex-start;
  }

  .acp-edit-head img {
    width: 60px;
    height: 60px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

/* =========================
   23 RESPONSIVE SMALL MOBILE
========================= */

@media (max-width: 520px) {

  .brand span {
    font-size: 15px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .mobile-menu-button {
    padding: 9px 13px;
  }

  .user-menu-button span {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    max-height: 42vh;
    padding: 10px 10px 12px;
    border-radius: 18px;
  }

  .hero-corner-logo {
    width: 58px;
  }

  .hero-person-left {
    width: min(120px, 42vw);
    margin: 2px auto 5px;
  }

  .hero-kicker-logo img {
    width: 92px;
  }

  .hero h1 {
    font-size: 18px;
    margin: 6px 0 4px;
    line-height: 1.05;
  }

  .hero p {
    font-size: 11px;
    line-height: 1.3;
  }

  .hero-actions {
    display: grid;
    gap: 7px;
    margin-top: 9px;
  }

  .hero-actions .button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .button {
    width: 100%;
  }

  .feature-list li {
    font-size: 15px;
  }

  .bonus-title-row h3 {
    font-size: 28px;
  }

  .extended-content h4 {
    font-size: 16px;
  }

  .extended-feature-list li {
    font-size: 13px;
  }

  .extended-footer-block {
    padding: 14px;
  }

  .profile-avatar-preview {
    width: 70px;
    height: 70px;
  }

  .profile-dialog h2 {
    font-size: 22px;
  }

  .profile-dialog input {
    height: 46px;
    font-size: 13px;
  }

  .auth-dialog,
  .profile-dialog,
  .legal-dialog,
  .acp-edit-dialog {
    padding: 20px;
    border-radius: 22px;
  }

  .auth-head img {
    width: 56px;
    height: 56px;
  }

  .auth-head h2,
  .legal-dialog h2,
  .acp-edit-head h2 {
    font-size: 22px;
  }

  .acp-stat-card strong {
    font-size: 34px;
  }

  .acp-bars {
    height: 160px;
    gap: 6px;
  }

  .acp-bar-label {
    font-size: 9px;
  }

  .acp-chart-box {
    padding: 14px;
  }

  .acp-search-row input {
    font-size: 13px;
  }

  .acp-edit-head img {
    width: 54px;
    height: 54px;
  }

  .legal-highlight {
    font-size: 14px;
    padding: 12px;
  }

  .footer-socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-socials a {
    text-align: center;
  }
}

/* =========================
   24 BONUS HUNT PUBLIC
========================= */

.hunt-hidden {
  display: none !important;
}

/* LIVE INDICATOR */

.hunt-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #35d07f;
  font-weight: 900;
}

.hunt-live-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #35d07f;
  box-shadow: 0 0 10px rgba(53, 208, 127, 0.8);
}

/* MONEY INPUT */

.hunt-money-input {
  position: relative;
  display: grid;
  gap: 8px;
}

.hunt-money-input input {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  padding: 0 52px 0 14px !important;
  outline: none;
  font-weight: 700;
}

.hunt-money-input input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 117, 0.15);
}

.hunt-money-input::after {
  content: "€";
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: var(--gold);
  font-weight: 950;
  pointer-events: none;
  line-height: 1;
}

/* RESULT INPUT (ACP TABLE) */

.hunt-result-input {
  width: 130px;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  padding: 0 14px;
  outline: none;
  font-weight: 800;
  text-align: right;
}

.hunt-result-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 117, 0.15);
}

.hunt-result-input::placeholder {
  color: var(--muted);
}

/* OPTIONAL: kleine Verbesserung für Tabellen */

.acp-table td .hunt-result-input {
  max-width: 140px;
}

.hunt-money-input input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.hunt-money-input:has(input:disabled)::after {
  opacity: 0.45;
}

.hunt-money-input input[readonly],
.hunt-money-input input:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: rgba(232, 184, 117, 0.06);
  border-color: var(--line);
  color: var(--gold);
}

/* =========================
   25 TOURNAMENT SYSTEM
========================= */

.tournament-champion-box {
  margin: 22px 0;
  padding: 34px 28px;
  border-radius: 28px;
  border: 1px solid rgba(232, 184, 117, 0.35);
  background:
    radial-gradient(circle at top, rgba(232, 184, 117, 0.28), transparent 58%),
    linear-gradient(135deg, rgba(232, 184, 117, 0.10), transparent 55%),
    rgba(0, 0, 0, 0.42);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.38),
    0 0 45px rgba(232, 184, 117, 0.10);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tournament-champion-box::before {
  content: "👑";
  position: absolute;
  top: -22px;
  right: 24px;
  font-size: 90px;
  opacity: 0.06;
  pointer-events: none;
}

.tournament-champion-box span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.tournament-champion-box strong {
  display: block;
  color: var(--gold);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 950;
  line-height: 1.05;
  text-shadow:
    0 0 24px rgba(232, 184, 117, 0.18);
}

/* PUBLIC TOURNAMENT ACCORDION */

.tournament-public-match-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tournament-public-match-grid.final-grid {
  grid-template-columns: minmax(280px, 760px);
  justify-content: center;
}

.round-card {
  margin-bottom: 18px;
  border-radius: 24px;
  border: 1px solid rgba(232, 184, 117, 0.18);
  background:
    linear-gradient(135deg, rgba(232, 184, 117, 0.11), transparent 42%),
    rgba(0, 0, 0, 0.28);
  overflow: hidden;
  box-shadow:
    0 16px 45px rgba(0, 0, 0, 0.25);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.round-card.open {
  border-color: rgba(232, 184, 117, 0.28);
}

.round-card.active-round {
  border-color: rgba(232, 184, 117, 0.45);
  box-shadow:
    0 0 28px rgba(232, 184, 117, 0.18),
    0 16px 45px rgba(0, 0, 0, 0.28);
}

.round-card.final-round {
  border-color: rgba(232, 184, 117, 0.48);
  box-shadow:
    0 0 34px rgba(232, 184, 117, 0.12),
    0 20px 52px rgba(0, 0, 0, 0.32);
}

.round-toggle {
  width: 100%;
  border: 0;
  background:
    linear-gradient(
      90deg,
      rgba(232, 184, 117, 0.13),
      rgba(0, 0, 0, 0.16)
    );

  color: var(--text);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  text-align: left;
  cursor: pointer;

  transition:
    background 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.round-toggle:hover {
  background:
    linear-gradient(
      90deg,
      rgba(232, 184, 117, 0.18),
      rgba(0, 0, 0, 0.22)
    );

  transform: translateY(-1px);
}

.round-toggle span {
  color: var(--gold);
  font-size: 20px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.round-toggle strong {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #14100a;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;

  box-shadow:
    0 0 14px rgba(232, 184, 117, 0.24);
}

.round-toggle em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.round-content {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.25s ease;
}

.round-content > * {
  overflow: hidden;
}

.round-card.open .round-content {
  grid-template-rows: 1fr;
  padding: 20px;
}

/* MATCHES */

.viewer-match-detail {
  border-radius: 22px;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(
      circle at top right,
      rgba(232, 184, 117, 0.10),
      transparent 42%
    ),
    rgba(0, 0, 0, 0.34);

  padding: 18px;

  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.viewer-match-detail:hover {
  transform: translateY(-2px);

  border-color:
    rgba(232, 184, 117, 0.26);
}

.viewer-match-detail.is-played {
  border-color:
    rgba(232, 184, 117, 0.32);
}

.final-round .viewer-match-detail {
  border-color:
    rgba(232, 184, 117, 0.42);

  box-shadow:
    0 0 32px rgba(232, 184, 117, 0.12);
}

.viewer-match-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.viewer-match-head strong {
  color: var(--gold);
  font-weight: 950;
  font-size: 15px;
}

.viewer-match-head span {
  color: var(--gold);
  font-weight: 950;
  text-align: right;
}

/* ACP TOURNAMENT */

.tournament-player-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(190px, 1fr));

  gap: 14px;
}

.tournament-admin-round {
  margin-bottom: 18px;
}

.tournament-admin-round.round-card {
  background:
    linear-gradient(
      135deg,
      rgba(232, 184, 117, 0.11),
      transparent 42%
    ),
    rgba(0, 0, 0, 0.28);

  border:
    1px solid rgba(232, 184, 117, 0.18);

  border-radius: 24px;
  overflow: hidden;
}

.tournament-admin-round.active-round {
  border-color:
    rgba(232, 184, 117, 0.45);

  box-shadow:
    0 0 28px rgba(232, 184, 117, 0.18),
    0 16px 45px rgba(0, 0, 0, 0.28);
}

.tournament-admin-round.final-round {
  border-color:
    rgba(232, 184, 117, 0.48);
}

.tournament-admin-round .round-content {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.25s ease;
}

.tournament-admin-round .round-content > * {
  overflow: hidden;
}

.tournament-admin-round.open .round-content {
  grid-template-rows: 1fr;
  padding: 18px;
}

.tournament-admin-round.final-round .round-content {
  justify-items: center;
}

.tournament-admin-round.final-round .tournament-admin-match {
  width: 100%;
  max-width: 760px;
}

.tournament-admin-match {
  border-radius: 22px;
  border: 1px solid var(--line-soft);

  background:
    radial-gradient(
      circle at top right,
      rgba(232, 184, 117, 0.10),
      transparent 42%
    ),
    rgba(0, 0, 0, 0.30);

  padding: 20px;
}

.tournament-match-form {
  margin-top: 14px;
}

.winner-preview-box {
  margin: 16px 0;
  padding: 16px 18px;
  border-radius: 18px;

  border:
    1px solid rgba(232, 184, 117, 0.25);

  background:
    rgba(232, 184, 117, 0.08);

  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.winner-preview-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.winner-preview-box strong {
  color: var(--gold);
  font-weight: 950;
  text-align: right;
  font-size: 15px;
}

/* PLAYER CARDS */

.viewer-duel-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 14px;
}

.viewer-player-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line-soft);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035),
      transparent
    ),
    rgba(0, 0, 0, 0.28);

  padding: 16px;
  overflow: hidden;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.viewer-player-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top right,
      rgba(232, 184, 117, 0.06),
      transparent 42%
    );

  pointer-events: none;
}

.viewer-player-card:hover {
  transform: translateY(-2px);
}

.viewer-player-card.winner {
  border-color:
    rgba(232, 184, 117, 0.75);

  box-shadow:
    0 0 22px rgba(232, 184, 117, 0.20),
    inset 0 0 0 1px rgba(232, 184, 117, 0.12);
}

.viewer-player-card.winner::after {
  content: "👑";
  position: absolute;
  top: -12px;
  right: 12px;
  font-size: 28px;

  filter:
    drop-shadow(
      0 0 10px rgba(232, 184, 117, 0.65)
    );
}

.viewer-player-card h4 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 950;
}

.viewer-player-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 800;
}

.viewer-player-stats {
  display: grid;
  grid-template-columns:
    repeat(3, 1fr);

  gap: 8px;
}

.viewer-player-stats div {
  padding: 10px;
  border-radius: 14px;
  background:
    rgba(255, 255, 255, 0.045);
}

.viewer-player-stats span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.viewer-player-stats strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 950;
}

/* INPUT STATES */

.tournament-match-form input:disabled,
.tournament-player-grid input:disabled,
.tournament-match-form textarea:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  border-color:
    rgba(255, 255, 255, 0.08);

  background:
    rgba(255, 255, 255, 0.03);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* PROFIT / LOSS */

.profit {
  color: #35d07f !important;
}

.loss {
  color: #ff5c5c !important;
}

/* MOBILE */

@media (max-width: 1000px) {
  .tournament-public-match-grid {
    grid-template-columns: 1fr;
  }

  .tournament-public-match-grid.final-grid {
    grid-template-columns: 1fr;
  }

  .viewer-duel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .round-toggle {
    grid-template-columns: 1fr;
  }

  .winner-preview-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .winner-preview-box strong {
    text-align: left;
  }

  .tournament-champion-box {
    padding: 28px 22px;
  }

  .viewer-match-head {
    flex-direction: column;
  }

  .viewer-match-head span {
    text-align: left;
  }
}