/* KorhanCraft: Minecraft dokunuşları (style.css'in üstüne biner) */
:root { --px: 'Pixelify Sans', var(--font-display); }

/* küçük etiket: piksel font, rakamsız kısa yazılarda */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .82rem var(--px); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 9px; height: 9px; background: var(--accent); box-shadow: 0 0 0 3px rgba(52, 211, 153, .22); }

/* Minecraft düğmesi: üstte ışık, altta gölge çizgisi */
.btn { border-radius: 6px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .26), inset 0 2px 0 rgba(255, 255, 255, .32); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: inset 0 3px 0 rgba(0, 0, 0, .28); }
.btn.ghost { box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .04), inset 0 1px 0 rgba(255, 255, 255, .06); }
.btn.ghost:active { box-shadow: inset 0 3px 0 rgba(0, 0, 0, .3); }
.btn.gold { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22), inset 0 2px 0 rgba(255, 255, 255, .4); }
.btn.danger { box-shadow: none; }

/* kartlar: sert piksel gölge ile "blok kalkışı" */
.card { border-radius: 8px; }
.card.hover:hover { transform: translate(-2px, -3px); box-shadow: 4px 5px 0 rgba(52, 211, 153, .26); border-color: rgba(52, 211, 153, .5); background: var(--surface); }
.status-card, .cta-band, .stats { border-radius: 10px; }

/* çim şeridi */
.grass-edge, footer::before, .hero::after {
  content: ''; display: block; height: 16px; image-rendering: pixelated; background-size: 64px 16px; background-repeat: repeat-x;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4' shape-rendering='crispEdges'%3E%3Crect width='16' height='1' fill='%235fdc82'/%3E%3Crect x='3' width='2' height='1' fill='%2385ee9f'/%3E%3Crect x='11' width='1' height='1' fill='%2385ee9f'/%3E%3Crect y='1' width='16' height='1' fill='%232ea35b'/%3E%3Crect x='0' y='1' width='2' height='1' fill='%237a4e28'/%3E%3Crect x='6' y='1' width='2' height='1' fill='%237a4e28'/%3E%3Crect x='12' y='1' width='3' height='1' fill='%237a4e28'/%3E%3Crect y='2' width='16' height='2' fill='%236b4423'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%235a3819'/%3E%3Crect x='9' y='3' width='2' height='1' fill='%235a3819'/%3E%3Crect x='13' y='2' width='1' height='1' fill='%238a5a30'/%3E%3Crect x='5' y='3' width='1' height='1' fill='%238a5a30'/%3E%3C/svg%3E");
}
footer { border-top: 0; position: relative; }
footer::before { position: absolute; left: 0; right: 0; top: 0; }
footer .wrap { padding-top: 60px; }

/* hero: sahne görseli */
.hero { background: #0a0c0f url(/static/img/art/hero.webp) 64% 25% / cover no-repeat; border-bottom: 0; }
.hero::before { background:
  linear-gradient(90deg, rgba(10, 12, 15, .97) 0%, rgba(10, 12, 15, .86) 30%, rgba(10, 12, 15, .38) 60%, rgba(10, 12, 15, .06) 100%),
  linear-gradient(180deg, rgba(10, 12, 15, .5), transparent 28%, rgba(10, 12, 15, .75) 100%); }
.hero::after { position: absolute; left: 0; right: 0; bottom: 0; top: auto; z-index: 2; opacity: 1; -webkit-mask-image: none; mask-image: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4' shape-rendering='crispEdges'%3E%3Crect width='16' height='1' fill='%235fdc82'/%3E%3Crect x='3' width='2' height='1' fill='%2385ee9f'/%3E%3Crect x='11' width='1' height='1' fill='%2385ee9f'/%3E%3Crect y='1' width='16' height='1' fill='%232ea35b'/%3E%3Crect x='0' y='1' width='2' height='1' fill='%237a4e28'/%3E%3Crect x='6' y='1' width='2' height='1' fill='%237a4e28'/%3E%3Crect x='12' y='1' width='3' height='1' fill='%237a4e28'/%3E%3Crect y='2' width='16' height='2' fill='%236b4423'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%235a3819'/%3E%3Crect x='9' y='3' width='2' height='1' fill='%235a3819'/%3E%3Crect x='13' y='2' width='1' height='1' fill='%238a5a30'/%3E%3Crect x='5' y='3' width='1' height='1' fill='%238a5a30'/%3E%3C/svg%3E"); }
.hero .wrap { padding: 96px 0 104px; }
.hero h1 { text-shadow: 0 4px 24px rgba(0, 0, 0, .5); }
.hero .lead { color: #cfd7e3; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.pill { background: rgba(10, 12, 15, .6); backdrop-filter: blur(8px); border-color: rgba(52, 211, 153, .35); border-radius: 4px; }
.status-card { background: rgba(12, 15, 20, .74); backdrop-filter: blur(16px) saturate(1.25); -webkit-backdrop-filter: blur(16px) saturate(1.25); border-color: rgba(255, 255, 255, .12); }
.ip-box { border-radius: 6px; }
.ip-box button { border-radius: 4px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .32); }
.stats { margin-top: -34px; background: rgba(17, 20, 26, .94); backdrop-filter: blur(10px); }

/* logo görseli */
.brand img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(52, 211, 153, .35)); }
footer .brand img { width: 32px; height: 32px; }

/* üst menüde kaydırma XP çubuğu */
.nav { position: sticky; }
.nav::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 3px; width: var(--p, 0%); background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 12px); pointer-events: none; transition: width .1s linear; }

/* oyun modu kartları */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mode { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #06080b; isolation: isolate; color: var(--text);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.mode img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.mode::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 8, 11, 0) 30%, rgba(6, 8, 11, .94) 100%); }
.mode .cap { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.mode h3 { font-size: 1.2rem; margin: 0 0 4px; letter-spacing: -.02em; }
.mode p { margin: 0; color: #c6cfdb; font-size: .9rem; }
.mode:hover { transform: translate(-2px, -3px); box-shadow: 5px 6px 0 rgba(52, 211, 153, .3); border-color: rgba(52, 211, 153, .55); color: var(--text); }
.mode:hover img { transform: scale(1.06); }
.mode .tagline { position: absolute; top: 14px; left: 14px; font: 600 .72rem var(--px); letter-spacing: .14em; text-transform: uppercase; background: rgba(10, 12, 15, .7); color: var(--accent); border: 1px solid rgba(52, 211, 153, .4); padding: 3px 8px; border-radius: 3px; backdrop-filter: blur(6px); }

/* mağaza ve ürün logoları: gerçek görseller */
.ico-tile:has(.logo-img) { width: 84px; height: 84px; }
.ico-tile:has(.logo-img) .logo-img { filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .55)); }
.product { border-radius: 8px; }
.product:hover .logo-img { transform: translateY(-4px) scale(1.05); }
.pageshot { border-radius: 8px; }

@media (max-width: 960px) { .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .hero { background-image: url(/static/img/art/hero-sm.webp); background-position: 72% 0; }
  .hero::before { background: linear-gradient(180deg, rgba(10, 12, 15, .75), rgba(10, 12, 15, .82) 60%, rgba(10, 12, 15, .95)); }
  .modes { grid-template-columns: minmax(0, 1fr); }
}
