/**
 * playmetin2mobile.com — Custom AAA MMORPG & 2026 SEO Styles
 * Theme: mw-essence Dark Obsidian Antique Gold & Metin2 Demonic Fire
 * Harmonized to: background.png (Sura, Warrior, Skull Pagoda)
 * Standard: Rohan2 Official Golden Check Badge (.rohan-mirror-check)
 * Layout: Epic One-Page Continuous Mega Experience
 */

:root {
  /* Harmonized Obsidian / Antique Gold / Metin2 Bronze Theme */
  --m2-bg-base: #120e0c;          /* Deepest obsidian charcoal */
  --m2-bg-surface: #181411;       /* Section dark stone */
  --m2-bg-card: rgba(26, 20, 16, 0.92); /* Cards, simulators, tables */
  --m2-bg-card-alt: rgba(34, 26, 21, 0.85); /* Alternating rows & sub-cards */
  --m2-bg-input: #15110e;         /* Form inputs, inner dark wells */
  --m2-gold-primary: #dfb776;     /* Main antique gold */
  --m2-gold-light: #ffe5a3;       /* Highlight gold */
  --m2-gold-dark: #b8860b;        /* Deep burnished gold */
  --m2-gold-border: rgba(223, 183, 118, 0.32);
  --m2-gold-border-subtle: rgba(223, 183, 118, 0.16);
  --m2-sura-crimson: #c2362b;     /* Demonic claw flame accent */
  --m2-sura-crimson-glow: rgba(194, 54, 43, 0.45);
  --m2-text-light: #f5ede4;       /* Main readable text */
  --m2-text-muted: #bdaaa0;       /* Subtitle / label muted text */
}

/* ================= 0. NATURAL SMOOTH SCROLLING & ONE-PAGE OVERRIDE ================= */
html {
  scroll-behavior: auto; /* Akici ve kesintisiz 60/120fps yerel fare tekerlegi kaydirmasi icin auto standardi */
  scroll-padding-top: 90px;
  -webkit-overflow-scrolling: touch;
}

body {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: auto !important;
  min-height: 100vh;
  background-color: var(--m2-bg-base) !important;
  color: var(--m2-text-light);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Override swiper locking to allow full natural page scrolling */
.main-wrapper, 
.main-wrapper > .swiper-wrapper {
  display: block !important;
  height: auto !important;
  transform: none !important;
  overflow: visible !important;
  position: static !important;
}

.main-wrapper .swiper-slide {
  height: auto !important;
  min-height: auto !important;
  margin-bottom: 0 !important;
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: block !important;
}

.points {
  display: none !important; /* Hide swiper bullet points in one-page mode */
}

/* Sticky Nav Enhancement */
.nav {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 14, 12, 0.96) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223, 183, 118, 0.32);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.75);
}

/* Section Margins & Headers */
.mega-section {
  position: relative;
  padding: 85px 0 75px 0;
  border-bottom: 1px solid rgba(223, 183, 118, 0.16);
  scroll-margin-top: 80px;
}

.mega-section:nth-child(even) {
  background: rgba(24, 19, 16, 0.65);
}

.mega-section:nth-child(odd) {
  background: rgba(16, 13, 11, 0.88);
}

.mega-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section-head-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.section-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(223, 183, 118, 0.12);
  border: 1px solid #dfb776;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #ffe5a3;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(223, 183, 118, 0.25);
}

.section-mega-title {
  font-family: var(--primary-font, "Angelus Medieval");
  font-size: clamp(28px, 3.8vw, 44px);
  color: #dfb776;
  line-height: 1.25;
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 0 10px rgba(223, 183, 118, 0.2);
}

.section-mega-desc {
  font-size: 15px;
  color: #bdaaa0;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

.dragon-divider {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 18px auto 0 auto;
  opacity: 0.85;
}

/* ================= 1. RESMİ ALTIN ONAY ROZETİ (KURAL #5) ================= */
.rohan-mirror-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff1b8 0%, #e5b66b 55%, #9b6b24 100%);
  border: 1px solid #e5b66b;
  box-shadow: 0 0 8px rgba(229, 182, 107, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.7);
  color: #1a0f00;
  vertical-align: middle;
  margin-right: 8px;
  font-size: 10px;
  line-height: 1;
}
.rohan-mirror-check svg {
  width: 10px;
  height: 10px;
  stroke: #2b1802;
  stroke-width: 2.8;
}

/* ================= 2. NEO-HUD PHONE MOCKUP (ARKETİP I) ================= */
.neo-hud-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  perspective: 1000px;
}
.neo-hud-phone {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #14100d;
  border: 3px solid #dfb776;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 25px rgba(223, 183, 118, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
}
.neo-hud-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.65;
  z-index: 1;
}
.neo-hud-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
.neo-hud-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hud-bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-shadow: 0 1px 2px #000;
}
.hud-bar {
  width: 110px;
  height: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}
.hud-bar-fill-hp {
  width: 88%;
  height: 100%;
  background: linear-gradient(90deg, #d32f2f, #ff5252);
  box-shadow: 0 0 6px #ff5252;
}
.hud-bar-fill-sp {
  width: 95%;
  height: 100%;
  background: linear-gradient(90deg, #1976d2, #448aff);
  box-shadow: 0 0 6px #448aff;
}
.neo-hud-level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #ffe5a3 0%, #b8860b 100%);
  color: #111;
  font-weight: 900;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid #ffd700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}
.neo-hud-controls {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}
.hud-joystick {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid rgba(234, 196, 133, 0.4);
  background: radial-gradient(circle, rgba(234, 196, 133, 0.2) 0%, rgba(0, 0, 0, 0.6) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}
.hud-joystick-knob {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eac485;
  box-shadow: 0 0 8px #eac485;
  animation: joyPulse 2.5s infinite ease-in-out;
}
@keyframes joyPulse {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(6px, -4px); }
  50% { transform: translate(3px, 6px); }
  75% { transform: translate(-5px, 2px); }
}
.hud-skills {
  display: grid;
  grid-template-columns: repeat(2, 34px);
  gap: 6px;
}
.hud-skill-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #dfb776;
  background: #251c17;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 8px rgba(223, 183, 118, 0.35);
}
.hud-skill-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hud-skill-btn:hover, .hud-skill-btn:active {
  transform: scale(1.15);
  box-shadow: 0 0 12px #dfb776;
}

/* ================= 3. FEATURED SNIPPET TL;DR BOX ================= */
.snippet-tldr {
  background: linear-gradient(135deg, rgba(223, 183, 118, 0.12) 0%, rgba(28, 22, 18, 0.94) 100%);
  border: 1px solid rgba(223, 183, 118, 0.35);
  border-left: 4px solid #dfb776;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 20px 0 28px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.snippet-tldr__header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--primary-font, "Angelus Medieval");
  font-size: 18px;
  color: #dfb776;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.snippet-tldr__content {
  font-size: 15px;
  line-height: 1.6;
  color: #f5ede4;
}

/* ================= 4. RICH HTML DATA TABLES ================= */
.m2-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0 28px 0;
  border-radius: 8px;
  border: 1px solid rgba(223, 183, 118, 0.3);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}
.m2-seo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  min-width: 600px;
}
.m2-seo-table thead th {
  background: linear-gradient(135deg, #2e231c 0%, #1c1511 100%);
  color: #ffe5a3;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid #dfb776;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.m2-seo-table tbody tr {
  background: rgba(28, 22, 18, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
}
.m2-seo-table tbody tr:nth-child(even) {
  background: rgba(20, 16, 13, 0.92);
}
.m2-seo-table tbody tr:hover {
  background: rgba(223, 183, 118, 0.14);
}
.m2-seo-table td {
  padding: 12px 16px;
  color: #e2e8f0;
  vertical-align: middle;
}
.m2-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.m2-badge--gold {
  background: rgba(234, 196, 133, 0.2);
  color: #ffe5a3;
  border: 1px solid #eac485;
}
.m2-badge--green {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border: 1px solid #2ecc71;
}
.m2-badge--red {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  border: 1px solid #e74c3c;
}

/* ================= 5. INTERACTIVE CLASS SHOWCASE ================= */
.class-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.class-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 26, 21, 0.88);
  border: 1px solid rgba(223, 183, 118, 0.3);
  padding: 10px 18px;
  border-radius: 8px;
  color: #e2d5c8;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.class-tab-btn:hover,
.class-tab-btn.active {
  background: linear-gradient(135deg, #dfb776 0%, #b8860b 100%);
  color: #120e0c;
  border-color: #ffe5a3;
  box-shadow: 0 0 14px rgba(223, 183, 118, 0.5);
}
.class-tab-btn img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.class-card-display {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 30px;
  background: rgba(24, 19, 15, 0.94);
  border: 1px solid rgba(223, 183, 118, 0.38);
  border-radius: 12px;
  padding: 30px;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.75);
}
@media (max-width: 860px) {
  .class-card-display {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ================= 6. FAQ ACCORDION ================= */
.m2-faq {
  margin: 30px 0;
}
.m2-faq__item {
  background: rgba(24, 19, 15, 0.85);
  border: 1px solid rgba(223, 183, 118, 0.25);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}
.m2-faq__question {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #f1f5f9;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s, color 0.2s;
}
.m2-faq__question:hover {
  background: rgba(223, 183, 118, 0.1);
  color: #dfb776;
}
.m2-faq__answer {
  padding: 0 20px 16px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}
.m2-faq__item.active .m2-faq__answer {
  display: block;
}
.m2-faq__item.active .m2-faq__question {
  color: #dfb776;
  border-bottom: 1px solid rgba(223, 183, 118, 0.25);
}

/* ================= 7. STICKY MOBILE & DESKTOP CTA ================= */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(22, 17, 14, 0.97) 0%, rgba(14, 11, 9, 0.99) 100%);
  border-top: 2px solid #dfb776;
  padding: 10px 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}
.sticky-cta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sticky-cta-left img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #dfb776;
}
.sticky-cta-info {
  display: flex;
  flex-direction: column;
}
.sticky-cta-title {
  font-size: 14px;
  font-weight: 700;
  color: #dfb776;
  line-height: 1.2;
}
.sticky-cta-sub {
  font-size: 11px;
  color: #bdaaa0;
}
.sticky-cta-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-sticky-play {
  background: linear-gradient(135deg, #dfb776 0%, #b8860b 100%);
  color: #120e0c;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 14px rgba(223, 183, 118, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-sticky-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(234, 196, 133, 0.7);
  color: #000;
}
.btn-sticky-discord {
  background: #5865F2;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s;
}
.btn-sticky-discord:hover {
  transform: translateY(-2px);
  background: #4752c4;
}

@media (max-width: 640px) {
  .sticky-cta-sub { display: none; }
  .sticky-cta-left img { width: 30px; height: 30px; }
  .btn-sticky-discord { display: none; }
}

/* ================= 8. İNTERAKTİF MİNİ ARAÇLAR (SIMULATORS) ================= */
.m2-interactive-card {
  background: rgba(24, 19, 15, 0.94);
  border: 1px solid rgba(223, 183, 118, 0.35);
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(223, 183, 118, 0.05);
}
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .sim-grid { grid-template-columns: 1fr; }
}
.sim-control-group {
  margin-bottom: 16px;
}
.sim-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
}
.sim-slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sim-slider {
  flex: 1;
  accent-color: #dfb776;
  height: 6px;
  background: #14100d;
  border-radius: 4px;
  cursor: pointer;
}
.sim-btn-step {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #251c17;
  border: 1px solid #dfb776;
  color: #ffe5a3;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.sim-btn-step:hover {
  background: #dfb776;
  color: #120e0c;
}
.sim-output-box {
  background: #14100d;
  border: 1px solid rgba(223, 183, 118, 0.28);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sim-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
}
.sim-stat-val {
  font-weight: 700;
  color: #dfb776;
}
.sim-preset-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.sim-preset-btn {
  background: rgba(223, 183, 118, 0.15);
  border: 1px solid #dfb776;
  color: #ffe5a3;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.sim-preset-btn:hover {
  background: #dfb776;
  color: #120e0c;
}

/* ================= 9. CANLI DROP ARAMA MOTORU ================= */
.drop-search-input {
  width: 100%;
  background: #14100d;
  border: 2px solid #dfb776;
  border-radius: 8px;
  padding: 14px 18px;
  color: #fff;
  font-size: 16px;
  outline: none;
  box-shadow: 0 0 15px rgba(223, 183, 118, 0.2);
  margin-bottom: 18px;
}
.drop-search-input:focus {
  box-shadow: 0 0 20px rgba(223, 183, 118, 0.4);
}

/* ================= 10. FLOATING BACK TO TOP BUTTON ================= */
.back-to-top-btn {
  position: fixed;
  bottom: 85px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfb776 0%, #b8860b 100%);
  color: #120e0c !important;
  border: 1px solid #ffe5a3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 15px rgba(223, 183, 118, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
}
.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 25px rgba(223, 183, 118, 0.7);
  color: #000 !important;
}

/* ================= 11. NEO-HUD COMBAT TEXT & AUDIO VISUALS ================= */
.neo-hud-phone {
  user-select: none;
}
.hud-fct-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 15;
  overflow: hidden;
}
.hud-fct-item {
  position: absolute;
  left: 50%;
  bottom: 35%;
  transform: translate(-50%, 0);
  font-family: var(--primary-font, "Angelus Medieval"), sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 10px currentColor;
  animation: fctRise 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  white-space: nowrap;
}
.hud-fct-item.critical {
  color: #ff3838;
  font-size: 16px;
  text-shadow: 0 2px 6px #000, 0 0 12px #ff3838;
}
.hud-fct-item.aura {
  color: #ffe5a3;
  font-size: 14px;
  text-shadow: 0 2px 6px #000, 0 0 12px #dfb776;
}
.hud-fct-item.berserk {
  color: #a855f7;
  font-size: 14px;
  text-shadow: 0 2px 6px #000, 0 0 12px #c084fc;
}
.hud-fct-item.combo {
  color: #38bdf8;
  font-size: 15px;
  text-shadow: 0 2px 6px #000, 0 0 12px #0284c7;
}

@keyframes fctRise {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.6);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -15px) scale(1.18);
  }
  65% {
    opacity: 1;
    transform: translate(-50%, -35px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -55px) scale(0.85);
  }
}

.hud-skill-btn {
  position: relative;
}
.hud-skill-btn.on-cd::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  animation: cdSweep 1.8s linear forwards;
}
@keyframes cdSweep {
  0% { clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 50% 0%); }
  50% { clip-path: polygon(50% 50%, 50% 100%, 0% 100%, 0% 0%, 50% 0%); }
  100% { clip-path: polygon(50% 50%, 50% 0%); opacity: 0; }
}

.hud-sound-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  background: rgba(28, 22, 18, 0.9);
  border: 1px solid #dfb776;
  color: #ffe5a3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(223, 183, 118, 0.4);
  transition: all 0.2s;
}
.hud-sound-toggle:hover {
  background: #dfb776;
  color: #120e0c;
}
.hud-sound-toggle.muted {
  color: #bdaaa0;
  border-color: #544033;
  box-shadow: none;
}

/* Quick Jump Pill Active State */
.quick-jump-pill.active {
  background: linear-gradient(135deg, #dfb776 0%, #b8860b 100%);
  color: #120e0c;
  border-color: #ffe5a3;
  box-shadow: 0 0 14px rgba(223, 183, 118, 0.6);
  font-weight: 800;
}

/* ================= 12. METIN2 HERO BACKGROUND & CINEMATIC VIGNETTE ================= */
.main-header__bg {
  background: #120e0c !important; /* Disables Greek pillars from mw-essence */
}
.hero-vignette-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 14, 12, 0.90) 0%, rgba(18, 14, 12, 0.45) 45%, rgba(18, 14, 12, 0.20) 75%, rgba(18, 14, 12, 0.82) 100%),
              linear-gradient(0deg, #120e0c 0%, rgba(18, 14, 12, 0.3) 22%, rgba(18, 14, 12, 0) 50%);
  pointer-events: none;
  z-index: 2;
}

/* Hero & Global Action Buttons */
.main-btn {
  max-height: 64px !important;
  max-width: 320px !important;
  font-size: clamp(15px, 1.3vw, 18px) !important;
  padding: 0 20px !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  transition: transform 0.2s ease, filter 0.2s ease !important;
}
.main-btn:hover {
  transform: translateY(-2px);
  filter: brightness(115%);
  box-shadow: none !important;
}
.main-btn--secondary {
  background: linear-gradient(135deg, rgba(34, 26, 21, 0.95) 0%, rgba(20, 15, 12, 0.98) 100%) !important;
  border: 1px solid rgba(223, 183, 118, 0.6) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7), inset 0 0 10px rgba(223, 183, 118, 0.15) !important;
  color: #ffe5a3 !important;
  border-radius: 4px;
}
.main-btn--secondary:hover {
  border-color: #ffe5a3 !important;
  box-shadow: 0 6px 24px rgba(223, 183, 118, 0.45) !important;
  color: #fff !important;
}

/* ================= 13. PREMIUM METIN2 FOOTER & CLEARANCE ================= */
body {
  padding-bottom: 90px !important;
}

.main-footer {
  position: relative !important;
  z-index: 10 !important;
  background: linear-gradient(180deg, rgba(20, 16, 13, 0.96) 0%, rgba(14, 11, 9, 0.99) 100%) !important;
  border-top: 1px solid rgba(223, 183, 118, 0.28) !important;
  padding: 50px 0 120px 0 !important; /* Ample breathing room above sticky CTA bar */
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6) !important;
}

.main-footer:before,
.main-footer:after {
  display: none !important; /* Disable old theme pseudo elements */
}

.main-footer__content {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

.main-footer__cpr {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 14px !important;
}

.main-footer__cpr-title {
  font-family: var(--primary-font, "Angelus Medieval"), sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #dfb776 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.main-footer__cpr-text {
  font-size: 13px !important;
  color: #bdaaa0 !important;
  line-height: 1.6 !important;
  max-width: 860px !important;
  margin: 0 auto !important;
  opacity: 0.85 !important;
}

.main-footer__cpr-links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px 14px !important;
  margin: 12px 0 6px 0 !important;
  padding: 12px 20px !important;
  background: rgba(26, 20, 16, 0.8) !important;
  border: 1px solid rgba(223, 183, 118, 0.2) !important;
  border-radius: 30px !important;
}

.main-footer__cpr-links a {
  color: #cbd5e1 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  transition: all 0.2s ease-in-out !important;
}

.main-footer__cpr-links a:hover {
  color: #ffe5a3 !important;
  background: rgba(223, 183, 118, 0.15) !important;
  text-shadow: 0 0 10px rgba(223, 183, 118, 0.5) !important;
}

.main-footer__copyright-notice {
  font-size: 12px !important;
  color: #786960 !important;
  margin-top: 4px !important;
}



/* ==========================================================================
   14. OFFICIAL METIN2 WIKI & DATABASE SECTION (#wiki-hub)
   ========================================================================== */
.wiki-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

@media (max-width: 991px) {
  .wiki-hub-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.wiki-card {
  background: linear-gradient(180deg, rgba(32, 24, 19, 0.96) 0%, rgba(18, 14, 11, 0.98) 100%);
  border: 1px solid rgba(223, 183, 118, 0.35);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 229, 163, 0.15);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.wiki-card:hover {
  border-color: rgba(223, 183, 118, 0.65);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(223, 183, 118, 0.2);
}

.wiki-card__header {
  background: linear-gradient(90deg, #5c1813 0%, #3a0d0a 50%, #200705 100%);
  border-bottom: 2px solid #dfb776;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.wiki-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wiki-badge-m2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--title-font);
  font-weight: 900;
  font-size: 15px;
  color: #ffe5a3;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
  font-style: italic;
  letter-spacing: -0.5px;
}

.wiki-card__header h3 {
  margin: 0;
  font-family: var(--title-font);
  font-size: 18px;
  font-weight: 700;
  color: #f7ede2;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.wiki-header-hint {
  font-size: 11px;
  color: #dfb776;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  opacity: 0.85;
}

.wiki-card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 1. M2 Karakter Sınıfları Table */
.wiki-class-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.wiki-class-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.wiki-class-table th {
  background: rgba(45, 33, 25, 0.9);
  color: #dfb776;
  font-family: var(--title-font);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 6px;
  border: 1px solid rgba(223, 183, 118, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
}

.wiki-class-table th:hover {
  background: rgba(223, 183, 118, 0.2);
  color: #ffe5a3;
}

.wiki-class-table td {
  padding: 8px 4px;
  border: 1px solid rgba(223, 183, 118, 0.2);
  background: rgba(22, 17, 13, 0.7);
  vertical-align: middle;
}

.wiki-face-avatar {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid rgba(223, 183, 118, 0.4);
  background: #100b08;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.wiki-face-avatar:hover {
  transform: scale(1.18);
  border-color: #ffe5a3;
  box-shadow: 0 0 12px rgba(223, 183, 118, 0.6);
  z-index: 2;
  position: relative;
}

.wiki-item-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 4px 2px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.wiki-item-cell:hover {
  background: rgba(223, 183, 118, 0.15);
}

.wiki-item-cell img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.wiki-item-cell:hover img {
  transform: scale(1.2);
}

.wiki-item-cell span {
  font-size: 11px;
  color: #dfb776;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 2 & 4. Two-Column List Grid (Ekipmanlar & İlgili Sayfalar) */
.wiki-two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
}

.wiki-list-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(26, 20, 16, 0.85);
  border: 1px solid rgba(223, 183, 118, 0.2);
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.wiki-list-btn:hover {
  background: rgba(45, 34, 27, 0.95);
  border-color: rgba(223, 183, 118, 0.55);
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.wiki-bullet {
  color: #dfb776;
  font-size: 10px;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.wiki-list-btn:hover .wiki-bullet {
  color: #ffe5a3;
  transform: scale(1.2);
}

.wiki-btn-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
  transition: transform 0.2s ease;
}

.wiki-list-btn:hover .wiki-btn-icon {
  transform: scale(1.15);
}

.wiki-btn-label {
  font-size: 13px;
  font-weight: 600;
  color: #e5ded7;
  transition: color 0.2s ease;
}

.wiki-list-btn:hover .wiki-btn-label {
  color: #ffe5a3;
  text-decoration: underline;
}

/* 3. M2 Sistemler Grid */
.wiki-system-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wiki-sys-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(26, 20, 16, 0.85);
  border: 1px solid rgba(223, 183, 118, 0.2);
  border-radius: 6px;
  padding: 7px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wiki-sys-card:hover {
  background: rgba(45, 34, 27, 0.95);
  border-color: rgba(223, 183, 118, 0.55);
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.wiki-sys-icons-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wiki-sys-icons-row img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
  transition: transform 0.2s ease;
}

.wiki-sys-card:hover .wiki-sys-icons-row img {
  transform: scale(1.2);
}

.wiki-sys-single-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
  transition: transform 0.2s ease;
}

.wiki-sys-card:hover .wiki-sys-single-icon {
  transform: scale(1.2);
}

.wiki-sys-name {
  font-size: 13px;
  font-weight: 600;
  color: #e5ded7;
  transition: color 0.2s ease;
}

.wiki-sys-card:hover .wiki-sys-name {
  color: #ffe5a3;
  text-decoration: underline;
}

/* Interactive Live Inspector Drawer */
.wiki-inspector-panel {
  margin-top: 30px;
  animation: wikiSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes wikiSlideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wiki-inspector-box {
  background: linear-gradient(180deg, rgba(38, 28, 22, 0.98) 0%, rgba(22, 16, 12, 0.99) 100%);
  border: 1px solid #dfb776;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(223, 183, 118, 0.25);
  position: relative;
}

.wiki-inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(223, 183, 118, 0.3);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.wiki-insp-big-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(16, 11, 8, 0.8);
  border: 1px solid rgba(223, 183, 118, 0.4);
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.wiki-insp-heading {
  margin: 0 0 4px 0;
  font-family: var(--title-font);
  font-size: 20px;
  color: #ffe5a3;
  font-weight: 700;
}

.wiki-close-btn {
  background: rgba(45, 33, 25, 0.8);
  border: 1px solid rgba(223, 183, 118, 0.4);
  color: #dfb776;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.wiki-close-btn:hover {
  background: #7a1f18;
  color: #ffffff;
  border-color: #ff857d;
  transform: rotate(90deg);
}

.wiki-inspector-body {
  color: #e5ded7;
  font-size: 14px;
}

/* ==========================================================================
   15. 17-LANGUAGE SWITCHER & NAVBAR ERGONOMICS
   ========================================================================== */
.nav__content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 15px !important;
  width: 98% !important;
  max-width: 1840px !important;
  margin: 0 auto !important;
}

.nav__layout {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  justify-content: center !important;
}

.nav__links {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.nav__links-item {
  color: #d1c4b8 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.nav__links-item:hover {
  color: #ffe5a3 !important;
  text-shadow: 0 0 10px rgba(223, 183, 118, 0.6) !important;
}

.nav__right-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
}

.nav__server-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(18, 26, 20, 0.85) !important;
  border: 1px solid rgba(74, 222, 128, 0.35) !important;
  border-radius: 20px !important;
  padding: 5px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #86efac !important;
  white-space: nowrap !important;
}

@media (max-width: 1200px) {
  .nav__server-badge {
    display: none !important;
  }
}

.live-dot {
  width: 7px !important;
  height: 7px !important;
  background-color: #22c55e !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #22c55e !important;
  animation: pulseGreen 2s infinite !important;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* 17 Dil Secici - Resmi 2 Kolonlu Dropdown & Anti-Disappearance Koprusu */
.nav__langs-wrapper {
  position: relative !important;
  z-index: 2000 !important;
}

.nav__langs-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #140d09 !important;
  border: 1px solid #c89b3c !important;
  border-radius: 4px !important;
  padding: 6px 12px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
  outline: none !important;
}

.nav__langs-trigger:hover,
.nav__langs-wrapper.active .nav__langs-trigger {
  background: #1e130d !important;
  border-color: #ffd275 !important;
  box-shadow: 0 0 12px rgba(200, 155, 60, 0.45) !important;
  color: #ffffff !important;
}

.lang-trigger-flag {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.lang-trigger-name {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.2px !important;
}

.lang-trigger-arrow {
  font-size: 9px !important;
  color: #ffffff !important;
  margin-left: 4px !important;
  transition: transform 0.2s ease !important;
}

.nav__langs-wrapper.active .lang-trigger-arrow {
  transform: rotate(180deg) !important;
}

/* Dropdown Menu - 2 Kolonlu Gorunum & Gorunmez Fare Koprusu */
.nav__langs-dropdown {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  right: 0 !important;
  width: 340px !important;
  background: #140d09 !important;
  border: 1px solid #bfa264 !important;
  border-radius: 4px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), 0 0 15px rgba(191, 162, 100, 0.2) !important;
  padding: 6px !important;
  display: none;
  z-index: 2500 !important;
  animation: langDropdownFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Gorunmez Fare Koprusu: Tetikleyici ile menu arasinda imlec gecerken kapanmayi engeller */
.nav__langs-dropdown::before {
  content: '' !important;
  position: absolute !important;
  top: -10px !important;
  left: 0 !important;
  right: 0 !important;
  height: 10px !important;
  background: transparent !important;
}

.nav__langs-wrapper.active .nav__langs-dropdown,
.nav__langs-wrapper:hover .nav__langs-dropdown {
  display: block !important;
}

@keyframes langDropdownFade {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown-grid {
  display: flex !important;
  gap: 4px !important;
}

.lang-grid-col {
  flex: 1 1 50% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.lang-grid-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 7px 10px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  color: #dfd7cc !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  border: 1px solid transparent !important;
}

.lang-grid-item:hover {
  background: rgba(200, 155, 60, 0.18) !important;
  color: #ffffff !important;
}

.lang-grid-item.active {
  background: rgba(45, 32, 22, 0.95) !important;
  border-color: rgba(200, 155, 60, 0.35) !important;
  color: #dfb776 !important;
  font-weight: 700 !important;
}

.lang-flag-circle {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.lang-label {
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

/* Footer 17-Lang Bar */
.main-footer__lang-bar {
  margin: 18px 0 10px 0 !important;
  padding: 14px 20px !important;
  background: rgba(20, 15, 12, 0.85) !important;
  border: 1px solid rgba(223, 183, 118, 0.25) !important;
  border-radius: 12px !important;
  text-align: center !important;
}

.main-footer__lang-title {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  color: #dfb776 !important;
  margin-bottom: 10px !important;
}

.main-footer__lang-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px 8px !important;
}

.footer-lang-pill {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  background: rgba(35, 26, 21, 0.75) !important;
  border: 1px solid rgba(223, 183, 118, 0.2) !important;
  transition: all 0.2s ease !important;
}

.footer-lang-pill:hover {
  background: rgba(223, 183, 118, 0.25) !important;
  border-color: #ffe5a3 !important;
  color: #ffe5a3 !important;
}

.footer-lang-pill.active {
  background: linear-gradient(135deg, #dfb776 0%, #b8860b 100%) !important;
  color: #120e0c !important;
  font-weight: 800 !important;
  border-color: #ffe5a3 !important;
  box-shadow: 0 0 10px rgba(223, 183, 118, 0.4) !important;
}
