/*
Theme Name: CODUM.TR VIP Panel
Theme URI: https://codum.tr
Author: CODUM.TR
Description: Twitter, Instagram, Threads, Tumblr ve Netflix VIP otomasyon panelleri. Scriptler tema içinde hazır, renkler Customizer'dan yönetilir.
Version: 2.0.0
License: GPL v2
Text Domain: codumtr
*/

:root {
  --bg-body: #0b0d0e;
  --bg-sidebar: #0d1117;
  --bg-card: #0d1117;
  --bg-code: #050709;
  --bg-input: #080b10;
  --border-main: #21262d;
  --border-light: #30363d;
  --text-primary: #c9d1d9;
  --text-heading: #f0f6fc;
  --text-muted: #8b949e;
  --accent: #20e371;
  --accent-hover: #00ff66;
  --danger: #f85149;
  --danger-soft: #ff7b72;
  --warning: #ffd600;
  --info: #00ffff;
  --pink: #ff2a8d;
  --purple: #b388ff;
  --netflix: #ff0040;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, SFMono-Regular, Consolas, monospace; }

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
}

/* MARQUEE */
.top-marquee-container {
  background-color: #000;
  border-bottom: 1px solid var(--border-main);
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  height: 32px;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  position: relative;
}
@keyframes marquee-scan {
  0%   { transform: translateX(-100%) skewX(-20deg); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(2000px) skewX(-20deg); opacity: 0; }
}
.top-marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(32, 227, 113, 0.08) 30%,
    rgba(32, 227, 113, 0.28) 50%,
    rgba(32, 227, 113, 0.08) 70%,
    transparent 100%
  );
  animation: marquee-scan 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.top-marquee-wrapper {
  display: flex;
  width: max-content;
  animation: infiniteMarquee 32s linear infinite;
}
.top-marquee-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
}
.marquee-item {
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
@keyframes infiniteMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ANA DÜZEN */
.app-container {
  display: flex;
  flex: 1;
  height: calc(100vh - 32px);
  overflow: hidden;
}

/* SOL MENÜ */
.sidebar-left {
  width: 220px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-main);
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  flex-shrink: 0;
}
.brand-header {
  padding: 0 16px 16px 16px;
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
  display: block;
  text-decoration: none;
}
.home-3d-btn {
  display: block;
  margin: 0 14px 12px;
  text-decoration: none !important;
  perspective: 400px;
  cursor: pointer;
}
.home-3d-face {
  position: relative;
  background: linear-gradient(145deg, #131a14, #0d1410);
  border: 1.5px solid rgba(32, 227, 113, 0.35);
  border-radius: 10px;
  padding: 7px 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  box-shadow:
    0 0 0 1px rgba(32, 227, 113, 0.06),
    0 3px 10px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(32, 227, 113, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.12s ease, box-shadow 0.2s, border-color 0.2s;
  will-change: transform;
  overflow: hidden;
}
.home-3d-shine {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
  transition: background 0.08s;
  z-index: 1;
}
.home-3d-icon {
  width: 18px;
  height: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 3px rgba(32, 227, 113, 0.55));
  transition: filter 0.2s;
}
.home-3d-label {
  font-size: 11px;
  font-weight: 800;
  color: #20e371;
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(32, 227, 113, 0.5);
  position: relative;
  z-index: 2;
}
.home-3d-btn:hover .home-3d-face {
  border-color: rgba(32, 227, 113, 0.65);
  box-shadow:
    0 0 0 1px rgba(32, 227, 113, 0.15),
    0 6px 20px rgba(0, 0, 0, 0.5),
    0 0 14px rgba(32, 227, 113, 0.12),
    inset 0 1px 0 rgba(32, 227, 113, 0.15);
}
.home-3d-btn:hover .home-3d-icon {
  filter: drop-shadow(0 0 6px rgba(32, 227, 113, 0.9));
}
.menu-section-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  padding: 8px 16px 6px 16px;
  text-transform: uppercase;
}
.menu-item-btn {
  width: calc(100% - 16px);
  margin: 2px 8px;
  padding: 8px 10px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}
.menu-item-btn:hover, .menu-item-btn.active {
  background-color: #161b22;
  color: var(--accent);
}
.menu-item-btn svg { fill: currentColor; flex-shrink: 0; }

.social-summary {
  margin: 20px 16px 0;
  padding-top: 14px;
  border-top: 1px solid var(--border-main);
}
.social-summary-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.social-name-list {
  display: grid;
  gap: 8px;
}
.social-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
}

.module-description {
  margin-bottom: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 13px;
}
.guide-block {
  margin-bottom: 18px;
  display: grid;
  gap: 14px;
}

.code-summary {
  background: rgba(32, 227, 113, 0.05);
  border: 1px solid rgba(32, 227, 113, 0.14);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px;
}
.code-summary h3 {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--accent);
}
.code-summary p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
}

.share-block {
  background: rgba(7, 10, 15, 0.95);
  border: 1px solid rgba(32, 227, 113, 0.14);
  border-radius: 12px;
  padding: 14px;
}
.share-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: #0b1220;
  color: #1da1f2;
  border: 1px solid rgba(29, 161, 242, 0.2);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.share-btn:hover {
  background: rgba(29, 161, 242, 0.08);
  transform: translateY(-1px);
}

/* ORTA PANEL */
.main-content {
  flex: 1;
  background-color: #010409;
  padding: 16px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.home-overview {
  background: rgba(13, 17, 23, 0.9);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
}
.home-hero {
  text-align: center;
  padding: 32px 20px 24px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}
.home-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(32, 227, 113, 0.08);
  border: 1px solid rgba(32, 227, 113, 0.2);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
  letter-spacing: 0.4px;
}
@keyframes hero-code-reveal {
  0% {
    opacity: 0;
    letter-spacing: 12px;
    color: #20e371;
    text-shadow: 0 0 12px rgba(32, 227, 113, 0.9), 0 0 24px rgba(32, 227, 113, 0.5);
  }
  35% {
    opacity: 1;
    letter-spacing: 6px;
    color: #20e371;
    text-shadow: 0 0 10px rgba(32, 227, 113, 0.7), 0 0 20px rgba(32, 227, 113, 0.3);
  }
  70% {
    letter-spacing: 2px;
    color: #a8d8ff;
    text-shadow: 0 0 6px rgba(32, 227, 113, 0.4);
  }
  100% {
    opacity: 1;
    letter-spacing: -1px;
    color: var(--text-heading);
    text-shadow: none;
  }
}
@keyframes hero-rainbow-color {
  0% { color: #20e371; text-shadow: 0 0 12px rgba(32, 227, 113, 0.6); }
  6.67% { color: #00ff66; text-shadow: 0 0 12px rgba(0, 255, 102, 0.6); }
  13.33% { color: #00ffff; text-shadow: 0 0 12px rgba(0, 255, 255, 0.6); }
  20% { color: #0099ff; text-shadow: 0 0 12px rgba(0, 153, 255, 0.6); }
  26.67% { color: #5b7cfa; text-shadow: 0 0 12px rgba(91, 124, 250, 0.6); }
  33.33% { color: #9775fa; text-shadow: 0 0 12px rgba(151, 117, 250, 0.6); }
  40% { color: #d946ef; text-shadow: 0 0 12px rgba(217, 70, 239, 0.6); }
  46.67% { color: #ff007f; text-shadow: 0 0 12px rgba(255, 0, 127, 0.6); }
  53.33% { color: #ff0040; text-shadow: 0 0 12px rgba(255, 0, 64, 0.6); }
  60% { color: #ff6b35; text-shadow: 0 0 12px rgba(255, 107, 53, 0.6); }
  66.67% { color: #ffa500; text-shadow: 0 0 12px rgba(255, 165, 0, 0.6); }
  73.33% { color: #ffdd00; text-shadow: 0 0 12px rgba(255, 221, 0, 0.6); }
  80% { color: #00ff00; text-shadow: 0 0 12px rgba(0, 255, 0, 0.6); }
  86.67% { color: #ff1493; text-shadow: 0 0 12px rgba(255, 20, 147, 0.6); }
  93.33% { color: #00bfff; text-shadow: 0 0 12px rgba(0, 191, 255, 0.6); }
  100% { color: #20e371; text-shadow: 0 0 12px rgba(32, 227, 113, 0.6); }
}
.home-hero-title {
  margin: 0 0 14px;
  font-size: 36px;
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -1px;
  line-height: 1.1;
  animation: hero-rainbow-color 3s ease-in-out infinite;
  text-align: center;
}
.home-hero-title span {
  color: var(--accent);
}
.home-hero-sub {
  max-width: 540px;
  margin: 0 auto 22px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
  text-align: center !important;
}
.home-hero-stats {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.home-stat span {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}
.home-stat small {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.home-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.home-section-title::before, .home-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-light);
}
.home-overview p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
}
.platform-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  padding: 0 16px 16px;
}
.platform-showcase-card {
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1018;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.platform-showcase-card:visited {
  color: var(--text-primary);
}
.platform-showcase-card * {
  text-decoration: none;
}
.platform-showcase-card:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 227, 113, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.platform-showcase-thumb {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(32, 227, 113, 0.05), rgba(13, 17, 23, 0.9));
}
.platform-showcase-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
}
.platform-showcase-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.platform-showcase-code {
  background: #070b12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px;
  display: grid;
  gap: 5px;
}
.platform-showcase-code span {
  font-size: 10px;
  color: #88f2b6;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}
.platform-showcase-meta {
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
}
.platform-showcase-meta strong {
  font-size: 12px;
  font-weight: 700;
}
.platform-showcase-meta small {
  font-size: 10px;
  color: var(--text-muted);
}
.display-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
}
.display-card h2 {
  font-size: 18px;
  color: var(--text-heading);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-main);
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.guide-step {
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 12.5px;
}
.guide-step h4 {
  color: var(--accent);
  font-size: 13.5px;
  margin-bottom: 4px;
}
.guide-step a,
.alert-box a,
.display-card .guide-step a,
.display-card .alert-box a {
  color: #00ff66 !important;
  font-weight: 700;
  text-decoration: underline;
}
.guide-step a:hover,
.alert-box a:hover,
.display-card .guide-step a:hover,
.display-card .alert-box a:hover {
  color: #7ee787 !important;
}
@keyframes alert-scan {
  0%   { transform: translateX(-100%) skewX(-15deg); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(400%) skewX(-15deg); opacity: 0; }
}
.alert-box {
  background-color: rgba(248, 81, 73, 0.12);
  border: 1.5px solid var(--danger);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 18px;
  color: var(--danger-soft);
  font-size: 12.5px;
  line-height: 1.6;
  position: relative;
  overflow: hidden;
}
.alert-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(248, 81, 73, 0.18) 40%,
    rgba(255, 160, 140, 0.22) 50%,
    rgba(248, 81, 73, 0.18) 60%,
    transparent 100%
  );
  animation: alert-scan 3.5s ease-in-out infinite;
  pointer-events: none;
}
.alert-box.alert-danger {
  background-color: rgba(248, 81, 73, 0.18);
  border-color: rgba(248, 81, 73, 0.75);
  color: #ffd7d7;
}
.code-note-window {
  background: rgba(0, 255, 102, 0.06);
  border: 1px solid rgba(0, 255, 102, 0.2);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
}
.code-note-title {
  color: #b7ffb8;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.code-note {
  background-color: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.18);
  color: #d5ffca;
}
.code-box-wrapper { 
  position: relative; 
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.copy-btn {
  position: static;
  align-self: flex-start;
  background-color: #21262d;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
  margin-bottom: 8px;
}
.copy-btn:hover {
  background-color: var(--border-light);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}
.code-box {
  background-color: var(--bg-code);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 14px;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 11px;
  line-height: 1.45;
  max-height: 520px;
  overflow: auto;
  white-space: pre;
  word-break: normal;
  overflow-wrap: normal;
  user-select: text;
  color: #7ee787;
}
.hidden-code {
  display: none;
}
.right-code-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  align-items: center;
}

.right-code-title {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.right-code-subtitle {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.6;
}

.code-actions { display: flex; gap: 10px; margin-bottom: 10px; }
.code-actions .action-btn { background: #0b0f12; color: var(--text-primary); border: 1px solid rgba(255,255,255,0.06); padding: 8px 12px; border-radius: 8px; font-weight: 700; cursor: pointer; text-decoration: none; }
.code-actions .action-btn:hover { background: rgba(255,255,255,0.02); }
.code-center-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
  margin-top: 12px;
}

.code-full-wrapper {
  background: rgba(7, 10, 15, 0.96);
  border: 1px solid rgba(0, 255, 102, 0.14);
  border-radius: 12px;
  padding: 14px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.code-full-wrapper .copy-btn {
  position: static;
  width: auto;
  align-self: flex-start;
  margin-bottom: 0;
}

.code-full-box {
  max-height: 520px;
  overflow: auto;
  white-space: pre;
  word-break: normal;
  overflow-wrap: normal;
  background-color: transparent;
}

/* SAĞ PANEL */
.sidebar-right {
  width: 280px;
  background-color: var(--bg-sidebar);
  border-left: 1px solid var(--border-main);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  overflow-y: auto;
}
.right-panel-header {
  padding: 12px;
  border-bottom: 1px solid var(--border-main);
  color: var(--accent);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #161b22;
}
.right-panel-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-height: 0;
}
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.features-list li::before {
  content: "✔";
  color: var(--accent);
}
.empty-state-right {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.6;
  border: 1px dashed var(--border-light);
  padding: 16px;
  border-radius: 6px;
  text-align: center;
}

/* PLATFORM RENKLERİ */
.menu-item-btn.platform-netflix {
  color: var(--netflix);
}

/* VERSİYON BADGE */
.script-version {
  display: inline-block;
  background: #0c2b1a;
  color: var(--accent-hover);
  border: 1px solid var(--accent-hover);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-family: monospace;
  font-weight: bold;
}

/* TABLET - 900px ve altı */
@media screen and (max-width: 900px) {
  body { height: auto; overflow-y: auto; }
  .app-container { flex-direction: column; height: auto; overflow: visible; }
  .sidebar-left { width: 100%; border-right: none; border-bottom: 1px solid var(--border-main); padding: 15px; }
  .sidebar-left h3 { font-size: 14px; margin-bottom: 12px; }
  .sidebar-left nav { display: flex; flex-wrap: wrap; gap: 8px; }
  .menu-item-btn { width: auto; flex: 1; min-width: 85px; padding: 10px 12px; font-size: 13px; }
  .main-content { overflow-y: visible; padding: 15px; }
  .sidebar-right { width: 100%; border-left: none; border-top: 1px solid var(--border-main); padding: 15px; }
  .code-box { max-height: 360px; font-size: 11px; }
  .home-hero-title { font-size: 42px; }
  .home-hero-sub { font-size: 14px; }
  .code-summary { margin-bottom: 15px; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
  .alert-social-media { padding: 15px; gap: 10px; }
}

/* MOBİL - 768px ve altı */
@media screen and (max-width: 768px) {
  * { font-size: 14px; }
  body { height: auto; overflow-y: auto; }
  .app-container { flex-direction: column; height: auto; }
  .top-marquee-container { height: 40px; }
  .marquee-text { font-size: 12px; }
  
  .sidebar-left { width: 100%; border-right: none; border-bottom: 1px solid var(--border-main); padding: 12px; max-height: none; }
  .sidebar-left h3 { font-size: 13px; margin-bottom: 10px; }
  .sidebar-left nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .menu-item-btn { width: 100%; padding: 10px 8px; font-size: 12px; }
  
  .main-content { width: 100%; padding: 12px; overflow-y: visible; margin-right: 0; }
  .home-hero-title { font-size: 32px; margin: 20px 0 10px; }
  .home-hero-sub { font-size: 13px; line-height: 1.5; }
  
  .code-center-card { padding: 12px; margin-bottom: 15px; }
  .right-code-title { font-size: 11px; }
  .right-code-subtitle { font-size: 10px; }
  .code-box { max-height: 300px; font-size: 10px; padding: 10px; }
  .copy-btn { padding: 8px 12px; font-size: 12px; }
  
  .sidebar-right { width: 100%; border-left: none; border-top: 1px solid var(--border-main); padding: 12px; }
  .right-panel-title { font-size: 14px; }
  
  .info-grid { grid-template-columns: 1fr; gap: 12px; }
  .info-card { padding: 12px; }
  .info-card-value { font-size: 24px; }
  .info-card-label { font-size: 11px; }
  
  .guide-block { padding: 12px; margin-bottom: 12px; }
  .guide-step h4 { font-size: 13px; margin-bottom: 8px; }
  .guide-step p { font-size: 12px; line-height: 1.4; }
  
  .alert-social-media { padding: 12px; gap: 8px; }
  .alert-item { padding: 10px 8px; font-size: 11px; }
  
  .code-box-wrapper { gap: 6px; }
  
  .language-selector { bottom: 15px; left: 15px; }
  .lang-toggle { width: 44px; height: 44px; }
  .lang-toggle svg { width: 18px; height: 18px; }
  .lang-menu { min-width: 130px; }
  .lang-option { padding: 10px 14px; font-size: 12px; }
}

/* MOBİL KÜÇÜK - 480px ve altı */
@media screen and (max-width: 480px) {
  * { font-size: 13px; }
  
  .top-marquee-container { height: 35px; }
  .marquee-text { font-size: 10px; }
  
  .sidebar-left nav { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .menu-item-btn { padding: 8px 6px; font-size: 11px; }
  
  .main-content { padding: 10px; }
  .home-hero-title { font-size: 26px; margin: 15px 0 8px; }
  .home-hero-sub { font-size: 12px; line-height: 1.4; }
  
  .code-center-card { padding: 10px; }
  .right-code-title { font-size: 10px; }
  .right-code-subtitle { font-size: 9px; }
  .code-box { max-height: 250px; font-size: 9px; padding: 8px; line-height: 1.3; }
  .copy-btn { padding: 7px 10px; font-size: 11px; }
  
  .info-grid { gap: 10px; }
  .info-card { padding: 10px; }
  .info-card-value { font-size: 20px; }
  .info-card-label { font-size: 10px; }
  
  .guide-step h4 { font-size: 12px; margin-bottom: 6px; }
  .guide-step p { font-size: 11px; line-height: 1.3; }
  
  .alert-social-media { padding: 10px; gap: 6px; }
  .alert-item { padding: 8px 6px; font-size: 10px; }
  
  .language-selector { bottom: 12px; left: 12px; }
  .lang-toggle { width: 40px; height: 40px; }
  .lang-toggle svg { width: 16px; height: 16px; }
  .lang-menu { min-width: 120px; bottom: 50px; }
  .lang-option { padding: 8px 12px; font-size: 11px; }
}

/* DİL SEÇİCİ */
.language-selector {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
}
.lang-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(32, 227, 113, 0.15), rgba(32, 227, 113, 0.05));
  border: 1.5px solid rgba(32, 227, 113, 0.4);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 0;
}
.lang-toggle:hover {
  background: linear-gradient(135deg, rgba(32, 227, 113, 0.25), rgba(32, 227, 113, 0.1));
  border-color: rgba(32, 227, 113, 0.7);
  box-shadow: 0 6px 20px rgba(32, 227, 113, 0.15);
  transform: scale(1.08);
}
.lang-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}
.lang-menu {
  position: absolute;
  bottom: 62px;
  left: 0;
  background: rgba(13, 17, 23, 0.95);
  border: 1px solid rgba(32, 227, 113, 0.3);
  border-radius: 12px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  min-width: 140px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}
.lang-menu.active {
  display: flex;
}
.lang-option {
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(32, 227, 113, 0.1);
}
.lang-option:last-child {
  border-bottom: none;
}
.lang-option:hover {
  background: rgba(32, 227, 113, 0.15);
  color: var(--accent);
  padding-left: 20px;
}
.lang-option.selected {
  background: rgba(32, 227, 113, 0.2);
  color: var(--accent-hover);
}
