:root{
   
  --bg: #1b1410;       
  --bg-soft: #241a16;  
  --fg: #fff7ea;       
  --mut: #dccbbb;      

   
  --ac: #7a3e1e;      
  --ac-2: #c46b1d;     
  --leaf-1: #f4a261;   
  --leaf-2: #e76f51;   
  --leaf-3: #ff7f50;   

   
  --glow: #ffd166;
  --glow-soft: rgba(255, 209, 102, 0.45);
}

/* ------- Reset & base ------- */
*{ box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html,body{
  margin:0; padding:0;
  background:
    radial-gradient(1000px 600px at 10% -10%, #2a1d17 0%, transparent 60%),
    radial-gradient(900px 500px at 100% 0%, #22170f 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  color:var(--fg);
  font:16px/1.55 "Segoe UI", Roboto, Arial, sans-serif;
}

 
body::before{
  content:"";
  position:fixed; inset:0; pointer-events:none; z-index:0;
  background-image:
    radial-gradient(2px 2px at 20% 15%, rgba(255,255,255,.08) 0, transparent 60%),
    radial-gradient(2px 2px at 80% 10%, rgba(255,255,255,.06) 0, transparent 60%),
    radial-gradient(2px 2px at 60% 30%, rgba(255,255,255,.05) 0, transparent 60%),
    radial-gradient(2px 2px at 10% 60%, rgba(255,255,255,.05) 0, transparent 60%),
    radial-gradient(2px 2px at 90% 70%, rgba(255,255,255,.07) 0, transparent 60%);
  opacity:.55;
}

/* ------- Links ------- */
a{
  color:#ffe0a8;
  text-decoration:none;
  transition:color .18s ease, text-shadow .18s ease;
  position:relative;
}
a:hover{
  color:#fff8d6;
  text-shadow:0 0 6px rgba(255,224,168,.35);
}

/* ------- Layout ------- */
.wrap{ max-width:1200px; margin:0 auto; padding:16px; position:relative; z-index:1; }

.top{ display:flex; align-items:center; justify-content:space-between; padding:10px 0; }
.nav{ display:flex; gap:14px; flex-wrap:wrap; }

.title{
  margin:18px 0 10px;
  font-size:1.25rem; font-weight:700;
  color:#ffe9c8;
  text-shadow:0 1px 0 rgba(0,0,0,.3);
}

/* ------- Controls ------- */
.controls{
  display:flex; gap:8px; align-items:center; flex-wrap:wrap; padding:12px 0;
}
.in{
  background:#2a1f18;
  border:1px solid var(--ac);
  color:var(--fg);
  padding:9px 12px; border-radius:12px;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.in:focus{
  border-color:var(--ac-2);
  box-shadow:0 0 0 3px rgba(196,107,29,.25);
}

.btn{
  background:linear-gradient(180deg, #a45325 0%, #7a3e1e 100%);
  border:1px solid var(--ac);
  color:#fff7ea; padding:9px 14px; border-radius:12px; cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover{ transform:translateY(-1px); filter:brightness(1.08); box-shadow:0 6px 14px rgba(0,0,0,.35); }

.note{ color:var(--mut); font-size:.92rem; }

/* ------- Grid ------- */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:16px;
}

/* ------- Cards (200×200px) ------- */
.unit{
  background:#211912;
  border:1px solid rgba(122, 62, 30, .9);
  border-radius:16px;
  padding:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.35);
  transition:transform .28s cubic-bezier(.2,.6,.2,1), box-shadow .28s ease, border-color .28s ease;
  transform-style:preserve-3d;
  will-change:transform, box-shadow;
}
.unit::after{
  /* yaprak tonlarında çok hafif kenar parıltısı */
  content:"";
  position:absolute; inset:-1px; border-radius:16px; pointer-events:none;
  box-shadow:0 0 0 0 transparent;
  transition:box-shadow .28s ease;
}
.unit:hover{
  transform:scale(1.06) rotate3d(1, 1, 0, 7deg);
  box-shadow:
    0 10px 20px rgba(0,0,0,.45),
    0 0 22px var(--glow-soft);
  border-color:var(--glow);
}
.unit:hover::after{
  box-shadow:0 0 0 2px rgba(255,209,102,.6), inset 0 0 18px rgba(255,209,102,.25);
}

 
.thumb{
  width:200px; height:200px;
  object-fit:cover; display:block; margin:0 auto;
  border-radius:14px;
  box-shadow:0 1px 6px rgba(0,0,0,.25);
  transition:transform .28s ease, box-shadow .28s ease;
}
.thumb:hover{
  transform:scale(1.05);
  box-shadow:0 6px 16px rgba(0,0,0,.35);
}

 
.unit-body{ padding-top:10px; text-align:center; }
.hdr{
  display:block;
  font-weight:800;
  font-size:0.9rem;       
  letter-spacing:.3px;    
  color:#fff0d9;
  text-shadow:0 1px 0 rgba(0,0,0,.25);
  text-align:center;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;     
  max-width: 100%;       
  padding:0 4px;          
  box-sizing:border-box;
}


/* ------- Footer ------- */
.foot{
  margin-top:28px; padding-top:12px;
  border-top:1px solid rgba(122,62,30,.6);
  color:var(--mut); font-size:.9rem; text-align:center;
}

 
.badge{
  display:inline-block; padding:.25rem .5rem; border-radius:999px; font-size:.75rem; font-weight:700;
  background:linear-gradient(90deg, var(--leaf-1), var(--leaf-2));
  color:#3b240f; border:1px solid rgba(0,0,0,.15);
  box-shadow:0 2px 8px rgba(0,0,0,.25);
}

/* ------- Responsive ------- */
@media (max-width: 700px){
  .grid{ grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:12px; }
  .thumb{ width:160px; height:160px; border-radius:12px; }
  .unit{ border-radius:14px; }
}

@media (prefers-reduced-motion: reduce){
  .unit, .thumb, .btn, a{ transition:none !important; }
}

 
.adbar-top {
  max-width: 970px;
  margin: 8px auto 14px auto;
  min-height: 250px;  
  display: flex;
  align-items: center;
  justify-content: center;
}

.rail {
  position: fixed;
  top: 110px;                  
  width: 300px;
  min-height: 600px;          
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 50;
  pointer-events: auto;
}

.rail-left  { left:  8px; }
.rail-right { right: 8px; }

.ad-box {
  width: 300px;
  height: 600px;
  display: block;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}

 
@media (max-width: 1280px) {
  .rail { display: none; }
}

 
@media (max-width: 1024px) {
  .adbar-top { min-height: 90px; }
}

 
.stage-margin {
  margin-top: 10px;
}

 
.stage.is-fs{
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: var(--bg) !important;   
  z-index: 10000 !important;
  border-radius: 0 !important;
}
.stage.is-fs .frame{
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
}

 
html.is-fs, body.is-fs{ overflow: hidden !important; background: var(--bg) !important; }

 
.is-fs .rail, .is-fs .adbar-top{ display: none !important; }

 
.site-header{
  position: sticky; top:0; z-index: 200;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(27,20,16,.9), rgba(36,26,22,.7));
  border-bottom: 1px solid rgba(122,62,30,.35);
}
.site-header__inner{
  max-width:1200px; margin:0 auto; padding:10px 16px;
  display:flex; align-items:center; gap:12px;
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:900; color:#ffe9c8; }
.brand__logo{ width:28px; height:28px; border-radius:6px; object-fit:cover; }
.brand__name{ letter-spacing:.2px; }

/* desktop nav */
.menu{ margin-left:auto; display:flex; gap:14px; align-items:center; }
.menu__link{
  color:#ffe0a8; padding:8px 10px; border-radius:10px;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.menu__link:hover{ color:#fff8d6; background:#2a1f18; box-shadow:0 2px 8px rgba(0,0,0,.25); }

.menu__group{ position:relative; }
.menu__link--drop{ display:flex; align-items:center; gap:6px; background:transparent; border:0; cursor:pointer; color:#ffe0a8; }
.menu__link--drop:hover{ color:#fff8d6; }

.dropdown{
  position:absolute; top:110%; left:0; min-width:180px;
  background:#211912; border:1px solid rgba(122,62,30,.6); border-radius:12px;
  box-shadow:0 10px 20px rgba(0,0,0,.35); padding:6px; display:none;
}
.dropdown__item{ display:block; padding:8px 10px; border-radius:8px; color:#fff0d9; }
.dropdown__item:hover{ background:#2a1f18; }

/* search */
.search{ display:flex; gap:6px; margin-left:12px; }
.search__in{ background:#2a1f18; border:1px solid var(--ac); color:var(--fg); padding:8px 10px; border-radius:10px; width:200px; }
.search__in:focus{ outline:none; border-color:var(--ac-2); box-shadow:0 0 0 3px rgba(196,107,29,.25); }
.search__btn{ background:#1a2650; border:1px solid var(--ac); color:#fff; border-radius:10px; padding:8px 10px; cursor:pointer; }
.search__btn:hover{ filter:brightness(1.08); }

/* burger + drawer (mobile) */
.burger{ display:none; margin-left:8px; background:transparent; border:0; cursor:pointer; }
.burger__bar{ display:block; width:22px; height:2px; background:#ffe0a8; margin:4px 0; border-radius:2px; }

.drawer{
  background: rgba(27,20,16,.98);
  border-bottom:1px solid rgba(122,62,30,.35);
}
.drawer__nav{ max-width:1200px; margin:0 auto; padding:10px 16px 16px; }
.drawer__link{ display:block; padding:10px 0; color:#ffe0a8; }
.drawer__group{ margin:6px 0; }
.drawer__group summary{ list-style:none; cursor:pointer; padding:10px 0; color:#ffe0a8; }
.drawer__group summary::-webkit-details-marker{ display:none; }
.drawer__panel{ padding-left:10px; display:grid; gap:8px; }
.drawer__sublink{ color:#fff0d9; }

/* interactions */
.menu__group:focus-within .dropdown,
.menu__group:hover .dropdown{ display:block; }
.menu__link--drop[aria-expanded="true"] + .dropdown{ display:block; }

/* responsive */
@media (max-width: 980px){
  .menu, .search{ display:none; }
  .burger{ display:block; }
}

.stage{ position:relative; max-width:1200px; margin:0 auto; }
    .frame{ width:100%; height:62vh; border:2px solid #1e2c58; border-radius:10px; box-shadow:0 0 8px rgba(0,0,0,.4); display:block; }
    .cover{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; z-index:5; background:transparent; }
    .cover img{ width:160px; aspect-ratio:1/1; object-fit:cover; border-radius:8px; box-shadow:0 1px 6px rgba(0,0,0,.35); }
    .bar{ display:flex; gap:10px; justify-content:flex-end; align-items:center; padding:10px 0; max-width:1200px; margin:8px auto 0 auto; }
    .stage.is-fs{ position:fixed!important; inset:0!important; width:100vw!important; height:100vh!important; background:#0a1020; z-index:9999; border-radius:0!important; }
    .stage.is-fs .frame{ width:100%!important; height:100%!important; }
    html.is-fs, body.is-fs{ overflow:hidden!important; }

#title.h {
  text-align:center;
  font-weight:800;
  letter-spacing:3px;
  color:#ffe9c8;
  text-shadow:0 0 6px rgba(255,255,255,.2), 0 0 10px rgba(255,209,102,.3);
  margin-bottom:12px;
}

.related {
  max-width: 1200px;
  margin: 40px auto 20px;
  padding: 16px;
}

.related .section-title {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--fg);
}

#related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.related .unit {
  background: #211912;
  border: 1px solid rgba(122,62,30,.9);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.related .unit:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,.45);
}

.related .thumb {
  width: 200px;
  height: 200px;
  border-radius: 14px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}
.related .hdr {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #fff0d9;
  font-weight: 700;
  font-size: 1rem;
}
