/* ==============================================
   yildiz-isareti.tr | style.css
   Menü: #2d2d2d antrasit, 20px
   Footer: #1a1a1a açık siyah, 19px
   Genel: 17px | Mobil: optimize
   ============================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 17px;
  background: #fff;
  color: #1f2937;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.skip-link {
  position: absolute; top: -60px; left: 0;
  background: #f5c518; color: #0a0a0a;
  padding: 10px 18px; z-index: 9999;
  border-radius: 0 0 8px 0; font-weight: 700; font-size: 16px;
  transition: top .2s; white-space: nowrap;
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   HEADER — antrasit #2d2d2d
   ============================================================ */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(180deg, #434a53 0%, #363c44 100%);
  border-bottom: 2px solid #f5c518;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 18px; height: 64px; gap: 10px;
}

.logo-wrap {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; min-width: 0;
}

.logo-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #ffe566, #f5c518);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #0a0a0a; font-weight: 900;
  flex-shrink: 0;
}

.logo-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.06rem; font-weight: 700;
  color: #fff; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.logo-text small {
  display: block; color: #f5c518;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.68rem; font-weight: 600; letter-spacing: .05em;
}

/* Desktop nav */
#main-nav {
  display: flex; align-items: center; gap: 1px; flex-shrink: 0; margin-left: auto;
}
#main-nav > a,
#main-nav > .nav-dropdown > a {
  color: #e5e7eb; font-size: 15px; font-weight: 700;
  padding: 9px 10px; border-radius: 8px;
  transition: color .18s, background .18s;
  white-space: nowrap; display: block;
}
#main-nav > a:hover,
#main-nav > a.active,
#main-nav > .nav-dropdown > a:hover {
  color: #f5c518; background: rgba(245,197,24,.12);
}

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: " ▾"; font-size: .72em; }

.dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #222830; border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; min-width: 175px;
  padding: 8px; box-shadow: 0 8px 28px rgba(0,0,0,.3);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s, transform .18s;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 8px 12px; border-radius: 6px;
  font-size: 15px; font-weight: 600; color: #d1d5db;
  transition: background .15s, color .15s;
}
.dropdown-menu a:hover { background: rgba(245,197,24,.12); color: #f5c518; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 9px; border-radius: 6px; transition: background .18s;
  flex-shrink: 0;
}
.hamburger:hover { background: rgba(255,255,255,.08); }
.hamburger span {
  width: 23px; height: 2px; background: #fff;
  border-radius: 2px; display: block;
  transition: transform .28s, opacity .28s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
#mobile-nav {
  display: none; flex-direction: column;
  background: #1f2937; border-top: 1px solid #374151;
  padding: 10px 16px 18px;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  color: #d1d5db; font-size: 16px; font-weight: 700;
  padding: 9px 12px; border-radius: 6px;
  transition: color .18s, background .18s;
}
#mobile-nav a:hover { color: #f5c518; background: rgba(245,197,24,.08); }
#mobile-nav .mob-sub { padding-left: 16px; }
#mobile-nav .mob-sub a { font-size: 15px; color: #9ca3af; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: radial-gradient(circle at 12% 18%, rgba(255,214,92,.22), transparent 18%), radial-gradient(circle at 88% 10%, rgba(255,255,255,.08), transparent 15%), linear-gradient(135deg, #101317 0%, #1d242c 58%, #2a2110 100%);
  padding: 56px 24px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: "★"; position: absolute;
  font-size: 280px; color: rgba(245,197,24,.04);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none; user-select: none; line-height: 1;
}
.hero-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,197,24,.12); border: 1px solid rgba(245,197,24,.3);
  color: #f5c518; font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; padding: 4px 14px; border-radius: 50px;
  margin-bottom: 18px; text-transform: uppercase;
}
.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.7rem, 5vw, 3rem);
  color: #fff; line-height: 1.2; margin-bottom: 14px;
}
.hero h1 em { color: #f5c518; font-style: normal; }
.hero p { font-size: 17px; color: #9ca3af; max-width: 580px; margin: 0 auto 28px; }
.hero-stats { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: #f5c518; }
.hero-stat span { font-size: .76rem; color: #6b7280; text-transform: uppercase; letter-spacing: .06em; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { background: #f9fafb; border-bottom: 1px solid #e5e7eb; padding: 10px 24px; }
.breadcrumb-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 15px; color: #6b7280;
}
.breadcrumb a { color: #6b7280; transition: color .18s; }
.breadcrumb a:hover { color: #c9a000; }
.breadcrumb .sep { color: #d1d5db; }
.breadcrumb .current { color: #1f2937; font-weight: 600; }

/* ============================================================
   SEARCH
   ============================================================ */
.search-section { background: #f9fafb; border-bottom: 1px solid #e5e7eb; padding: 12px 24px; }
.search-inner { max-width: 1200px; margin: 0 auto; }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-input {
  flex: 1; min-width: 0; padding: 10px 14px;
  border: 1.5px solid #e5e7eb; border-radius: 6px;
  font-size: 16px; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  outline: none; background: #fff; transition: border-color .18s;
}
.search-input:focus { border-color: #f5c518; }
.search-submit {
  background: #f5c518; color: #0a0a0a; font-weight: 800;
  padding: 10px 18px; border-radius: 6px; font-size: 16px;
  transition: background .18s; white-space: nowrap;
}
.search-submit:hover { background: #d4a800; }

/* ============================================================
   SECTION
   ============================================================ */
.section { padding: 48px 24px; max-width: 1200px; margin: 0 auto; }

.section-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: #111827; margin-bottom: 8px;
}
.section-title span { color: #c9a000; }
.section-desc { color: #6b7280; font-size: 17px; margin-bottom: 26px; max-width: 620px; }

/* ============================================================
   SYMBOL GRID
   ============================================================ */
.symbol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 10px;
}
.symbol-card {
  background: #f9fafb; border: 1.5px solid #e5e7eb;
  border-radius: 10px; padding: 16px 8px 12px;
  text-align: center; cursor: pointer; user-select: none;
  transition: border-color .18s, box-shadow .18s, transform .15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.symbol-card:hover {
  border-color: #f5c518;
  box-shadow: 0 4px 16px rgba(245,197,24,.18);
  transform: translateY(-2px);
}
.symbol-card:active { transform: scale(.96); }
.symbol-card.copied { border-color: #22c55e; }

.symbol-char {
  font-size: 1.9rem; line-height: 1; margin-bottom: 7px; display: block;
  transition: transform .15s;
}
.symbol-card:hover .symbol-char { transform: scale(1.12); }
.symbol-name { font-size: .68rem; color: #6b7280; font-weight: 600; display: block; margin-bottom: 6px; }
.copy-btn {
  font-size: .68rem; font-weight: 800; padding: 3px 9px;
  background: #f5c518; color: #0a0a0a; border-radius: 50px;
  display: inline-block; pointer-events: none; transition: background .15s;
}
.symbol-card.copied .copy-btn { background: #22c55e; color: #fff; }
.symbol-card.copied .copy-btn::before { content: "✔ "; }

/* ============================================================
   TABS
   ============================================================ */
.tabs-wrapper { margin-top: 24px; }
.tab-list {
  display: flex; gap: 4px; flex-wrap: wrap;
  border-bottom: 2px solid #e5e7eb; margin-bottom: 22px;
}
.tab-btn {
  padding: 8px 16px; font-weight: 700; font-size: 16px;
  color: #6b7280; border-radius: 6px 6px 0 0;
  border: 2px solid transparent; border-bottom: none;
  margin-bottom: -2px; transition: color .18s, background .18s;
  white-space: nowrap;
}
.tab-btn:hover { color: #1f2937; background: #f9fafb; }
.tab-btn.active {
  color: #c9a000; border-color: #e5e7eb;
  border-bottom-color: #fff; background: #fff;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   HTML TABLE
   ============================================================ */
.html-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.html-table th {
  background: #111827; color: #fff; padding: 11px 14px;
  text-align: left; font-weight: 700; font-size: .82rem;
  letter-spacing: .05em; text-transform: uppercase;
}
.html-table th:first-child { border-radius: 6px 0 0 0; }
.html-table th:last-child  { border-radius: 0 6px 0 0; }
.html-table td { padding: 9px 14px; border-bottom: 1px solid #e5e7eb; vertical-align: middle; }
.html-table tr:hover td { background: #fffbeb; }
.html-table .char-cell { font-size: 1.4rem; text-align: center; width: 56px; }
.html-table code {
  background: #f3f4f6; padding: 2px 7px; border-radius: 4px;
  font-family: 'Courier New', monospace; font-size: .82rem; color: #b45309;
}
.copy-code-btn {
  background: #1f2937; color: #fff; padding: 4px 10px;
  border-radius: 5px; font-size: .78rem; font-weight: 700;
  cursor: pointer; border: none; transition: background .18s;
  white-space: nowrap;
}
.copy-code-btn:hover { background: #f5c518; color: #0a0a0a; }

/* ============================================================
   NICK GENERATOR
   ============================================================ */
.nick-generator {
  background: linear-gradient(135deg, #0a0a0a 0%, #1f2937 100%);
  border-radius: 12px; padding: 28px 24px;
}
.nick-generator h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.nick-generator p  { color: #9ca3af; font-size: 16px; margin-bottom: 18px; }
.nick-input-wrap   { display: flex; gap: 10px; flex-wrap: wrap; }
.nick-input {
  flex: 1; min-width: 160px; padding: 11px 14px;
  background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 6px; color: #fff; font-size: 16px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; outline: none;
  transition: border-color .18s; -webkit-appearance: none;
}
.nick-input::placeholder { color: #6b7280; }
.nick-input:focus { border-color: #f5c518; }
.nick-btn {
  background: #f5c518; color: #0a0a0a; font-weight: 800;
  padding: 11px 22px; border-radius: 6px; font-size: 16px;
  transition: background .18s, transform .1s; white-space: nowrap;
}
.nick-btn:hover  { background: #d4a800; }
.nick-btn:active { transform: scale(.97); }
.nick-results { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.nick-item {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; padding: 7px 13px; color: #fff;
  font-size: 16px; cursor: pointer;
  transition: border-color .18s, background .18s;
  -webkit-tap-highlight-color: transparent;
}
.nick-item:hover { border-color: #f5c518; background: rgba(245,197,24,.08); color: #f5c518; }

/* ============================================================
   INFO CARDS
   ============================================================ */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 22px 0; }
.info-card {
  background: #f9fafb; border: 1.5px solid #e5e7eb;
  border-radius: 12px; padding: 22px;
  transition: box-shadow .18s, border-color .18s;
}
.info-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.09); border-color: #f5c518; }
.info-card-icon { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.info-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 7px; color: #111827; }
.info-card p  { font-size: 16px; color: #6b7280; line-height: 1.7; }

/* ============================================================
   ARTICLE
   ============================================================ */
.article-body { max-width: 820px; }
.article-body h2 {
  font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; color: #111827;
  margin: 34px 0 12px; padding-bottom: 7px;
  border-bottom: 2px solid #f5c518; display: inline-block;
}
.article-body h3 { font-size: 1.05rem; color: #1f2937; margin: 22px 0 9px; font-weight: 700; }
.article-body p  { font-size: 17px; color: #374151; margin-bottom: 15px; line-height: 1.8; }
.article-body ul { margin: 10px 0 15px 20px; }
.article-body ul li {
  font-size: 17px; color: #374151; margin-bottom: 7px;
  position: relative; padding-left: 8px;
}
.article-body ul li::before {
  content: "★"; color: #f5c518;
  position: absolute; left: -18px; font-size: .68em; top: 4px;
}
.article-body strong { color: #111827; }
.article-body code {
  background: #f3f4f6; padding: 2px 7px; border-radius: 4px;
  font-family: 'Courier New', monospace; font-size: .88em; color: #b45309;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin: 14px 0; }
.faq-item {
  border: 1.5px solid #e5e7eb; border-radius: 10px;
  margin-bottom: 10px; overflow: hidden; transition: border-color .18s;
}
.faq-item.open { border-color: #f5c518; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px; cursor: pointer; font-weight: 700; font-size: 17px;
  background: #fff; transition: background .18s; gap: 12px;
  -webkit-tap-highlight-color: transparent;
}
.faq-q:hover { background: #fffbeb; }
.faq-arrow {
  width: 22px; height: 22px; flex-shrink: 0;
  background: #f5c518; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: #0a0a0a; font-weight: 900;
  transition: transform .28s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .38s ease, padding .28s;
  padding: 0 18px; font-size: 17px; color: #6b7280; line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 18px 15px; }

/* ============================================================
   RELATED LINKS
   ============================================================ */
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.related-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f9fafb; border: 1.5px solid #e5e7eb;
  padding: 8px 16px; border-radius: 50px;
  font-size: 16px; font-weight: 700; color: #1f2937;
  transition: all .18s; -webkit-tap-highlight-color: transparent;
}
.related-link:hover {
  border-color: #f5c518; color: #c9a000;
  box-shadow: 0 2px 8px rgba(245,197,24,.15);
}

/* ============================================================
   TOAST
   ============================================================ */
#toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111827; color: #fff;
  padding: 11px 24px; border-radius: 50px;
  font-weight: 700; font-size: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,.22);
  z-index: 9999; opacity: 0;
  transition: opacity .28s, transform .28s;
  pointer-events: none; white-space: nowrap;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast .toast-star { color: #f5c518; margin-right: 6px; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  width: 46px; height: 46px;
  background: #f5c518; color: #0a0a0a;
  border-radius: 50%; font-size: 1.1rem; font-weight: 900;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .28s, transform .28s; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#back-top.visible { opacity: 1; pointer-events: auto; }
#back-top:hover { transform: translateY(-3px); }

/* ============================================================
   FOOTER — açık siyah #1a1a1a, 19px
   ============================================================ */
#site-footer {
  background: #202226; color: #aeb5bf;
  border-top: 3px solid #f5c518; margin-top: 60px;
}
.footer-main {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 36px; padding: 48px 24px 32px;
}
.footer-col h4 {
  color: #fff; font-size: 19px; font-weight: 800;
  margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase;
}
.footer-col h4 span { color: #f5c518; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: 19px; color: #6b7280; transition: color .18s; }
.footer-col ul a:hover { color: #f5c518; }
.footer-col p { font-size: 19px; line-height: 1.75; }

.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #ffe566, #f5c518);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #0a0a0a; font-weight: 900; flex-shrink: 0;
}
.footer-logo-wrap span {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem; color: #fff; font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 20px 24px; text-align: center;
  font-size: 17px; color: #4b5563;
}
.footer-bottom a { color: #6b7280; transition: color .18s; }
.footer-bottom a:hover { color: #f5c518; }

/* ============================================================
   RESPONSIVE — MOBİL
   ============================================================ */

/* Tablet */
@media (max-width: 900px) {
  #main-nav > a,
  #main-nav > .nav-dropdown > a { font-size: 17px; padding: 8px 9px; }
}

/* Mobil — 768px */
@media (max-width: 768px) {
  html { font-size: 15px; }
  body { font-size: 15px; }

  #main-nav  { display: none; }
  .hamburger { display: flex; }

  .header-inner { padding: 0 16px; height: 58px; }
  .logo-icon    { width: 36px; height: 36px; font-size: 17px; }
  .logo-text    { font-size: 1rem; }
  .logo-text small { font-size: .62rem; }

  .hero       { padding: 36px 16px 30px; }
  .hero::before { font-size: 160px; }
  .hero h1    { font-size: clamp(1.5rem, 6vw, 2rem); }
  .hero p     { font-size: 15px; }
  .hero-stats { gap: 16px; }
  .hero-stat strong { font-size: 1.4rem; }

  .section    { padding: 32px 16px; }
  .section-title { font-size: 1.3rem; }
  .section-desc  { font-size: 15px; margin-bottom: 18px; }

  .symbol-grid { grid-template-columns: repeat(auto-fill, minmax(85px, 1fr)); gap: 8px; }
  .symbol-card { padding: 13px 6px 9px; }
  .symbol-char { font-size: 1.65rem; }

  .tab-list   { gap: 3px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0; }
  .tab-btn    { padding: 7px 11px; font-size: 14px; flex-shrink: 0; }

  .html-table { font-size: 14px; }
  .html-table td, .html-table th { padding: 8px 10px; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 22px; padding: 32px 16px 24px; }
  .footer-col h4 { font-size: 16px; }
  .footer-col ul a { font-size: 16px; }
  .footer-col p    { font-size: 16px; }

  .article-body h2 { font-size: 1.25rem; }
  .article-body p  { font-size: 15px; }
  .article-body ul li { font-size: 15px; }

  .faq-q { font-size: 15px; padding: 13px 15px; }
  .faq-a { font-size: 15px; }

  .related-link { font-size: 14px; padding: 7px 13px; }

  .info-card  { padding: 18px; }
  .info-card h3 { font-size: 15px; }
  .info-card p  { font-size: 14px; }

  .search-section { padding: 10px 16px; }
  .search-input   { font-size: 15px; }
  .search-submit  { font-size: 15px; padding: 10px 14px; }

  .nick-generator { padding: 22px 18px; }
  .nick-generator h3 { font-size: 1.05rem; }
  .nick-generator p  { font-size: 14px; }
  .nick-input  { font-size: 15px; }
  .nick-btn    { font-size: 15px; padding: 10px 18px; }
  .nick-item   { font-size: 14px; }

  #back-top   { width: 42px; height: 42px; font-size: 1rem; bottom: 16px; right: 16px; }
  #toast      { font-size: 14px; padding: 9px 18px; bottom: 16px; max-width: calc(100vw - 32px); }
}

/* Küçük mobil — 480px */
@media (max-width: 480px) {
  html { font-size: 14px; }

  .header-inner { padding: 0 12px; }
  .logo-text    { display: none; }

  .footer-main  { grid-template-columns: 1fr; }
  .nick-input-wrap { flex-direction: column; }
  .hero-stats   { gap: 12px; }
  .search-form  { flex-direction: column; }
  .search-input { width: 100%; }
  .tab-list     { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .symbol-grid  { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 7px; }
  .symbol-char  { font-size: 1.5rem; }

  .hero::before { display: none; }
}

@media print {
  #site-header, #site-footer, .copy-btn, #back-top, #toast, .search-section { display: none; }
  .symbol-card { border: 1px solid #ccc; page-break-inside: avoid; }
}


/* ============================================================
   FINAL STABLE LAYER — Mobil taşma ve menü düzeltmeleri
   ============================================================ */
html, body {
  overflow-x: hidden;
  width: 100%;
}
body.menu-open { overflow: hidden; }
main, section, header, footer, div {
  max-width: 100%;
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
}
.hamburger:hover,
.hamburger:focus-visible {
  background: rgba(255,255,255,.1);
}
.hamburger span,
.hamburger.open span {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  transform: none !important;
  opacity: 1 !important;
}
.grid-menu-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
}
.grid-menu-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: #f3f4f6;
  box-shadow:
    7px 0 0 #f3f4f6,
    14px 0 0 #f3f4f6,
    0 7px 0 #f3f4f6,
    7px 7px 0 #f3f4f6,
    14px 7px 0 #f3f4f6,
    0 14px 0 #f3f4f6,
    7px 14px 0 #f3f4f6,
    14px 14px 0 #f3f4f6;
}
.hamburger.open .grid-menu-icon::before {
  background: #f5c518;
  box-shadow:
    7px 0 0 #f5c518,
    14px 0 0 #f5c518,
    0 7px 0 #f5c518,
    7px 7px 0 #f5c518,
    14px 7px 0 #f5c518,
    0 14px 0 #f5c518,
    7px 14px 0 #f5c518,
    14px 14px 0 #f5c518;
}

#mobile-nav {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 12px;
  right: 12px;
  background: rgba(24, 28, 34, .98);
  border: 1px solid rgba(245,197,24,.2);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.32);
  padding: 10px;
  z-index: 999;
}
#mobile-nav.open { display: block; }
#mobile-nav a {
  display: block;
  color: #f3f4f6;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 10px;
}
#mobile-nav a.active,
#mobile-nav a:hover,
#mobile-nav a:focus-visible {
  background: rgba(245,197,24,.1);
  color: #f5c518;
}
#mobile-nav .mob-group-title {
  display: block;
  padding: 10px 14px 6px;
  color: #8d96a3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero {
  min-height: 0;
  border-radius: 0 0 28px 28px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 22% 24%, rgba(255,255,255,.16) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 18%, rgba(245,197,24,.22) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 68%, rgba(255,255,255,.12) 0 1.5px, transparent 3px),
    radial-gradient(circle at 12% 78%, rgba(245,197,24,.16) 0 2px, transparent 4px);
  pointer-events: none;
  opacity: .8;
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  max-width: 100%;
  line-height: 1.4;
  text-align: center;
  justify-content: center;
  white-space: normal;
}
.hero p,
.section-desc,
.article-body p,
.article-body ul li,
.footer-note {
  font-size: 17px;
}

.symbol-grid,
.info-grid,
.footer-main {
  width: 100%;
}
.symbol-card {
  min-width: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.symbol-name {
  word-break: break-word;
  line-height: 1.3;
}
.search-input,
.search-submit,
.nick-input,
.nick-btn,
.related-link,
.copy-code-btn {
  max-width: 100%;
}

#site-footer {
  margin-top: 54px;
}
.footer-main {
  display: grid;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-note {
  margin-top: 6px;
  color: #7c8591;
}

@media (max-width: 1020px) {
  #main-nav > a,
  #main-nav > .nav-dropdown > a {
    font-size: 14px;
    padding: 9px 8px;
  }
}

@media (max-width: 768px) {
  #main-nav { display: none !important; }
  .hamburger { display: inline-flex; }

  .header-inner {
    height: 58px;
    padding: 0 12px;
    gap: 8px;
  }
  .logo-wrap {
    min-width: 0;
    max-width: calc(100% - 52px);
  }
  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
  .logo-text {
    font-size: .96rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .logo-text small {
    display: none;
  }

  .hero {
    padding: 32px 14px 28px;
    border-radius: 0 0 22px 22px;
  }
  .hero::before { display: none; }
  .hero h1 {
    font-size: clamp(1.38rem, 6vw, 1.95rem);
    line-height: 1.2;
    word-break: break-word;
  }
  .hero p {
    max-width: 100%;
  }
  .hero-stats {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .hero-stat {
    min-width: 30%;
    flex: 1 1 30%;
  }
  .hero-stat strong { font-size: 1.2rem; }

  .search-section { padding: 10px 14px; }
  .search-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 100%;
  }
  .search-submit { width: 100%; }

  .section { padding: 30px 14px; }

  .symbol-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .symbol-card { padding: 12px 6px 10px; }
  .symbol-char { font-size: 1.4rem; }
  .symbol-name {
    font-size: .72rem;
    min-height: 34px;
  }
  .copy-btn { font-size: .72rem; }

  .tab-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .html-table { font-size: 14px; }
  .html-table td, .html-table th { padding: 8px 9px; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 14px 22px;
  }
  .footer-col h4,
  .footer-col ul a,
  .footer-col p,
  .footer-bottom,
  .footer-note {
    font-size: 15px;
  }

  .article-body h2 { font-size: 1.22rem; }
  .article-body p,
  .article-body ul li { font-size: 15px; }

  .faq-q { font-size: 15px; padding: 13px 14px; }
  .faq-a { font-size: 15px; }

  .nick-input-wrap { flex-direction: column; }
  .nick-btn { width: 100%; }
  #toast {
    max-width: calc(100vw - 24px);
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .logo-text { font-size: .9rem; }
  .symbol-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* compact footer */
.footer-bottom-compact{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 22px;border-top:1px solid rgba(255,255,255,.08)}
.footer-inline-links{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:14px}
.footer-inline-links a{color:#cfd5de;text-decoration:none}
.footer-inline-links a:hover{color:#f5c518}
@media (max-width:768px){
  .footer-bottom-compact{flex-direction:column;align-items:flex-start;padding:18px 16px}
  .footer-inline-links{gap:10px 14px}
}


/* ============================================================
   MOBILE MENU HARD FIX — cache kırımı + görünür ızgara menü
   ============================================================ */
#site-header { position: sticky; top: 0; z-index: 2000; }
.header-inner { position: relative; }
.hamburger .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.hamburger .grid-menu-icon {
  width: 22px;
  height: 22px;
  display: block;
  fill: #f3f4f6;
  flex: 0 0 22px;
}
.hamburger.is-open .grid-menu-icon { fill: #f5c518; }
.hamburger::before,
.hamburger::after,
.hamburger span::before,
.hamburger span::after { content: none !important; }
#mobile-nav {
  display: none !important;
  position: fixed;
  top: 66px;
  left: 12px;
  right: 12px;
  max-height: calc(100vh - 82px);
  overflow: auto;
  overscroll-behavior: contain;
}
#mobile-nav.is-open { display: block !important; }
@media (max-width: 768px) {
  #main-nav { display: none !important; }
  .hamburger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .logo-wrap { max-width: calc(100% - 60px); }
}
@media (max-width: 480px) {
  #mobile-nav {
    top: 60px;
    left: 10px;
    right: 10px;
    max-height: calc(100vh - 72px);
  }
  .hamburger {
    width: 42px;
    height: 42px;
  }
}


/* ============================================================
   FINAL MENU OVERRIDE — tek sınıf değil, iki sınıfı da destekle
   ============================================================ */
.hamburger.open .grid-menu-icon,
.hamburger.is-open .grid-menu-icon{fill:#f5c518 !important}
#mobile-nav{display:none !important}
#mobile-nav.open,
#mobile-nav.is-open{display:block !important}
@media (max-width:768px){
  .hamburger{display:inline-flex !important;visibility:visible !important;opacity:1 !important}
  #main-nav{display:none !important}
  #mobile-nav{
    position:fixed !important;
    top:60px !important;
    left:10px !important;
    right:10px !important;
    z-index:3000 !important;
    background:rgba(24,28,34,.98) !important;
    border:1px solid rgba(245,197,24,.22) !important;
    border-radius:16px !important;
    box-shadow:0 16px 40px rgba(0,0,0,.35) !important;
    padding:10px !important;
    max-height:calc(100vh - 72px) !important;
    overflow:auto !important;
  }
}
