/* ═══ FETİH v8 — Hype duyuruları + Harikalar ═══ */
.hype {
  position: fixed; left: 50%; top: 34%; z-index: 95; transform: translate(-50%, -50%);
  pointer-events: none; text-align: center; min-width: min(560px, calc(100vw - 32px));
  padding: 18px 34px 20px; background: rgba(5, 5, 5, .9);
  border: 1px solid rgba(255, 255, 255, .22); border-top: 4px solid var(--hc, #f5c542);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 30px 80px rgba(0, 0, 0, .75), 0 0 60px color-mix(in srgb, var(--hc, #f5c542) 35%, transparent);
  animation: hypeIn .42s cubic-bezier(.2, 1.4, .4, 1);
}
.hype.hidden { display: none; }
.hype.out { animation: hypeOut .32s ease-in forwards; }
.hype-bar { position: absolute; left: 0; right: 0; top: -4px; height: 4px; background: var(--hc, #f5c542); transform-origin: left; animation: hypeBar 3s linear forwards; }
.hype-title {
  font-family: var(--font-xb, 'Cinzel', serif); font-weight: 900; letter-spacing: .14em;
  font-size: clamp(26px, 4.4vw, 46px); line-height: 1.05; color: #fff;
  text-shadow: 0 0 24px color-mix(in srgb, var(--hc, #f5c542) 70%, transparent);
}
.hype-sub { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .78); letter-spacing: .02em; }
.hype.k-night { background: rgba(14, 8, 34, .92); }
.hype.k-win .hype-title { font-size: clamp(32px, 6vw, 64px); }
.hype.k-burn { border-top-color: #ef4444; }
@keyframes hypeIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.82); letter-spacing: .4em; } }
@keyframes hypeOut { to { opacity: 0; transform: translate(-50%, -60%) scale(.96); } }
@keyframes hypeBar { to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .hype, .hype.out, .hype-bar { animation: none; } }

/* Harikalar */
#btn-wonders { position: relative; }
#btn-wonders.on { color: #f5c542; border-color: rgba(245, 197, 66, .6); }
#btn-wonders.building::after { content: ''; position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: #f5c542; animation: pulse 1.4s infinite; }
#btn-wonders[data-count]:not([data-count=""])::before {
  content: attr(data-count); position: absolute; bottom: -4px; right: -4px; min-width: 15px; height: 15px; padding: 0 3px;
  background: #f5c542; color: #111; font-size: 10px; font-weight: 800; display: grid; place-items: center; border-radius: 8px;
}
.wonder-panel {
  position: fixed; top: 76px; right: 12px; z-index: 40; width: min(360px, calc(100vw - 24px));
  max-height: calc(100vh - 100px); overflow-y: auto;
  background: #0b0b0b; color: #f4f1ea; border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .7); padding: 12px;
}
.wonder-panel.hidden { display: none; }
.wonder-panel .w-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.wonder-panel .w-top b { font-size: 12px; letter-spacing: .18em; }
.wonder-panel .w-note { font-size: 12px; color: rgba(255, 255, 255, .6); line-height: 1.45; margin: 0 0 10px; }
.wonder-panel .w-note b { color: #f5c542; }
.wonder-panel .w-card { border: 1px solid rgba(255, 255, 255, .14); padding: 10px; margin-bottom: 8px; background: rgba(255, 255, 255, .02); }
.wonder-panel .w-card.done { border-color: rgba(245, 197, 66, .45); }
.wonder-panel .w-head { display: flex; gap: 10px; align-items: flex-start; }
.wonder-panel .w-head svg.lucide { width: 26px; height: 26px; color: #f5c542; flex-shrink: 0; }
.wonder-panel .w-head b { display: block; font-size: 15px; }
.wonder-panel .w-head small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .6); margin-top: 2px; }
.wonder-panel .w-cost { font-family: var(--mono, monospace); font-size: 11px; color: rgba(255, 255, 255, .7); margin: 8px 0; }
.wonder-panel .w-cost .lack { color: #f87171; }
.wonder-panel .w-site { display: grid; grid-template-columns: 10px auto 1fr auto; gap: 6px; align-items: center; font-size: 12px; margin: 4px 0; }
.wonder-panel .w-site > span { width: 10px; height: 10px; border-radius: 2px; }
.wonder-panel .w-site i { height: 5px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.wonder-panel .w-site i em { display: block; height: 100%; transition: width .5s; }
.wonder-panel .w-site small { font-family: var(--mono, monospace); color: rgba(255, 255, 255, .6); }
.wonder-panel .w-site.me b { text-decoration: underline; }
.wonder-panel .btn { width: 100%; margin-top: 6px; }
.wonder-panel .w-owned { margin-top: 6px; text-align: center; padding: 7px; font-size: 11px; letter-spacing: .2em; font-weight: 800; background: var(--oc, #f5c542); color: #111; }
