/* Mağaza ürün kartları ve ortak ürün stilleri (index.html + urun.html) */
/* GRID */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.card { position: relative; color: inherit; text-decoration: none; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .2s, background .2s; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.card:hover { border-color: var(--line-2); background: var(--panel-2); }
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 2px; background: var(--green); transition: width .3s; z-index: 1; }
.card:hover::before { width: 100%; }
.card-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 0; gap: 8px; }
.tag { font: 700 11px 'Saira Condensed', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #140d00; background: var(--green); padding: 3px 8px; white-space: nowrap; }
.card-media .alt { position: absolute; inset: 0; opacity: 0; transition: opacity .35s, transform .4s; }
.card:hover .card-media .alt { opacity: 1; }
.views { position: absolute; bottom: 8px; left: 8px; z-index: 1; display: flex; align-items: center; gap: 5px; font: 700 11px 'Saira Condensed', sans-serif; letter-spacing: .1em;
  background: rgba(14,10,2,.82); color: var(--text); padding: 3px 7px; }
.card-media .views svg { width: 13px; height: 13px; stroke-width: 2; color: var(--text); }
.thumbs { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: flex; gap: 8px; }
.thumbs button { width: 64px; height: 44px; padding: 0; border: 2px solid rgba(255,255,255,.25); background: #000; cursor: pointer; overflow: hidden; }
.thumbs button.on { border-color: var(--green); }
.thumbs img { position: static !important; width: 100%; height: 100%; object-fit: cover; }
.card-media { margin: 16px 18px 0; height: 180px; display: grid; place-items: center; position: relative; overflow: hidden; border: 1px solid var(--line);
  background: #0a0806 repeating-linear-gradient(135deg, transparent 0 10px, rgba(255,255,255,.018) 10px 11px); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media svg { width: 56px; height: 56px; stroke-width: 1.25; color: var(--green); transition: transform .3s; }
.card:hover .card-media svg { transform: scale(1.08); }
.corner { position: absolute; width: 10px; height: 10px; border-color: var(--line-2); border-style: solid; z-index: 1; }
.corner.tl { top: 8px; left: 8px; border-width: 1px 0 0 1px; }
.corner.br { bottom: 8px; right: 8px; border-width: 0 1px 1px 0; }
.off { position: absolute; top: 8px; right: 8px; z-index: 1; font: 700 12px 'Saira Condensed', sans-serif; letter-spacing: .1em; background: #140d00; color: var(--green); border: 1px solid rgba(255,194,26,.4); padding: 2px 7px; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-style: italic; font-weight: 800; font-size: 21px; text-transform: uppercase; line-height: 1.1; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.price { font-style: italic; font-weight: 900; font-size: 26px; line-height: 1; white-space: nowrap; }
.price s { display: block; font-style: normal; font-weight: 500; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.card .btn { height: 42px; padding: 0 16px; }
.empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); display: grid; gap: 12px; justify-items: center; }
.empty svg { width: 32px; height: 32px; color: var(--green); }
.skel-card { height: 400px; border: 1px solid var(--line); }
.feat-list { list-style: none; display: grid; gap: 8px; }
.feat-list li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.feat-list svg { color: var(--green); width: 16px; height: 16px; }

/* ---------- Ortak sayfa iskeleti: menü, duyuru, bölüm başlıkları, alt bilgi (index + urun) ---------- */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, nav, footer, .announce { position: relative; z-index: 1; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ANNOUNCE */
.announce { background: var(--green); color: #140d00; font: 600 13px 'Saira Condensed', sans-serif; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 9px 16px; }
.announce i, .announce svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 6px; }

/* NAV */
nav { border-bottom: 1px solid var(--line); background: rgba(6,5,4,.86); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 40; }
nav .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand b { font-style: italic; font-weight: 900; font-size: 20px; letter-spacing: .02em; }
.brand b span { color: var(--green); }
.nav-links { display: flex; gap: 34px; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 8px; }
nav .btn-icon { width: 46px; height: 46px; }
.me { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 6px; background: var(--line); font: 600 13px 'Saira Condensed', sans-serif; letter-spacing: .14em; text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: background .15s; }
.me:hover { background: var(--line-2); }
.me img { width: 34px; height: 34px; object-fit: cover; }
.order-note { border: 1px solid rgba(255,194,26,.35); background: var(--green-dim); padding: 12px 14px; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.order-note .row { display: flex; gap: 8px; align-items: center; }
.order-note code { flex: 1; background: #0a0806; border: 1px solid var(--line-2); padding: 8px 10px; color: var(--text); font: 600 14px 'Saira', sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-note a { color: var(--green); }

section { padding: 80px 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(34px, 5vw, 56px); margin-top: 10px; }
footer { margin-top: 80px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
/* MENÜ: aktif bölüm, canlı online rozeti, mobil menü */
.nav-links a { position: relative; padding: 6px 0; transition: color .15s; white-space: nowrap; }
.brand b { white-space: nowrap; }
@media (max-width: 1100px) {
  .nav-links { display: none; }
  nav .menu-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  nav .online-pill, nav .nav-right > [data-discord] { display: none; }
}
.nav-links a.on { color: var(--green); }
.nav-links a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--green); }
.online-pill { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; background: var(--line); font: 600 12px 'Saira Condensed', sans-serif; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.online-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.online-pill.on i { background: var(--green); box-shadow: 0 0 0 4px var(--green-dim); animation: pulse 1.8s infinite; }
.online-pill b { color: var(--text); font-weight: 700; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,194,26,0); } }
.menu-btn { display: none; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: rgba(6,5,4,.97); }
.mobile-menu.open { display: grid; }
.mobile-menu a { padding: 15px 24px; border-bottom: 1px solid var(--line); font: 600 14px 'Saira Condensed', sans-serif; letter-spacing: .2em; text-transform: uppercase; display: flex; gap: 12px; align-items: center; }
.mobile-menu a svg { color: var(--green); }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .brand b { font-size: 17px; }
  nav .btn { padding: 0 14px; }
}
