:root {
  --bg: #090807;
  --panel: rgba(20, 16, 13, .82);
  --panel-strong: rgba(28, 21, 16, .94);
  --line: rgba(226, 174, 90, .22);
  --line-strong: rgba(226, 174, 90, .45);
  --gold: #e5b15c;
  --gold-soft: #f4d08a;
  --red: #a8372d;
  --green: #4f8f6b;
  --text: #f4eee5;
  --muted: #b9a997;
  --shadow: 0 18px 55px rgba(0, 0, 0, .45);
  --topbar: 72px;
  --sidebar: 292px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(9, 8, 7, .56), rgba(9, 8, 7, .96) 560px),
    url("https://images.unsplash.com/photo-1518709268805-4e9042af2176?auto=format&fit=crop&w=2200&q=80") center top / cover fixed,
    #090807;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 18%, rgba(229, 177, 92, .14), transparent 33%),
    radial-gradient(circle at 78% 8%, rgba(168, 55, 45, .14), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, .42), transparent 30%, rgba(0, 0, 0, .38));
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 26px;
  background: rgba(9, 8, 7, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold-soft);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  display: none;
}

.crest {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(229, 177, 92, .22), rgba(168, 55, 45, .16));
  color: var(--gold-soft);
  font-family: Cinzel, serif;
  font-weight: 800;
  flex: 0 0 auto;
}

.crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.brand-title {
  font-family: Cinzel, serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  width: auto;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5));
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-nav-actions {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: min(620px, calc(100vw - var(--sidebar) - 360px));
  padding: 4px;
  border: 1px solid rgba(226, 174, 90, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.top-nav-btn {
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .18s, border-color .18s, background .18s, transform .18s;
}

.top-nav-btn:hover {
  color: var(--gold-soft);
  border-color: var(--line);
  background: rgba(229, 177, 92, .08);
  transform: translateY(-1px);
}

.top-nav-btn-primary {
  color: var(--muted);
  background: transparent;
  border-color: transparent;
}

.top-nav-btn-primary:hover {
  color: var(--gold-soft);
  border-color: var(--line);
  background: rgba(229, 177, 92, .08);
}

.top-nav-btn-discord {
  color: var(--muted);
}

.top-nav-btn-discord:hover {
  color: var(--gold-soft);
  border-color: var(--line);
  background: rgba(229, 177, 92, .08);
}

.top-link, .lang-pill {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, .035);
  font-size: 14px;
  font-weight: 600;
}

.top-link:hover, .lang-pill:hover {
  color: var(--gold-soft);
  border-color: var(--line-strong);
}

.sidebar {
  position: fixed;
  z-index: 25;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar);
  background: rgba(13, 10, 8, .9);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 16px 14px 12px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.sidebar-logo {
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
  margin: 0 auto 12px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
}

.sidebar-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.sidebar-search-wrap i {
  color: var(--muted);
  font-size: 12px;
  flex-shrink: 0;
}

.sidebar-search {
  background: none;
  border: 0;
  color: var(--text);
  font-size: 13px;
  width: 100%;
  outline: none;
}

.sidebar-search::placeholder {
  color: var(--muted);
}


.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(229,177,92,.2) transparent;
}

.nav-icon {
  font-size: 18px;
  line-height: 1;
  opacity: .85;
}

.sidebar-footer {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex-shrink: 0;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .18s;
}

.sidebar-btn:hover {
  opacity: .82;
}

.discord-btn {
  background: #5865f2;
  color: #fff;
}

.register-btn {
  background: rgba(229, 177, 92, .15);
  color: var(--gold-soft);
  border: 1px solid rgba(229, 177, 92, .3);
}

.nav-group {
  margin-bottom: 12px;
  border: 1px solid rgba(226, 174, 90, .12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .025);
}

.nav-title {
  width: 100%;
  border: 0;
  color: var(--gold-soft);
  background: rgba(229, 177, 92, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.nav-title span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-items {
  display: grid;
  padding: 8px;
  overflow: hidden;
  transition: height .3s ease, padding .3s ease;
}

.nav-group.collapsed .nav-items {
  padding-top: 0;
  padding-bottom: 0;
}

.nav-title .fa-chevron-down {
  transition: transform .2s ease;
  font-size: 11px;
}

.nav-group.collapsed .nav-title .fa-chevron-down {
  transform: rotate(-90deg);
}

.nav-item {
  color: var(--muted);
  padding: 10px 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.nav-item:hover, .nav-item.active {
  color: var(--text);
  background: rgba(229, 177, 92, .12);
}

main {
  margin-left: var(--sidebar);
  padding: calc(var(--topbar) + 44px) 34px 70px;
}

.content {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - var(--topbar) - 64px);
  display: grid;
  align-items: center;
  padding: 30px 0 54px;
}

.hero-inner {
  width: min(880px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-soft);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 8, 7, .56);
}

h1, h2, h3 {
  font-family: Cinzel, serif;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  margin-top: 22px;
  font-size: clamp(48px, 7vw, 94px);
  line-height: .95;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .7);
}

.hero-subtitle {
  margin: 16px 0 0;
  color: var(--gold-soft);
  font-family: Cinzel, serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
}

.hero-copy {
  width: min(760px, 100%);
  margin: 24px 0 0;
  color: #ddcfbd;
  font-size: 18px;
  line-height: 1.78;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.meta-box {
  min-width: 168px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 8, 7, .62);
  box-shadow: var(--shadow);
}

.meta-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.meta-value {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.section {
  scroll-margin-top: 94px;
  margin: 0;
}

.section-header {
  margin-bottom: 18px;
  text-align: center;
  display: grid;
  justify-items: center;
}

.section-kicker {
  display: none;
}

h2 {
  margin-top: 7px;
  font-size: clamp(30px, 4vw, 48px);
  text-align: center;
}

#bitis h2 {
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.05;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(31, 24, 18, .92), rgba(13, 10, 8, .92));
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
  margin-bottom: 22px;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(229, 177, 92, .11), transparent 34%, rgba(79, 143, 107, .08));
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-title {
  color: var(--gold-soft);
  font-size: clamp(24px, 3vw, 34px);
  text-align: center;
}

.feature-subtitle {
  color: var(--muted);
  margin: 7px 0 18px;
  font-weight: 700;
  text-align: center;
}

.feature-description {
  color: #dccdbc;
  line-height: 1.76;
  margin: 0 0 14px;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 28px;
  align-items: center;
  text-align: center;
}

.split > div {
  text-align: center;
}

.media-frame {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  min-height: 260px;
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.wide-media img {
  object-fit: contain;
  padding: 12px;
  background: radial-gradient(circle, rgba(229, 177, 92, .1), transparent 58%), #0d0a08;
}

.compact-icon-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 460px;
}

.passive-icon-grid, .alchemy-icon-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.language-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.language-grid span {
  min-width: 58px;
  padding: 12px 14px;
  border: 1px solid rgba(226, 174, 90, .28);
  border-radius: 8px;
  color: var(--gold-soft);
  background: rgba(229, 177, 92, .07);
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: 0;
}

.passive-table {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  background: rgba(9, 8, 7, .32);
}

.passive-row {
  min-width: 760px;
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) repeat(4, minmax(80px, .5fr));
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #e8ded1;
  text-align: center;
}

.passive-row:last-child {
  border-bottom: 0;
}

.passive-row strong {
  color: var(--gold-soft);
  text-align: left;
}

.passive-row span {
  font-weight: 800;
}

.passive-head {
  background: rgba(229, 177, 92, .08);
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mini-card {
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  padding: 17px;
  background: rgba(255, 255, 255, .035);
  text-align: center;
}

.mini-card i {
  color: var(--gold-soft);
  font-size: 22px;
  margin-bottom: 12px;
}

.mini-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.mini-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.mini-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

.extra-system-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: stretch;
}

#beceri-sistemi .extra-system-grid {
  grid-template-columns: repeat(4, minmax(0, 180px));
  justify-content: center;
}

.extra-system-item {
  width: 180px;
  min-height: 164px;
  display: grid;
  align-content: center;
  text-align: center;
}

.system-gallery {
  width: min(360px, 100%);
  display: grid;
  margin: 0 auto;
}

.styled-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.styled-list li {
  position: relative;
  display: block;
  color: #e4d8ca;
  line-height: 1.55;
  text-align: left;
  padding-left: 19px;
  overflow-wrap: normal;
  word-break: normal;
}

.styled-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(229, 177, 92, .62);
}

.buffi-card {
  display: grid;
  gap: 32px;
}

.buffi-top-split {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 760px;
  gap: 24px;
  align-items: center;
}

.buffi-text-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  padding-left: clamp(28px, 4vw, 72px);
  align-items: center;
}

.buffi-text-col .feature-subtitle,
.buffi-text-col .feature-description {
  text-align: center;
  margin: 0;
  max-width: 640px;
}

.buffi-text-col .styled-list li {
  display: block;
  position: relative;
  text-align: center;
  max-width: 720px;
}

.buffi-text-col .styled-list li::before {
  display: inline-block;
  vertical-align: middle;
  margin: -2px 12px 0 0;
}

.buffi-icon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 4px;
}

.buffi-icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(229, 177, 92, .4));
}

.buffi-main-title {
  text-align: center;
  margin: 0;
  font-size: clamp(20px, 2.2vw, 28px);
}

.buffi-main-media {
  min-height: 760px;
  background: transparent;
  border: none;
}

.buffi-main-media img {
  width: 100%;
  height: 100%;
  min-height: 760px;
  object-fit: contain;
  padding: 0;
  background: transparent;
}

@media (max-width: 900px) {
  .buffi-top-split {
    grid-template-columns: 1fr;
  }
  .buffi-text-col {
    text-align: center;
    padding-left: 0;
  }
  .buffi-text-col .feature-subtitle,
  .buffi-text-col .feature-description {
    text-align: center;
  }
  .buffi-text-col .styled-list li {
    justify-content: center;
    text-align: center;
  }
  .buffi-icon-row {
    justify-content: center;
  }
  .buffi-main-title {
    text-align: center;
  }
}

.buffi-items {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.buffi-item {
  min-height: 126px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 16px 12px;
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  text-align: center;
}

.buffi-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  image-rendering: auto;
}

.buffi-item span {
  color: var(--gold-soft);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.35;
}

.ranking-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

.ranking-intro {
  width: min(820px, 100%);
}

.ranking-card .feature-description {
  margin-left: auto;
  margin-right: auto;
}

.ranking-media {
  width: min(820px, 100%);
  margin: 24px auto 30px;
}

.ranking-media img {
  object-position: center top;
}

.ranking-rewards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 380px));
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.ranking-reward {
  min-height: 138px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 16px 12px;
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  text-align: center;
}

.ranking-reward img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.ranking-reward-start img {
  width: 68px;
  height: 68px;
}

.ranking-reward span {
  display: block;
  width: 100%;
  color: var(--gold-soft);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.ranking-list {
  width: 100%;
  margin-top: 24px;
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  background: rgba(9, 8, 7, .36);
  overflow-x: auto;
}

.ranking-row {
  min-width: 820px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(226, 174, 90, .12);
  color: #e4d8ca;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.ranking-row span {
  padding: 12px 14px;
  border-right: 1px solid rgba(226, 174, 90, .16);
  white-space: nowrap;
}

.ranking-row span:last-child {
  border-right: 0;
}

.ranking-degree {
  font-weight: 900;
}

.ranking-row:last-child {
  border-bottom: 0;
}

.ranking-row-final {
  font-weight: 900;
}

.bonus-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bonus-card {
  padding: 18px;
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  background: rgba(9, 8, 7, .36);
  text-align: center;
}

.bonus-card h3 {
  color: var(--gold-soft);
  font-size: 20px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(226, 174, 90, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
}

.level {
  color: var(--gold-soft);
  font-weight: 900;
}

.intro-card {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.intro-logo {
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}

.intro-logo img {
  width: min(340px, 72vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, .58));
}

.hero-section {
  position: relative;
  overflow: hidden;
  margin-top: -44px;
  /* Full-bleed trick: her ekran boyutunda sidebar→sağ kenar arası tam doldur */
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
}

.intro-video-bg {
  position: relative;
  width: 100%;
  line-height: 0;
  z-index: 0;
}

.intro-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(9,8,7,.05) 0%, rgba(9,8,7,.75) 55%, rgba(9,8,7,.95) 100%),
    linear-gradient(to bottom, rgba(9,8,7,.3) 0%, transparent 20%, transparent 80%, rgba(9,8,7,.6) 100%);
  pointer-events: none;
}

.intro-video-bg video {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
}

.hero-content {
  position: absolute;
  top: 0;
  right: 120px;
  bottom: 0;
  width: min(620px, 58%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 10px 48px;
}

.hero-logo {
  width: min(360px, 65vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.7));
}

.hero-title {
  font-family: Cinzel, serif;
  font-size: clamp(21px, 2.75vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,.6);
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 700;
  color: var(--gold-soft);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.72;
  color: #d8cfc5;
  margin: 0;
}

.hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  color: #d8cfc5;
}

.hero-list-icon {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 3px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(229, 177, 92, .1);
  border: 1px solid rgba(229, 177, 92, .32);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  justify-content: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .18s, transform .15s;
  cursor: pointer;
}

.hero-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.hero-btn-primary {
  background: var(--red);
  color: #fff;
}

.hero-btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255,255,255,.35);
}

.closing-card {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 260px;
}

.closing-card p {
  width: min(840px, 100%);
  color: #e4d8ca;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.75;
  margin: 0;
}

.intro-copy {
  width: min(920px, 100%);
  color: #e4d8ca;
  font-size: 17px;
  line-height: 1.78;
  margin: 0;
}

.launch-section {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Video ile aynı full-bleed genişlik */
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  /* Videoyla araya boşluk girmesin */
  margin-top: -28px;
  margin-bottom: 0;
  /* Arka plan */
  background: url("../images/launch-bg.png") center center / cover no-repeat;
  position: relative;
  overflow: visible;
  padding: 60px 34px;
  scroll-margin-top: 94px;
}

.launch-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 8, 7, .45);
  pointer-events: none;
  z-index: 0;
}

.launch-section::after {
  display: none;
}

.launch-panel {
  width: min(760px, 100%);
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 32px;
  border: 1px solid rgba(226, 174, 90, .28);
  border-radius: 12px;
  background: rgba(9, 8, 7, .55);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 3;
}

.launch-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.launch-panel h3 {
  color: var(--gold-soft);
  font-size: clamp(24px, 3vw, 34px);
}

.date-strip, .countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.date-strip div, .countdown div {
  min-width: 92px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  background: rgba(9, 8, 7, .36);
}

.date-strip strong, .countdown strong {
  color: var(--gold-soft);
  font-family: Cinzel, serif;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
}

.date-strip span, .countdown span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.date-strip em, .countdown em {
  color: var(--gold-soft);
  font-style: normal;
  font-size: 28px;
  font-weight: 900;
}

.countdown {
  margin-top: 4px;
}

.countdown div {
  min-width: 112px;
}

.launch-panel p {
  color: #e4d8ca;
  line-height: 1.7;
  margin: 2px 0 0;
  text-align: center;
}

.system-card {
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
}

.section-subtitle {
  margin-top: 6px;
  text-align: center;
}

.compact-media {
  width: min(360px, 100%);
  justify-self: center;
  min-height: 220px;
}

.compact-media img {
  object-fit: contain;
  padding: 28px;
  background: radial-gradient(circle, rgba(229, 177, 92, .12), transparent 58%), #0d0a08;
}

.icon-grid, .ticket-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: stretch;
}

.ticket-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-content: unset;
}

.market-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: stretch;
}

.icon-item {
  width: 150px;
  min-height: 136px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  text-align: center;
}

.icon-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.icon-item span {
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.32;
}

.icon-item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.market-feature {
  background: rgba(229, 177, 92, .07);
  border-color: rgba(226, 174, 90, .32);
}

.slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  width: 100%;
  text-align: center;
}

.slider-head .feature-title {
  width: 100%;
}

.slider-controls {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold-soft);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.slider-btn:hover {
  border-color: var(--line-strong);
  background: rgba(229, 177, 92, .1);
}

.dungeon-showcase {
  width: 100%;
  display: grid;
  gap: 18px;
}

.dungeon-main {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 14px;
  align-items: center;
}

.dungeon-image-frame {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
}

.dungeon-image-frame {
  overflow: hidden;
}

.dungeon-image-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: opacity 0.28s ease;
}

.dungeon-image-frame.slide-out-left {
  animation: dungeon-slide-out-left 0.28s ease forwards;
}
.dungeon-image-frame.slide-out-right {
  animation: dungeon-slide-out-right 0.28s ease forwards;
}
.dungeon-image-frame.slide-in-right {
  animation: dungeon-slide-in-right 0.32s ease forwards;
}
.dungeon-image-frame.slide-in-left {
  animation: dungeon-slide-in-left 0.32s ease forwards;
}

@keyframes dungeon-slide-out-left {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(-80px); opacity: 0; }
}
@keyframes dungeon-slide-out-right {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(80px);  opacity: 0; }
}
@keyframes dungeon-slide-in-right {
  from { transform: translateX(80px);  opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes dungeon-slide-in-left {
  from { transform: translateX(-80px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

.dungeon-main-btn {
  width: 48px;
  height: 64px;
}

.dungeon-info {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  background: rgba(9, 8, 7, .36);
  text-align: center;
}

.dungeon-info h3 {
  color: var(--gold-soft);
  font-size: clamp(24px, 3vw, 34px);
}

.dungeon-info p {
  width: min(780px, 100%);
  color: #e4d8ca;
  line-height: 1.7;
  margin: 0;
}

.dungeon-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.dungeon-stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  color: var(--gold-soft);
  background: rgba(255, 255, 255, .035);
}

.dungeon-stats strong {
  color: var(--text);
  font-size: 14px;
}

.biology-table {
  width: 100%;
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  overflow-x: auto;
  background: rgba(9, 8, 7, .36);
}

.biology-row {
  min-width: 900px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid rgba(226, 174, 90, .12);
}

.biology-row > * {
  padding: 13px 14px;
  border-right: 1px solid rgba(226, 174, 90, .14);
  color: #e4d8ca;
  line-height: 1.45;
  text-align: center;
}

.biology-row > *:last-child {
  border-right: 0;
}

.biology-row strong {
  color: var(--gold-soft);
}

.biology-row:last-child {
  border-bottom: 0;
}

.biology-row-final {
  font-weight: 800;
}

/* ─── Yeni Biyolog Tablosu ─── */
#biyolog .biolog-main-media {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  min-height: unset !important;
}
#biyolog .biolog-main-media img {
  mix-blend-mode: screen;
  background: transparent !important;
  min-height: unset !important;
  height: auto;
  max-height: 600px;
  width: 100%;
  object-fit: contain;
  padding: 0 !important;
}

.biolog-table {
  width: 100%;
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  overflow-x: auto;
  background: rgba(9, 8, 7, .36);
}

.biolog-header {
  display: grid;
  grid-template-columns: 180px 1fr 180px 1fr;
  background: rgba(229, 177, 92, .10);
  border-bottom: 1px solid rgba(226, 174, 90, .22);
}

.biolog-header span {
  padding: 11px 14px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: center;
  border-right: 1px solid rgba(226, 174, 90, .14);
}

.biolog-header span:last-child { border-right: 0; }

.biolog-header-level {
  grid-template-columns: 180px 100px 1fr;
}

.biolog-row {
  display: grid;
  grid-template-columns: 180px 1fr 180px 1fr;
  border-bottom: 1px solid rgba(226, 174, 90, .10);
  min-width: 700px;
}

.biolog-row:last-child { border-bottom: 0; }

.biolog-level-row {
  display: grid;
  grid-template-columns: 180px 100px 1fr;
  border-bottom: 1px solid rgba(226, 174, 90, .10);
  min-width: 500px;
}

.biolog-level-row:last-child { border-bottom: 0; }

.biolog-cell {
  padding: 10px 14px;
  border-right: 1px solid rgba(226, 174, 90, .10);
  color: #e4d8ca;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.biolog-cell:last-child { border-right: 0; }

.biolog-cell-item {
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
}

.biolog-cell-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.biolog-cell-item span {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.biolog-cell-reward { font-size: 13px; }
.biolog-cell-level  { color: var(--gold-soft); font-weight: 800; font-size: 13px; }
.biolog-cell-wide   { text-align: left; justify-content: flex-start; }

.class-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 75%;
  margin: 0 auto;
}

.class-card {
  min-height: 435px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 15px;
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  text-align: center;
}

.class-card img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  object-position: center bottom;
}

.class-card h3 {
  color: var(--gold-soft);
  font-size: 17px;
}

.class-card p {
  color: var(--muted);
  line-height: 1.58;
  margin: 0;
  font-size: 13px;
}

.text-panel {
  padding: 22px;
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  background: rgba(9, 8, 7, .36);
  text-align: center;
}

.footer {
  margin-left: var(--sidebar);
  padding: 24px 34px 42px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
  background: rgba(9, 8, 7, .84);
}

.scroll-top {
  position: fixed;
  z-index: 22;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 16, 13, .9);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.scroll-top {
  right: 18px;
  bottom: 74px;
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  cursor: pointer;
}

.scroll-top.visible {
  display: grid;
}

@media (max-width: 980px) {
  :root {
    --sidebar: 0px;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .sidebar {
    width: 286px;
    transform: translateX(-102%);
    transition: transform .22s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  main, .footer {
    margin-left: 0;
  }

  .split, .grid, .buffi-items, .ranking-rewards, .bonus-grid, .class-grid {
    grid-template-columns: 1fr;
  }

  .passive-icon-grid, .alchemy-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-link span {
    display: none;
  }

  .top-nav-actions {
    max-width: calc(100vw - 260px);
    gap: 5px;
  }

  .top-nav-btn {
    height: 34px;
    padding: 0 9px;
    font-size: 12px;
  }

  .hero-content {
    width: min(580px, 65%);
    padding: 48px 32px;
  }

  .hero-section {
    width: calc(100vw - var(--sidebar));
    margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
    margin-top: -44px;
  }
}

@media (max-width: 768px) {
  :root {
    --topbar: 64px;
  }

  .top-actions {
    gap: 6px;
  }

  .top-nav-actions {
    position: static;
    transform: none;
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
    justify-content: center;
    gap: 4px;
    padding: 3px;
    margin: 0 4px;
  }

  .top-nav-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    flex: 0 0 36px;
  }

  .top-nav-btn span {
    display: none;
  }

  .top-link, .lang-pill {
    width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
  }

  .sidebar {
    width: min(286px, 86vw);
  }

  .feature-card {
    padding: 20px 14px;
  }

  .hero-content {
    width: 100%;
    padding: 40px 20px;
    right: 0;
    top: 0;
    bottom: 0;
  }

  .hero-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: -24px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-btn {
    justify-content: center;
  }

  .intro-copy {
    font-size: 15px;
    line-height: 1.7;
  }

  .launch-panel {
    padding: 18px 12px;
  }

  .date-strip, .countdown {
    width: 100%;
    gap: 6px;
  }

  .date-strip div, .countdown div {
    min-width: 0;
    flex: 1 1 74px;
    padding: 11px 8px;
  }

  .date-strip strong, .countdown strong {
    font-size: 24px;
  }

  .date-strip em, .countdown em {
    display: none;
  }

  .class-card {
    min-height: 0;
  }

  .class-card img {
    height: 340px;
  }

  .media-frame, .media-frame img {
    min-height: 0;
  }

  .dungeon-main {
    grid-template-columns: 1fr;
  }

  .dungeon-main-btn {
    width: 100%;
    height: 42px;
  }

  .dungeon-main-btn:first-child {
    order: 2;
  }

  .dungeon-image-frame {
    order: 1;
  }

  .dungeon-main-btn:last-child {
    order: 3;
  }

  .dungeon-image-frame img {
    aspect-ratio: 4 / 3;
  }

  .dungeon-info {
    padding: 16px 12px;
  }

  .ranking-row {
    min-width: 680px;
  }

  .biology-row {
    min-width: 720px;
    grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr);
  }

  .passive-row {
    min-width: 640px;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 0 12px;
  }

  .brand-title {
    font-size: 20px;
  }

  .brand-logo {
    height: 44px;
  }

  .crest {
    width: 38px;
    height: 38px;
  }

  main {
    padding: calc(var(--topbar) + 24px) 14px 54px;
  }

  h2 {
    font-size: 30px;
  }

  #bitis h2 {
    font-size: 42px;
  }

  .feature-title {
    font-size: 24px;
  }

  .hero {
    min-height: auto;
    padding-top: 14px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
  }

  .compact-icon-grid, .passive-icon-grid, .alchemy-icon-grid {
    grid-template-columns: 1fr;
  }

  .slider-head {
    align-items: center;
    flex-direction: column;
  }

  .lang-pill span {
    display: none;
  }
}

@media (max-width: 420px) {
  .topbar {
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-title {
    font-size: 17px;
  }

  .brand-logo {
    height: 38px;
    max-width: 150px;
  }

  .menu-btn, .crest, .top-link, .lang-pill {
    width: 34px;
    height: 34px;
  }

  .top-nav-actions {
    gap: 3px;
    margin: 0 2px;
  }

  .top-nav-btn {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 12px;
  }

  main {
    padding-left: 10px;
    padding-right: 10px;
  }

  .feature-card {
    padding: 18px 10px;
  }

  .date-strip div, .countdown div {
    flex-basis: calc(50% - 6px);
  }

  .date-strip strong, .countdown strong {
    font-size: 22px;
  }

  .date-strip span, .countdown span {
    font-size: 11px;
  }

  .dungeon-stats {
    display: grid;
    width: 100%;
  }

  .dungeon-stats span {
    justify-content: center;
  }

  .ranking-row {
    min-width: 620px;
    font-size: 13px;
  }

  .biology-row {
    min-width: 640px;
    grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr);
    font-size: 13px;
  }

}

/* ============================================================
   MOBİL UYUMLULUK — Yeni Elementler
   ============================================================ */

@media (max-width: 980px) {
  /* Vote4Buff */
  .vote-inner {
    grid-template-columns: 1fr;
  }
  .vote-main-img {
    width: 100%;
    margin-left: 0;
    max-width: 500px;
  }
  .vote-img-side {
    order: 2;
  }
  .vote-content-side {
    order: 1;
  }

  /* Arena Veteran */
  .veteran-title-row {
    flex-wrap: wrap;
  }

  /* Pasif Beceriler */
  .pasif-bonus-group {
    grid-template-columns: 1fr;
  }
  .pasif-icons-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Farm cards */
  .farm-rule-cards {
    flex-direction: column;
    align-items: center;
  }
  .farm-card {
    width: min(360px, 100%);
  }

  /* Full-width sections */
  .showcase-section,
  .bg-section,
  #biyolog,
  #zindanlar,
  #aenor-arena {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  /* Zindan ticket grid */
  #zindanlar .ticket-grid {
    grid-template-columns: repeat(5, 130px);
  }

  /* Vote wrapper */
  .vote-wrapper {
    padding: 0 20px 32px;
  }
}

@media (max-width: 768px) {
  /* Vote4Buff görsel */
  .vote-main-img {
    width: 100%;
    margin-left: 0;
    max-width: 420px;
  }

  /* Pasif icons → 3 sütun */
  .pasif-icons-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Pasif tablo scroll */
  .pasif-table-wrap {
    overflow-x: auto;
  }
  .pasif-table {
    min-width: 460px;
  }

  /* Zindan ticket grid */
  #zindanlar .ticket-grid {
    grid-template-columns: repeat(3, 130px);
    gap: 10px;
  }

  /* Icon item boyutu */
  .icon-item {
    width: 130px;
    min-height: 120px;
  }
  .extra-system-item {
    width: 155px;
    min-height: 150px;
  }

  /* Vote bonus list */
  .vote-bonus-list {
    gap: 10px;
  }
  .vote-bonus-val {
    font-size: 18px;
  }

  /* Simya ejder taşı grid override */
  #simya-sistemi .icon-grid {
    gap: 10px;
  }
}

@media (max-width: 620px) {
  /* Vote */
  .vote-wrapper {
    padding: 0 12px 24px;
  }
  .vote-inner {
    gap: 20px;
  }
  .vote-bonus-item {
    padding: 10px 14px;
  }
  .vote-bonus-item img {
    width: 36px;
    height: 36px;
  }

  /* Pasif icons → 2 sütun */
  .pasif-icons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Icon items küçült */
  .icon-item {
    width: 110px;
    min-height: 110px;
    padding: 12px 8px;
    font-size: 12px;
  }
  .icon-item img {
    width: 42px;
    height: 42px;
  }
  .icon-item span {
    font-size: 12px;
  }
  .icon-item small {
    font-size: 11px;
  }

  .extra-system-item {
    width: 140px;
    min-height: 140px;
  }
  .mini-card img {
    width: 44px;
    height: 44px;
  }

  /* Zindan ticket grid */
  #zindanlar .ticket-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  #zindanlar .ticket-grid .icon-item {
    width: 100%;
  }

  /* Veteran card */
  .veteran-card {
    padding: 16px;
  }
  .veteran-title {
    font-size: 16px;
  }

  /* Arena rewards */
  .arena-rewards {
    gap: 10px;
  }
  .arena-item {
    padding: 10px 12px;
  }

  /* Biolog table scroll */
  .biolog-table {
    overflow-x: auto;
    min-width: 0;
  }

  /* Showcase sections */
  .showcase-section {
    padding: 20px 12px 32px;
  }
  .showcase-inner {
    gap: 14px;
  }
}

@media (max-width: 420px) {
  /* Vote */
  .vote-main-img {
    max-width: 100%;
    width: 130%;
    margin-left: -15%;
  }

  /* Icons en küçük */
  .icon-item {
    width: 90px;
    min-height: 100px;
    padding: 10px 6px;
  }
  .icon-item img {
    width: 36px;
    height: 36px;
  }
  .icon-item span {
    font-size: 11px;
  }

  .extra-system-item {
    width: 120px;
  }

  /* Pasif table scroll */
  .pasif-table {
    min-width: 400px;
    font-size: 11px;
  }
  .pasif-table th,
  .pasif-table td {
    padding: 7px 10px;
  }

  /* Farm cards */
  .farm-card {
    width: 100%;
  }
  .farm-card-value {
    font-size: 17px;
  }

  /* Pasif icons → 2 sütun */
  .pasif-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ─── Başlangıç Ekipmanları ─── */
.equip-section {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: url("../images/equip-bg.png") center center / cover no-repeat;
  position: relative;
  padding: 60px 40px 80px;
}

.equip-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 8, 7, .5);
  pointer-events: none;
  z-index: 0;
}

.equip-section .section-header {
  position: relative;
  z-index: 1;
}

.equip-layout {
  display: grid;
  grid-template-columns: 580px 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.equip-char {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 780px;
  position: relative;
}

.equip-char::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 60px;
  background: radial-gradient(ellipse at center, rgba(229, 177, 92, .22), transparent 70%);
  pointer-events: none;
}

.equip-char img {
  width: 100%;
  max-width: 560px;
  max-height: 880px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  filter: drop-shadow(0 0 40px rgba(229, 177, 92, .35)) drop-shadow(0 10px 40px rgba(0,0,0,.7));
  position: relative;
  z-index: 1;
}

.equip-items-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.equip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  background: rgba(12, 10, 7, .80);
  border: 1px solid rgba(180, 140, 60, .38);
  border-radius: 8px;
  padding: 16px 10px 12px;
  transition: border-color .2s, background .2s, transform .2s;
  cursor: default;
}

.equip-item:hover {
  border-color: rgba(229, 177, 92, .7);
  background: rgba(26, 20, 12, .92);
  transform: translateY(-2px);
}

.equip-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  image-rendering: auto;
}

.equip-item span {
  font-family: 'Cinzel', serif;
  font-size: 10.5px;
  color: #c4a85a;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .equip-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .equip-char {
    min-height: 420px;
    max-height: 520px;
  }
  .equip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 620px) {
  .equip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── Karakter Sınıfları ─── */
#karakter-siniflari {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: url("../images/karakter-bg.png") center center / cover no-repeat;
  position: relative;
  padding: 60px 40px;
}

#karakter-siniflari::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 8, 7, .45);
  pointer-events: none;
}

#karakter-siniflari .section-header {
  position: relative;
  z-index: 1;
}

#karakter-siniflari .feature-card {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

#karakter-siniflari .feature-card::after {
  display: none;
}

/* ─── Genel Özellikler ─── */
.features-section {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: #0b0a08 url("../images/features-bg.png") center top / cover no-repeat;
  position: relative;
  padding: 60px 40px;
  margin-top: 0;
  overflow: hidden;
}

.features-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 8, 7, .82);
  pointer-events: none;
}

.features-section .section-header {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-tag-card {
  position: relative;
  background: rgba(12, 10, 7, .80);
  border: 1px solid rgba(180, 140, 60, .45);
  box-shadow: inset 0 0 0 1px rgba(180, 140, 60, .12), 0 4px 14px rgba(0,0,0,.4);
  padding: 18px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 66px;
  transition: border-color .2s, background .2s;
}

.feature-tag-card::before,
.feature-tag-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(180, 140, 60, .6);
  border-style: solid;
}

.feature-tag-card::before {
  top: 3px;
  left: 3px;
  border-width: 1px 0 0 1px;
}

.feature-tag-card::after {
  bottom: 3px;
  right: 3px;
  border-width: 0 1px 1px 0;
}

.feature-tag-card:hover {
  border-color: rgba(229, 177, 92, .75);
  background: rgba(22, 17, 10, .90);
}

.ftag-name {
  font-family: 'Cinzel', serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #c4a85a;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.4;
}

.ftag-badge {
  position: absolute;
  top: -10px;
  right: 8px;
  background: #b82d22;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: .06em;
  font-family: Inter, sans-serif;
}

.features-grid #multi-farm {
  width: auto;
  margin: 0;
  padding: 18px 14px;
  background: rgba(12, 10, 7, .80);
  border-radius: 0;
  overflow: visible;
}

.features-grid #multi-farm::before,
.features-grid #multi-farm::after {
  width: 10px;
  height: 10px;
  inset: auto;
  background: transparent;
  border-color: rgba(180, 140, 60, .6);
  border-style: solid;
  pointer-events: none;
  z-index: 0;
}

.features-grid #multi-farm::before {
  top: 3px;
  left: 3px;
  border-width: 1px 0 0 1px;
}

.features-grid #multi-farm::after {
  right: 3px;
  bottom: 3px;
  border-width: 0 1px 1px 0;
  display: block;
}

.prize-table {
  width: 100%;
  border: 1px solid rgba(226, 174, 90, .18);
  border-radius: 8px;
  overflow-x: auto;
  background: rgba(9, 8, 7, .36);
  margin-top: 16px;
}

.prize-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(226, 174, 90, .12);
}

.prize-row > span {
  padding: 13px 18px;
  border-right: 1px solid rgba(226, 174, 90, .14);
  color: #e4d8ca;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.prize-row > span:last-child {
  border-right: 0;
}

.prize-row:last-child {
  border-bottom: 0;
}

.prize-row-header > span {
  background: rgba(226, 174, 90, .08);
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
}

.prize-euro {
  color: var(--gold-soft) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
}

.prize-rules {
  margin-top: 16px;
  padding: 16px 16px 16px 34px;
  background: rgba(9, 8, 7, .36);
  border: 1px solid rgba(226, 174, 90, .14);
  border-radius: 8px;
}

.prize-rules li {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 6px;
}

.prize-rules li:last-child {
  margin-bottom: 0;
}

/* ── Background sections (full image visible, text centered over it) ────── */
.bg-section {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  position: relative;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  padding: 0;
}

/* full-width image — sets the natural height of the section, no cropping */
.bg-section-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.82;
}

/* dark overlay on top of image */
.bg-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 8, 7, .52);
  pointer-events: none;
  z-index: 1;
}

/* text layer centered over the image */
.bg-section-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
}

.bg-section-overlay .section-header {
  margin-bottom: 20px;
}

.bg-body {
  max-width: 820px;
  width: 100%;
  text-align: center;
}

.bg-body .feature-description {
  font-size: 17px;
  line-height: 1.78;
  color: var(--text);
}

.bg-body .styled-list {
  display: inline-block;
  text-align: left;
  margin-top: 18px;
}

.bg-body .section-subtitle {
  margin-top: 32px;
}

.bg-body .compact-icon-grid {
  margin-top: 18px;
}

/* ── Multifarm Rule Cards ── */
.farm-rule-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.farm-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0,0,0,0.45);
  border-radius: 12px;
  padding: 18px 22px;
  min-width: 220px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}
.farm-card-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.farm-allowed .farm-card-icon {
  background: rgba(60,180,80,0.18);
  color: #4ecb6a;
  border: 1px solid rgba(60,180,80,0.3);
}
.farm-forbidden .farm-card-icon {
  background: rgba(220,50,50,0.18);
  color: #f05050;
  border: 1px solid rgba(220,50,50,0.3);
}
.farm-warning .farm-card-icon {
  background: rgba(240,160,30,0.18);
  color: #f0a030;
  border: 1px solid rgba(240,160,30,0.3);
}
.farm-card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}
.farm-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  color: #fff;
}
.farm-card-value {
  font-size: 20px;
  font-weight: 700;
  color: #e5b15c;
}
.farm-card-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .bg-section {
    width: 100%;
    margin-left: 0;
  }
  .bg-section-overlay {
    padding: 28px 18px;
  }
}

#savas-bileti {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: url("../images/savas bileti bg.png") center center / cover no-repeat;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

#savas-bileti::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 8, 0.62);
  pointer-events: none;
  z-index: 0;
}

#savas-bileti > * {
  position: relative;
  z-index: 1;
}

#savas-bileti .feature-card,
#savas-bileti .media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  min-height: unset;
}

#savas-bileti .feature-card::after {
  display: none;
}

/* ─── Başlangıç Ekipmanları – bottom edge fade ─── */
#baslangic-ekipmanlari {
  position: relative;
}
#baslangic-ekipmanlari::after {
  display: none;
}

#baslangic-ekipmanlari > * {
  position: relative;
  z-index: 3;
}

/* ─── Buffi Sistemi – full-width background ─── */
#buffi {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: url("../images/bg-ranking.png") center center / cover no-repeat;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

#buffi::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 8, 0.82);
  pointer-events: none;
  z-index: 0;
}

#buffi::after {
  display: none;
}

#buffi > * {
  position: relative;
  z-index: 3;
}

#buffi .feature-card,
#buffi .media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
}

#buffi .feature-card::after {
  display: none;
}

/* ─── Derece Sıralaması – full-width background ─── */
#derece-siralamasi {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: url("../images/bg-mucadele.png") center center / cover no-repeat;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

#derece-siralamasi::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 8, 0.82);
  pointer-events: none;
  z-index: 0;
}

#derece-siralamasi > * {
  position: relative;
  z-index: 1;
}

#derece-siralamasi .feature-card,
#derece-siralamasi .media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
}

#derece-siralamasi .feature-card::after {
  display: none;
}

/* ─── Seviyeli Pet Sistemi – full-width background ─── */
#seviyeli-pet {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: url("../images/bg-wiki.png") center center / cover no-repeat;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

#seviyeli-pet::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 8, 0.82);
  pointer-events: none;
  z-index: 0;
}

#seviyeli-pet > * {
  position: relative;
  z-index: 1;
}

#seviyeli-pet .feature-card,
#seviyeli-pet .media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
}

#seviyeli-pet .feature-card::after {
  display: none;
}

/* ─── Zindanlar – full-width background ─── */
#zindanlar {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: url("../images/bg-vote.png") center center / cover no-repeat;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

#zindanlar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 8, 0.82);
  pointer-events: none;
  z-index: 0;
}

#zindanlar > * {
  position: relative;
  z-index: 1;
}

#zindanlar .section-header {
  position: relative;
  z-index: 10;
}

#savas-bileti .section-header,
#seviyeli-pet .section-header,
#zindanlar .section-header,
#biyolog .section-header {
  position: relative;
  z-index: 10;
}

#savas-bileti .section-header h2,
#seviyeli-pet .section-header h2,
#zindanlar .section-header h2,
#biyolog .section-header h2 {
  color: #f4eee5 !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .78);
}

#zindanlar .feature-card,
#zindanlar .media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
}

#zindanlar .feature-card::after {
  display: none;
}

#zindanlar .ticket-grid {
  display: grid;
  grid-template-columns: repeat(5, 150px);
  justify-content: center;
  gap: 14px;
}
#zindanlar .ticket-grid .icon-item {
  width: 150px;
}

/* ─── Biyolog – full-width background ─── */
#biyolog {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: url("../images/bg-ranking.png") center center / cover no-repeat;
  position: relative;
  padding-top: 82px;
  padding-bottom: 72px;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

#biyolog::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 8, 0.82);
  pointer-events: none;
  z-index: 0;
}

#biyolog > * {
  position: relative;
  z-index: 1;
}

#biyolog .feature-card,
#biyolog .media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
}

#biyolog .feature-card::after {
  display: none;
}

/* ─── Aenor Arena – full-width background ─── */
#aenor-arena {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: url("../images/bg-mucadele.png") center center / cover no-repeat;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

#aenor-arena::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 8, 0.82);
  pointer-events: none;
  z-index: 0;
}

#aenor-arena > * {
  position: relative;
  z-index: 1;
}

#aenor-arena .feature-card,
#aenor-arena .media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
}

#aenor-arena .feature-card::after {
  display: none;
}

/* ─── Kuşak Sistemi – full-width background ─── */
#kusak-sistemi {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: url("../images/bg-wiki.png") center center / cover no-repeat;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

#kusak-sistemi::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 8, 0.82);
  pointer-events: none;
  z-index: 0;
}

#kusak-sistemi > * {
  position: relative;
  z-index: 1;
}

#kusak-sistemi .feature-card,
#kusak-sistemi .media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
}

#kusak-sistemi .feature-card::after {
  display: none;
}

/* ─── Multi Dil – full-width background ─── */
#multi-dil {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: url("../images/bg-vote.png") center center / cover no-repeat;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

#multi-dil::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 8, 0.82);
  pointer-events: none;
  z-index: 0;
}

#multi-dil > * {
  position: relative;
  z-index: 1;
}

#multi-dil .feature-card,
#multi-dil .media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
}

#multi-dil .wide-media,
#multi-dil .wide-media img {
  background: transparent;
  border: none;
  box-shadow: none;
}

#multi-dil .feature-card::after {
  display: none;
}

/* ─── Pasif Beceriler – full-width background ─── */
#pasif-beceriler {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: url("../images/bg-ranking.png") center center / cover no-repeat;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

#pasif-beceriler::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 8, 0.82);
  pointer-events: none;
  z-index: 0;
}

#pasif-beceriler > * {
  position: relative;
  z-index: 1;
}

#pasif-beceriler .feature-card,
#pasif-beceriler .media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
}

#pasif-beceriler .feature-card::after {
  display: none;
}

/* ─── Simya Sistemi – full-width background ─── */
#simya-sistemi {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: url("../images/bg-mucadele.png") center center / cover no-repeat;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

#simya-sistemi::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 8, 0.82);
  pointer-events: none;
  z-index: 0;
}

#simya-sistemi > * {
  position: relative;
  z-index: 1;
}

#simya-sistemi .feature-card,
#simya-sistemi .media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
}

#simya-sistemi .feature-card::after {
  display: none;
}

/* ─── Ödül Havuzu – full-width background ─── */
#odul-havuzu {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  background: url("../images/bg-wiki.png") center center / cover no-repeat;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

#odul-havuzu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 8, 0.82);
  pointer-events: none;
  z-index: 0;
}

#odul-havuzu > * {
  position: relative;
  z-index: 1;
}

#odul-havuzu .feature-card,
#odul-havuzu .media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
}

#odul-havuzu .feature-card::after {
  display: none;
}

/* ─── Zindan GUI görseli – siyah arka planı kaldır ─── */
#zindanlar .compact-media {
  background: transparent;
  border: none;
  box-shadow: none;
  width: min(1000px, 100%);
  min-height: unset;
}

#zindanlar .compact-media img {
  mix-blend-mode: screen;
  background: transparent;
  min-height: unset;
  height: auto;
  object-fit: contain;
  padding: 0;
}

/* ─── Zindan video player ─── */
.dungeon-image-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* ─── Yeni sections – full-width backgrounds ─── */
#efsun-botu,
#etkinlikler,
#otomatik-av,
#alan-patronu-takip,
#beceri-sistemi,
#vote4buff,
#offlineshop,
#multi-farm,
#enerji-kristali,
#carklar,
#grafik-deneyimi,
#gelismis-optimizasyonlar,
#totem-sistemi,
#alti-yedi-efsun {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

#efsun-botu       { background: url("../images/bg-mucadele.png") center center / cover no-repeat; }
#etkinlikler      { background: url("../images/bg-vote.png")     center center / cover no-repeat; }
#otomatik-av      { background: url("../images/bg-mucadele.png") center center / cover no-repeat; }
#alan-patronu-takip { background: url("../images/bg-vote.png")   center center / cover no-repeat; }
#beceri-sistemi   { background: url("../images/bg-wiki.png")     center center / cover no-repeat; }
#vote4buff        { background: url("../images/bg-vote.png")     center center / cover no-repeat; }
#offlineshop      { background: url("../images/bg-ranking.png")  center center / cover no-repeat; }
#multi-farm       { background: url("../images/bg-mucadele.png") center center / cover no-repeat; }
#enerji-kristali  { background: url("../images/bg-wiki.png")     center center / cover no-repeat; }
#carklar              { background: url("../images/bg-ranking.png")  center center / cover no-repeat; }
#grafik-deneyimi      { background: url("../images/bg-mucadele.png") center center / cover no-repeat; }
#gelismis-optimizasyonlar { background: url("../images/bg-wiki.png") center center / cover no-repeat; }
#totem-sistemi        { background: url("../images/bg-vote.png")     center center / cover no-repeat; }
#alti-yedi-efsun      { background: url("../images/bg-mucadele.png") center center / cover no-repeat; }

#totem-sistemi .ranking-list {
  background: transparent;
  border: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin-top: 24px;
  margin-bottom: 48px;
}

#totem-sistemi .ranking-row {
  min-width: unset;
  grid-template-columns: 1fr 80px;
  border: 1px solid rgba(226, 174, 90, .14);
  border-radius: 6px;
  margin-bottom: 6px;
}

#carklar .feature-card,
#grafik-deneyimi .feature-card,
#gelismis-optimizasyonlar .feature-card,
#totem-sistemi .feature-card,
#alti-yedi-efsun .feature-card {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

#carklar .feature-card::after,
#grafik-deneyimi .feature-card::after,
#gelismis-optimizasyonlar .feature-card::after,
#totem-sistemi .feature-card::after,
#alti-yedi-efsun .feature-card::after {
  display: none;
}

#efsun-botu::before,
#etkinlikler::before,
#otomatik-av::before,
#alan-patronu-takip::before,
#beceri-sistemi::before,
#vote4buff::before,
#offlineshop::before,
#multi-farm::before,
#enerji-kristali::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 8, 0.85);
  pointer-events: none;
  z-index: 0;
}

#efsun-botu > *,
#etkinlikler > *,
#otomatik-av > *,
#alan-patronu-takip > *,
#beceri-sistemi > *,
#vote4buff > *,
#offlineshop > *,
#multi-farm > *,
#enerji-kristali > * {
  position: relative;
  z-index: 1;
}

/* Yeni section'lar — iç padding ve boşluklar */
#carklar,
#grafik-deneyimi,
#gelismis-optimizasyonlar,
#totem-sistemi,
#alti-yedi-efsun {
  padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 80px);
}

/* Section geçişi: üst ve alt fade */
#carklar::before,
#grafik-deneyimi::before,
#gelismis-optimizasyonlar::before,
#totem-sistemi::before,
#alti-yedi-efsun::before,
#efsun-botu::after,
#etkinlikler::after,
#otomatik-av::after,
#alan-patronu-takip::after,
#beceri-sistemi::after,
#vote4buff::after,
#offlineshop::after,
#multi-farm::after,
#enerji-kristali::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 42px;
  pointer-events: none;
  z-index: 2;
}

#carklar::before,
#grafik-deneyimi::before,
#gelismis-optimizasyonlar::before,
#totem-sistemi::before,
#alti-yedi-efsun::before {
  display: none;
}

#efsun-botu::after,
#etkinlikler::after,
#otomatik-av::after,
#alan-patronu-takip::after,
#beceri-sistemi::after,
#vote4buff::after,
#offlineshop::after,
#multi-farm::after,
#enerji-kristali::after {
  display: none;
}

/* Çarklar: yazı sağa, GUI büyük */
#carklar .split {
  text-align: center;
}
#carklar .split > div:first-child {
  padding-left: 0;
}
#carklar .split > div:first-child * {
  text-align: center;
}
#carklar .split > div:first-child {
  display: grid;
  justify-items: center;
}
#carklar .wide-media img {
  width: 100%;
  max-width: 100%;
  transform: none;
  object-fit: contain;
}

#grafik-deneyimi .split {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 28px;
  text-align: center;
}

#grafik-deneyimi .split > div:first-child,
#grafik-deneyimi .split > div:first-child * {
  text-align: center;
}

#grafik-deneyimi .styled-list li {
  justify-content: center;
  text-align: center;
}

#grafik-deneyimi .media-frame {
  width: min(1180px, 100%);
}

#grafik-deneyimi .media-frame video {
  width: 100% !important;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  display: block;
}

#gelismis-optimizasyonlar .feature-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

#gelismis-optimizasyonlar .feature-title,
#gelismis-optimizasyonlar .feature-subtitle {
  text-align: center;
}

.optim-slider {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.optim-track {
  min-width: 0;
}

.optim-slider .optim-item {
  display: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.optim-slider .optim-item.is-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.optim-slider video {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  border-radius: 12px;
}

.optim-slide-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(920px, 100%);
  min-height: 74px;
  padding: 18px 42px;
  border: 2px solid rgba(226, 174, 90, .62);
  border-radius: 8px;
  background: rgba(9, 8, 7, .62);
  color: var(--gold-soft);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .26), inset 0 0 28px rgba(229, 177, 92, .1);
}

.optim-nav {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226, 174, 90, .36);
  border-radius: 8px;
  background: rgba(9, 8, 7, .56);
  color: var(--gold-soft);
  cursor: pointer;
}

.optim-nav:hover {
  background: rgba(226, 174, 90, .12);
}

#efsun-botu .feature-card,
#efsun-botu .media-frame,
#etkinlikler .feature-card,
#etkinlikler .media-frame,
#otomatik-av .feature-card,
#otomatik-av .media-frame,
#alan-patronu-takip .feature-card,
#alan-patronu-takip .media-frame,
#beceri-sistemi .feature-card,
#beceri-sistemi .media-frame,
#vote4buff .feature-card,
#vote4buff .media-frame,
#offlineshop .feature-card,
#offlineshop .media-frame,
#multi-farm .feature-card,
#multi-farm .media-frame,
#enerji-kristali .feature-card,
#enerji-kristali .media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
}
#carklar .media-frame,
#grafik-deneyimi .media-frame,
#gelismis-optimizasyonlar .media-frame,
#totem-sistemi .media-frame,
#alti-yedi-efsun .media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
  min-height: unset;
}

#efsun-botu .feature-card::after,
#etkinlikler .feature-card::after,
#otomatik-av .feature-card::after,
#alan-patronu-takip .feature-card::after,
#beceri-sistemi .feature-card::after,
#vote4buff .feature-card::after,
#offlineshop .feature-card::after,
#multi-farm .feature-card::after,
#enerji-kristali .feature-card::after {
  display: none;
}

#savas-bileti .market-grid {
  gap: 8px;
}

#savas-bileti .icon-item {
  min-height: unset;
  padding: 10px 6px;
  gap: 6px;
}

#savas-bileti .icon-item img {
  width: 44px;
  height: 44px;
}

#savas-bileti .icon-item span {
  font-size: 11px;
  line-height: 1.2;
}

#savas-bileti .icon-item small {
  font-size: 10px;
}

#savas-bileti .icon-item,
#savas-bileti .market-feature {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(226, 174, 90, .18);
}

@media (max-width: 900px) {
  #savas-bileti {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }
}

/* ─── Başlangıç Ekipmanları Orbit ─── */
.equip-orbit-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0 60px;
  position: relative;
  z-index: 1;
}

.orbit-ring-container {
  position: relative;
  width: 700px;
  height: 700px;
}

.orbit-dashed-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 610px;
  height: 610px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(229, 177, 92, 0.35);
  pointer-events: none;
}

.equip-center-char {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 290px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.orbit-bubble {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: 82px;
  background: rgba(14, 11, 9, 0.88);
  border-radius: 50%;
  border: 1px solid rgba(229, 177, 92, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  will-change: transform;
  backface-visibility: hidden;
  animation: orbit-go 28s linear infinite;
}

@keyframes orbit-go {
  from { transform: translate(-50%, -50%) rotate(0deg)   translateY(-305px) rotate(0deg);   }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateY(-305px) rotate(-360deg); }
}

.orbit-bubble img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}


/* ─── Geçiş Yumuşatma — tam genişlik bölümleri ─── */
.showcase-section,
.bg-section,
#aenor-arena {
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%);
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%);
}

/* ─── Showcase Sections (wiki, ranking, mucadele, vote) ─── */
.showcase-section {
  width: calc(100vw - var(--sidebar));
  margin-left: calc(50% - (100vw - var(--sidebar)) / 2);
  position: relative;
  padding: 60px 40px;
  text-align: center;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 8, 7, .55);
  pointer-events: none;
}

.showcase-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.showcase-img {
  width: min(700px, 90%);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  margin-top: 10px;
}

/* ===== VOTE4BUFF YENİ LAYOUT ===== */
#vote4buff {
  padding-top: 0;
}
.vote-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 40px;
  text-align: center;
}
.vote-wrapper .section-header {
  margin-bottom: 20px;
}
.vote-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: center;
  gap: 40px;
}
.vote-img-side {
  display: flex;
  justify-content: center;
  align-items: center;
}
.vote-main-img {
  width: 200%;
  max-width: none;
  height: auto;
  mix-blend-mode: screen;
  background: transparent;
  margin-left: -50%;
}
.vote-content-side {
  display: flex;
  flex-direction: column;
}
.vote-bonus-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.vote-bonus-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(229,177,92,0.18);
  border-radius: 10px;
  padding: 14px 18px;
}
.vote-bonus-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.vote-bonus-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vote-bonus-name {
  font-size: 13px;
  color: var(--clr-text-muted, #aaa);
}
.vote-bonus-val {
  font-size: 20px;
  font-weight: 700;
  color: #e5b15c;
}

#vote4buff .showcase-img,
#mucadele-sistemi .showcase-img,
#global-ranking .showcase-img,
#ingame-wiki .showcase-img {
  box-shadow: none;
  border-radius: 0;
  mix-blend-mode: screen;
  background: transparent;
}

#vote4buff .icon-grid {
  grid-template-columns: repeat(3, minmax(0, 220px));
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
}
#vote4buff .icon-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(229,177,92,0.18);
  border-radius: 12px;
  padding: 20px 16px;
}
#vote4buff .icon-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  image-rendering: pixelated;
}
#vote4buff .icon-item span {
  font-size: 13px;
  color: #e0c88a;
  margin-top: 8px;
}


/* ===== GUI ARKA PLAN KALDIRMA (screen blend) ===== */
#aenor-arena .wide-media img,
#kusak-sistemi .wide-media img,
#pasif-beceriler .wide-media img,
#simya-sistemi .wide-media img,
#offlineshop .wide-media img,
#enerji-kristali .wide-media img,
#efsun-botu .wide-media img,
#etkinlikler .wide-media img,
#otomatik-av .wide-media img,
#alan-patronu-takip .wide-media img,
#beceri-sistemi .wide-media img {
  mix-blend-mode: screen;
  background: transparent !important;
  padding: 0 !important;
}

#carklar .wide-media img,
#grafik-deneyimi .wide-media img,
#gelismis-optimizasyonlar .wide-media img,
#totem-sistemi .wide-media img,
#alti-yedi-efsun .wide-media img {
  background: transparent !important;
  padding: 0 !important;
}

/* ===== ARENA ===== */
.arena-rewards {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}
.arena-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 16px;
}
.arena-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  image-rendering: pixelated;
}
.arena-item span {
  font-size: 11px;
  color: var(--clr-text-muted);
  text-align: center;
}
.veteran-card {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(255,165,0,0.07), rgba(200,80,0,0.05));
  border: 1px solid rgba(255,165,0,0.22);
  border-radius: 12px;
  padding: 22px 24px;
}
.veteran-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.veteran-title {
  font-size: 19px;
  color: #ffaa44;
  margin: 0;
}
.veteran-badge {
  background: rgba(255,165,0,0.15);
  color: #ffaa44;
  border: 1px solid rgba(255,165,0,0.28);
  border-radius: 20px;
  padding: 3px 11px;
  font-size: 11px;
  font-weight: 600;
}
.veteran-desc {
  color: var(--clr-text-muted);
  margin: 0 0 6px;
  font-size: 14px;
}
.veteran-note {
  color: #ffaa44;
  font-size: 13px;
  margin: 0;
  opacity: 0.85;
}

/* ===== PASİF BECERİLER ===== */
.pasif-bonus-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.pasif-bonus {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.07);
}
.pasif-badge {
  display: inline-block;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.pasif-p {
  background: rgba(80,160,255,0.13);
  color: #6ab4ff;
  border: 1px solid rgba(80,160,255,0.22);
}
.pasif-s {
  background: rgba(255,100,50,0.13);
  color: #ff8866;
  border: 1px solid rgba(255,100,50,0.22);
}
.pasif-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 16px 0;
}
.pasif-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 14px 8px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s;
}
.pasif-icon-item:hover {
  background: rgba(255,255,255,0.07);
}
.pasif-icon-item img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  image-rendering: pixelated;
}
.pasif-icon-item span {
  font-size: 10px;
  color: var(--clr-text-muted);
  text-align: center;
  line-height: 1.3;
}
.pasif-table-wrap {
  overflow-x: auto;
  margin-top: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}
.pasif-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pasif-table th {
  background: rgba(255,255,255,0.06);
  color: var(--clr-accent, #c8a96e);
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}
.pasif-table td {
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--clr-text-muted);
}
.pasif-table td:first-child {
  color: var(--clr-text);
}
.pasif-table tbody tr:last-child td {
  border-bottom: none;
}
.pasif-table tbody tr:hover td {
  background: rgba(255,255,255,0.03);
}

/* ═══════════════════════════════════════════════════════
   Section Edge Fade – tüm full-width section'lara uygula
   ═══════════════════════════════════════════════════════ */
#karakter-siniflari,
.features-section,
.bg-section,
#savas-bileti,
#derece-siralamasi,
#seviyeli-pet,
#zindanlar,
#biyolog,
#aenor-arena,
#kusak-sistemi,
#multi-dil,
#pasif-beceriler,
#simya-sistemi,
#efsun-botu,
#etkinlikler,
#otomatik-av,
#alan-patronu-takip,
#beceri-sistemi,
#vote4buff,
#offlineshop,
#enerji-kristali,
.showcase-section {
  box-shadow: none;
}

/* Full background sections: keep titles away from section edges */
.equip-section,
#karakter-siniflari,
#baslangic-ekipmanlari,
#buffi,
#savas-bileti,
#derece-siralamasi,
#seviyeli-pet,
#zindanlar,
#biyolog,
#aenor-arena,
#kusak-sistemi,
#multi-dil,
#pasif-beceriler,
#simya-sistemi,
#odul-havuzu,
#efsun-botu,
#etkinlikler,
#otomatik-av,
#alan-patronu-takip,
#beceri-sistemi,
#vote4buff,
#offlineshop,
#multi-farm,
#enerji-kristali,
#carklar,
#grafik-deneyimi,
#gelismis-optimizasyonlar,
#totem-sistemi,
#alti-yedi-efsun,
.showcase-section {
  padding-top: 82px;
  padding-bottom: 72px;
}

.opening-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .76);
  backdrop-filter: blur(4px);
  animation: popup-fade-in .18s ease-out;
}

.opening-popup.is-closing {
  animation: popup-fade-out .18s ease-in forwards;
}

.opening-popup__panel {
  position: relative;
  width: min(920px, 94vw);
  max-height: 92vh;
  border: 1px solid rgba(229, 177, 92, .46);
  border-radius: 8px;
  background: rgba(7, 5, 4, .94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .68);
  overflow: hidden;
}

.opening-popup__panel img {
  display: block;
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
}

.opening-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  background: rgba(0, 0, 0, .68);
  color: #fff4dc;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .42);
}

.opening-popup__close:hover {
  border-color: rgba(229, 177, 92, .78);
  background: rgba(126, 28, 20, .86);
}

@keyframes popup-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popup-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (max-width: 640px) {
  .opening-popup {
    padding: 12px;
  }

  .opening-popup__close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 19px;
  }
}

/* ================================================================
   KAPSAMLI MOBİL UYARLAMA
   ================================================================ */

/* ── Sidebar overlay (dokunarak kapat) ── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 24;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.sidebar-overlay.visible {
  display: block;
}

/* ── 980px: Buffi top-split tek sütun ── */
@media (max-width: 980px) {
  /* Full-bleed section'lar için ek güvenlik */
  .features-section,
  .showcase-section,
  .bg-section {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
  }
}

/* ── 900px: Buffi media min-height sıfırla ── */
@media (max-width: 900px) {
  .buffi-main-media {
    min-height: unset !important;
  }
  .buffi-main-media img {
    min-height: unset !important;
    max-height: 420px;
  }
}

/* ── 768px ── */
@media (max-width: 768px) {
  /* Büyük section padding'lerini küçült */
  .features-section,
  .equip-section,
  #karakter-siniflari,
  #baslangic-ekipmanlari,
  #buffi,
  #savas-bileti,
  #derece-siralamasi,
  #seviyeli-pet,
  #zindanlar,
  #biyolog,
  #aenor-arena,
  #kusak-sistemi,
  #multi-dil,
  #pasif-beceriler,
  #simya-sistemi,
  #odul-havuzu,
  #efsun-botu,
  #etkinlikler,
  #otomatik-av,
  #alan-patronu-takip,
  #beceri-sistemi,
  #vote4buff,
  #offlineshop,
  #multi-farm,
  #enerji-kristali,
  #carklar,
  #grafik-deneyimi,
  #gelismis-optimizasyonlar,
  #totem-sistemi,
  #alti-yedi-efsun,
  .showcase-section {
    padding-top: 52px;
    padding-bottom: 44px;
  }

  /* Features ve diğer section'larda yatay padding küçült */
  .features-section,
  #karakter-siniflari {
    padding-left: 20px;
    padding-right: 20px;
  }
  .equip-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .launch-section {
    padding: 44px 16px;
  }

  /* Hero content boşluk */
  .hero-content {
    gap: 14px;
  }

  /* Pasif bonus group tek sütun */
  .pasif-bonus-group {
    grid-template-columns: 1fr;
  }

  /* Totem ranking list tek sütun */
  #totem-sistemi .ranking-list {
    grid-template-columns: 1fr;
  }

  /* Optim slider */
  .optim-slider {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 10px;
  }
  .optim-nav {
    width: 42px;
    height: 42px;
  }
  .optim-slide-title {
    font-size: clamp(18px, 4.5vw, 28px);
    padding: 14px 18px;
    min-height: 58px;
  }

  /* Ranking rewards tek sütun */
  .ranking-rewards {
    grid-template-columns: 1fr;
  }

  /* Vote inner */
  .vote-inner {
    gap: 24px;
  }
  .vote-main-img {
    width: 100%;
    max-width: 380px;
    margin-left: 0;
  }

  /* Biolog table overflow */
  .biolog-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── 620px ── */
@media (max-width: 620px) {
  /* Section padding daha küçük */
  .features-section,
  .equip-section,
  #karakter-siniflari,
  #baslangic-ekipmanlari,
  #buffi,
  #savas-bileti,
  #derece-siralamasi,
  #seviyeli-pet,
  #zindanlar,
  #biyolog,
  #aenor-arena,
  #kusak-sistemi,
  #multi-dil,
  #pasif-beceriler,
  #simya-sistemi,
  #odul-havuzu,
  #efsun-botu,
  #etkinlikler,
  #otomatik-av,
  #alan-patronu-takip,
  #beceri-sistemi,
  #vote4buff,
  #offlineshop,
  #multi-farm,
  #enerji-kristali,
  #carklar,
  #grafik-deneyimi,
  #gelismis-optimizasyonlar,
  #totem-sistemi,
  #alti-yedi-efsun,
  .showcase-section {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .features-section,
  #karakter-siniflari {
    padding-left: 12px;
    padding-right: 12px;
  }
  .equip-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Features grid — 2 sütun, badge taşması için row-gap büyük tut */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
    row-gap: 20px;
    padding: 0;
  }
  .feature-tag-card {
    min-height: 56px;
    padding: 14px 10px;
  }
  .ftag-name {
    font-size: 11.5px;
  }

  /* Equip grid 2 sütun */
  .equip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .equip-char {
    min-height: 280px;
    max-height: 380px;
  }
  .equip-item {
    padding: 12px 6px 10px;
  }
  .equip-item img {
    width: 50px;
    height: 50px;
  }
  .equip-item span {
    font-size: 9.5px;
    letter-spacing: 0;
  }

  /* Vote */
  .vote-main-img {
    max-width: 300px;
  }

  /* Optim slider */
  .optim-slider {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }
  .optim-nav {
    width: 36px;
    height: 36px;
  }
  .optim-slide-title {
    font-size: clamp(14px, 3.5vw, 22px);
    padding: 12px 14px;
    min-height: 50px;
  }

  /* Hero content */
  .hero-content {
    padding: 28px 16px;
    gap: 12px;
  }
  .hero-list li {
    font-size: 14px;
    line-height: 1.55;
  }
  .hero-badge {
    font-size: 13px;
    padding: 7px 14px;
  }
  .hero-btn {
    padding: 13px 24px;
    font-size: 15px;
  }
}

/* ── 480px ── */
@media (max-width: 480px) {
  /* Features grid — badge(-10px) taşması için row-gap en az 14px */
  .features-grid {
    column-gap: 8px;
    row-gap: 20px;
  }
  .feature-tag-card {
    min-height: 52px;
    padding: 12px 8px;
  }
  .ftag-name {
    font-size: 11px;
  }

  /* Equip item boyutları */
  .equip-grid {
    gap: 8px;
  }
  .equip-item img {
    width: 44px;
    height: 44px;
  }
  .equip-item span {
    font-size: 9px;
  }

  /* Vote img tam genişlik */
  .vote-main-img {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  /* Hero daha küçük */
  .hero-content {
    padding: 24px 14px;
    gap: 10px;
  }
  .hero-list {
    gap: 8px;
  }
  .hero-list li {
    font-size: 13px;
  }
  .hero-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
  .hero-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  /* Totem ranking tek sütun */
  #totem-sistemi .ranking-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Ranking rewards 1 sütun */
  .ranking-rewards {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Showcase img */
  .showcase-img {
    width: 100%;
  }

  /* Vote bonus item */
  .vote-bonus-item {
    padding: 11px 14px;
    gap: 12px;
  }
  .vote-bonus-item img {
    width: 38px;
    height: 38px;
  }
  .vote-bonus-val {
    font-size: 17px;
  }
}

/* ── 380px (çok küçük telefonlar) ── */
@media (max-width: 380px) {
  /* Features grid 2 sütun korunur — badge taşmasını önlemek için row-gap büyük */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 6px;
    row-gap: 18px;
  }
  .feature-tag-card {
    min-height: 48px;
  }

  /* Ekipman grid */
  .equip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .equip-item img {
    width: 40px;
    height: 40px;
  }
  .equip-item span {
    font-size: 8.5px;
  }

  /* Countdown / date-strip */
  .date-strip div, .countdown div {
    min-width: 0;
    flex: 1 1 60px;
  }
  .date-strip strong, .countdown strong {
    font-size: 20px;
  }
}

/* ============================================================
   FINAL MOBILE STABILITY LAYER
   ============================================================ */

@media (max-width: 980px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background-attachment: scroll;
  }

  body::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .48)),
      radial-gradient(circle at 50% 0%, rgba(229, 177, 92, .12), transparent 42%);
  }

  .topbar {
    width: 100%;
    min-width: 0;
  }

  .top-actions {
    min-width: 0;
    flex-shrink: 0;
  }

  .lang-switcher {
    max-width: 46vw;
  }

  .lang-current-btn {
    min-height: 38px;
  }

  .lang-dropdown {
    right: 0;
    left: auto;
    max-width: calc(100vw - 24px);
  }

  .sidebar {
    max-width: 88vw;
  }

  main {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .section,
  .features-section,
  .equip-section,
  .showcase-section,
  .bg-section,
  .hero-section,
  #karakter-siniflari,
  #baslangic-ekipmanlari,
  #buffi,
  #savas-bileti,
  #derece-siralamasi,
  #seviyeli-pet,
  #zindanlar,
  #biyolog,
  #aenor-arena,
  #kusak-sistemi,
  #multi-dil,
  #pasif-beceriler,
  #simya-sistemi,
  #odul-havuzu,
  #efsun-botu,
  #etkinlikler,
  #otomatik-av,
  #alan-patronu-takip,
  #beceri-sistemi,
  #vote4buff,
  #offlineshop,
  #multi-farm,
  #enerji-kristali,
  #carklar,
  #grafik-deneyimi,
  #gelismis-optimizasyonlar,
  #totem-sistemi,
  #alti-yedi-efsun {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    overflow: hidden;
  }

  .section > *,
  .features-section > *,
  .equip-section > *,
  .showcase-section > *,
  .bg-section > *,
  #karakter-siniflari > *,
  #baslangic-ekipmanlari > *,
  #buffi > *,
  #savas-bileti > *,
  #derece-siralamasi > *,
  #seviyeli-pet > *,
  #zindanlar > *,
  #biyolog > *,
  #aenor-arena > *,
  #kusak-sistemi > *,
  #multi-dil > *,
  #pasif-beceriler > *,
  #simya-sistemi > *,
  #odul-havuzu > *,
  #efsun-botu > *,
  #etkinlikler > *,
  #otomatik-av > *,
  #alan-patronu-takip > *,
  #beceri-sistemi > *,
  #vote4buff > *,
  #offlineshop > *,
  #multi-farm > *,
  #enerji-kristali > *,
  #carklar > *,
  #grafik-deneyimi > *,
  #gelismis-optimizasyonlar > *,
  #totem-sistemi > *,
  #alti-yedi-efsun > * {
    max-width: min(100%, 1040px);
    margin-left: auto;
    margin-right: auto;
  }

  .split,
  .equip-layout,
  .buffi-top-split,
  .vote-inner,
  .dungeon-main,
  .timeline-row,
  .pasif-bonus-group {
    grid-template-columns: 1fr !important;
  }

  .feature-card,
  .launch-panel,
  .text-panel,
  .veteran-card,
  .vote-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .media-frame,
  .wide-media,
  .compact-media,
  .ranking-media,
  .buffi-main-media,
  .biolog-main-media,
  .dungeon-image-frame {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }

  .media-frame img,
  .wide-media img,
  .compact-media img,
  .ranking-media img,
  .buffi-main-media img,
  .biolog-main-media img,
  .showcase-img,
  .vote-main-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
    transform: none !important;
    object-fit: contain;
  }

  video {
    max-width: 100%;
    height: auto;
  }

  .orbit-ring-container {
    width: min(700px, 92vw);
    height: min(700px, 92vw);
  }

  .orbit-dashed-ring {
    width: 84%;
    height: 84%;
  }

  .equip-center-char {
    width: 38%;
  }

  .orbit-bubble {
    width: 12vw;
    height: 12vw;
    max-width: 82px;
    max-height: 82px;
    min-width: 52px;
    min-height: 52px;
  }

  .orbit-bubble img {
    width: 70%;
    height: 70%;
  }

  @keyframes orbit-go {
    from { transform: translate(-50%, -50%) rotate(0deg) translateY(calc(min(700px, 92vw) * -.42)) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg) translateY(calc(min(700px, 92vw) * -.42)) rotate(-360deg); }
  }
}

@media (max-width: 768px) {
  :root {
    --topbar: 62px;
  }

  .topbar {
    padding: 0 12px;
    gap: 10px;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .top-actions {
    gap: 6px;
  }

  .lang-current-btn {
    padding: 5px 8px;
    gap: 5px;
  }

  .lang-code-label {
    font-size: 12px;
  }

  .lang-dropdown {
    min-width: 150px;
    max-height: min(390px, calc(100vh - var(--topbar) - 18px));
  }

  .lang-option {
    padding: 8px;
    gap: 8px;
  }

  main {
    padding: var(--topbar) 0 48px;
  }

  .section,
  .features-section,
  .equip-section,
  .showcase-section,
  .bg-section,
  #karakter-siniflari,
  #baslangic-ekipmanlari,
  #buffi,
  #savas-bileti,
  #derece-siralamasi,
  #seviyeli-pet,
  #zindanlar,
  #biyolog,
  #aenor-arena,
  #kusak-sistemi,
  #multi-dil,
  #pasif-beceriler,
  #simya-sistemi,
  #odul-havuzu,
  #efsun-botu,
  #etkinlikler,
  #otomatik-av,
  #alan-patronu-takip,
  #beceri-sistemi,
  #vote4buff,
  #offlineshop,
  #multi-farm,
  #enerji-kristali,
  #carklar,
  #grafik-deneyimi,
  #gelismis-optimizasyonlar,
  #totem-sistemi,
  #alti-yedi-efsun {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .hero-section {
    min-height: calc(100svh - var(--topbar));
    margin-top: 0 !important;
  }

  .hero-content {
    position: relative;
    inset: auto;
    width: 100% !important;
    min-height: calc(100svh - var(--topbar));
    display: flex;
    justify-content: center;
    padding: 28px 18px !important;
    text-align: center;
  }

  .hero-logo {
    max-width: min(260px, 72vw);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: clamp(28px, 9vw, 46px);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .hero-subtitle,
  .hero-list {
    max-width: 100%;
  }

  .hero-list {
    padding-left: 0;
  }

  .hero-list li {
    justify-content: center;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-btn {
    width: 100%;
    min-height: 46px;
  }

  .section-header {
    width: 100%;
    max-width: 100%;
    margin-bottom: 22px;
    text-align: center;
  }

  h2,
  #bitis h2 {
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .section-kicker {
    font-size: 12px;
  }

  .feature-title,
  .buffi-main-title,
  .section-subtitle,
  .veteran-title {
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .feature-description,
  .feature-subtitle,
  .styled-list,
  .closing-card p,
  .veteran-desc {
    font-size: 14px;
    line-height: 1.65;
  }

  .feature-card {
    padding: 18px 14px !important;
    border-radius: 8px;
  }

  .features-grid,
  .icon-grid,
  .grid,
  .pasif-icons-grid,
  .alchemy-icon-grid,
  .passive-icon-grid,
  .compact-icon-grid,
  .ranking-rewards,
  #vote4buff .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .feature-tag-card,
  .icon-item,
  .mini-card,
  .pasif-icon-item,
  .arena-item {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .class-card img {
    height: auto !important;
    max-height: 360px;
    object-fit: contain;
  }

  .date-strip,
  .countdown {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .date-strip div,
  .countdown div {
    padding: 10px 6px;
  }

  .date-strip em,
  .countdown em {
    display: none;
  }

  .vote-wrapper {
    padding: 0 0 24px !important;
  }

  .vote-content-side,
  .vote-bonus-text {
    align-items: stretch;
    text-align: left;
  }

  .arena-rewards,
  .veteran-title-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pasif-table-wrap,
  .biolog-table,
  .ranking-list,
  .dungeon-table,
  .timeline-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pasif-table {
    min-width: 520px;
  }

  .opening-popup {
    padding: 10px;
    align-items: center;
  }

  .opening-popup__panel {
    width: min(96vw, 560px);
    max-height: 86svh;
  }

  .opening-popup__panel img {
    max-height: 86svh;
  }
}

@media (max-width: 520px) {
  .topbar {
    padding: 0 10px;
  }

  .lang-switcher {
    max-width: 54vw;
  }

  .lang-current-btn {
    min-width: 40px;
    justify-content: center;
  }

  .lang-current-btn .lang-code-label {
    display: none;
  }

  .lang-dropdown {
    min-width: 142px;
  }

  .sidebar {
    width: min(286px, 90vw);
  }

  .sidebar-footer {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 22px 14px !important;
  }

  .hero-badges {
    gap: 7px;
  }

  .hero-badge {
    width: auto;
    max-width: 100%;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .feature-tag-card {
    padding: 12px 7px !important;
  }

  .ftag-badge {
    top: -8px;
    right: 6px;
    font-size: 9px;
    padding: 2px 6px;
  }

  .ftag-name {
    font-size: 10.5px;
    line-height: 1.25;
  }

  .equip-grid,
  .features-grid,
  .icon-grid,
  .grid,
  .pasif-icons-grid,
  .alchemy-icon-grid,
  .passive-icon-grid,
  .compact-icon-grid,
  .ranking-rewards,
  #vote4buff .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .equip-char {
    min-height: 0 !important;
    max-height: none !important;
  }

  .equip-char img {
    max-height: 360px;
    object-fit: contain;
  }

  .equip-item,
  .icon-item,
  .mini-card,
  .pasif-icon-item {
    padding: 10px 7px !important;
  }

  .equip-item span,
  .icon-item span,
  .mini-card h3,
  .pasif-icon-item span {
    font-size: 10px;
    line-height: 1.25;
  }

  .vote-bonus-item {
    padding: 10px 12px;
  }

  .optim-slider {
    grid-template-columns: 34px minmax(0, 1fr) 34px !important;
    gap: 6px !important;
  }

  .optim-nav {
    width: 34px !important;
    height: 34px !important;
  }

  .orbit-ring-container {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .orbit-dashed-ring,
  .equip-center-char {
    display: none;
  }

  .orbit-bubble {
    position: static;
    width: auto;
    height: 64px;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    border-radius: 8px;
    transform: none !important;
    animation: none !important;
  }

  .orbit-bubble img {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 380px) {
  .section,
  .features-section,
  .equip-section,
  .showcase-section,
  .bg-section,
  #karakter-siniflari,
  #baslangic-ekipmanlari,
  #buffi,
  #savas-bileti,
  #derece-siralamasi,
  #seviyeli-pet,
  #zindanlar,
  #biyolog,
  #aenor-arena,
  #kusak-sistemi,
  #multi-dil,
  #pasif-beceriler,
  #simya-sistemi,
  #odul-havuzu,
  #efsun-botu,
  #etkinlikler,
  #otomatik-av,
  #alan-patronu-takip,
  #beceri-sistemi,
  #vote4buff,
  #offlineshop,
  #multi-farm,
  #enerji-kristali,
  #carklar,
  #grafik-deneyimi,
  #gelismis-optimizasyonlar,
  #totem-sistemi,
  #alti-yedi-efsun {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .feature-card {
    padding: 16px 10px !important;
  }

  .date-strip,
  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid,
  .equip-grid,
  .icon-grid,
  .grid,
  .pasif-icons-grid,
  .alchemy-icon-grid,
  .passive-icon-grid,
  .compact-icon-grid,
  .ranking-rewards,
  #vote4buff .icon-grid {
    gap: 7px !important;
  }
}

@media (max-width: 980px) {
  .features-grid > .feature-tag-card#multi-farm {
    width: auto !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 14px 10px !important;
    overflow: visible;
  }
}

.styled-list li,
.buffi-text-col .styled-list li,
#grafik-deneyimi .styled-list li,
#seviyeli-pet .styled-list li {
  position: relative;
  display: block;
  justify-content: initial;
  text-align: left;
  padding-left: 19px;
  overflow-wrap: normal;
  word-break: normal;
}

.styled-list li::before,
.buffi-text-col .styled-list li::before,
#grafik-deneyimi .styled-list li::before,
#seviyeli-pet .styled-list li::before {
  position: absolute;
  left: 0;
  top: .72em;
  margin-top: 0;
}
