:root {
  --cmd-bg: #070708; --cmd-bg-warm: #0d0809; --cmd-surface: #101013;
  --cmd-surface-strong: #17171b; --cmd-red: #c92b26; --cmd-red-bright: #f0443c;
  --cmd-red-dark: #651512; --cmd-ink: #f3ece8; --cmd-muted: #aaa1a0;
  --cmd-line: rgba(244,232,226,.16); --cmd-line-red: rgba(240,68,60,.36);
  --cmd-focus: #ff766f; --cmd-radius-sm: 8px; --cmd-radius: 14px;
  --cmd-shadow: 0 22px 70px rgba(0,0,0,.42);
  --cmd-font-body: "Space Grotesk", Inter, system-ui, sans-serif;
  --cmd-font-display: "Space Grotesk", Inter, system-ui, sans-serif;
}
.theme-command { min-height:100vh; margin:0; color:var(--cmd-ink); background:radial-gradient(circle at 52% -10%, rgba(201,43,38,.16), transparent 34rem), var(--cmd-bg); font-family:var(--cmd-font-body); }
.theme-command .command-panel { border: 1px solid var(--cmd-line); border-radius: var(--cmd-radius); background: linear-gradient(155deg, rgba(23,23,27,.96), rgba(9,9,11,.96)); box-shadow: var(--cmd-shadow); }
.theme-command .command-button { display:inline-flex; align-items:center; justify-content:center; gap:.7rem; min-height:48px; padding:.65rem 1rem; border:1px solid var(--cmd-line); border-radius:var(--cmd-radius-sm); background:linear-gradient(155deg,#1b1b20,#0d0d10); box-shadow:0 5px 0 #020203; color:var(--cmd-ink); font-weight:700; transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease; }
.theme-command .command-button--primary { border-color:var(--cmd-red-bright); background:linear-gradient(155deg,var(--cmd-red-bright),#8c1915); box-shadow:0 5px 0 #4b0d0b,0 0 24px rgba(240,68,60,.18); }
.theme-command .command-button:hover { transform:translateY(-2px); }.theme-command .command-button:active { transform:translateY(3px); box-shadow:0 1px 0 #020203; }.theme-command :focus-visible { outline:3px solid var(--cmd-focus); outline-offset:3px; }
.theme-command .command-header { min-height:70px; border-bottom:1px solid var(--cmd-line); background:rgba(7,7,8,.94); backdrop-filter:blur(18px); }
.theme-command .command-header .nav-bar { display:flex; align-items:center; gap:clamp(.75rem,2vw,1.5rem); min-height:70px; padding-inline:clamp(18px,3vw,42px); }
.theme-command .command-brand { gap:.7rem; color:var(--cmd-red-bright); font-family:var(--cmd-font-body); font-size:1.18rem; font-weight:700; letter-spacing:-.03em; text-decoration:none; text-transform:uppercase; }
.theme-command .command-brand svg { filter:grayscale(1) sepia(1) saturate(8) hue-rotate(315deg); }
.theme-command .command-brand span { color:var(--cmd-ink); }
.theme-command .command-brand__mark { width:30px; height:30px; color:var(--cmd-red-bright); }
.theme-command .command-nav { font-family:var(--cmd-font-body); }
.theme-command .command-nav .nav-links { gap:clamp(.4rem,1vw,1rem); }
.theme-command .command-nav a { padding:.65rem .7rem; border-radius:8px; color:var(--cmd-ink); font-family:var(--cmd-font-body); font-size:.82rem; font-weight:650; letter-spacing:-.01em; text-transform:none; }
.theme-command .command-nav a:hover,.theme-command .command-nav a[aria-current="page"] { color:#fff; background:rgba(240,68,60,.09); }
.theme-command .language-menu { margin-inline-start:auto; position:relative; z-index:5; }.theme-command .language-menu summary { display:flex; gap:.35rem; align-items:center; justify-content:center; min-width:74px; min-height:42px; cursor:pointer; list-style:none; padding:.45rem .6rem; border:1px solid var(--cmd-line-red); border-radius:var(--cmd-radius-sm); font-family:var(--cmd-font-body); font-size:.78rem; font-weight:750; }.theme-command .language-menu summary::-webkit-details-marker { display:none; }.theme-command .language-options { position:absolute; inset-inline-end:0; min-width:10.5rem; padding:.35rem; border:1px solid var(--cmd-line); background:var(--cmd-surface-strong); }.theme-command .language-options a { display:block; padding:.45rem .55rem; color:var(--cmd-ink); }
.theme-command .command-footer { margin-top:0; border-top:1px solid var(--cmd-line); background:#09090b; }.theme-command .footer-socials { display:flex; flex-wrap:wrap; gap:.7rem; padding:0; list-style:none; }.theme-command .skip-link { position:fixed; top:12px; inset-inline-start:12px; z-index:999; padding:.55rem .75rem; color:var(--cmd-bg); background:var(--cmd-ink); transform:translateY(-150%); }.theme-command .skip-link:focus { transform:translateY(0); }
.theme-command .footer-platforms { width:min(100%,1160px); margin:0 auto 1.4rem; padding:1.5rem clamp(18px,4vw,40px) 0; display:flex; flex-wrap:wrap; gap:.65rem; align-items:center; }
.theme-command .footer-platforms a { position:relative; display:inline-grid; place-items:center; width:46px; height:46px; padding:0; border:1px solid var(--cmd-line); border-radius:10px; background:linear-gradient(155deg,rgba(27,27,32,.96),rgba(10,10,12,.96)); box-shadow:0 5px 0 #020203; transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease; }
.theme-command .footer-platforms a:hover { transform:translateY(-2px); border-color:var(--cmd-red-bright); box-shadow:0 7px 0 #020203,0 0 22px rgba(240,68,60,.2); }
.theme-command .footer-platforms a:active { transform:translateY(3px); box-shadow:0 1px 0 #020203; }
.theme-command .footer-platforms img { display:block; width:25px; height:25px; object-fit:contain; }
[dir="rtl"] .theme-command { direction:rtl; text-align:right; }
[dir="rtl"] .theme-command .nav-bar,[dir="rtl"] .theme-command .nav-links,[dir="rtl"] .theme-command .hero-actions,[dir="rtl"] .theme-command .footer-grid { direction:rtl; }
[dir="rtl"] .theme-command .command-brand,[dir="rtl"] .theme-command .troy-stage,[dir="rtl"] .theme-command .troy-tools,[dir="rtl"] .theme-command .footer-platforms,[dir="rtl"] .theme-command a[href^="mailto:"],[dir="rtl"] .theme-command code { direction:ltr; }
[dir="rtl"] .theme-command .language-options { text-align:right; }
[dir="rtl"] .theme-command .language-options a { flex-direction:row-reverse; }

.theme-command .language-flag { width:20px; height:14px; flex:0 0 auto; display:block; border-radius:2px; object-fit:cover; box-shadow:0 0 0 1px rgba(255,255,255,.2),0 2px 7px rgba(0,0,0,.35); }
.theme-command .language-options a { display:flex; align-items:center; gap:.55rem; }
[dir="rtl"] .home-v3 .troy-intro {
  left: auto;
  right: -12%;
  direction: rtl;
  text-align: right;
  border-radius: 14px 14px 14px 3px;
  transform-origin: 18% 100%;
}
@media (max-width:760px) {
  [dir="rtl"] .home-v3 .troy-intro { right: 0; }
}
@media (max-width:820px) { .theme-command .language-menu { order:2; margin-inline-start:auto; }.theme-command .command-nav { order:3; } }
@media (prefers-reduced-motion:reduce) { .theme-command .command-button { transition:none; }.theme-command .command-button:hover { transform:none; } }

/* ---------- Kenar reklam raylari (her yanda 2 yuva, toplam 4) ----------
   v2/v3 duzen dosyalari eski raylari display:none ile gizliyor; burada
   body.theme-command secicisiyle (daha yuksek ozgunluk) genis ekranlarda
   geri aciyoruz. Raylar position:fixed oldugu icin yeni tasarimin akisina
   dokunmaz; icerige yer acmak icin ayni kirilimda .page-rails'e yan bosluk
   veriyoruz. 1760px altinda raylar tamamen gizli, tasarim birebir ayni. */

@media (min-width: 1760px) {
  body.theme-command .page-rails { padding-inline: 332px; }

  body.theme-command .ad-rail {
    display: flex;
    position: absolute;
    top: 92px;
    z-index: 40;
    width: 300px;
  }
  body.theme-command .ad-rail-left { left: 16px; }
  body.theme-command .ad-rail-right { right: 16px; }

  body.theme-command .ad-rail-sticky {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    height: auto;
    padding: 0;
    border: 0;
    background: none;
  }

  body.theme-command .ad-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: none;
    height: 250px;
    border: 1px dashed rgba(240, 68, 60, 0.35);
    border-radius: 10px;
    background:
      linear-gradient(rgba(240, 68, 60, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(240, 68, 60, 0.04) 1px, transparent 1px),
      #100a0a;
    background-size: 24px 24px, 24px 24px, auto;
  }

  body.theme-command .ad-slot .ad-slot-tag {
    color: #9a8f8c;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  body.theme-command .ad-slot .ad-slot-dim {
    color: #5f5755;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  body.theme-command .ad-slot--tall { height: 600px; }
}
