/* =============================================
   HollyGame — Silkroad PvP Landing UI
   ============================================= */

:root {
  /* Referans renk paleti — HollyGame mockup */
  --color-bg: #080604;
  --color-bg-panel: rgba(12, 9, 6, 0.92);
  --color-gold: #c9a227;
  --color-gold-light: #e4c04a;
  --color-gold-border: rgba(201, 162, 39, 0.5);
  /* HEMEN KAYIT OL butonu — referans turuncu */
  --color-hero-orange: #f07820;
  --color-hero-orange-mid: #e05a00;
  --color-hero-orange-dark: #b84800;
  --color-orange: var(--color-hero-orange);
  --color-orange-light: var(--color-hero-orange);
  --color-orange-mid: var(--color-hero-orange-mid);
  --color-orange-dark: var(--color-hero-orange-dark);
  --color-orange-text: var(--color-hero-orange);
  --gradient-hero-cta: linear-gradient(180deg, var(--color-hero-orange) 0%, var(--color-hero-orange-mid) 50%, var(--color-hero-orange-dark) 100%);
  --gradient-heading-text: linear-gradient(180deg, #ff9848 0%, var(--color-hero-orange) 40%, var(--color-hero-orange-mid) 100%);
  --color-text: #ece6dc;
  --color-text-muted: #8a8070;
  --color-green: #4caf32;
  --color-green-dark: #2e7a18;
  --color-green-glow: rgba(76, 175, 50, 0.55);
  --color-discord: #5865f2;
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-section: 'Montserrat', system-ui, sans-serif;
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --font-digital: 'Share Tech Mono', 'Courier New', monospace;
  --border-gold: 1px solid var(--color-gold-border);
  --container-max: 100%;
  --layout-gutter: clamp(8px, 1vw, 16px);
  --hero-content-shift: clamp(28px, 3.5vh, 44px);
  --grid-cols: minmax(260px, 380px) minmax(480px, 1fr) minmax(260px, 380px);
  --nav-bar-max: 1040px;
  --nav-pill-radius: 999px;
  --nav-h: 52px;
  --radius-nav: 3px;
  --radius-btn: 3px;
  --radius: 2px;
  --color-gold-dim: rgba(201, 162, 39, 0.28);
  --color-orange-glow: rgba(240, 120, 32, 0.45);
  /* HollyGame marka gradyantları — hero turuncu */
  --gradient-brand-text: linear-gradient(92deg, #ffffff 0%, #fff8f0 28%, #ffc080 58%, var(--color-hero-orange) 100%);
  --gradient-brand-text-soft: linear-gradient(92deg, #ffffff 0%, #f5ebe0 42%, #ffb070 100%);
  --gradient-brand-text-accent: linear-gradient(92deg, #ffe8c8 0%, #ffb060 38%, var(--color-hero-orange) 100%);
  --gradient-brand-line: linear-gradient(90deg, #ffffff 0%, #ffc080 42%, var(--color-hero-orange) 72%, var(--color-hero-orange-mid) 100%);
  --gradient-nav-panel: linear-gradient(180deg, rgba(16, 10, 5, 0.48) 0%, rgba(8, 5, 3, 0.38) 52%, rgba(5, 3, 2, 0.42) 100%);
  --panel-texture: url('../assets/anasayfa/orta.png');
  --news-texture: url('../assets/anasayfa/haberler.jpg');
  --nav-separator: url('../assets/menu/seperator.png');
  --nav-download-offset-y: -4px;
  --glow-gold: 0 0 6px rgba(201, 162, 39, 0.25);
  --shadow-gold: 0 0 12px rgba(201, 162, 39, 0.08);
  --btn-dark-bg: rgba(5, 4, 3, 0.94);
  --btn-dark-bg-hover: rgba(8, 6, 4, 0.96);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html {
  background: var(--color-bg);
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--layout-gutter);
}

/* ---- Main Nav (Electus-style — HollyGame palette) ---- */
.main-nav {
  position: relative;
  z-index: 15;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}

/* ---- Nav promo (menü çerçevesinin altı) ---- */
.nav-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  max-width: min(var(--nav-bar-max), calc(100% - var(--layout-gutter) * 2));
  margin: 8px auto 0;
  padding: 0 12px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.045em;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
}

.nav-promo__star {
  color: var(--color-orange-light);
  font-size: 12.5px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(240, 120, 32, 0.45));
}

.nav-promo__text {
  background: linear-gradient(90deg, #ffffff 0%, #fff4e8 55%, #ffc060 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
  min-height: 1.2em;
}

.nav-promo__cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 1px;
  background: var(--color-orange-light);
  box-shadow: 0 0 6px rgba(240, 120, 32, 0.55);
  animation: promoCursorBlink 0.85s step-end infinite;
}

@keyframes promoCursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.nav-promo.is-typing-done .nav-promo__cursor {
  animation: promoCursorBlink 1.1s step-end infinite;
}

.lang-flags {
  display: flex;
  gap: 5px;
  position: relative;
  padding-left: 10px;
}

.lang-flags::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(201, 162, 39, 0.18) 35%,
      rgba(201, 162, 39, 0.18) 65%,
      transparent 100%);
  pointer-events: none;
}

.lang-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.3);
  padding: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lang-flag--active,
.lang-flag:hover {
  border-color: var(--color-gold);
  box-shadow: var(--glow-gold);
}

.lang-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lang-flags--hero {
  padding-left: 10px;
}

.lang-flags--hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(201, 162, 39, 0.22) 35%,
      rgba(201, 162, 39, 0.22) 65%,
      transparent 100%);
  pointer-events: none;
}

/* ---- Social Icons ---- */
.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons--sm .social-icon {
  width: 18px;
  height: 18px;
}

.social-icon--round {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: transparent;
  opacity: 0.85;
  box-shadow: none;
}

.social-icon--round img {
  width: 10px;
  height: 10px;
}

.social-icon {
  width: 22px;
  height: 22px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.social-icon:hover {
  opacity: 1;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- Hero Block (nav + hero unified) ---- */
.hero-block {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: clamp(640px, 82vh, 900px);
  overflow: hidden;
  isolation: isolate;
}

.hero-block::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--color-bg);
  z-index: 6;
  pointer-events: none;
}

.hero-block__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-block__bg,
.hero-block__overlay {
  pointer-events: none;
}

.hero-block__bg-video {
  position: absolute;
  top: -16%;
  left: 0;
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center 12%;
  transform: translateY(calc(1.25% + 4vh));
  z-index: 0;
}

.hero-block__bg:has(.hero-block__bg-video) .hero-block__bg-img {
  display: none;
}

.hero-block__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.hero-block__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 8, 6, 0.82) 0%, rgba(10, 8, 6, 0.28) 42%, rgba(10, 8, 6, 0.1) 62%, rgba(10, 8, 6, 0.4) 100%),
    linear-gradient(180deg, rgba(10, 8, 6, 0.15) 0%, transparent 16%, transparent 58%, rgba(8, 6, 4, 0.92) 82%, var(--color-bg) 100%);
}

.hero-block__bg.is-fallback,
.hero-block__bg:not(:has(img:not([style*="display: none"]))) {
  background:
    radial-gradient(ellipse at 65% 35%, rgba(232, 106, 26, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, #1a1208 0%, #0a0806 100%);
}

/* ---- Header ---- */
.header {
  position: relative;
  z-index: 2;
  background: transparent;
  overflow: visible;
  padding-bottom: 2px;
  display: flex;
  justify-content: center;
}

.header__inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - var(--layout-gutter) * 2);
  margin-inline: auto;
  min-height: 64px;
  padding: 11px 36px 4px;
  gap: 28px;
  overflow: visible;
  isolation: isolate;
  background: var(--gradient-nav-panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  border-radius: var(--nav-pill-radius);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg,
      rgba(201, 162, 39, 0.15) 0%,
      rgba(240, 120, 32, 0.55) 24%,
      rgba(255, 255, 255, 0.38) 50%,
      rgba(240, 120, 32, 0.55) 76%,
      rgba(201, 162, 39, 0.15) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.header__inner::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 12%;
  right: 12%;
  height: 1px;
  border-radius: var(--nav-pill-radius);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  pointer-events: none;
}

.nav__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: auto;
  min-width: 0;
  padding: 6px 20px 16px;
  font-family: var(--font-section);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  background: transparent;
  white-space: nowrap;
  box-shadow: none;
  position: relative;
  transition: transform 0.18s ease;
}

.nav__link-text {
  display: block;
  line-height: 1.2;
  background-image: var(--gradient-brand-text-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  transition: filter 0.22s ease, background-image 0.22s ease;
}

.nav__link-bar {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 96px;
  max-width: calc(100% + 28px);
  height: 13px;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) scaleX(0.65);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.nav__link--accent .nav__link-text {
  background-image: var(--gradient-brand-text-accent);
  filter: drop-shadow(0 0 6px rgba(240, 120, 32, 0.18)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.nav__link--wide .nav__link-text {
  letter-spacing: 0.07em;
}

.nav__link:hover {
  transform: translateY(-1px);
}

.nav__link:hover:not(.nav__link--username) .nav__link-text {
  background-image: var(--gradient-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(240, 120, 32, 0.28)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.nav__link--accent:hover .nav__link-text {
  background-image: linear-gradient(92deg, #fff0d8 0%, #ffb070 42%, var(--color-hero-orange) 100%);
  filter: drop-shadow(0 0 12px rgba(255, 146, 32, 0.35)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.nav__link:hover .nav__link-bar,
.nav__link--active .nav__link-bar {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.nav__link--active .nav__link-text {
  background-image: var(--gradient-brand-text);
  filter: drop-shadow(0 0 10px rgba(240, 120, 32, 0.3)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.nav__link--accent.nav__link--active .nav__link-text {
  background-image: linear-gradient(92deg, #fff0d8 0%, #ffb070 42%, var(--color-hero-orange) 100%);
  filter: drop-shadow(0 0 12px rgba(255, 146, 32, 0.35)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.nav__sep {
  display: inline-block;
  width: 1px;
  height: 16px;
  margin: 0 10px;
  align-self: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 200, 120, 0.45), rgba(240, 120, 32, 0.55), rgba(255, 200, 120, 0.45), rgba(255, 255, 255, 0.08));
  flex-shrink: 0;
}

.logo__img {
  display: block;
  width: auto;
  height: 56px;
  max-width: 220px;
  object-fit: contain;
}

.logo__text {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer .logo {
  position: static;
  transform: none;
}

.nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav--left {
  flex: none;
  justify-content: flex-start;
  gap: 10px;
}

.nav--right {
  flex: none;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.header__nav-guest {
  display: flex;
  align-items: center;
  gap: 28px;
}

body.is-player-logged-in .header__nav-guest {
  display: none;
}

.nav--logged-in {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
}

body.is-player-logged-in .nav--logged-in {
  display: flex;
}

body.is-player-logged-in .header__inner {
  padding-inline: 28px;
  gap: 10px;
}

.nav__link--logout {
  appearance: none;
  cursor: pointer;
}

.nav__link--logout .nav__link-text {
  background-image: var(--gradient-brand-text-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.nav__link--logout:hover .nav__link-text {
  background-image: var(--gradient-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(240, 120, 32, 0.28)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.nav__link-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.nav__link-user-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 248, 235, 0.95);
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  opacity: 0.92;
}

#navLoggedInUser.nav__link--username .nav__link-text,
#navLoggedInUser.nav__link--username:hover .nav__link-text {
  font-size: 15px;
  font-weight: 800;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0.03em;
  background-image: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  color: var(--color-orange-light);
  filter: drop-shadow(0 0 10px rgba(240, 120, 32, 0.35)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

#navLoggedInUser.nav__link--username:hover .nav__link-user-icon {
  filter: brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(-15deg) drop-shadow(0 0 8px rgba(240, 120, 32, 0.45));
}

/* ---- Gold frame (4 corner accents) ---- */
.gold-frame {
  position: relative;
  border: var(--border-gold);
  border-radius: 0;
  background: rgba(10, 8, 6, 0.82);
}

.gold-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(90deg, var(--color-gold), var(--color-gold)) 0 0 / 20px 2px no-repeat,
    linear-gradient(180deg, var(--color-gold), var(--color-gold)) 0 0 / 2px 20px no-repeat,
    linear-gradient(90deg, var(--color-gold), var(--color-gold)) 100% 0 / 20px 2px no-repeat,
    linear-gradient(180deg, var(--color-gold), var(--color-gold)) 100% 0 / 2px 20px no-repeat,
    linear-gradient(90deg, var(--color-gold), var(--color-gold)) 0 100% / 20px 2px no-repeat,
    linear-gradient(180deg, var(--color-gold), var(--color-gold)) 0 100% / 2px 20px no-repeat,
    linear-gradient(90deg, var(--color-gold), var(--color-gold)) 100% 100% / 20px 2px no-repeat,
    linear-gradient(180deg, var(--color-gold), var(--color-gold)) 100% 100% / 2px 20px no-repeat;
  opacity: 0.85;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  font-family: var(--font-section);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

/* ── İNDİR — düz turuncu dolgu, glow yok ── */
.btn--download {
  height: 36px;
  padding: 0 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: var(--nav-pill-radius);
  background: var(--gradient-hero-cta);
  color: #fff;
  border: 1px solid rgba(255, 160, 96, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 14px rgba(240, 120, 32, 0.32);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn--download:hover {
  background: linear-gradient(180deg, #ff9848 0%, var(--color-hero-orange) 45%, var(--color-hero-orange-mid) 100%);
  border-color: rgba(255, 176, 112, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4px 18px rgba(240, 120, 32, 0.42);
  transform: translateY(-1px);
}

/* İndir — menü linklerinden bağımsız hizalama */
.btn--nav-indir {
  position: relative;
  top: var(--nav-download-offset-y);
  margin-left: 14px;
  flex-shrink: 0;
  align-self: center;
  height: 32px;
  min-height: 32px;
  padding: 0 24px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.11em;
}

.btn--nav-indir:hover,
.btn--nav-indir.btn--download:hover {
  transform: translateY(calc(var(--nav-download-offset-y) - 1px));
}

/* ── HEMEN KAYIT OL — tek glow'lu buton ── */
.btn--hero-cta {
  background: var(--gradient-hero-cta);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  box-shadow:
    0 0 18px rgba(240, 120, 32, 0.55),
    0 0 36px rgba(240, 120, 32, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.35);
}

.btn--hero-cta:hover {
  box-shadow:
    0 0 26px rgba(240, 120, 32, 0.6),
    0 0 50px rgba(240, 120, 32, 0.3);
}

/* ── İNDİR & BAŞLA — koyu + altın çerçeve ── */
.btn--hero-secondary {
  background: var(--btn-dark-bg);
  color: #fff;
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-btn);
  box-shadow: none;
}

.btn--hero-secondary:hover {
  border-color: var(--color-gold-light);
  background: var(--btn-dark-bg-hover);
}

.btn--primary {
  background: var(--gradient-hero-cta);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  box-shadow: none;
}

.btn--lg {
  height: 64px;
  padding: 0 60px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.07em;
  min-width: 300px;
  border-radius: var(--radius-btn);
}

.panel-footer-link {
  display: block;
  margin: 0 14px 12px;
  padding: 9px 0;
  font-family: var(--font-section);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  background: var(--btn-dark-bg);
  border-radius: var(--radius-nav);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.panel-footer-link::before,
.panel-footer-link::after {
  display: none;
}

.panel-footer-link:hover {
  color: #fff;
  border-color: var(--color-gold-light);
  background: var(--btn-dark-bg-hover);
}

.btn--discord {
  background: var(--color-discord);
  color: #fff;
  width: 100%;
  padding: 12px;
  font-size: 11px;
}

.btn--discord:hover {
  background: #4752c4;
}

.btn--sm {
  padding: 10px 22px;
  font-size: 12px;
}

.btn--news {
  height: 38px;
  padding: 0 32px;
  font-size: 11px;
  min-width: 190px;
  margin-top: 4px;
  border-radius: var(--radius-btn);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.hero__arrow {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  z-index: 12;
  width: auto;
  height: auto;
  padding: 8px;
  border: none;
  border-radius: 0;
  background: none;
  color: rgba(212, 168, 67, 0.85);
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.hero__arrow span {
  font-size: 52px;
  font-weight: 200;
  line-height: 1;
  font-family: Georgia, serif;
}

.hero__arrow:hover {
  color: var(--color-gold-light);
  background: none;
}

.hero__arrow--prev {
  left: clamp(8px, 1.5vw, 32px);
}

.hero__arrow--next {
  right: clamp(8px, 1.5vw, 32px);
}

.hero__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(201, 162, 39, 0.3);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hero__dot:hover {
  transform: scale(1.15);
}

.hero__dot--active {
  background: var(--color-orange);
  border-color: var(--color-orange);
  box-shadow: 0 0 8px var(--color-orange-glow);
  transform: scale(1.2);
}

.hero__content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 var(--layout-gutter);
  width: 100%;
}

.hero__body {
  flex: 1;
  display: grid;
  grid-template-columns: var(--grid-cols);
  align-items: start;
  gap: clamp(10px, 1vw, 16px);
  min-height: 100%;
  width: 100%;
}

.hero__text {
  grid-column: 1 / 3;
  align-self: start;
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 560px;
  min-width: 0;
  margin-top: calc(clamp(52px, 9vh, 120px) + var(--hero-content-shift));
  margin-left: clamp(48px, 5vw, 88px);
}

.hero__logo {
  display: inline-block;
  position: relative;
  margin: -30px 0 10px;
  line-height: 0;
  isolation: isolate;
  perspective: 1000px;
}

.hero__logo-snake {
  display: none !important;
}

.hero__logo .logo__img {
  position: relative;
  z-index: 1;
  display: block;
  height: clamp(132px, 14.5vw, 192px);
  max-width: min(560px, 96vw);
  width: auto;
  animation: logoFloating3D 8s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}

@keyframes logoFloating3D {
  0% {
    transform: rotateX(0deg) rotateY(0deg) translateY(0px);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.75));
  }

  25% {
    transform: rotateX(4deg) rotateY(-4deg) translateY(-5px);
    filter: drop-shadow(8px 18px 28px rgba(0, 0, 0, 0.8));
  }

  50% {
    transform: rotateX(0deg) rotateY(5deg) translateY(-10px);
    filter: drop-shadow(-8px 22px 32px rgba(0, 0, 0, 0.85));
  }

  75% {
    transform: rotateX(-4deg) rotateY(-2deg) translateY(-5px);
    filter: drop-shadow(4px 18px 28px rgba(0, 0, 0, 0.8));
  }

  100% {
    transform: rotateX(0deg) rotateY(0deg) translateY(0px);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.75));
  }
}

.hero__slide {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero__slide--active {
  display: flex;
}

.hero__title {
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero__title-line {
  display: block;
  white-space: nowrap;
  font-size: clamp(52px, 5.2vw, 72px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero__title-line--accent {
  color: var(--color-orange-light);
  text-shadow: 0 0 20px rgba(240, 120, 32, 0.35);
}

.hero__subtitle {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 26px;
  max-width: 460px;
  line-height: 1.5;
  text-align: center;
}

.hero__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.hero__actions .btn--lg {
  min-width: 0;
  flex: 0 0 auto;
  padding: 0 44px;
  white-space: nowrap;
}

.hero__widgets {
  grid-column: 3;
  --widget-w: 100%;
  --widget-h: 233px;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  gap: 12px;
  align-self: start;
  justify-self: end;
  margin-top: calc(clamp(20px, 4vh, 52px) + var(--hero-content-shift));
  position: relative;
  z-index: 6;
}

.hero__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
}

.hero__toolbar .social-icons {
  gap: 10px;
}

.hero__toolbar .social-icons .social-icon {
  width: 32px;
  height: 32px;
  opacity: 1;
}

.hero__toolbar .social-icon--round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(201, 162, 39, 0.38);
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.hero__toolbar .social-icon--round img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  transition: filter 0.2s ease;
}

.hero__toolbar .social-icon--discord img {
  width: 18px;
  height: 18px;
}

.hero__toolbar .social-icon--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.75);
  background: rgba(37, 211, 102, 0.16);
}

.hero__toolbar .social-icon--whatsapp:hover img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(52%) saturate(661%) hue-rotate(92deg) brightness(95%) contrast(92%);
}

.hero__toolbar .social-icon--facebook:hover {
  border-color: rgba(24, 119, 242, 0.75);
  background: rgba(24, 119, 242, 0.16);
}

.hero__toolbar .social-icon--facebook:hover img {
  filter: brightness(0) saturate(100%) invert(36%) sepia(95%) saturate(1752%) hue-rotate(203deg) brightness(98%) contrast(95%);
}

.hero__toolbar .social-icon--discord:hover {
  border-color: rgba(88, 101, 242, 0.75);
  background: rgba(88, 101, 242, 0.16);
}

.hero__toolbar .social-icon--discord:hover img {
  filter: brightness(0) saturate(100%) invert(45%) sepia(68%) saturate(1406%) hue-rotate(213deg) brightness(98%) contrast(94%);
}

.hero__toolbar .social-icon--tiktok:hover {
  border-color: rgba(254, 44, 85, 0.75);
  background: rgba(254, 44, 85, 0.14);
}

.hero__toolbar .social-icon--tiktok:hover img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(7471%) hue-rotate(336deg) brightness(101%) contrast(101%);
}

.hero__toolbar .social-icon--instagram:hover {
  border-color: rgba(225, 48, 108, 0.75);
  background: rgba(225, 48, 108, 0.16);
}

.hero__toolbar .social-icon--instagram:hover img {
  filter: brightness(0) saturate(100%) invert(29%) sepia(85%) saturate(2311%) hue-rotate(320deg) brightness(91%) contrast(92%);
}

.hero__toolbar .lang-flag {
  width: 28px;
  height: 28px;
  border-color: rgba(255, 255, 255, 0.42);
}

.hero__toolbar .lang-flags--hero {
  padding-left: 16px;
}

.hero__toolbar .lang-flags--hero::before {
  height: 26px;
}

/* ---- Widget (hero — referans bire bir) ---- */
.hero__widgets .widget {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: var(--widget-h);
  min-height: var(--widget-h);
  max-height: var(--widget-h);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 44px 32px 36px;
  box-sizing: border-box;
  overflow: hidden;
}

.hero__widgets .widget__header {
  margin: 0 0 10px;
  flex: 0 0 auto;
}

.hero__widgets .widget__title {
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #ffe082;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 5px rgba(201, 162, 39, 0.4);
}

.hero__widgets .widget__title-icon svg {
  width: 20px;
  height: 20px;
}

.hero__widgets .widget__divider {
  margin: 0 8px 16px;
  flex: 0 0 auto;
}

.hero__widgets .widget__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  padding: 0 6px 6px;
  min-height: 0;
}

.hero__widgets .widget__body--time {
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 0 2px 4px;
}

.hero__widgets .progress-bar--pill {
  height: 44px;
  width: 100%;
  margin: 0;
  border-radius: 999px;
  border: 1.5px solid rgba(201, 162, 39, 0.45);
  flex-shrink: 0;
}

.hero__widgets .progress-bar__fill {
  min-width: 0;
}

.hero__widgets .progress-bar__label-in {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero__widgets .widget__status-row {
  flex-shrink: 0;
}

.hero__widgets .widget__online {
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
}

/* ---- Server Status Card (RPG / MMORPG Style) ---- */
.server-status-card {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  background: rgba(14, 10, 6, 0.45);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: 6px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
  margin-top: 4px;
}

.server-status-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.server-status-card__name {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-gold-light);
  letter-spacing: 0.08em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.server-status-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-section);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  background: rgba(76, 175, 50, 0.1);
  border: 1px solid rgba(76, 175, 50, 0.35);
  color: #7ce65e;
  text-shadow: 0 0 4px rgba(76, 175, 50, 0.4);
}

.server-status-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ce65e;
  box-shadow: 0 0 8px #7ce65e;
  animation: serverDotPulse 1.8s ease-in-out infinite;
}

@keyframes serverDotPulse {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.server-status-card__bar-wrap {
  width: 100%;
  margin-bottom: 12px;
}

.server-status-card__bar {
  position: relative;
  height: 12px;
  width: 100%;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(201, 162, 39, 0.25);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.server-status-card__fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #1b6612 0%, #3ca81e 50%, #8ae667 100%);
  box-shadow: 0 0 10px rgba(76, 175, 50, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  transition: width 0.6s ease;
  overflow: hidden;
}

.server-status-card__shine {
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 30%,
      rgba(255, 255, 255, 0.22) 50%,
      rgba(255, 255, 255, 0.08) 70%,
      transparent 100%);
  animation: serverBarShine 3.2s ease-in-out infinite;
}

@keyframes serverBarShine {
  0% {
    left: -50%;
  }

  60% {
    left: 110%;
  }

  100% {
    left: 110%;
  }
}

.server-status-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.server-status-card__info {
  display: flex;
  align-items: center;
  gap: 4px;
}

.server-status-card__label {
  font-family: var(--font-section);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(236, 230, 220, 0.4);
}

.server-status-card__value {
  font-family: var(--font-section);
  font-size: 10px;
  font-weight: 700;
  color: rgba(236, 230, 220, 0.85);
  letter-spacing: 0.02em;
}

.server-status-card__value--online {
  color: #7ce65e;
  text-shadow: 0 0 6px rgba(76, 175, 50, 0.25);
}

.server-status-card__max {
  color: rgba(236, 230, 220, 0.35);
  font-size: 9px;
  margin-left: 1px;
}

/* ---- Game Status & Server Time Header Enhancements ---- */
.widget--status .widget__title,
.widget--time .widget__title {
  font-family: var(--font-heading);
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffe082;
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.45),
    /* Top light highlight */
    0 1px 0 #b37e19,
    /* 3D Gold lip */
    0 2px 0 #7a5005,
    /* 3D Bronze wall */
    0 3px 1px rgba(0, 0, 0, 0.95),
    /* Dark bottom edge */
    0 4px 6px rgba(0, 0, 0, 0.95);
  /* Ground shadow */
}

.widget--status .widget__divider::after {
  background: #7ce65e;
  box-shadow: 0 0 8px #7ce65e, 0 0 16px rgba(124, 230, 94, 0.4);
}

.widget--time .widget__divider::after {
  background: var(--color-gold-light);
  box-shadow: 0 0 8px var(--color-gold-light), 0 0 16px rgba(201, 162, 39, 0.4);
}



/* ---- Progress bar shine sweep ---- */
.progress-bar__fill {
  position: relative;
  overflow: hidden;
}

.progress-bar__shine {
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.06) 30%,
      rgba(255, 255, 255, 0.18) 50%,
      rgba(255, 255, 255, 0.06) 70%,
      transparent 100%);
  animation: progressShine 3.5s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

@keyframes progressShine {
  0% {
    left: -50%;
  }

  50% {
    left: 110%;
  }

  100% {
    left: 110%;
  }
}


.status-dot-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.55);
  background: radial-gradient(circle, rgba(20, 15, 10, 0.95) 0%, rgba(5, 3, 2, 0.95) 100%);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6), inset 0 0 4px rgba(201, 162, 39, 0.25);
  flex-shrink: 0;
  animation: status-ring-pulse 2.8s ease-in-out infinite;
}

.status-dot-ring .status-dot--sm {
  width: 8px;
  height: 8px;
  animation: status-dot-pulse 2.8s ease-in-out infinite;
}

@keyframes status-ring-pulse {

  0%,
  100% {
    border-color: rgba(201, 162, 39, 0.55);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.6), inset 0 0 4px rgba(201, 162, 39, 0.25);
  }

  50% {
    border-color: rgba(228, 192, 74, 0.85);
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.35), inset 0 0 6px rgba(228, 192, 74, 0.45);
  }
}

@keyframes status-dot-pulse {

  0%,
  100% {
    transform: scale(0.9);
    background: radial-gradient(circle, #b0ffa0 0%, #4caf32 60%, #1c5e0a 100%);
    box-shadow: 0 0 8px #4caf32, 0 0 12px rgba(76, 175, 50, 0.45);
  }

  50% {
    transform: scale(1.1);
    background: radial-gradient(circle, #dfffdf 0%, #68d94c 50%, #20800c 100%);
    box-shadow: 0 0 14px #4caf32, 0 0 24px rgba(76, 175, 50, 0.75);
  }
}

.hero__widgets .server-clock {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  background: linear-gradient(180deg, #ffffff 0%, #ffeaa8 40%, #e5b248 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #ffeaa8;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 6px rgba(229, 178, 72, 0.25));
  letter-spacing: 0.06em;
  margin: 0 0 8px;
  line-height: 1;
}

.hero__widgets .server-date {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #c4b5a2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.widget {
  position: relative;
  padding: 14px 16px 16px;
}

.widget--ornate {
  background: transparent url('../assets/gamestatus/gamestatus.png') center / 100% 100% no-repeat;
  border: none;
  box-shadow: none;
  padding-top: 25px;
}

.widget--ornate::before,
.widget--ornate::after {
  display: none;
}

.widget__header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 4;
}

.widget__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffe082;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 5px rgba(201, 162, 39, 0.4);
}

.widget__title-icon {
  display: flex;
  align-items: center;
  color: var(--color-orange-light);
  opacity: 1;
}

.widget__title-icon svg {
  display: block;
}

.widget__divider {
  position: relative;
  height: 1px;
  margin: 0 4px 8px;
  flex-shrink: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 162, 39, 0.45) 20%, rgba(201, 162, 39, 0.45) 80%, transparent 100%);
  z-index: 4;
}

.widget__divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px;
  height: 5px;
  background: var(--color-gold-light);
  box-shadow: 0 0 6px rgba(201, 162, 39, 0.6);
}

.widget__body {
  position: relative;
  z-index: 4;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  min-height: 0;
}

.widget__body--time {
  text-align: center;
  justify-content: center;
  padding: 0;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 8px var(--color-green-glow);
  flex-shrink: 0;
}

.status-dot--sm {
  width: 7px;
  height: 7px;
}

.progress-bar--pill {
  height: 28px;
  width: 100%;
  margin-bottom: 8px;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: rgba(0, 0, 0, 0.7);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.progress-bar__fill {
  height: 100%;
  min-width: 120px;
  background: linear-gradient(90deg, #2e8b22 0%, var(--color-green) 50%, #7bc943 100%);
  border-radius: 999px;
  transition: width 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-bar__label-in {
  font-family: var(--font-section);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  padding: 0 10px;
}

.widget__status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.widget__online {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236, 230, 220, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 6px rgba(76, 175, 50, 0.15);
}

.server-clock {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(180deg, #ffffff 0%, #ffeaa8 40%, #e5b248 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #ffeaa8;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 6px rgba(229, 178, 72, 0.25));
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 8px;
}

.server-date {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #c4b5a2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- Dashboard ---- */
.dashboard {
  position: relative;
  z-index: 20;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 60px;
  background: linear-gradient(to bottom,
      transparent 0,
      transparent clamp(70px, 9vh, 110px),
      var(--color-bg) clamp(70px, 9vh, 110px));
  width: 100%;
  isolation: isolate;
}

.dashboard::before {
  content: '';
  position: absolute;
  top: clamp(70px, 9vh, 110px);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: -1;
}

.dashboard__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: var(--grid-cols);
  gap: clamp(10px, 1vw, 16px);
  align-items: stretch;
  width: 100%;
  transform: translateY(calc(clamp(-120px, -10vh, -80px) + var(--hero-content-shift)));
  margin-bottom: calc(clamp(-120px, -10vh, -80px) + var(--hero-content-shift));
}


.dashboard__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

.dashboard__col--left,
.dashboard__col--right {
  align-self: start;
}

.dashboard__col--center {
  gap: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 0;
  min-width: 0;
  width: 100%;
}

.dashboard__col--center .center-view[data-center-view="home"] .panel--prize,
.dashboard__col--center .panel--prize {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.dashboard__col--left .panel--kills {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

.panel--kills .feed-list,
.panel--unique .unique-list {
  flex: 0 0 auto;
  max-height: 240px;
  overflow-x: hidden;
  overflow-y: auto;
}

.panel--kills .feed-list::-webkit-scrollbar,
.panel--unique .unique-list::-webkit-scrollbar {
  width: 4px;
}

.panel--kills .feed-list::-webkit-scrollbar-thumb,
.panel--unique .unique-list::-webkit-scrollbar-thumb {
  background: var(--color-gold-dim);
  border-radius: 2px;
}


.dashboard__col--right .panel--info,
.dashboard__col--right .panel--sidebar-quick-menu {
  flex: 0 0 auto;
}

.panel__body--sidebar-quick {
  padding: 12px 12px 14px;
}

.quick-menu--sidebar {
  max-width: none;
  margin: 0;
}

.quick-menu--sidebar .quick-menu__welcome {
  margin-bottom: 12px;
  padding: 14px 10px 12px;
}

.quick-menu--sidebar .quick-menu__welcome-user {
  font-size: clamp(20px, 2.2vw, 26px);
}

.quick-menu--sidebar .quick-menu__silk-card {
  margin-bottom: 14px;
  padding: 14px 12px;
}

.quick-menu--sidebar .quick-menu__silk-value {
  font-size: clamp(20px, 2.4vw, 26px);
}

.quick-menu--sidebar .quick-menu__silk-label,
.quick-menu--sidebar .quick-menu__silk-detail {
  font-size: 10px;
}

.quick-menu--sidebar .quick-menu__nav {
  gap: 8px;
}

.quick-menu--sidebar .quick-menu__item {
  padding: 11px 12px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.quick-menu--sidebar .quick-menu__item-icon {
  width: 22px;
  font-size: 14px;
}

.dashboard__col--right .panel--sidebar-quick-menu .panel__title {
  font-size: 11px;
}

.dashboard__col--right .panel--unique-rank {
  flex: 0 0 auto;
}

.dashboard__col--right .panel--discord {
  flex: 0 0 auto;
}

/* Anasayfa — sağ kolon orta panel yüksekliğine göre uzar, Discord altta */
body.is-center-home .dashboard__col--left,
body.is-center-home .dashboard__col--right {
  align-self: start;
}

body.is-center-home .dashboard__col--right .panel--unique[data-panel-source="unique-kills"] {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.is-center-home .dashboard__col--right .panel--unique[data-panel-source="unique-kills"] .unique-list {
  flex: 0 0 auto;
}

body.is-center-home .dashboard__col--right .panel--discord {
  margin-top: 0;
}

/* Sağ kolon başlıkları — referans ölçüsü */
.dashboard__col--right .panel__header {
  padding: 14px 12px 13px;
  min-height: 46px;
  flex-wrap: nowrap;
}

.dashboard__col--right .panel__title {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #ffe082;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 5px rgba(201, 162, 39, 0.4);
}

.dashboard__col--right .panel__icon--plus {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.dashboard__col--right .panel--rank .panel__title,
.dashboard__col--right .panel--info .panel__title,
.dashboard__col--right .panel--unique .panel__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #ffe082;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 5px rgba(201, 162, 39, 0.4);
}

.dashboard__col--right .panel--unique .panel__title--long {
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ---- Panel ---- */
.panel {
  position: relative;
  z-index: 1;
  background: var(--color-bg-panel);
  border: 1px solid rgba(201, 162, 39, 0.38);
  border-radius: 0;
  outline: 1px solid rgba(201, 162, 39, 0.18);
  outline-offset: -4px;
  overflow: hidden;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.95),
    inset 0 0 25px rgba(0, 0, 0, 0.98);
}

.panel-corner {
  position: absolute !important;
  width: 30px;
  height: 30px;
  background: url('../assets/images/frame.png') no-repeat center / contain;
  pointer-events: none;
  z-index: 5 !important;
}

.panel-corner--top-left {
  top: -1px;
  left: -1px;
}

.panel-corner--top-right {
  top: -1px;
  right: -1px;
  transform: rotate(90deg);
}

.panel-corner--bottom-right {
  bottom: -1px;
  right: -1px;
  transform: rotate(180deg);
}

.panel-corner--bottom-left {
  bottom: -1px;
  left: -1px;
  transform: rotate(270deg);
}

.panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--panel-texture) center bottom / cover no-repeat;
}

.panel:not(.panel--prize)> :not(.panel-corner) {
  position: relative;
  z-index: 1;
}

.panel__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffe082;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 5px rgba(201, 162, 39, 0.35);
}

/* Başlıklar — hero CTA turuncusu */
:is(.news-card__heading,
  .panel__news-section .news-card__title,
  .discord-panel__title,
  .download-package__title,
  .download-extra__title) {
  color: var(--color-orange-light);
}

.panel__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.24);
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.08) 0%, rgba(10, 8, 6, 0) 100%);
  position: relative;
}

.panel__icon {
  font-size: 13px;
  line-height: 1;
  color: var(--color-gold);
  flex-shrink: 0;
}

.panel__link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  transition: color 0.2s;
}

.panel__link:hover {
  color: var(--color-orange-light);
}

.panel__title--large {
  display: none;
}

.panel__body {
  padding: 16px;
}

.panel--rank .panel__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffe082;
}

.panel__icon--plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-orange-light);
  border: none;
  background: none;
  filter: drop-shadow(0 0 6px rgba(240, 120, 32, 0.35));
}

.panel__icon--trophy {
  font-size: 16px;
  filter: drop-shadow(0 0 6px rgba(228, 192, 74, 0.35));
}

/* ---- Rank List ---- */
.rank-list {
  padding: 4px 0 6px;
}

.rank-item {
  display: grid;
  grid-template-columns: 24px 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-item:hover {
  background: rgba(201, 162, 39, 0.04);
}

.rank-item__num {
  width: 24px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #f0c040;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
}

.rank-item__avatar-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  padding: 3px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(201, 162, 39, 0.42);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.45);
}

.rank-item__avatar-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(90deg, var(--color-gold-light), var(--color-gold-light)) 0 0 / 10px 1px no-repeat,
    linear-gradient(180deg, var(--color-gold-light), var(--color-gold-light)) 0 0 / 1px 10px no-repeat,
    linear-gradient(90deg, var(--color-gold-light), var(--color-gold-light)) 100% 0 / 10px 1px no-repeat,
    linear-gradient(180deg, var(--color-gold-light), var(--color-gold-light)) 100% 0 / 1px 10px no-repeat,
    linear-gradient(90deg, var(--color-gold-light), var(--color-gold-light)) 0 100% / 10px 1px no-repeat,
    linear-gradient(180deg, var(--color-gold-light), var(--color-gold-light)) 0 100% / 1px 10px no-repeat,
    linear-gradient(90deg, var(--color-gold-light), var(--color-gold-light)) 100% 100% / 10px 1px no-repeat,
    linear-gradient(180deg, var(--color-gold-light), var(--color-gold-light)) 100% 100% / 1px 10px no-repeat;
  opacity: 0.75;
}

.rank-item__avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border: none;
  border-radius: 0;
  background: transparent;
}

/* Player Rank — özel rank rozet PNG'leri */
.rank-list--player .rank-item {
  grid-template-columns: 56px minmax(0, 1fr) auto;
}

.rank-list--player .rank-item__num {
  display: none;
}

.rank-list--player .rank-item__avatar-wrap {
  width: 52px;
  height: 52px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.rank-list--player .rank-item__avatar-wrap::before {
  display: none;
}

.rank-list--player .rank-item__avatar {
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.rank-item__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.rank-item__name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #f0c040;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}

.rank-item__meta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: rgba(200, 184, 152, 0.88);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.rank-item__score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 76px;
  text-align: right;
}

.rank-item__score-value {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: #f0c040;
  line-height: 1;
  letter-spacing: 0.01em;
}

.rank-item__score-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  color: #e8c850;
  letter-spacing: 0.02em;
  line-height: 1;
}

.panel--rank .panel-footer-link {
  margin-top: 4px;
  color: rgba(255, 248, 235, 0.88);
  border-color: rgba(201, 162, 39, 0.35);
  font-size: 10px;
  letter-spacing: 0.14em;
}

/* ---- Feed List ---- */
.feed-list {
  padding: 4px 0 6px;
  max-height: none;
  overflow: visible;
}

.feed-item--kill {
  padding: 10px 14px 12px;
}

.feed-item__text {
  font-size: 12px;
  color: rgba(200, 184, 152, 0.75);
  line-height: 1.45;
  margin-top: 2px;
}

.feed-item__text strong.feed-item__name {
  font-weight: 700;
}

.feed-item__name--purple {
  color: #b87cff;
}

.feed-item__name--green {
  color: #6dd84a;
}

.feed-item__name--cyan {
  color: #5ec8e8;
}

.feed-item__name--orange {
  color: var(--color-orange-light);
}

.feed-item__name--blue {
  color: #6aa8ff;
}

.feed-item__name--pink {
  color: #ff7eb8;
}

.feed-item__time {
  display: block;
  font-size: 10px;
  color: rgba(200, 184, 152, 0.55);
  margin-top: 4px;
}

.feed-list::-webkit-scrollbar {
  width: 4px;
}

.feed-list::-webkit-scrollbar-thumb {
  background: var(--color-gold-dim);
  border-radius: 2px;
}

.feed-item {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.feed-item:last-child {
  border-bottom: none;
}

.feed-item--compact {
  padding: 8px 16px;
}

.feed-item__icons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.feed-item__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.feed-item__vs {
  font-size: 10px;
  color: rgba(200, 184, 152, 0.45);
}

.feed-item__text strong:not([class*="feed-item__name"]) {
  color: #fff;
  font-weight: 600;
}

.feed-item__tag {
  font-size: 10px;
  color: var(--color-gold);
  font-weight: 600;
}

/* ---- Prize Panel ---- */
.panel--prize {
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  background: transparent;
  gap: 14px;
}

.panel--prize::before {
  display: none;
}

.panel--prize::after {
  display: none;
}

.panel--prize .panel__body--prize {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 22px clamp(18px, 2.2vw, 28px) 18px;
  background: var(--color-bg-panel);
  border: var(--border-gold);
  box-shadow: var(--shadow-gold);
  overflow: hidden;
}

.panel--prize .panel__body--prize::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--panel-texture) center bottom / cover no-repeat;
}

.panel--prize .panel__body--prize::before {
  display: none;
}

.panel--prize .panel__body--prize>* {
  position: relative;
  z-index: 1;
}

.panel__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.panel__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.prize-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 28px;
  margin-bottom: 18px;
}

.prize-header__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
}

.prize-header__amount,
.prize-header__label,
.prize-list__amount {
  font-family: var(--font-heading);
  background: var(--gradient-heading-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(120, 48, 8, 0.85)) drop-shadow(0 0 14px rgba(240, 120, 32, 0.28));
}

.prize-header__amount {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.05;
}

.prize-header__label {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.15;
}

.prize-progress {
  margin-bottom: 22px;
  max-width: 100%;
  padding: 0 4px;
}

.prize-progress__bar {
  --progress: 80;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 28px;
  padding: 4px 10px 4px 4px;
  background: rgba(4, 3, 2, 0.95);
  border: 1px solid rgba(201, 162, 39, 0.48);
  border-radius: 2px;
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}

.prize-progress__track {
  flex: 1;
  height: 18px;
  overflow: hidden;
  min-width: 0;
}

.prize-progress__fill {
  width: calc(var(--progress) * 1%);
  height: 100%;
  background: linear-gradient(90deg,
      #28c028 0%,
      #62d030 10%,
      #98dc28 22%,
      #c8d818 36%,
      #e8b008 50%,
      #ff8818 64%,
      #f04828 78%,
      #d82820 90%,
      #b81818 100%);
  background-size: calc(100% * 100 / var(--progress)) 100%;
  background-position: left center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='18' viewBox='0 0 28 18'%3E%3Cpath d='M0 1V0h16l10 9-10 9H0v-1l7-8z' fill='%23fff'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='18' viewBox='0 0 28 18'%3E%3Cpath d='M0 1V0h16l10 9-10 9H0v-1l7-8z' fill='%23fff'/%3E%3C/svg%3E");
  -webkit-mask-size: 28px 100%;
  mask-size: 28px 100%;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  transition: width 0.6s ease;
}

.prize-progress__percent {
  flex-shrink: 0;
  min-width: 34px;
  font-family: var(--font-section);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  text-align: right;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.prize-list-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 360px;
  padding-bottom: 8px;
}

.prize-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
}

.prize-disclaimer {
  position: relative;
  margin: 18px 0 0;
  padding-top: 16px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 248, 235, 0.72);
  text-align: center;
  letter-spacing: 0.02em;
}

.prize-disclaimer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.45), transparent);
}

.prize-disclaimer::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 5px;
  height: 5px;
  background: var(--color-gold-light);
  box-shadow: 0 0 6px rgba(201, 162, 39, 0.5);
}

.panel__news-section {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-top: auto;
  border: var(--border-gold);
  box-shadow:
    var(--shadow-gold),
    inset 0 0 0 1px rgba(201, 162, 39, 0.08);
  background: var(--color-bg-panel);
  overflow: hidden;
}

.panel__news-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(90deg, transparent 0%, rgba(201, 162, 39, 0.35) 18%, rgba(228, 192, 74, 0.65) 50%, rgba(201, 162, 39, 0.35) 82%, transparent 100%) 50% 0 / min(72%, 420px) 2px no-repeat;
  opacity: 0.92;
}

.panel__news-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--news-texture) center center / cover no-repeat;
}

.panel__news-section>* {
  position: relative;
  z-index: 1;
}

.panel__news-section .news-card {
  padding: 24px 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prize-list__item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 8px;
  font-size: 13px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.08);
  transition: background-color 0.3s ease, padding-left 0.3s ease;
  border-radius: 4px;
}

.prize-list__item:hover {
  background-color: rgba(201, 162, 39, 0.04);
  padding-left: 12px;
}

.prize-list__item:last-child {
  border-bottom: none;
}

.prize-list__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 36px;
  position: relative;
  background: rgba(201, 162, 39, 0.25);
  /* Default outer border color */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.prize-list__rank::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background: rgba(10, 8, 6, 0.95);
  /* Inside obsidian glass fill */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.prize-list__rank span {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #c4b5a2;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
  transition: all 0.3s ease;
}

/* 1st Place (Solar Amber / Gold Glow) */
.prize-list__item:nth-child(1) .prize-list__rank,
.rank-table__row:nth-child(1) .prize-list__rank {
  background: rgba(255, 170, 0, 0.4);
}

.prize-list__item:nth-child(1) .prize-list__rank::before,
.rank-table__row:nth-child(1) .prize-list__rank::before {
  background: rgba(25, 18, 5, 0.95);
}

.prize-list__item:nth-child(1) .prize-list__rank span,
.rank-table__row:nth-child(1) .prize-list__rank span {
  color: #ffb300;
  text-shadow: 0 0 8px rgba(255, 179, 0, 0.65), 0 1px 2px rgba(0, 0, 0, 0.95);
}

.prize-list__item:nth-child(1):hover .prize-list__rank,
.rank-table__row:nth-child(1):hover .prize-list__rank {
  background: #ffb300;
  filter: drop-shadow(0 0 5px rgba(255, 179, 0, 0.4));
}

/* 2nd Place (Lunar Azure / Silver Glow) */
.prize-list__item:nth-child(2) .prize-list__rank,
.rank-table__row:nth-child(2) .prize-list__rank {
  background: rgba(170, 204, 255, 0.4);
}

.prize-list__item:nth-child(2) .prize-list__rank::before,
.rank-table__row:nth-child(2) .prize-list__rank::before {
  background: rgba(8, 12, 20, 0.95);
}

.prize-list__item:nth-child(2) .prize-list__rank span,
.rank-table__row:nth-child(2) .prize-list__rank span {
  color: #aaccff;
  text-shadow: 0 0 8px rgba(170, 204, 255, 0.65), 0 1px 2px rgba(0, 0, 0, 0.95);
}

.prize-list__item:nth-child(2):hover .prize-list__rank,
.rank-table__row:nth-child(2):hover .prize-list__rank {
  background: #aaccff;
  filter: drop-shadow(0 0 5px rgba(170, 204, 255, 0.4));
}

/* 3rd Place (Crimson Ruby Glow) */
.prize-list__item:nth-child(3) .prize-list__rank,
.rank-table__row:nth-child(3) .prize-list__rank {
  background: rgba(255, 85, 85, 0.4);
}

.prize-list__item:nth-child(3) .prize-list__rank::before,
.rank-table__row:nth-child(3) .prize-list__rank::before {
  background: rgba(20, 8, 8, 0.95);
}

.prize-list__item:nth-child(3) .prize-list__rank span,
.rank-table__row:nth-child(3) .prize-list__rank span {
  color: #ff5555;
  text-shadow: 0 0 8px rgba(255, 85, 85, 0.65), 0 1px 2px rgba(0, 0, 0, 0.95);
}

.prize-list__item:nth-child(3):hover .prize-list__rank,
.rank-table__row:nth-child(3):hover .prize-list__rank {
  background: #ff5555;
  filter: drop-shadow(0 0 5px rgba(255, 85, 85, 0.4));
}

/* Explicit classes for dynamic badge rendering */
.prize-list__rank--gold {
  background: rgba(255, 170, 0, 0.4) !important;
}

.prize-list__rank--gold::before {
  background: rgba(25, 18, 5, 0.95) !important;
}

.prize-list__rank--gold span {
  color: #ffb300 !important;
  text-shadow: 0 0 8px rgba(255, 179, 0, 0.65), 0 1px 2px rgba(0, 0, 0, 0.95) !important;
}

.prize-list__rank--silver {
  background: rgba(170, 204, 255, 0.4) !important;
}

.prize-list__rank--silver::before {
  background: rgba(8, 12, 20, 0.95) !important;
}

.prize-list__rank--silver span {
  color: #aaccff !important;
  text-shadow: 0 0 8px rgba(170, 204, 255, 0.65), 0 1px 2px rgba(0, 0, 0, 0.95) !important;
}

.prize-list__rank--bronze {
  background: rgba(255, 85, 85, 0.4) !important;
}

.prize-list__rank--bronze::before {
  background: rgba(20, 8, 8, 0.95) !important;
}

.prize-list__rank--bronze span {
  color: #ff5555 !important;
  text-shadow: 0 0 8px rgba(255, 85, 85, 0.65), 0 1px 2px rgba(0, 0, 0, 0.95) !important;
}

/* 4-10 Place Hover */
.prize-list__item:nth-child(n+4):hover .prize-list__rank,
.rank-table__row:nth-child(n+4):hover .prize-list__rank {
  background: var(--color-gold);
  filter: drop-shadow(0 0 4px rgba(201, 162, 39, 0.3));
}

.prize-list__item:nth-child(n+4):hover .prize-list__rank span,
.rank-table__row:nth-child(n+4):hover .prize-list__rank span {
  color: #ffffff;
}

.prize-list__player {
  font-family: var(--font-heading);
  color: rgba(255, 248, 235, 0.92);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.prize-list__amount {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ---- News Section (center panel footer) ---- */
.panel__news-section .news-card__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-section);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-orange-light);
  margin-bottom: 16px;
  width: 100%;
}

.panel__news-section .news-card__title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-gold-light);
  margin: 0 auto 8px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 0 24px rgba(0, 0, 0, 0.6);
}

.panel__news-section .news-card__excerpt {
  font-size: 12px;
  color: rgba(255, 248, 235, 0.92);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 360px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9), 0 0 18px rgba(0, 0, 0, 0.55);
}

.news-card__content {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto 18px;
  padding: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.news-card__content::before,
.news-card__content::after {
  display: none;
}

.news-card__content>* {
  position: relative;
  z-index: 1;
}

.news-card__content.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

/* ---- News Panel (legacy) ---- */
.panel--news {
  background: rgba(10, 8, 6, 0.92);
  border-radius: 0;
}

.panel--news::before {
  display: none;
}

.news-card {
  padding: 16px 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news-card__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-section);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-orange-light);
  margin-bottom: 18px;
  width: 100%;
}

.news-card__wing {
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold));
  position: relative;
}

.news-card__wing::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--color-gold);
  border-right: 1px solid var(--color-gold);
  transform: rotate(45deg);
}

.news-card__wing--right {
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.news-card__wing--right::after {
  right: auto;
  left: -4px;
  border-top: none;
  border-right: none;
  border-bottom: 1px solid var(--color-gold);
  border-left: 1px solid var(--color-gold);
}

.news-card__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.news-card__excerpt {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
  line-height: 1.65;
  max-width: 400px;
}

.news-card__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.news-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.28);
  border: 1px solid rgba(201, 162, 39, 0.45);
  padding: 0;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  min-width: 0;
  min-height: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.news-card__dot--active {
  background: var(--color-orange);
  border-color: var(--color-orange);
}

.news-card__dot:hover:not(.news-card__dot--active) {
  background: rgba(201, 162, 39, 0.55);
  border-color: rgba(201, 162, 39, 0.75);
}

/* ---- Info Table ---- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.panel--info .info-table td {
  padding: 9px 14px;
  font-size: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.panel--info .info-table td:first-child {
  width: 58%;
  font-family: var(--font-display);
  font-weight: 600;
  color: #f0c040;
  letter-spacing: 0.02em;
}

.panel--info .info-table td:last-child {
  width: 42%;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  color: #f0c040;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.panel--info .info-table tr:last-child td {
  border-bottom: none;
}

.info-table__highlight {
  color: #6dd84a !important;
  font-weight: 800 !important;
}

/* ---- Unique Kills ---- */
.unique-list {
  padding: 2px 0 4px;
}

.unique-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.unique-item:last-child {
  border-bottom: none;
}

.unique-item__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.unique-item__player {
  font-family: var(--font-display);
  font-weight: 700;
  color: #f0c040;
}

.unique-item__action {
  font-style: italic;
  font-weight: 500;
  color: rgba(232, 200, 80, 0.9);
  margin: 0 4px;
}

.unique-item__target {
  font-family: var(--font-display);
  font-weight: 700;
  color: #c83848;
}

.unique-item__tag {
  font-weight: 700;
  color: inherit;
}

.unique-item__time {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 500;
  color: rgba(200, 184, 152, 0.55);
  white-space: nowrap;
  padding-top: 1px;
}

.panel--unique .panel__title {
  font-size: inherit;
  letter-spacing: inherit;
}

/* ---- Discord Panel ---- */
.panel--discord {
  background: var(--color-bg-panel);
  border: var(--border-gold);
  box-shadow: var(--shadow-gold);
  overflow: hidden;
}

.panel--discord::before {
  opacity: 0.85;
}

.discord-panel {
  padding: 10px 11px 11px;
}

.discord-panel__frame {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 12px 13px;
  background:
    linear-gradient(180deg, rgba(18, 20, 30, 0.96) 0%, rgba(10, 11, 18, 0.98) 100%);
  border: 1px solid rgba(201, 162, 39, 0.18);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.discord-panel__logo img.is-guild-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  filter: none;
}

.discord-panel__header {
  display: flex;
  align-items: center;
  gap: 11px;
}

.discord-panel__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 9px;
  overflow: hidden;
  background: #5865f2;
  box-shadow: 0 2px 8px rgba(88, 101, 242, 0.35);
}

.discord-panel__logo img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.discord-panel__title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 3px;
}

.discord-panel__online {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  color: rgba(235, 237, 245, 0.78);
}

.discord-panel__online span {
  font-weight: 700;
  color: #fff;
}

.discord-panel__avatars {
  display: grid;
  grid-template-columns: repeat(11, 24px);
  grid-template-rows: repeat(2, 24px);
  gap: 4px;
  justify-content: start;
}

.discord-panel__avatar {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.discord-panel__avatar::after {
  content: '';
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 8px;
  height: 8px;
  background: #43b581;
  border: 2px solid #12141e;
  border-radius: 50%;
  z-index: 1;
}

.discord-panel__avatar img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: rgba(88, 101, 242, 0.2);
}

.discord-panel__join {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border-radius: 4px;
  background: var(--color-discord);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: 0 2px 10px rgba(88, 101, 242, 0.35);
}

.discord-panel__join:hover {
  background: #4752c4;
  color: #fff;
}

/* ---- Footer ---- */
.footer {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #0a0806 0%, #100d0a 28%, #16120e 62%, #12100c 100%);
  border-top: 1px solid rgba(201, 162, 39, 0.22);
  padding: 52px 0 34px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 520px;
}

.footer__wing {
  display: block;
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 162, 39, 0.15) 15%, rgba(201, 162, 39, 0.55) 100%);
  position: relative;
}

.footer__wing::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: var(--color-gold-light);
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.45);
}

.footer__wing--right {
  background: linear-gradient(270deg, transparent 0%, rgba(201, 162, 39, 0.15) 15%, rgba(201, 162, 39, 0.55) 100%);
}

.footer__wing--right::after {
  right: auto;
  left: -1px;
}

.logo--footer .logo__img {
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer__slogan {
  font-family: var(--font-heading);
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  color: rgba(228, 192, 74, 0.78);
  max-width: 560px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  margin: 0;
}

.social-icons--footer {
  gap: 12px;
  margin-top: 2px;
}

.social-icon--footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.38);
  opacity: 1;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.social-icon--footer:hover {
  border-color: rgba(201, 162, 39, 0.55);
  background: rgba(201, 162, 39, 0.08);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.15);
}

.social-icon--footer img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.footer__copy {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: rgba(200, 184, 152, 0.52);
  letter-spacing: 0.02em;
  margin: 4px 0 0;
  max-width: 640px;
  line-height: 1.55;
}

.footer__credit-link {
  color: rgba(228, 192, 74, 0.78);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__credit-link:hover {
  color: var(--color-gold-light);
}

/* ---- Image fallbacks (when PNG not yet added) ---- */
.hero-block__bg-img:not([src]),
.hero-block__bg-img[src=""] {
  display: none;
}

.logo__img:not([src]),
.logo__img[src=""],
.rank-item__avatar:not([src]),
.rank-item__avatar[src=""] {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.3), rgba(232, 106, 26, 0.2));
}

.panel__bg.is-fallback,
.panel__bg:not(:has(img:not([style*="display: none"]))) {
  background:
    radial-gradient(ellipse at center, rgba(201, 162, 39, 0.08) 0%, transparent 70%),
    #0e0c0a;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .dashboard__grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard__col--center {
    grid-column: 1 / -1;
    order: -1;
  }

  .hero__content {
    padding-left: 48px;
    padding-right: 48px;
  }

  .header__inner {
    gap: 20px;
    padding: 10px 24px 4px;
    min-height: 60px;
  }

  .nav--left,
  .nav--right {
    gap: 6px;
  }

  .nav__link {
    padding: 6px 14px 14px;
    font-size: 11.5px;
  }

  .nav__link-bar {
    width: 84px;
    height: 12px;
  }

  .logo--footer .logo__img {
    height: 58px;
    max-width: 200px;
  }

  .btn--nav-indir {
    height: 28px;
    min-height: 28px;
    padding: 0 18px;
    font-size: 11px;
    margin-left: 6px;
    top: -3px;
  }
}

@media (max-width: 768px) {
  .header__inner {
    flex-direction: column;
    min-height: auto;
    padding: 10px 18px 12px;
    gap: 10px;
    border-radius: 28px;
  }

  .nav--left,
  .nav--right {
    flex: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav__sep {
    display: none;
  }

  .btn--nav-indir {
    margin-left: 0;
    top: 0;
    width: 100%;
    max-width: 220px;
  }

  .hero__logo .logo__img {
    height: clamp(106px, 26vw, 145px);
    max-width: min(440px, 94vw);
  }

  .logo--footer .logo__img {
    height: 56px;
  }

  .nav-promo {
    font-size: 11.5px;
    margin-top: 6px;
    padding: 0 8px;
  }

  .nav-promo__star {
    font-size: 11.5px;
  }

  .hero__toolbar {
    justify-content: center;
    margin-bottom: 8px;
  }

  .hero-block {
    min-height: auto;
    overflow: hidden;
  }

  .hero__body {
    grid-template-columns: 1fr;
    margin-top: 0;
    align-items: start;
  }

  .hero__text {
    grid-column: 1;
    max-width: none;
    margin-top: 0;
    margin-left: 0;
    justify-self: stretch;
    align-items: center;
    text-align: center;
  }

  .hero__widgets {
    grid-column: 1;
    --widget-w: min(385px, 100%);
    --widget-h: 233px;
    width: 100%;
    max-width: 370px;
    justify-self: center;
    align-self: start;
  }

  .dashboard {
    margin-top: 0;
    margin-bottom: 0;
    background: var(--color-bg);
  }

  .dashboard::before {
    top: 0;
  }

  .dashboard__grid {
    transform: none;
    margin-bottom: 0;
  }

  .hero__title-line {
    white-space: normal;
    font-size: clamp(36px, 10vw, 52px);
  }

  .hero__actions {
    flex-wrap: wrap;
  }

  .btn--lg {
    min-width: 100%;
  }

  .dashboard__grid {
    grid-template-columns: 1fr;
  }

  .prize-list {
    max-width: 100%;
  }

  .prize-list__item {
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
  }

  .hero__arrow {
    width: 28px;
    height: 36px;
    font-size: 18px;
  }
}

/* ---- Center View (dynamic middle panel) ---- */
#centerView {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.center-view {
  flex: 1;
  display: none;
  flex-direction: column;
  min-height: 0;
}

.center-view.is-active {
  display: flex;
}

.center-view[hidden] {
  display: none !important;
}

/* Home / auth / download — kolon yüksekliğini doldur */
.center-view:not(.center-view--list).is-active {
  min-height: 100%;
}

.center-view:not(.center-view--list)>.panel--prize,
.center-view:not(.center-view--list)>.panel--center {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
  max-width: none;
}

/* Tam listeler — panel sidebar ile aynı yükseklikte, liste içerde scroll */
.center-view--list.is-active {
  flex: 1;
  min-height: 0;
  align-self: stretch;
}

.center-view--list>.panel--center {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.panel--center {
  border-width: 2px;
  border-color: rgba(201, 162, 39, 0.55);
}

.center-view__back {
  display: inline-flex;
  align-items: center;
  margin: 12px 16px 0;
  padding: 6px 12px;
  font-family: var(--font-section);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 248, 235, 0.88);
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(5, 4, 3, 0.6);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  align-self: flex-start;
  position: relative;
  z-index: 4;
}

.center-view__back:hover {
  color: var(--color-orange-light);
  border-color: rgba(240, 120, 32, 0.45);
  background: rgba(8, 6, 4, 0.85);
}

.panel__body--auth {
  padding: 24px 28px 32px;
  flex: 1;
}

.panel--auth .panel__header {
  margin-top: 4px;
}

/* ---- Auth Forms ---- */
.auth-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-form__label {
  font-family: var(--font-section);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-orange-light);
}

.auth-form__input {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  background: rgba(5, 4, 3, 0.85);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form__input:focus {
  border-color: rgba(201, 162, 39, 0.65);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.12);
}

.auth-form__input::placeholder {
  color: var(--color-text-muted);
}

.auth-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: rgba(200, 184, 152, 0.75);
  cursor: pointer;
  line-height: 1.45;
}

.auth-form__checkbox input {
  margin-top: 3px;
  accent-color: var(--color-orange);
  flex-shrink: 0;
}

.auth-form__captcha {
  margin: 4px 0 12px;
  min-height: 78px;
}

.auth-form__captcha:empty,
.auth-form__captcha[hidden] {
  display: none;
}

.auth-form__submit {
  width: 100%;
  margin-top: 4px;
}

.auth-form__submit--login {
  box-shadow: none;
}

.auth-form__links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 20px 28px;
  margin-top: 4px;
}

.auth-form__nav-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  min-width: 0;
  padding: 4px 10px 14px;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.auth-form__nav-link-text {
  display: block;
  font-family: var(--font-section);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  background-image: var(--gradient-brand-text-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  transition: filter 0.22s ease, background-image 0.22s ease;
}

.auth-form__nav-link-bar {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 88px;
  max-width: calc(100% + 20px);
  height: 11px;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) scaleX(0.65);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.auth-form__nav-link:hover {
  transform: translateY(-1px);
}

.auth-form__nav-link:hover .auth-form__nav-link-text {
  background-image: var(--gradient-brand-text);
  filter: drop-shadow(0 0 10px rgba(240, 120, 32, 0.28)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.auth-form__nav-link:hover .auth-form__nav-link-bar {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.auth-form__links-sep {
  color: rgba(201, 162, 39, 0.35);
  font-size: 11px;
}

.auth-form__footer {
  text-align: center;
  font-size: 13px;
  color: rgba(200, 184, 152, 0.75);
}

.auth-form__footer a {
  color: var(--color-orange-text);
  font-weight: 600;
  margin-left: 4px;
}

.auth-form__footer a:hover {
  color: var(--color-orange-light);
}

.auth-form__hint {
  font-size: 13px;
  color: rgba(200, 184, 152, 0.75);
  line-height: 1.55;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}

.auth-form__message {
  text-align: center;
  font-size: 13px;
  min-height: 1.2em;
  color: var(--color-green);
}

.auth-form__message.is-error {
  color: #e05a5a;
}

/* ---- Holly Alert (toast) ---- */
.holly-alert-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(4, 3, 2, 0.62);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.holly-alert-root.is-visible {
  opacity: 1;
  visibility: visible;
}

.holly-alert {
  position: relative;
  width: min(440px, 100%);
  padding: 22px 52px 22px 24px;
  background: linear-gradient(180deg, rgba(16, 12, 8, 0.98) 0%, rgba(10, 8, 5, 0.98) 100%);
  border: 1px solid rgba(228, 192, 74, 0.55);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(228, 192, 74, 0.12),
    inset 0 1px 0 rgba(255, 236, 170, 0.06);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.holly-alert-root.is-visible .holly-alert {
  transform: scale(1);
  opacity: 1;
}

.holly-alert::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--color-gold), var(--color-gold)) 0 0 / 18px 2px no-repeat,
    linear-gradient(180deg, var(--color-gold), var(--color-gold)) 0 0 / 2px 18px no-repeat,
    linear-gradient(90deg, var(--color-gold), var(--color-gold)) 100% 0 / 18px 2px no-repeat,
    linear-gradient(180deg, var(--color-gold), var(--color-gold)) 100% 0 / 2px 18px no-repeat,
    linear-gradient(90deg, var(--color-gold), var(--color-gold)) 0 100% / 18px 2px no-repeat,
    linear-gradient(180deg, var(--color-gold), var(--color-gold)) 0 100% / 2px 18px no-repeat,
    linear-gradient(90deg, var(--color-gold), var(--color-gold)) 100% 100% / 18px 2px no-repeat,
    linear-gradient(180deg, var(--color-gold), var(--color-gold)) 100% 100% / 2px 18px no-repeat;
  opacity: 0.75;
}

.holly-alert__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(228, 192, 74, 0.45);
  border-radius: 4px;
  background: rgba(228, 192, 74, 0.1);
  color: #f0c830;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.holly-alert__close:hover {
  background: rgba(228, 192, 74, 0.22);
  border-color: rgba(240, 200, 48, 0.75);
  color: #ffe8a0;
}

.holly-alert__close:active {
  transform: scale(0.94);
}

.holly-alert__title {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  padding-right: 8px;
  font-family: var(--font-section);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e4c04a;
}

.holly-alert__text {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-right: 4px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(236, 230, 220, 0.94);
}

.holly-alert--error .holly-alert__title::before {
  content: '◆ ';
  color: #e05a5a;
}

.holly-alert--success {
  border-color: rgba(72, 196, 110, 0.62);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(72, 196, 110, 0.16),
    0 0 28px rgba(56, 168, 88, 0.18),
    inset 0 1px 0 rgba(180, 255, 200, 0.08);
}

.holly-alert--success::before {
  background:
    linear-gradient(90deg, #48c46e, #48c46e) 0 0 / 18px 2px no-repeat,
    linear-gradient(180deg, #48c46e, #48c46e) 0 0 / 2px 18px no-repeat,
    linear-gradient(90deg, #48c46e, #48c46e) 100% 0 / 18px 2px no-repeat,
    linear-gradient(180deg, #48c46e, #48c46e) 100% 0 / 2px 18px no-repeat,
    linear-gradient(90deg, #48c46e, #48c46e) 0 100% / 18px 2px no-repeat,
    linear-gradient(180deg, #48c46e, #48c46e) 0 100% / 2px 18px no-repeat,
    linear-gradient(90deg, #48c46e, #48c46e) 100% 100% / 18px 2px no-repeat,
    linear-gradient(180deg, #48c46e, #48c46e) 100% 100% / 2px 18px no-repeat;
  opacity: 0.85;
}

.holly-alert--success .holly-alert__title {
  color: #5fdc82;
}

.holly-alert--success .holly-alert__title::before {
  content: '◆ ';
  color: #48c46e;
}

.holly-alert--success .holly-alert__text {
  color: rgba(220, 245, 228, 0.96);
}

@media (prefers-reduced-motion: reduce) {

  .holly-alert-root,
  .holly-alert {
    transition: none;
  }
}

/* ---- Register (Electus tarzı) ---- */
.panel--auth-register {
  width: 100%;
  max-width: none;
  min-width: 0;
  align-self: stretch;
  margin-left: 0;
  margin-right: 0;
  overflow: visible;
  z-index: 2;
}

.panel--auth-register:has(.holly-select.is-open) {
  z-index: 12;
}

.panel--auth-register .panel__header {
  display: flex;
}

.panel--auth-modal {
  width: 100%;
  max-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-bg-panel);
}

.panel--auth-modal .panel__body--auth,
.panel--auth-modal .panel__body--register {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  background: rgba(12, 9, 6, 0.98);
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, 0.45) rgba(8, 6, 4, 0.98);
}

.panel--auth-modal .panel__body--auth::-webkit-scrollbar,
.panel--auth-modal .panel__body--register::-webkit-scrollbar {
  width: 8px;
}

.panel--auth-modal .panel__body--auth::-webkit-scrollbar-track,
.panel--auth-modal .panel__body--register::-webkit-scrollbar-track {
  background: rgba(8, 6, 4, 0.98);
}

.panel--auth-modal .panel__body--auth::-webkit-scrollbar-thumb,
.panel--auth-modal .panel__body--register::-webkit-scrollbar-thumb {
  background: rgba(201, 162, 39, 0.4);
  border-radius: 4px;
  border: 2px solid rgba(8, 6, 4, 0.98);
}

.panel--auth-modal .panel__body--auth::-webkit-scrollbar-thumb:hover,
.panel--auth-modal .panel__body--register::-webkit-scrollbar-thumb:hover {
  background: rgba(228, 192, 74, 0.58);
}

.panel--auth-modal .panel__body--auth::-webkit-scrollbar-corner,
.panel--auth-modal .panel__body--register::-webkit-scrollbar-corner {
  background: rgba(8, 6, 4, 0.98);
}

.panel--auth-modal .panel__header {
  background: rgba(10, 8, 5, 0.98);
}

/* ---- Auth Modal (popup) ---- */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 8500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.auth-modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 2, 0.74);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.auth-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92vh, 860px);
}

.auth-modal__panel {
  display: none;
  position: relative;
}

.auth-modal__panel.is-active {
  display: block;
}

.auth-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(228, 192, 74, 0.5);
  border-radius: 4px;
  background: rgba(12, 9, 6, 0.92);
  color: #f0c830;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.auth-modal__close:hover {
  background: rgba(228, 192, 74, 0.18);
  border-color: rgba(240, 200, 48, 0.75);
  color: #ffe8a0;
}

.auth-modal__close:active {
  transform: scale(0.94);
}

.auth-modal__panel .panel--auth-register {
  overflow: visible;
}

body.is-auth-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .auth-modal-overlay {
    padding: 12px 10px;
    align-items: flex-end;
  }

  .auth-modal__dialog {
    width: 100%;
    max-height: 94vh;
  }

  .panel--auth-modal {
    max-height: 94vh;
  }
}

.panel__body--register {
  padding: 20px 28px 32px;
}

.panel--auth-register .auth-form,
.auth-form--register {
  max-width: none;
  width: 100%;
  margin: 0;
  gap: 14px;
}

.auth-form__label--gold {
  color: #e4c04a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.auth-form__help {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid rgba(228, 192, 74, 0.55);
  border-radius: 50%;
  background: rgba(228, 192, 74, 0.12);
  color: #e4c04a;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  cursor: help;
}

.auth-form__input--register {
  background: rgba(18, 14, 10, 0.92);
  border: 1px solid rgba(228, 192, 74, 0.22);
  border-radius: 4px;
  padding: 13px 14px;
  font-size: 14px;
}

.auth-form__input--register:focus {
  border-color: rgba(228, 192, 74, 0.55);
  box-shadow: 0 0 0 1px rgba(228, 192, 74, 0.2);
}

.auth-form__input--register::placeholder {
  color: rgba(138, 128, 112, 0.85);
}

.auth-form__phone {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid rgba(228, 192, 74, 0.22);
  border-radius: 4px;
  background: rgba(18, 14, 10, 0.92);
  overflow: visible;
  position: relative;
}

.auth-form__phone.is-country-open {
  z-index: 40;
}

.auth-form__phone:focus-within {
  border-color: rgba(228, 192, 74, 0.55);
  box-shadow: 0 0 0 1px rgba(228, 192, 74, 0.2);
}

.auth-form__phone-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 0 10px;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.25);
  border-right: 1px solid rgba(228, 192, 74, 0.15);
}

.auth-form__phone-code-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 108px;
  padding: 0 12px;
  background: rgba(0, 0, 0, 0.25);
  border-right: 1px solid rgba(228, 192, 74, 0.15);
}

.auth-form__phone-flag-img {
  display: block;
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.auth-form__phone-dial {
  font-size: 13px;
  font-weight: 600;
  color: rgba(236, 230, 220, 0.92);
  letter-spacing: 0.02em;
}

.auth-form__input--phone {
  flex: 1;
  min-width: 0;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  background: transparent;
}

/* ---- Custom select (koyu tema) ---- */
.holly-select {
  position: relative;
  width: 100%;
}

.holly-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.holly-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: rgba(236, 230, 220, 0.92);
}

.holly-select--register .holly-select__trigger {
  background: rgba(18, 14, 10, 0.92);
  border: 1px solid rgba(228, 192, 74, 0.22);
  border-radius: 4px;
  padding: 13px 14px;
  font-size: 14px;
}

.holly-select--register.is-open .holly-select__trigger,
.holly-select--register .holly-select__trigger:hover {
  border-color: rgba(228, 192, 74, 0.55);
}

.holly-select--register .holly-select__trigger .holly-select__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.holly-select--register .holly-select__trigger .holly-select__label.is-placeholder {
  color: rgba(138, 128, 112, 0.85);
}

.holly-select__chevron {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid #e4c04a;
  border-bottom: 2px solid #e4c04a;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.holly-select.is-open .holly-select__chevron {
  transform: rotate(225deg) translateY(2px);
}

.holly-select__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  max-height: 260px;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: rgba(12, 9, 6, 0.98);
  border: 1px solid rgba(228, 192, 74, 0.42);
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(228, 192, 74, 0.08);
}

.holly-select__menu[hidden] {
  display: none !important;
}

.holly-select__menu::-webkit-scrollbar {
  width: 5px;
}

.holly-select__menu::-webkit-scrollbar-thumb {
  background: rgba(228, 192, 74, 0.35);
  border-radius: 3px;
}

.holly-select__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: rgba(236, 230, 220, 0.92);
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.holly-select__option:hover,
.holly-select__option:focus-visible {
  background: rgba(228, 192, 74, 0.16);
  color: #f0c830;
  outline: none;
}

.holly-select__option.is-selected {
  background: rgba(228, 192, 74, 0.22);
  color: #f0c830;
}

.holly-select__flag {
  flex-shrink: 0;
  display: block;
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.holly-select__dial {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.holly-select--phone-code.holly-select {
  width: auto;
}

.holly-select--phone-code {
  flex-shrink: 0;
  width: auto;
  min-width: 112px;
  align-self: stretch;
  position: relative;
  z-index: 2;
}

.holly-select--phone-code.is-open {
  z-index: 10002;
}

.holly-select--phone-code .holly-select__trigger {
  height: 100%;
  min-height: 48px;
  min-width: 112px;
  padding: 0 10px;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.25);
  border-right: 1px solid rgba(228, 192, 74, 0.15);
  cursor: pointer;
}

.holly-select--phone-code .holly-select__trigger:hover {
  background: rgba(228, 192, 74, 0.1);
}

.holly-select--phone-code .holly-select__chevron {
  display: block;
  width: 7px;
  height: 7px;
  margin-left: 2px;
  opacity: 0.85;
}

.holly-select--phone-code .holly-select__menu,
.holly-select__menu--phone-portal {
  position: fixed;
  left: auto;
  right: auto;
  top: auto;
  min-width: min(340px, calc(100vw - 32px));
  max-height: min(320px, 50vh);
  z-index: 10003;
}

.holly-select__country-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.holly-select__search {
  display: block;
  width: calc(100% - 16px);
  margin: 6px 8px 8px;
  padding: 10px 12px;
  border: 1px solid rgba(228, 192, 74, 0.25);
  border-radius: 4px;
  background: rgba(8, 6, 4, 0.95);
  color: #ece6dc;
  font-family: inherit;
  font-size: 13px;
}

.holly-select__search::placeholder {
  color: rgba(138, 128, 112, 0.85);
}

.holly-select__search:focus {
  outline: none;
  border-color: rgba(228, 192, 74, 0.55);
}

.holly-select__empty {
  padding: 14px;
  color: rgba(138, 128, 112, 0.85);
  font-size: 13px;
  text-align: center;
}

.holly-select--phone-code .holly-select__option {
  gap: 8px;
}

.holly-select--phone-code .holly-select__dial {
  flex-shrink: 0;
  min-width: 52px;
  text-align: right;
  color: #e4c04a;
}

.auth-form__select {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #e4c04a 50%), linear-gradient(135deg, #e4c04a 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.auth-form__select option {
  color: #ece6dc;
  background: #120e0a;
}

.auth-form__checkbox--register {
  font-size: 13px;
  color: rgba(220, 210, 195, 0.88);
}

.auth-form__checkbox--register a {
  color: #e4c04a;
  text-decoration: underline;
}

.auth-form__checkbox--register input {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.auth-form__submit--register {
  width: 100%;
  margin-top: 8px;
  padding: 14px 20px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(180deg, #f0c830 0%, #e4a820 48%, #d89418 100%);
  color: #1a0f06;
  font-family: var(--font-section);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(240, 200, 48, 0.25);
  transition: filter 0.2s, transform 0.15s;
}

.auth-form__submit--register:hover {
  filter: brightness(1.06);
}

.auth-form__submit--register:active {
  transform: translateY(1px);
}

.balance-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 420px;
  margin: 20px auto;
}

.balance-options__item {
  padding: 14px;
  font-family: var(--font-section);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-gold-light);
  background: rgba(5, 4, 3, 0.85);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius);
  cursor: not-allowed;
  opacity: 0.6;
}

.nav__link--active-auth .nav__link-text {
  color: var(--color-orange-light);
}

.nav__link--username .nav__link-text {
  font-size: 15px;
  font-weight: 800;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0.03em;
  background-image: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  color: var(--color-orange-light);
  filter: drop-shadow(0 0 10px rgba(240, 120, 32, 0.35)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.auth-form__submit[hidden],
.balance-back-account[hidden],
#balanceSilkBtn[hidden] {
  display: none !important;
}

#balanceSilkBtn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ---- Quick Menu ---- */
.panel--quick-menu .panel__body--auth {
  padding: 20px 24px 28px;
}

.quick-menu {
  max-width: 420px;
  margin: 0 auto;
}

.quick-menu__welcome {
  text-align: center;
  margin-bottom: 18px;
  padding: 20px 16px 18px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: linear-gradient(180deg, rgba(240, 120, 32, 0.08) 0%, rgba(5, 4, 3, 0.35) 100%);
}

.quick-menu__welcome-label {
  margin: 0 0 10px;
  font-family: var(--font-section);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.quick-menu__welcome-user {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 5.5vw, 42px);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-orange-light);
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(240, 120, 32, 0.35);
  line-height: 1.1;
}

.quick-menu__silk-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  padding: 18px 16px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(5, 4, 3, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 236, 170, 0.05);
}

.quick-menu__silk-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(200, 184, 152, 0.85);
}

.quick-menu__silk-value {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.5vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-gold-light);
  text-shadow: 0 0 18px rgba(228, 192, 74, 0.22);
}

.quick-menu__silk-detail {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(200, 184, 152, 0.72);
}

.quick-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  text-decoration: none;
  font-family: var(--font-section);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 248, 235, 0.92);
  background: rgba(5, 4, 3, 0.82);
  border: 1px solid rgba(201, 162, 39, 0.32);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.quick-menu__item:hover {
  border-color: rgba(240, 120, 32, 0.55);
  background: rgba(12, 9, 6, 0.92);
  box-shadow: 0 0 16px rgba(240, 120, 32, 0.12);
  transform: translateY(-1px);
}

.quick-menu__item:active {
  transform: translateY(0);
}

.quick-menu__item-icon {
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  font-size: 16px;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(240, 120, 32, 0.25));
}

.quick-menu__item-text {
  flex: 1;
}

.quick-menu__item--logout {
  margin-top: 4px;
  border-color: rgba(224, 90, 90, 0.35);
  color: rgba(255, 210, 210, 0.95);
}

.quick-menu__item--logout:hover {
  border-color: rgba(224, 90, 90, 0.62);
  background: rgba(40, 10, 10, 0.55);
  box-shadow: 0 0 14px rgba(224, 90, 90, 0.14);
}

.account-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 480px;
  margin: 0 auto;
}

.account-info {
  margin: 0;
  display: grid;
  gap: 10px;
}

.account-info__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.account-info__row dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.account-info__row dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  word-break: break-word;
}

.account-characters__title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.account-characters__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.account-characters__list li {
  font-size: 13px;
  color: rgba(236, 230, 220, 0.9);
  padding: 8px 10px;
  background: rgba(5, 4, 3, 0.55);
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: var(--radius);
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 4px;
}

.account-actions .btn {
  min-width: 160px;
}

/* ---- Full list center views ---- */
.center-view--list .panel--center {
  overflow: hidden;
}

.center-view--list .panel__header,
.center-view--list .center-view__back,
.center-view--list .rank-tabs {
  flex-shrink: 0;
}

/* ---- Rank tabs (oyuncu / guild) ---- */
.rank-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 10px 16px 0;
  padding: 10px 12px 12px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.14);
  background: linear-gradient(180deg, rgba(240, 120, 32, 0.06) 0%, rgba(5, 4, 3, 0.2) 100%);
}

.rank-tabs__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  min-width: 0;
  padding: 4px 12px 14px;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.rank-tabs__text {
  display: block;
  font-family: var(--font-section);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  color: rgba(255, 248, 235, 0.72);
  transition: color 0.22s ease, filter 0.22s ease;
}

.rank-tabs__bar {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 96px;
  max-width: calc(100% + 24px);
  height: 11px;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) scaleX(0.65);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.rank-tabs__sep {
  color: rgba(201, 162, 39, 0.45);
  font-size: 12px;
  font-weight: 600;
  user-select: none;
  line-height: 1;
}

.rank-tabs__link:hover {
  transform: translateY(-1px);
}

.rank-tabs__link:hover .rank-tabs__text {
  color: var(--color-orange-light);
  filter: drop-shadow(0 0 8px rgba(240, 120, 32, 0.25));
}

.rank-tabs__link:hover .rank-tabs__bar,
.rank-tabs__link--active .rank-tabs__bar {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.rank-tabs__link--active .rank-tabs__text {
  color: var(--color-orange-light);
  filter: drop-shadow(0 0 10px rgba(240, 120, 32, 0.3));
}

@media (max-width: 768px) {
  .rank-tabs {
    gap: 4px 6px;
    padding: 8px 10px 10px;
  }

  .rank-tabs__text {
    font-size: 9.5px;
    letter-spacing: 0.06em;
    white-space: normal;
    max-width: 42vw;
  }

  .rank-tabs__link {
    padding: 4px 6px 12px;
  }
}

/* ---- Rank Tabs — Full-page MMORPG variant ---- */
.rank-tabs--page {
  margin: 0;
  padding: 0;
  gap: 0;
  flex-wrap: nowrap;
  border-bottom: none;
  background: linear-gradient(180deg,
      rgba(20, 14, 8, 0.7) 0%,
      rgba(10, 7, 4, 0.9) 100%);
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.rank-tabs--page::-webkit-scrollbar {
  display: none;
}

/* Ornate gold border lines */
.rank-tabs--page::before,
.rank-tabs--page::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(201, 162, 39, 0.15) 10%,
      rgba(201, 162, 39, 0.5) 30%,
      var(--color-gold) 50%,
      rgba(201, 162, 39, 0.5) 70%,
      rgba(201, 162, 39, 0.15) 90%,
      transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.rank-tabs--page::before {
  top: 0;
}

.rank-tabs--page::after {
  bottom: 0;
}

/* Hide default separators */
.rank-tabs--page .rank-tabs__sep {
  display: none;
}

/* Tab button — page variant */
.rank-tabs--page .rank-tabs__link {
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding: 14px 22px;
  border: none;
  border-right: 1px solid rgba(201, 162, 39, 0.1);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.rank-tabs--page .rank-tabs__link:first-child {
  border-left: 1px solid rgba(201, 162, 39, 0.1);
}

/* Text — page variant */
.rank-tabs--page .rank-tabs__text {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(236, 230, 220, 0.42);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Bottom glow indicator */
.rank-tabs__glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      var(--color-gold) 20%,
      var(--color-hero-orange) 50%,
      var(--color-gold) 80%,
      transparent);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease,
    box-shadow 0.35s ease;
  opacity: 0;
}

/* Hover */
.rank-tabs--page .rank-tabs__link:hover {
  background: linear-gradient(180deg,
      rgba(240, 120, 32, 0.06) 0%,
      rgba(201, 162, 39, 0.03) 50%,
      transparent 100%);
  transform: none;
}

.rank-tabs--page .rank-tabs__link:hover .rank-tabs__text {
  color: rgba(236, 230, 220, 0.78);
  filter: none;
}

.rank-tabs--page .rank-tabs__link:hover .rank-tabs__glow {
  transform: translateX(-50%) scaleX(0.5);
  opacity: 0.45;
}

/* Active */
.rank-tabs--page .rank-tabs__link--active {
  background: linear-gradient(180deg,
      rgba(240, 120, 32, 0.1) 0%,
      rgba(201, 162, 39, 0.04) 40%,
      transparent 100%);
}

.rank-tabs--page .rank-tabs__link--active .rank-tabs__text {
  color: var(--color-gold-light);
  text-shadow: 0 0 14px rgba(240, 120, 32, 0.3),
    0 0 28px rgba(201, 162, 39, 0.12);
  filter: none;
}

.rank-tabs--page .rank-tabs__link--active .rank-tabs__glow {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
  box-shadow: 0 0 10px rgba(240, 120, 32, 0.45),
    0 0 22px rgba(240, 120, 32, 0.18);
  animation: rankTabPulse 2.8s ease-in-out infinite;
}

/* Shimmer sweep on active */
.rank-tabs--page .rank-tabs__link--active::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(201, 162, 39, 0.05) 40%,
      rgba(240, 120, 32, 0.08) 50%,
      rgba(201, 162, 39, 0.05) 60%,
      transparent 100%);
  animation: rankTabShimmer 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes rankTabPulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(240, 120, 32, .45), 0 0 22px rgba(240, 120, 32, .18);
  }

  50% {
    opacity: .65;
    box-shadow: 0 0 6px rgba(240, 120, 32, .25), 0 0 14px rgba(240, 120, 32, .08);
  }
}

@keyframes rankTabShimmer {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

/* Page tabs responsive */
@media (max-width: 768px) {
  .rank-tabs--page .rank-tabs__link {
    padding: 11px 14px;
  }

  .rank-tabs--page .rank-tabs__text {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }
}



.rank-list--full,
.feed-list--full,
.unique-list--full {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: none;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.rank-list--full::-webkit-scrollbar,
.feed-list--full::-webkit-scrollbar,
.unique-list--full::-webkit-scrollbar {
  width: 5px;
}

.rank-list--full::-webkit-scrollbar-thumb,
.feed-list--full::-webkit-scrollbar-thumb,
.unique-list--full::-webkit-scrollbar-thumb {
  background: var(--color-gold-dim);
  border-radius: 2px;
}

.dashboard__col--center .panel--center .panel__title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffe082;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 5px rgba(201, 162, 39, 0.4);
}

/* Sidebar active source highlight */
.panel--active-source {
  border-color: rgba(240, 120, 32, 0.55);
  box-shadow: 0 0 16px rgba(240, 120, 32, 0.12);
}

@media (max-width: 768px) {
  .auth-form {
    max-width: 100%;
  }

  .center-view--list>.panel--center {
    min-height: min(70vh, 520px);
  }

  .download-package {
    flex-direction: column;
    align-items: stretch;
  }

  .download-package__btn {
    width: 100%;
  }
}

/* ---- Download Packages ---- */
.panel__body--download {
  padding: 20px 24px 28px;
  flex: 1;
}

.download-intro {
  font-size: 13px;
  color: rgba(200, 184, 152, 0.8);
  line-height: 1.55;
  text-align: center;
  max-width: 520px;
  margin: 0 auto 20px;
}

.download-intro strong {
  color: var(--color-orange-light);
}

.download-packages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

.download-package {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(5, 4, 3, 0.75);
  border: 1px solid rgba(201, 162, 39, 0.28);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.download-package:hover {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.08);
}

.download-package--featured {
  border-color: rgba(240, 120, 32, 0.45);
  background: linear-gradient(135deg, rgba(240, 120, 32, 0.08) 0%, rgba(5, 4, 3, 0.85) 55%);
}

.download-package__main {
  flex: 1;
  min-width: 0;
}

.download-package__badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-hero-cta);
  border-radius: var(--radius);
}

.download-package__title {
  font-family: var(--font-section);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-orange-light);
  margin-bottom: 4px;
}

.download-package__desc {
  font-size: 12px;
  color: rgba(200, 184, 152, 0.72);
  line-height: 1.45;
  margin-bottom: 10px;
}

.download-package__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.download-package__meta li {
  font-size: 11px;
  color: rgba(200, 184, 152, 0.6);
}

.download-package__meta li span {
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 9px;
}

.download-package__meta li strong {
  color: var(--color-orange-light);
  font-weight: 600;
}

.download-package__btn {
  flex-shrink: 0;
  min-width: 160px;
  padding: 12px 20px;
  font-size: 11px;
}

.download-package__btn.btn--hero-secondary {
  min-width: 140px;
}

.download-extra {
  max-width: 640px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  text-align: center;
}

.download-extra__title {
  font-family: var(--font-section);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange-light);
  margin-bottom: 12px;
}

.download-extra__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}

.download-extra__link {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-orange-text);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.download-extra__link:hover {
  color: var(--color-orange-light);
}

.download-note {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 11px;
  color: rgba(200, 184, 152, 0.5);
  text-align: center;
  line-height: 1.5;
}

.download-note code {
  font-family: var(--font-digital);
  font-size: 10px;
  color: rgba(201, 162, 39, 0.7);
}

/* Arabic RTL layout */
body.is-rtl {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

body.is-rtl .hero__toolbar,
body.is-rtl .header__inner,
body.is-rtl .hero-block__actions,
body.is-rtl .auth-form__row--links,
body.is-rtl .center-view__back {
  flex-direction: row-reverse;
}

body.is-rtl .rank-item,
body.is-rtl .feed-item--kill,
body.is-rtl .unique-item {
  text-align: right;
}

body.is-rtl .rank-item__score {
  text-align: left;
}

body.is-rtl .info-table td:first-child {
  text-align: right;
}

body.is-rtl .nav--left {
  justify-self: start;
}

body.is-rtl .nav--right {
  justify-self: end;
}

body.is-rtl .info-table td:last-child {
  text-align: left;
}

/* Full-width layout — Electus-style (https://electus.online) */
@media (min-width: 1600px) {
  :root {
    --grid-cols: minmax(300px, 400px) minmax(560px, 1fr) minmax(300px, 400px);
  }
}

@media (min-width: 2200px) {
  :root {
    --grid-cols: minmax(320px, 420px) minmax(640px, 1fr) minmax(320px, 420px);
    --layout-gutter: clamp(12px, 1.2vw, 24px);
  }
}

/* ---- Character Detail Page ---- */
.char-detail {
  padding: 24px;
}

.char-detail__profile {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.char-avatar-container {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  background: rgba(10, 8, 6, 0.8);
  overflow: hidden;
  box-shadow: 0 0 15px rgba(201, 162, 39, 0.3);
}

.char-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.char-avatar-border {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.char-profile-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.char-profile-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: var(--gradient-heading-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin: 0;
  text-transform: uppercase;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.char-profile-meta {
  display: flex;
  gap: 10px;
}

.char-badge {
  font-family: var(--font-section);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.char-badge--level {
  background: rgba(201, 162, 39, 0.2);
  color: var(--color-orange-light);
  border: 1px solid rgba(201, 162, 39, 0.4);
}

.char-badge--guild {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Grid Layout for Stats & Inventory */
.char-detail__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  margin-bottom: 24px;
}

.char-card--inventory {
  max-width: 320px;
  width: 100%;
  justify-self: end;
}

@media (max-width: 768px) {
  .char-detail__grid {
    grid-template-columns: 1fr;
  }

  .char-card--inventory {
    justify-self: center;
  }
}

.char-card {
  background: rgba(15, 12, 10, 0.5);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
}

.char-card__title {
  font-family: var(--font-section);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.15) 0%, transparent 100%);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  color: var(--color-gold);
}

.char-card__body {
  padding: 16px;
}

/* Stats list */
.char-stats-table {
  width: 100%;
  border-collapse: collapse;
}

.char-stats-table tr {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.char-stats-table tr:last-child {
  border-bottom: none;
}

.char-stats-table td {
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 13px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
}

.stat-value {
  text-align: right;
  color: #fff;
  font-weight: 600;
  font-family: var(--font-heading);
}

.stat-value[id] {
  color: var(--color-orange-light);
}

/* Inventory Grid styling */
.char-card__body--inventory {
  position: relative;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 76px);
  gap: 16px;
  justify-content: center;
  margin: 10px auto;
}

.inventory-slot {
  aspect-ratio: 1;
  background: rgba(5, 4, 3, 0.7);
  border: 1px solid rgba(201, 162, 39, 0.15);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.9);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color 0.2s;
}

.inventory-slot:hover {
  border-color: rgba(201, 162, 39, 0.5);
}

.item-icon-svg {
  width: 70%;
  height: 70%;
  filter: drop-shadow(0 0 4px rgba(201, 162, 39, 0.5));
}

.inventory-placeholder-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(1.5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.char-card__body--inventory:hover .inventory-placeholder-overlay {
  opacity: 1;
}

.inventory-placeholder-overlay span {
  font-family: var(--font-section);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px 14px;
  border: 1px solid var(--color-gold);
  background: rgba(10, 8, 6, 0.9);
  color: var(--color-gold);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

/* Tabs section */
.char-tabs-section {
  margin-top: 16px;
}

.char-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid rgba(201, 162, 39, 0.25);
  margin-bottom: 16px;
}

.char-tabs__link {
  font-family: var(--font-section);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 10px 20px;
  background: rgba(15, 12, 10, 0.4);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  color: rgba(255, 248, 235, 0.6);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  top: 2px;
  outline: none;
}

.char-tabs__link:hover {
  color: rgba(255, 248, 235, 0.9);
  background: rgba(15, 12, 10, 0.6);
}

.char-tabs__link--active {
  color: var(--color-gold);
  background: var(--color-bg-panel);
  border-color: rgba(201, 162, 39, 0.38) rgba(201, 162, 39, 0.38) transparent;
  box-shadow: inset 0 2px 0 var(--color-gold);
}

.unique-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: 4px;
  margin-bottom: 16px;
  font-family: var(--font-section);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.unique-summary__title {
  color: rgba(255, 255, 255, 0.7);
}

.unique-summary__count {
  color: var(--color-orange-light);
  font-weight: 800;
  font-size: 14px;
  text-shadow: 0 0 10px rgba(240, 120, 32, 0.4);
}

.char-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: 4px;
}

.char-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.char-data-table th {
  font-family: var(--font-section);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 12px 16px;
  background: rgba(10, 8, 6, 0.85);
  color: var(--color-gold);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.char-data-table td {
  padding: 10px 16px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
}

.char-data-table tr:hover {
  background: rgba(201, 162, 39, 0.03);
}

.char-data-table tr:last-child td {
  border-bottom: none;
}

.char-data-table .unique-name {
  font-weight: 600;
  color: var(--color-orange-light);
}

/* Hover style for clickable characters in lists */
.rank-item__name--link,
.unique-item__player--link,
.feed-item__name--link {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s, text-shadow 0.2s;
  cursor: pointer;
}

.rank-item__name--link:hover,
.unique-item__player--link:hover,
.feed-item__name--link:hover {
  color: var(--color-orange-light) !important;
  text-shadow: 0 0 8px rgba(240, 120, 32, 0.4);
}

/* ---- Premium Ranking Table Styles ---- */
.rank-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 15px;
  background: rgba(10, 8, 6, 0.35);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: 6px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: var(--font-heading);
}

.rank-table th {
  font-family: var(--font-section);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(236, 230, 220, 0.45);
  text-transform: uppercase;
  padding: 14px 16px;
  border-bottom: 2px solid rgba(201, 162, 39, 0.25);
  background: rgba(20, 16, 12, 0.6);
}

.rank-table__row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.rank-table__row:hover {
  background-color: rgba(201, 162, 39, 0.04);
}

.rank-table__row:last-child {
  border-bottom: none;
}

.rank-table td {
  padding: 12px 16px;
  vertical-align: middle;
  font-size: 13px;
  color: rgba(255, 248, 235, 0.92);
}

/* Align rank badges properly */
.rank-table td:first-child {
  padding-left: 20px;
  width: 60px;
}

.rank-table__name--link {
  color: #ffe082;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.rank-table__name--link:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 224, 130, 0.4);
}

.rank-table__guild {
  color: rgba(255, 248, 235, 0.7);
  font-weight: 500;
}

.rank-table__level {
  color: #fff0d0;
  font-weight: 600;
}

.rank-table__score {
  color: #f0c040;
  font-weight: 700;
}

/* ---- intl-tel-input Custom Styling ---- */
.iti {
  display: block !important;
  width: 100% !important;
}

.iti__country-list {
  background-color: #0c0a08 !important;
  border: 1px solid #c9a227 !important;
  color: #fff !important;
  z-index: 10000 !important;
}

.iti__country {
  padding: 8px 10px !important;
}

.iti__country:hover,
.iti__country.iti__highlight {
  background-color: #1c1610 !important;
  color: #ffe1a8 !important;
}

.iti__selected-country {
  background-color: #14100c !important;
}

.iti__search-input {
  background-color: #110e0c !important;
  color: #fff !important;
  border-bottom: 1px solid #c9a227 !important;
}

.iti__selected-dial-code {
  color: #c9a227 !important;
}

.iti__dropdown-content {
  background-color: #0c0a08 !important;
}

/* Custom HollyGame Notification Alert Overlay */
.hg-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hg-alert-overlay.hg-alert--active {
  opacity: 1;
  visibility: visible;
}

.hg-alert-card {
  width: 90%;
  max-width: 400px;
  background: #0f0c09;
  border: 2px solid #c9a227;
  box-shadow: 0 0 35px rgba(201, 162, 39, 0.45);
  border-radius: 4px;
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.hg-alert-overlay.hg-alert--active .hg-alert-card {
  transform: scale(1);
}

.hg-alert-card__inner {
  padding: 30px 24px;
  text-align: center;
  position: relative;
}

/* Ornate corner decorations */
.hg-alert-card__corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid #c9a227;
}

.hg-alert-card__corner--tl {
  top: 6px;
  left: 6px;
  border-right: none;
  border-bottom: none;
}

.hg-alert-card__corner--tr {
  top: 6px;
  right: 6px;
  border-left: none;
  border-bottom: none;
}

.hg-alert-card__corner--bl {
  bottom: 6px;
  left: 6px;
  border-right: none;
  border-top: none;
}

.hg-alert-card__corner--br {
  bottom: 6px;
  right: 6px;
  border-left: none;
  border-top: none;
}

/* Icon styling */
.hg-alert-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #c9a227;
  background: rgba(201, 162, 39, 0.08);
}

.hg-alert-card__icon--error {
  border-color: #e63946;
  background: rgba(230, 57, 70, 0.08);
}

/* Typography */
.hg-alert-card__title {
  font-family: 'Cinzel', serif;
  color: #ffe1a8;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hg-alert-card__text {
  font-family: 'Montserrat', sans-serif;
  color: #d1c8bd;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Progress bar */
.hg-alert-card__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.hg-alert-card__progress-fill {
  height: 100%;
  background: #c9a227;
  width: 100%;
}

.hg-alert-card__icon--error+.hg-alert-card__title+.hg-alert-card__text+.hg-alert-card__progress .hg-alert-card__progress-fill {
  background: #e63946;
}