/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 2.5rem;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background-color: #0a0a0a;
  color: #f0e6d6;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== Header / Navigation ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2.5rem;
  background: linear-gradient(180deg, #0f0f0f 0%, #1a0a0a 100%);
  border-bottom: 1px solid #c8a84e33;
  position: relative;
  z-index: 10;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-link {
  padding: 0.55rem 1.3rem;
  border: 1.5px solid #c8a84e55;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #d4c5a9;
  transition: all 0.25s ease;
  cursor: pointer;
}

.nav-link:hover {
  background-color: #c8a84e;
  color: #0a0a0a;
  border-color: #c8a84e;
}

.nav-link--login {
  background: linear-gradient(135deg, #c8a84e, #a8883e);
  color: #0a0a0a;
  font-weight: 700;
  border-color: #c8a84e;
}

.nav-link--login:hover {
  background: linear-gradient(135deg, #ddbf5e, #c8a84e);
  box-shadow: 0 0 16px #c8a84e44;
}

.nav-link--active {
  border-color: #c8a84e;
  color: #c8a84e;
  box-shadow: 0 0 10px #c8a84e33;
}

.nav-link--profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
}

.nav-link--profile svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ===== Hero Section ===== */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  gap: 1.2rem;
  background: url('../img/bg-hero.png') center center / cover no-repeat;
  position: relative;
  min-height: calc(100vh - 130px);
}

/* Dark overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, #0a0a0acc 90%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 2;
}

/* ===== Decorative Side Suits ===== */
.deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 1;
  user-select: none;
  pointer-events: none;
}

.deco--left {
  left: 3.5rem;
}

.deco--right {
  right: 3.5rem;
}

.deco__suit {
  font-size: 2.8rem;
  opacity: 0.15;
  transition: opacity 0.4s ease, transform 0.4s ease;
  animation: float 4s ease-in-out infinite;
  pointer-events: auto;
}

.deco__suit:hover {
  opacity: 0.5;
  transform: scale(1.2);
}

/* Stagger the float animation */
.deco__suit:nth-child(1) { animation-delay: 0s; }
.deco__suit:nth-child(2) { animation-delay: 0.8s; }
.deco__suit:nth-child(3) { animation-delay: 1.6s; }
.deco__suit:nth-child(4) { animation-delay: 2.4s; }

.deco__suit--spade  { color: #f0e6d6; }
.deco__suit--heart  { color: #c8a84e; }
.deco__suit--diamond { color: #c8a84e; }
.deco__suit--club   { color: #f0e6d6; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ===== Gold Accent Lines ===== */
.deco-line {
  position: absolute;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #c8a84e44 20%,
    #c8a84e66 50%,
    #c8a84e44 80%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.deco-line--left {
  left: 2rem;
}

.deco-line--right {
  right: 2rem;
}

/* ===== Homepage Hero Content ===== */
.hero__logo-img {
  height: 310px;
  max-width: 90vw;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  margin-top: -50px;
  margin-bottom: 22px;
}

.hero__cta {
  display: inline-block;
  padding: 1.15rem 3.8rem;
  border: 2px solid #c8a84e;
  border-radius: 6px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: #c8a84e;
  text-transform: uppercase;
  margin-top: 0; 
} 

.hero__cta:hover {
  background: linear-gradient(135deg, #c8a84e, #a8883e);
  color: #0a0a0a;
  border-color: #c8a84e;
  transform: translateY(-2px);
  box-shadow: 0 4px 24px #c8a84e44;
}

.hero__tagline {
  font-size: 2.1rem;
  font-weight: 400;
  color: #d4c5a9dd;
  font-style: italic;
  letter-spacing: 2px;
  margin-top: 0.5rem;
}

/* ===== Popup / Modal Cards (Login & Registrieren) ===== */
.popup-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}

.popup-card {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(165deg, rgba(26, 12, 12, 0.94) 0%, rgba(14, 8, 8, 0.98) 100%);
  border: 1.5px solid #c8a84e66;
  border-radius: 12px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(200, 168, 78, 0.18),
    inset 0 1px 0 rgba(200, 168, 78, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 2.4rem 2.6rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  animation: cardFadeIn 0.35s ease-out;
}

.popup-card--register {
  max-width: 530px;
  padding: 2.2rem 2.6rem;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Gold top accent line on popup */
.popup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #c8a84e 50%, transparent 100%);
}

.popup-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.popup-title {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #f0e6d6;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff3d1 0%, #c8a84e 60%, #a8883e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.popup-subtitle {
  font-size: 0.95rem;
  color: #d4c5a9bb;
  font-style: italic;
}

/* ===== Form Styling ===== */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #d4c5a9;
  letter-spacing: 0.4px;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1.1rem;
  background: rgba(10, 10, 10, 0.75);
  border: 1.5px solid #c8a84e55;
  border-radius: 6px;
  color: #f0e6d6;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.form-input::placeholder {
  color: #d4c5a955;
}

.form-input:focus {
  outline: none;
  border-color: #c8a84e;
  background: rgba(15, 12, 12, 0.9);
  box-shadow: 0 0 12px rgba(200, 168, 78, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Two-column layout for Vorname / Nachname */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

/* Password hint matching sketch (min 6-12 zeichen) */
.password-hint {
  font-size: 0.8rem;
  color: #e57373; /* Red color as in the hand-drawn sketch */
  margin-top: 0.15rem;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Options row: Remember Me & Forgot Password */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #d4c5a9;
  margin-top: -0.1rem;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.form-checkbox {
  appearance: none;
  width: 16px;
  height: 16px;
  background: rgba(10, 10, 10, 0.8);
  border: 1.5px solid #c8a84e77;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.form-checkbox:checked {
  background: #c8a84e;
}

.form-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 900;
}

.form-link {
  color: #c8a84e;
  transition: color 0.2s, text-shadow 0.2s;
}

.form-link:hover {
  color: #ddbf5e;
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(200, 168, 78, 0.4);
}

/* Submit CTA Buttons (Loslegen !, Einloggen) */
.btn-submit {
  width: 100%;
  padding: 0.95rem 2rem;
  background: linear-gradient(135deg, #c8a84e 0%, #a8883e 100%);
  border: 2px solid #c8a84e;
  border-radius: 6px;
  color: #0a0a0a;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 0.6rem;
  box-shadow: 0 4px 18px rgba(200, 168, 78, 0.25);
  font-family: inherit;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #ddbf5e 0%, #c8a84e 100%);
  border-color: #ddbf5e;
  box-shadow: 0 6px 25px rgba(200, 168, 78, 0.45);
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Bottom switch option (e.g. Noch kein Konto? Registrieren) */
.popup-switch {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid #c8a84e33;
  text-align: center;
  font-size: 0.92rem;
  color: #d4c5a9;
}

.popup-switch-link {
  color: #c8a84e;
  font-weight: 600;
  margin-left: 0.4rem;
  transition: all 0.2s ease;
}

.popup-switch-link:hover {
  color: #ddbf5e;
  text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 2.5rem;
  background: linear-gradient(0deg, #0f0f0f 0%, #1a0a0a 100%);
  border-top: 1px solid #c8a84e33;
  position: relative;
  z-index: 10;
}

.footer-link {
  padding: 0.4rem 1.25rem;
  border: 1.5px solid #c8a84e55;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #d4c5a9;
  transition: all 0.25s ease;
}

.footer-link:hover {
  background-color: #c8a84e;
  color: #0a0a0a;
  border-color: #c8a84e;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    padding: 0.8rem 1rem;
  }

  .header__logo-img {
    height: 45px;
  }

  .header__nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .hero__logo-img {
    height: 70px;
    width: auto;
    object-fit: cover;
    object-position: center;
  }

  .hero__cta {
    font-size: 1.25rem;
    padding: 1.1rem 3rem;
  }

  .hero__tagline {
    font-size: 1.35rem;
  }

  .popup-card {
    padding: 1.8rem 1.4rem;
    margin: 0 0.8rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  /* Hide decorations on small screens */
  .deco,
  .deco-line {
    display: none;
  }
}

/* ===== Age Gate / Altersprüfung Overlay ===== */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 4, 4, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.age-gate-card {
  width: 100%;
  max-width: 620px;
  background: linear-gradient(170deg, rgba(26, 12, 12, 0.95) 0%, rgba(12, 7, 7, 0.98) 100%);
  border: 1.5px solid #c8a84e77;
  border-radius: 14px;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(200, 168, 78, 0.2),
    inset 0 1px 0 rgba(200, 168, 78, 0.3);
  padding: 2.5rem 2.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: cardFadeIn 0.4s ease-out;
}

.age-gate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #c8a84e 50%, transparent 100%);
}

.age-gate__logo {
  height: 65px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  margin-bottom: 1.2rem;
}

.age-gate__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.9rem;
  border: 1px solid #e57373;
  border-radius: 20px;
  color: #ff8a80;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  background: rgba(229, 115, 115, 0.1);
}

.age-gate__badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 24px;
  padding: 0 5px;
  background: #d32f2f;
  color: #ffffff;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  box-sizing: border-box;
}

.age-gate__title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.25;
  color: #f0e6d6;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff3d1 0%, #c8a84e 60%, #a8883e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
}

.age-gate__text {
  font-size: 0.95rem;
  color: #d4c5a9dd;
  line-height: 1.65;
  margin-bottom: 1.6rem;
  text-align: justify;
  text-align-last: center;
}

.age-gate__highlight {
  color: #e57373;
  font-weight: 600;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

@media (min-width: 540px) {
  .age-gate__actions {
    flex-direction: row;
  }
}

.btn-age-allow {
  flex: 1.2;
  padding: 1rem 1.4rem;
  background: linear-gradient(135deg, #c8a84e 0%, #a8883e 100%);
  border: 2px solid #c8a84e;
  border-radius: 6px;
  color: #0a0a0a;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(200, 168, 78, 0.3);
  font-family: inherit;
}

.btn-age-allow:hover {
  background: linear-gradient(135deg, #ddbf5e 0%, #c8a84e 100%);
  border-color: #ddbf5e;
  box-shadow: 0 6px 25px rgba(200, 168, 78, 0.5);
  transform: translateY(-2px);
}

.btn-age-deny {
  flex: 1;
  padding: 1rem 1.4rem;
  background: rgba(20, 10, 10, 0.6);
  border: 2px solid #c8a84e55;
  border-radius: 6px;
  color: #d4c5a9;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-age-deny:hover {
  background: rgba(211, 47, 47, 0.2);
  border-color: #e57373;
  color: #ffcdd2;
}

/* Info Section (Spielerschutz & Jugendschutz) */
.age-gate__info {
  border-top: 1px solid #c8a84e33;
  padding-top: 1.3rem;
  font-size: 0.82rem;
  color: #d4c5a9aa;
  line-height: 1.6;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.age-gate__info-heading {
  font-size: 0.88rem;
  font-weight: 600;
  color: #c8a84e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.age-gate__info-link {
  color: #c8a84e;
  text-decoration: underline;
}

.age-gate__info-link:hover {
  color: #ddbf5e;
}

/* Blocked / Locked State when Under 18 clicked */
.age-gate-blocked {
  display: none;
  animation: cardFadeIn 0.35s ease-out;
}

.age-gate-blocked.is-active {
  display: block;
}

.age-gate__blocked-icon {
  font-size: 3.5rem;
  color: #e57373;
  margin-bottom: 0.8rem;
  line-height: 1;
}

.age-gate__blocked-title {
  font-size: 2rem;
  font-weight: 700;
  color: #e57373;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.age-gate__blocked-text {
  font-size: 1.05rem;
  color: #f0e6d6;
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.age-gate__blocked-hint {
  display: inline-block;
  padding: 0.75rem 1.2rem;
  background: rgba(229, 115, 115, 0.12);
  border: 1px solid rgba(229, 115, 115, 0.3);
  border-radius: 6px;
  font-size: 0.88rem;
  color: #ffcdd2;
}

/* ===== Passwort Zurücksetzen Styling ===== */
.form-info-text {
  font-size: 0.9rem;
  color: #d4c5a9cc;
  line-height: 1.55;
  margin-bottom: 0.4rem;
}

.reset-success-box {
  display: none;
  background: rgba(30, 70, 40, 0.35);
  border: 1.5px solid #81c78488;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.2rem;
  animation: cardFadeIn 0.35s ease-out;
}

.reset-success-box.is-active {
  display: block;
}

.reset-success-icon {
  font-size: 2.5rem;
  color: #81c784;
  margin-bottom: 0.6rem;
}

.reset-success-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #c8e6c9;
  margin-bottom: 0.5rem;
}

.reset-success-desc {
  font-size: 0.92rem;
  color: #e8f5e9;
  line-height: 1.6;
}



/* =========================================================
   ===== USER AVATAR & PROFIL BURGER-DROPDOWN MENÜ =====
   ========================================================= */
.user-menu-container {
  position: relative;
  display: inline-block;
}

.avatar-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 50%;
  outline: none;
}

.avatar-btn:focus-visible .avatar {
  box-shadow: 0 0 0 3px #ffd700, 0 0 15px rgba(255, 215, 0, 0.6);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c8a84e;
  cursor: pointer;
  transition: all 0.25s ease;
  display: block;
}

.avatar:hover {
  transform: scale(1.08);
  border-color: #ffd700;
  box-shadow: 0 0 16px rgba(200, 168, 78, 0.5);
}

.avatar-status-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 12px;
  height: 12px;
  background-color: #2ecc71;
  border: 2px solid #0f0f0f;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(46, 204, 113, 0.6);
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 310px;
  background: linear-gradient(165deg, rgba(24, 12, 12, 0.98) 0%, rgba(12, 6, 6, 0.99) 100%);
  border: 1.5px solid #c8a84e88;
  border-radius: 12px;
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.95),
    0 0 30px rgba(200, 168, 78, 0.25),
    inset 0 1px 0 rgba(200, 168, 78, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.2rem;
  z-index: 1000;
  display: none;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-dropdown.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 0.9rem;
}

.dropdown-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c8a84e;
  box-shadow: 0 0 10px rgba(200, 168, 78, 0.3);
}

.dropdown-user-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  overflow: hidden;
}

.dropdown-username {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.dropdown-badge {
  font-size: 0.78rem;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.dropdown-chips-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(200, 168, 78, 0.1);
  border: 1px solid rgba(200, 168, 78, 0.25);
  border-radius: 6px;
  padding: 0.5rem 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
}

.chips-label {
  color: #d4c5a9;
}

.chips-val {
  font-weight: 700;
  color: #ffd700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.dropdown-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200, 168, 78, 0.35) 50%, transparent 100%);
  margin: 0.6rem 0;
}

.dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #e5ded3;
  transition: all 0.2s ease;
}

.dropdown-link:hover {
  background: rgba(200, 168, 78, 0.15);
  color: #ffd700;
  transform: translateX(4px);
}

.dropdown-icon {
  font-size: 1.15rem;
  width: 22px;
  text-align: center;
}

.dropdown-link--logout {
  color: #e74c3c;
  margin-top: 0.3rem;
}

.dropdown-link--logout:hover {
  background: rgba(231, 76, 60, 0.15);
  color: #ff6b6b;
  transform: translateX(4px);
}

/* =========================================================
   ===== PROFIL & EINSTELLUNGEN DASHBOARD (profil.html) =====
   ========================================================= */
.profile-main {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.profile-hero-card {
  background: linear-gradient(165deg, rgba(30, 15, 15, 0.95) 0%, rgba(14, 8, 8, 0.98) 100%);
  border: 1.5px solid #c8a84e66;
  border-radius: 14px;
  padding: 2rem 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(200, 168, 78, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}



.profile-hero-left {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.profile-avatar-large-wrapper {
  position: relative;
}

.profile-avatar-large {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffd700;
  box-shadow: 0 0 20px rgba(200, 168, 78, 0.4);
}

.profile-hero-details h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.profile-hero-tagline {
  font-size: 0.95rem;
  color: #ffd700;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-hero-stats {
  display: flex;
  gap: 1.2rem;
}

.profile-stat-box {
  background: rgba(200, 168, 78, 0.08);
  border: 1px solid rgba(200, 168, 78, 0.25);
  border-radius: 10px;
  padding: 0.8rem 1.4rem;
  text-align: center;
}

.profile-stat-number {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffd700;
}

.profile-stat-label {
  font-size: 0.8rem;
  color: #d4c5a9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 2rem;
}

@media (max-width: 600px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

.profile-section-card {
  background: linear-gradient(165deg, rgba(26, 12, 12, 0.94) 0%, rgba(14, 8, 8, 0.98) 100%);
  border: 1.5px solid #c8a84e55;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.profile-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffd700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(200, 168, 78, 0.2);
  padding-bottom: 0.8rem;
}

.avatar-selector-grid {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.avatar-choice-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(200, 168, 78, 0.3);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.avatar-choice-card:hover {
  border-color: #c8a84e;
  background: rgba(200, 168, 78, 0.1);
}

.avatar-choice-card.is-selected {
  border-color: #ffd700;
  background: rgba(200, 168, 78, 0.18);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.avatar-choice-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c8a84e;
}

.avatar-choice-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f0e6d6;
}

.toggle-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.toggle-switch-label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.toggle-switch-title {
  font-weight: 600;
  color: #e5ded3;
  font-size: 0.98rem;
}

.toggle-switch-desc {
  font-size: 0.82rem;
  color: #a89f91;
}

/* Switches */
.switch-input {
  appearance: none;
  width: 48px;
  height: 26px;
  background: #333;
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.switch-input:checked {
  background: #c8a84e;
}

.switch-input::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.switch-input:checked::before {
  transform: translateX(22px);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #140d0d;
  color: #ffd700;
  border: 1.5px solid #c8a84e;
  border-radius: 8px;
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(200, 168, 78, 0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast--show {
  opacity: 1;
  transform: translateY(0);
}

.toast--error {
  border-color: #e74c3c;
  color: #ff6b6b;
}

/* ===== Bestenliste / Leaderboard ===== */
.hero--leaderboard {
  justify-content: flex-start;
  padding: 2.2rem 1.5rem 3.5rem 1.5rem;
  gap: 1.2rem;
}

.leaderboard-container {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.leaderboard-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.6rem;
}

.leaderboard-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px #e5c158;
  text-stroke: 2px #e5c158;
  text-shadow:
    0 0 2px #fff8d6,
    0 0 16px rgba(229, 193, 88, 0.65),
    0 0 32px rgba(200, 168, 78, 0.35);
  line-height: 1;
  margin: 0;
}

.podium-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(200, 168, 78, 0.35));
}

.leaderboard-card {
  width: 100%;
  background: rgba(14, 11, 9, 0.9);
  border: 1.5px solid #c8a84e66;
  border-radius: 8px;
  box-shadow: 
    0 18px 45px rgba(0, 0, 0, 0.7), 
    0 0 30px rgba(200, 168, 78, 0.12),
    inset 0 1px 0 rgba(200, 168, 78, 0.25);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.leaderboard-table-wrapper {
  max-height: 480px;
  overflow-y: scroll;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #c8a84e #12100e;
}

/* Custom Gold Scrollbar */
.leaderboard-table-wrapper::-webkit-scrollbar {
  width: 9px;
}

.leaderboard-table-wrapper::-webkit-scrollbar-track {
  background: #12100e;
  border-left: 1px solid #c8a84e22;
}

.leaderboard-table-wrapper::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffd700 0%, #c8a84e 50%, #7a5e1e 100%);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(200, 168, 78, 0.5);
}

.leaderboard-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #fff099 0%, #ffd700 50%, #a8883e 100%);
}

.leaderboard-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.leaderboard-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #16120e;
  color: #c8a84e;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1.1rem 1.4rem;
  border-bottom: 2px solid #c8a84e66;
  white-space: nowrap;
}

.leaderboard-table th.col-rank,
.leaderboard-table td.col-rank {
  width: 90px;
  text-align: center;
}

.leaderboard-table th.col-games,
.leaderboard-table td.col-games,
.leaderboard-table th.col-wins,
.leaderboard-table td.col-wins {
  text-align: center;
  width: 110px;
}

.leaderboard-table th.col-chips,
.leaderboard-table td.col-chips {
  text-align: right;
  width: 160px;
}

.leaderboard-table tbody tr {
  transition: background 0.2s ease, transform 0.2s ease;
}

.leaderboard-table td {
  vertical-align: middle;
  padding: 0.72rem 1.4rem;
  white-space: nowrap;
}

/* Rank 1: Shining Gold, Largest */
.row-rank-1 {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.24) 0%, rgba(200, 168, 78, 0.09) 50%, rgba(255, 215, 0, 0.18) 100%);
  border-left: 5px solid #ffd700;
  box-shadow: inset 0 0 22px rgba(255, 215, 0, 0.12);
}

.row-rank-1 td {
  padding: 1.35rem 1.4rem;
  font-size: 1.18rem;
  font-weight: 700;
  border-bottom: 1.5px solid rgba(255, 215, 0, 0.35);
  color: #fff9e6;
}

.row-rank-1 .col-rank__badge {
  color: #ffd700;
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.8), 0 0 2px #fff;
  font-size: 1.45rem;
  font-weight: 900;
}

.row-rank-1 .col-chips__count {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.55);
  font-weight: 800;
}

.row-rank-1 .player-avatar {
  border: 2px solid #ffd700;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.55);
  background: #2a200a;
  color: #ffd700;
}

.row-rank-1:hover {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.32) 0%, rgba(200, 168, 78, 0.15) 50%, rgba(255, 215, 0, 0.24) 100%);
}

/* Rank 2: Shining Silver, Medium-Large */
.row-rank-2 {
  background: linear-gradient(90deg, rgba(220, 226, 238, 0.19) 0%, rgba(175, 185, 200, 0.07) 50%, rgba(220, 226, 238, 0.14) 100%);
  border-left: 5px solid #d4d9e2;
  box-shadow: inset 0 0 18px rgba(220, 226, 238, 0.08);
}

.row-rank-2 td {
  padding: 1.05rem 1.4rem;
  font-size: 1.08rem;
  font-weight: 600;
  border-bottom: 1.5px solid rgba(220, 226, 238, 0.3);
  color: #f2f5f9;
}

.row-rank-2 .col-rank__badge {
  color: #e4e8f0;
  text-shadow: 0 0 12px rgba(225, 235, 245, 0.8), 0 0 2px #fff;
  font-size: 1.3rem;
  font-weight: 800;
}

.row-rank-2 .col-chips__count {
  color: #e4e8f0;
  text-shadow: 0 0 10px rgba(220, 226, 238, 0.5);
  font-weight: 700;
}

.row-rank-2 .player-avatar {
  border: 2px solid #d4d9e2;
  box-shadow: 0 0 10px rgba(220, 226, 238, 0.45);
  background: #1c2026;
  color: #e4e8f0;
}

.row-rank-2:hover {
  background: linear-gradient(90deg, rgba(220, 226, 238, 0.27) 0%, rgba(175, 185, 200, 0.12) 50%, rgba(220, 226, 238, 0.2) 100%);
}

/* Rank 3: Shining Bronze, Slightly Smaller */
.row-rank-3 {
  background: linear-gradient(90deg, rgba(205, 127, 50, 0.22) 0%, rgba(160, 90, 30, 0.07) 50%, rgba(205, 127, 50, 0.16) 100%);
  border-left: 5px solid #cd7f32;
  box-shadow: inset 0 0 18px rgba(205, 127, 50, 0.08);
}

.row-rank-3 td {
  padding: 0.9rem 1.4rem;
  font-size: 1.02rem;
  font-weight: 600;
  border-bottom: 1.5px solid rgba(205, 127, 50, 0.3);
  color: #ffeada;
}

.row-rank-3 .col-rank__badge {
  color: #e69d65;
  text-shadow: 0 0 12px rgba(230, 157, 101, 0.8), 0 0 2px #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.row-rank-3 .col-chips__count {
  color: #e69d65;
  text-shadow: 0 0 10px rgba(205, 127, 50, 0.45);
  font-weight: 700;
}

.row-rank-3 .player-avatar {
  border: 2px solid #cd7f32;
  box-shadow: 0 0 10px rgba(205, 127, 50, 0.45);
  background: #25160e;
  color: #e69d65;
}

.row-rank-3:hover {
  background: linear-gradient(90deg, rgba(205, 127, 50, 0.3) 0%, rgba(160, 90, 30, 0.12) 50%, rgba(205, 127, 50, 0.22) 100%);
}

/* Ranks 4+ (Standard Size & Appearance) */
.row-standard {
  border-left: 5px solid transparent;
}

.row-standard td {
  padding: 0.72rem 1.4rem;
  font-size: 0.95rem;
  color: #d4c5a9;
  border-bottom: 1px solid rgba(200, 168, 78, 0.12);
}

.row-standard:nth-child(even) {
  background: rgba(22, 18, 15, 0.35);
}

.row-standard:hover {
  background: rgba(200, 168, 78, 0.09);
}

.row-standard .col-rank__badge {
  color: #9e9484;
  font-weight: 600;
  font-size: 1rem;
}

.row-standard .col-chips__count {
  color: #d4c5a9;
  font-weight: 600;
}

/* Common cell components */
.player-cell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.player-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1e1913;
  border: 1.5px solid #c8a84e55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c8a84e;
  transition: transform 0.2s ease;
}

.player-name {
  font-weight: inherit;
  letter-spacing: 0.5px;
}

.chips-cell {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.chip-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(200, 168, 78, 0.45));
}


/* =========================================================
   ===== INGAME SHOP / FORTNITE-STYLE POKER ACCESSORIES =====
   ========================================================= */

body.body--shop {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

body.body--shop .header {
  padding: 0.55rem 2.5rem;
  flex-shrink: 0;
}

body.body--shop .header__logo-img {
  height: 56px;
}

body.body--shop .footer {
  padding: 0.75rem 2.5rem;
  flex-shrink: 0;
}

.shop-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  padding: 0.6rem 2.5rem 0.4rem 2.5rem;
  background: url('../img/bg-hero.png') center center / cover no-repeat;
}

.shop-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10, 10, 10, 0.65) 0%, rgba(10, 10, 10, 0.95) 100%);
  pointer-events: none;
  z-index: 0;
}

.shop-main > * {
  position: relative;
  z-index: 2;
}

/* ===== Shop Top Bar (Pokerchip Toggle & Guthaben) ===== */
.shop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  padding: 0 0.5rem;
  flex-shrink: 0;
}

/* --- 3D Flippable Poker Chip & Umdrehen Button --- */
.poker-chip-toggle-container {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.chip-flip-scene {
  width: 90px;
  height: 90px;
  perspective: 1000px;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
}

.chip-flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 50%;
}

.chip-flipper.is-flipped {
  transform: rotateY(180deg);
}

.chip-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease;
}

/* Front: GOLD SHOP CHIP */
.chip-face--shop {
  background: radial-gradient(circle at 35% 35%, #ffd978 0%, #d4a742 35%, #8f6820 70%, #46300a 100%);
  border: 2.5px solid #ffe89e;
  box-shadow: 
    0 4px 18px rgba(0, 0, 0, 0.75),
    0 0 25px rgba(212, 167, 66, 0.5),
    inset 0 2px 4px rgba(255, 255, 255, 0.6),
    inset 0 -3px 5px rgba(0, 0, 0, 0.8);
}

/* Striped rim for shop chip */
.chip-face--shop::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    #141009 0deg 18deg,
    #ffffff 18deg 30deg,
    #141009 30deg 48deg,
    #c8a84e 48deg 60deg
  );
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.8);
  opacity: 0.92;
}

.chip-face--shop .chip-face__inner {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a2012 0%, #151009 100%);
  border: 1.5px dashed #e5c158;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.9);
}

.chip-face--shop .chip-face__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.chip-face--shop .chip-face__icon {
  width: 15px;
  height: 15px;
  color: #ffd700;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

.chip-face--shop .chip-face__text {
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #fff2ba;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 2px 4px rgba(0,0,0,0.8);
}

/* Back: ROYAL SAPPHIRE & PLATINUM INVENTAR CHIP */
.chip-face--inventory {
  transform: rotateY(180deg);
  background: radial-gradient(circle at 35% 35%, #e2f1ff 0%, #60a5fa 35%, #1e3a8a 70%, #09122c 100%);
  border: 2.5px solid #bfdbfe;
  box-shadow: 
    0 4px 18px rgba(0, 0, 0, 0.8),
    0 0 28px rgba(59, 130, 246, 0.6),
    inset 0 2px 4px rgba(255, 255, 255, 0.8),
    inset 0 -3px 5px rgba(0, 0, 0, 0.9);
}

/* Striped rim for inventory chip */
.chip-face--inventory::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    #0a1329 0deg 18deg,
    #ffffff 18deg 30deg,
    #0a1329 30deg 48deg,
    #3b82f6 48deg 60deg
  );
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.8);
  opacity: 0.92;
}

.chip-face--inventory .chip-face__inner {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0f1c3f 0%, #050b18 100%);
  border: 1.5px dashed #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.9);
}

.chip-face--inventory .chip-face__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.chip-face--inventory .chip-face__icon {
  width: 15px;
  height: 15px;
  color: #60a5fa;
  filter: drop-shadow(0 0 5px rgba(96, 165, 250, 0.8));
}

.chip-face--inventory .chip-face__text {
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #eff6ff;
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.9), 0 2px 4px rgba(0,0,0,0.8);
}

/* Hover glow */
.chip-flip-scene:hover .chip-flipper:not(.is-flipped) {
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.7);
}
.chip-flip-scene:hover .chip-flipper.is-flipped {
  box-shadow: 0 0 30px rgba(96, 165, 250, 0.8);
}

/* --- "Umdrehen" Flip Button Beside the Chip --- */
.chip-flip-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  background: linear-gradient(135deg, rgba(32, 26, 17, 0.9) 0%, rgba(18, 14, 9, 0.95) 100%);
  border: 1.5px solid #c8a84e77;
  border-radius: 20px;
  color: #ffd978;
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.chip-flip-btn:hover {
  background: linear-gradient(135deg, rgba(200, 168, 78, 0.28) 0%, rgba(32, 26, 17, 0.95) 100%);
  border-color: #ffd700;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 5px 16px rgba(200, 168, 78, 0.4);
}

.chip-flip-btn .flip-icon {
  width: 17px;
  height: 17px;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chip-flip-btn:hover .flip-icon {
  transform: rotate(180deg);
}

.chip-flip-btn.is-inventory-active {
  border-color: #60a5fa;
  color: #93c5fd;
  background: linear-gradient(135deg, rgba(15, 28, 63, 0.9) 0%, rgba(8, 15, 34, 0.95) 100%);
}

.chip-flip-btn.is-inventory-active:hover {
  border-color: #bfdbfe;
  color: #ffffff;
  box-shadow: 0 5px 16px rgba(59, 130, 246, 0.45);
}

.poker-chip-label {
  display: flex;
  flex-direction: column;
}

.chip-toggle-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f7e6c4;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chip-toggle-subtitle {
  font-size: 0.82rem;
  color: #a09075;
  font-weight: 400;
}

/* --- Balance Widget (Top Right) --- */
.balance-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.balance-header-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #d4c5a9;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.balance-widget-bar {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(28, 22, 13, 0.9) 0%, rgba(15, 12, 8, 0.95) 100%);
  border: 1.5px solid #c8a84e88;
  border-radius: 28px;
  padding: 0.35rem 0.4rem 0.35rem 1.1rem;
  gap: 0.85rem;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(200, 168, 78, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.balance-widget-bar:hover {
  border-color: #ffd700;
  box-shadow: 
    0 4px 18px rgba(0, 0, 0, 0.6),
    0 0 22px rgba(200, 168, 78, 0.35);
}

.balance-amount-display {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.balance-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffd978;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(255, 217, 120, 0.35);
}

.balance-add-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 60%, #15803d 100%);
  border: 1.5px solid #86efac;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 
    0 0 12px rgba(34, 197, 94, 0.65),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.balance-add-btn:hover {
  transform: scale(1.15) rotate(90deg);
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 60%, #16a34a 100%);
  box-shadow: 
    0 0 18px rgba(74, 222, 128, 0.85),
    inset 0 1px 3px rgba(255, 255, 255, 0.7);
}

.balance-add-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}

/* ===== Shop Main Content Layout ===== */
.shop-layout {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

/* ===== Left Category Navigation Rail ===== */
.category-rail {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0.8rem 0.5rem;
  flex-shrink: 0;
  z-index: 10;
}

.category-btn {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(28, 22, 14, 0.85) 0%, rgba(15, 12, 8, 0.95) 100%);
  border: 1.8px solid #c8a84e55;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  color: #c8a84e;
}

.category-btn:hover {
  transform: scale(1.12) translateX(4px);
  border-color: #ffd700;
  color: #fff2b3;
  box-shadow: 0 6px 20px rgba(200, 168, 78, 0.35);
}

.category-btn--active {
  background: linear-gradient(135deg, #c8a84e 0%, #a8883e 100%);
  border-color: #ffe699;
  color: #0d0a05;
  box-shadow: 
    0 0 24px rgba(200, 168, 78, 0.7),
    0 4px 16px rgba(0, 0, 0, 0.6);
  transform: scale(1.1) translateX(6px);
}

.category-btn--active:hover {
  transform: scale(1.14) translateX(6px);
  color: #000;
}

.category-btn svg {
  width: 32px;
  height: 32px;
  transition: transform 0.25s ease;
}

.category-btn:hover svg {
  transform: scale(1.08);
}

/* Category indicator pip */
.category-btn--active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 26px;
  background: #ffd700;
  border-radius: 4px;
  box-shadow: 0 0 10px #ffd700;
}

/* Tooltip on category hover */
.category-tooltip {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  background: #19140c;
  border: 1px solid #c8a84e;
  border-radius: 6px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f7e6c4;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  transition: all 0.25s ease;
  z-index: 100;
}

.category-btn:hover .category-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ===== Center Shop Stage & Horizontal Carousel ===== */
.shop-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.shelf-title-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding: 0 0.5rem;
}

.shelf-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.shelf-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.shelf-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  background: rgba(200, 168, 78, 0.2);
  border: 1px solid #c8a84e66;
  border-radius: 12px;
  color: #ffd978;
  letter-spacing: 0.5px;
}

.shelf-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #a09075;
  font-weight: 500;
}

.shelf-scroll-hint svg {
  animation: bounceRight 1.5s ease-in-out infinite;
}

@keyframes bounceRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* --- Horizontal Item Shelf --- */
.shop-shelf-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* The horizontal scrolling row */
.shop-shelf {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.6rem 0.6rem 1.4rem 0.6rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

/* Custom styled horizontal Gold Scrollbar */
.shop-shelf::-webkit-scrollbar {
  height: 9px;
}

.shop-shelf::-webkit-scrollbar-track {
  background: rgba(24, 20, 14, 0.7);
  border-radius: 6px;
  border: 1px solid #c8a84e22;
}

.shop-shelf::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #9f7d2e 0%, #ffd700 50%, #9f7d2e 100%);
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  cursor: pointer;
}

.shop-shelf::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #c8a84e 0%, #fff099 50%, #c8a84e 100%);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

/* Firefox */
.shop-shelf {
  scrollbar-width: thin;
  scrollbar-color: #c8a84e rgba(24, 20, 14, 0.7);
}

/* --- Fortnite-Inspired Shop Cards --- */
.shop-card {
  width: 250px;
  min-width: 250px;
  height: clamp(340px, 47vh, 395px);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(28, 23, 16, 0.94) 0%, rgba(16, 13, 9, 0.98) 100%);
  border: 2px solid #c8a84e55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.shop-card:hover {
  transform: translateY(-8px) scale(1.025);
  border-color: #ffd700;
  box-shadow: 
    0 16px 36px rgba(0, 0, 0, 0.85),
    0 0 28px rgba(200, 168, 78, 0.45);
}

/* Subtle rarity backdrop glow inside card */
.shop-card::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.35;
  filter: blur(35px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.shop-card:hover::before {
  opacity: 0.65;
  transform: translateX(-50%) scale(1.2);
}

.shop-card--legendary::before { background: #ffd700; }
.shop-card--epic::before      { background: #c084fc; }
.shop-card--rare::before      { background: #38bdf8; }

.shop-card--legendary { border-color: #c8a84e77; }
.shop-card--epic      { border-color: #a855f766; }
.shop-card--rare      { border-color: #0ea5e966; }

/* Card Header: Item Title */
.shop-card__header {
  padding: 0.85rem 0.9rem;
  border-bottom: 1.5px solid #c8a84e33;
  background: rgba(10, 8, 5, 0.65);
  text-align: center;
  position: relative;
  z-index: 2;
}

.shop-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-card__rarity {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.shop-card--legendary .shop-card__rarity { color: #ffd700; }
.shop-card--epic .shop-card__rarity      { color: #d8b4fe; }
.shop-card--rare .shop-card__rarity      { color: #7dd3fc; }

/* Card Center: Visual Graphic / Artwork */
.shop-card__preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem;
  z-index: 2;
}

.shop-card__artwork {
  width: 170px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.shop-card:hover .shop-card__artwork {
  transform: scale(1.08) translateY(-4px);
}

/* Card Footer: Price & Jeton */
.shop-card__footer {
  padding: 0.75rem 1rem;
  border-top: 1.5px solid #c8a84e33;
  background: rgba(10, 8, 5, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.shop-card__price {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffd978;
}

.shop-card__btn {
  padding: 0.45rem 1rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #c8a84e 0%, #a8883e 100%);
  color: #0a0a0a;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.shop-card__btn:hover {
  background: linear-gradient(135deg, #ffd700 0%, #c8a84e 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(200, 168, 78, 0.5);
}

.shop-card__btn--owned {
  background: rgba(200, 168, 78, 0.15);
  color: #c8a84e;
  border: 1px solid #c8a84e55;
  cursor: default;
}

.shop-card__btn--equipped {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  color: #ffffff;
  border: 1px solid #86efac;
}

/* Luxury Audio Preview Button for Shop */
.shop-preview-btn {
  background: linear-gradient(135deg, rgba(30, 20, 10, 0.9) 0%, rgba(15, 10, 5, 0.95) 100%);
  border: 1.5px solid #c8a84e;
  color: #ffd978;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.shop-preview-btn:hover {
  background: linear-gradient(135deg, #c8a84e 0%, #a8883e 100%);
  color: #0a0a0a;
  box-shadow: 0 0 14px rgba(200, 168, 78, 0.6);
  transform: translateY(-1px);
}

.shop-card__footer--inventory {
  padding: 0.8rem 1rem;
  border-top: 1.5px solid #c8a84e33;
  background: rgba(10, 8, 5, 0.75);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  position: relative;
  z-index: 2;
}

.inventory-card-val-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.inventory-val-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #a89f91;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.inventory-val-amount {
  font-weight: 800;
  color: #ffd700;
  font-size: 0.92rem;
}

.shop-card__footer--inventory .shop-card__btn {
  width: 100%;
  text-align: center;
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Auflade Modal (Guthaben aufladen) ===== */
.topup-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.topup-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.topup-modal {
  width: 90%;
  max-width: 580px;
  background: linear-gradient(145deg, #1f180d 0%, #0d0a05 100%);
  border: 2px solid #c8a84e;
  border-radius: 16px;
  padding: 2rem 2.2rem;
  box-shadow: 
    0 16px 45px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(200, 168, 78, 0.3);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.topup-modal-backdrop.is-open .topup-modal {
  transform: translateY(0) scale(1);
}

.topup-modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: transparent;
  border: none;
  color: #c8a84e;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.topup-modal__close:hover {
  transform: rotate(90deg);
  color: #ffd700;
}

.topup-modal__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.topup-modal__desc {
  font-size: 0.95rem;
  color: #d4c5a9cc;
  margin-bottom: 1.6rem;
}

.topup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.topup-option {
  background: rgba(30, 24, 15, 0.7);
  border: 1.5px solid #c8a84e55;
  border-radius: 12px;
  padding: 1.2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.topup-option:hover {
  border-color: #ffd700;
  background: rgba(200, 168, 78, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(200, 168, 78, 0.3);
}

.topup-option__chips {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffd700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topup-option__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #86efac;
}

/* Toast notification */
.shop-toast {
  position: fixed;
  bottom: 2rem;
  right: 2.5rem;
  background: #1a140b;
  border: 1.5px solid #ffd700;
  border-radius: 8px;
  padding: 0.8rem 1.4rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 20px rgba(200, 168, 78, 0.4);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2000;
}

.shop-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  body.body--shop {
    height: auto;
    overflow-y: auto;
  }
  .shop-main {
    padding: 0.8rem 1rem;
  }
  .shop-layout {
    flex-direction: column;
    align-items: stretch;
  }
  .category-rail {
    flex-direction: row;
    justify-content: center;
  }
  .shop-card {
    width: 220px;
    min-width: 220px;
    height: 370px;
  }
}


/* ===== Philosophy Subpage & Scrollable Main ===== */

body.body--scroll-main {
  min-height: 100vh;
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  background: url('../img/bg-hero.png') center center / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10, 10, 10, 0.45) 20%, rgba(10, 10, 10, 0.88) 100%);
}

.philosophy-main {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.philosophy-main::-webkit-scrollbar {
  width: 8px;
}

.philosophy-main::-webkit-scrollbar-track {
  background: rgba(18, 10, 12, 0.6);
  border-radius: 4px;
}

.philosophy-main::-webkit-scrollbar-thumb {
  background: #c8a84e66;
  border-radius: 4px;
  border: 1px solid #c8a84e44;
}

.philosophy-main::-webkit-scrollbar-thumb:hover {
  background: #c8a84e;
}

.philosophy-container {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.philosophy-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.philosophy-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #c8a84e;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.philosophy-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #fff2cc 0%, #c8a84e 50%, #9e7d32 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.philosophy-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.5rem auto 0;
  width: 60%;
}

.philosophy-divider::before,
.philosophy-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c8a84e88, transparent);
}

.philosophy-divider__icon {
  color: #c8a84e;
  font-size: 1.1rem;
}

.philosophy-card {
  background: rgba(18, 10, 12, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(200, 168, 78, 0.28);
  border-radius: 8px;
  padding: 2.2rem 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(200, 168, 78, 0.15);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.philosophy-card:hover {
  border-color: rgba(200, 168, 78, 0.5);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.65), 0 0 16px rgba(200, 168, 78, 0.15);
  transform: translateY(-2px);
}

.philosophy-card--intro {
  border-color: rgba(200, 168, 78, 0.45);
  background: rgba(24, 12, 14, 0.82);
  text-align: center;
  padding: 2.5rem 3rem;
}

.philosophy-lead-sentence {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f5e4b2;
  margin-bottom: 1.1rem;
  letter-spacing: 0.5px;
}

.philosophy-lead-conclusion {
  margin-top: 1.3rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #c8a84e;
  font-style: italic;
}

.philosophy-card__header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(200, 168, 78, 0.2);
}

.philosophy-suit {
  font-size: 1.4rem;
  color: #c8a84e;
}

.philosophy-subtitle {
  font-size: 1.45rem;
  font-weight: 700;
  color: #f5e4b2;
  letter-spacing: 0.5px;
}

.philosophy-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #e5dac9;
  margin-bottom: 1rem;
}

.philosophy-text:last-child {
  margin-bottom: 0;
}

.philosophy-text--bold {
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
}

.philosophy-highlight {
  margin: 1.2rem 0;
  padding: 1rem 1.4rem;
  border-left: 3px solid #c8a84e;
  background: rgba(200, 168, 78, 0.08);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: #f5e4b2;
  line-height: 1.7;
}

.philosophy-highlight--gold {
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  border-left-width: 4px;
}

.philosophy-fold-callout {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.2rem 0;
  padding: 0.9rem 1.3rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  border: 1px dashed rgba(200, 168, 78, 0.4);
}

.philosophy-fold-word {
  font-size: 1.6rem;
  font-weight: 800;
  color: #c8a84e;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.page-bottom-cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
  margin-top: 2rem;
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}

.page-bottom-cta .hero__cta {
  display: inline-block;
  padding: 1.15rem 3.8rem;
  border: 2px solid #c8a84e;
  border-radius: 6px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: #f0e6d6;
  text-transform: uppercase;
}

.page-bottom-cta .hero__cta:hover {
  background: linear-gradient(135deg, #c8a84e, #a8883e);
  color: #0a0a0a;
  border-color: #c8a84e;
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(200, 168, 78, 0.45);
}

.page-bottom-cta .hero__tagline {
  font-size: 1.8rem;
  font-weight: 400;
  color: #f0e6d6;
  font-style: italic;
  letter-spacing: 1.5px;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .page-bottom-cta {
    padding: 2.5rem 1rem 2rem;
    gap: 1rem;
  }
  .page-bottom-cta .hero__cta {
    font-size: 1.15rem;
    padding: 1rem 2.4rem;
  }
  .page-bottom-cta .hero__tagline {
    font-size: 1.25rem;
  }
}

/* Responsive styles for philosophy page */
@media (max-width: 768px) {
  .philosophy-main {
    padding: 2rem 1rem 3rem;
  }

  .philosophy-title {
    font-size: 2rem;
  }

  .philosophy-card {
    padding: 1.5rem 1.3rem;
  }

  .philosophy-card--intro {
    padding: 1.8rem 1.3rem;
  }

  .philosophy-lead-sentence {
    font-size: 1.15rem;
  }

  .philosophy-subtitle {
    font-size: 1.25rem;
  }

  .philosophy-tagline {
    font-size: 1.35rem;
  }

  .philosophy-fold-callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* ===== Regelwerk (Rules) Subpage ===== */

.rules-main {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rules-main::-webkit-scrollbar {
  width: 8px;
}

.rules-main::-webkit-scrollbar-track {
  background: rgba(18, 10, 12, 0.6);
  border-radius: 4px;
}

.rules-main::-webkit-scrollbar-thumb {
  background: #c8a84e66;
  border-radius: 4px;
  border: 1px solid #c8a84e44;
}

.rules-main::-webkit-scrollbar-thumb:hover {
  background: #c8a84e;
}

.rules-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

/* Quick Navigation Pills */
.rules-quicknav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.quicknav-pill {
  padding: 0.5rem 1.15rem;
  background: rgba(18, 10, 12, 0.75);
  border: 1px solid rgba(200, 168, 78, 0.35);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f5e4b2;
  transition: all 0.25s ease;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.quicknav-pill:hover {
  background: #c8a84e;
  color: #0a0a0a;
  border-color: #c8a84e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 168, 78, 0.3);
}

/* Scroll Anchor Offset */
.rules-section {
  scroll-margin-top: 2rem;
}

/* Timeline / Phases */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.2rem;
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 1.2rem;
  background: rgba(0, 0, 0, 0.28);
  border-left: 3px solid #c8a84e;
  border-radius: 0 8px 8px 0;
  padding: 1.2rem 1.4rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.timeline-item:hover {
  background: rgba(200, 168, 78, 0.08);
  transform: translateX(4px);
}

.timeline-item__badge {
  font-size: 0.9rem;
  font-weight: 800;
  color: #c8a84e;
  background: rgba(200, 168, 78, 0.15);
  border: 1px solid rgba(200, 168, 78, 0.4);
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  align-self: flex-start;
  white-space: nowrap;
}

.timeline-item__content {
  flex: 1;
}

.timeline-item__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f5e4b2;
  margin-bottom: 0.35rem;
}

.timeline-item__desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #e5dac9;
}

/* Action Cards Grid */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.action-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(200, 168, 78, 0.22);
  border-radius: 6px;
  padding: 1.2rem;
  transition: all 0.25s ease;
}

.action-card:hover {
  border-color: rgba(200, 168, 78, 0.5);
  background: rgba(200, 168, 78, 0.06);
  transform: translateY(-2px);
}

.action-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.action-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f5e4b2;
}

.action-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  background: rgba(200, 168, 78, 0.2);
  color: #c8a84e;
  text-transform: uppercase;
}

.action-card__desc {
  font-size: 0.93rem;
  line-height: 1.6;
  color: #d4c5a9;
}

/* Hand Rankings */
.hand-ranking-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(200, 168, 78, 0.22);
  border-radius: 8px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.2rem;
  transition: all 0.25s ease;
}

.hand-ranking-item:last-child {
  margin-bottom: 0;
}

.hand-ranking-item:hover {
  border-color: rgba(200, 168, 78, 0.6);
  background: rgba(24, 12, 14, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.hand-ranking-item--royal {
  border: 1.5px solid rgba(200, 168, 78, 0.6);
  background: linear-gradient(135deg, rgba(200, 168, 78, 0.12) 0%, rgba(24, 12, 14, 0.8) 100%);
  box-shadow: 0 0 20px rgba(200, 168, 78, 0.15);
}

.hand-ranking-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.hand-ranking-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hand-tier-badge {
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  background: rgba(200, 168, 78, 0.18);
  border: 1px solid rgba(200, 168, 78, 0.4);
  color: #c8a84e;
  letter-spacing: 0.5px;
}

.hand-tier-badge--royal {
  background: linear-gradient(135deg, #c8a84e, #a8883e);
  color: #0a0a0a;
  border-color: #c8a84e;
  box-shadow: 0 0 10px rgba(200, 168, 78, 0.4);
}

.hand-ranking-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.hand-probability {
  font-size: 0.82rem;
  font-style: italic;
  color: #d4c5a999;
}

.hand-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #e5dac9;
  margin-top: 0.6rem;
}

.hand-tiebreaker {
  font-size: 0.88rem;
  color: #c8a84ebb;
  margin-top: 0.35rem;
  font-style: italic;
}

/* Realistic Mini Playing Cards */
.poker-hand-cards {
  display: inline-flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 0.8rem 0;
  padding: 0.45rem;
  background: rgba(10, 5, 6, 0.55);
  border-radius: 8px;
  border: 1px solid rgba(200, 168, 78, 0.18);
}

.mini-card {
  width: 44px;
  height: 64px;
  background: #ffffff;
  border-radius: 5px;
  border: 1px solid #e0d5c1;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3px 4px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1;
  user-select: none;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.65), 0 0 8px rgba(200, 168, 78, 0.3);
}

.mini-card--red {
  color: #c81e28;
}

.mini-card--black {
  color: #1a1a1a;
}

.mini-card__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 0.88;
}

.mini-card__rank {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.mini-card__suit {
  font-size: 0.72rem;
  margin-top: 1px;
}

.mini-card__center {
  font-size: 1.15rem;
  text-align: center;
  align-self: center;
  margin: auto 0;
}

.mini-card__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 0.88;
  transform: rotate(180deg);
}

/* Callout rules tips */
.rules-note-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.rules-note-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(200, 168, 78, 0.25);
  border-radius: 6px;
  padding: 1.2rem;
}

.rules-note-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f5e4b2;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rules-note-card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d4c5a9;
}

/* Responsive Rules styles */
@media (max-width: 768px) {
  .rules-main {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legal-main::-webkit-scrollbar {
  width: 8px;
}

.legal-main::-webkit-scrollbar-track {
  background: rgba(18, 10, 12, 0.6);
  border-radius: 4px;
}

.legal-main::-webkit-scrollbar-thumb {
  background: #c8a84e66;
  border-radius: 4px;
  border: 1px solid #c8a84e44;
}

.legal-main::-webkit-scrollbar-thumb:hover {
  background: #c8a84e;
}

.legal-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(200, 168, 78, 0.15);
  border: 1px solid rgba(200, 168, 78, 0.35);
  color: #c8a84e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-list li {
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.6;
  color: #e5dac9;
}

.legal-list li::before {
  content: '♦';
  position: absolute;
  left: 0;
  color: #c8a84e;
  font-size: 0.8rem;
  top: 0.15rem;
}

.legal-contact-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(200, 168, 78, 0.25);
  border-radius: 6px;
  padding: 1.2rem;
  margin-top: 1rem;
}

.legal-contact-box p {
  margin: 0.3rem 0;
  color: #f0e6d6;
}

.legal-contact-box strong {
  color: #f5e4b2;
}

@media (max-width: 768px) {
  .legal-main {
    padding: 2rem 1rem 3rem;
  }
}

