@import url("https://fonts.googleapis.com/css2?family=Anton&family=Cinzel:wght@500;700&display=swap");

/* ================================================================
   YAN duyurusu: siteye girer girmez açılan yeni şarkı ekranı
   ================================================================ */
.yd { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 24px 16px; color: #f3e6df; background: #070102; overflow: hidden; opacity: 0; transition: opacity .9s ease; }
.yd.on { opacity: 1; }
.yd.out { opacity: 0; pointer-events: none; transition-duration: .6s; }
html.yd-lock, html.yd-lock body { overflow: hidden; }

.yd-bg { position: absolute; inset: -4%; background: url("yan/img/match-card.jpg") center 30% / cover no-repeat; filter: saturate(1.1) brightness(.42); transform: scale(1.08); animation: yd-drift 18s ease-in-out infinite alternate; }
.yd::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(70% 55% at 50% 58%, rgba(160, 10, 14, .35), transparent 70%), linear-gradient(180deg, rgba(7, 1, 2, .75), rgba(7, 1, 2, .2) 40%, rgba(7, 1, 2, .9)); }
.yd::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 180px 40px #000; }
@keyframes yd-drift { to { transform: scale(1.14) translate(-1.5%, -1%); } }

.yd-in { position: relative; z-index: 2; text-align: center; max-width: 640px; display: grid; justify-items: center; gap: 14px; }
.yd-kick { font: 500 13px/1.4 "Cinzel", serif; letter-spacing: .42em; color: #ff6a3d; text-transform: uppercase; padding-left: .42em; }
.yd-kick i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff3b1f; box-shadow: 0 0 12px #ff3b1f; margin-right: 10px; vertical-align: 1px; animation: yd-pulse 1.4s ease-in-out infinite; }
@keyframes yd-pulse { 50% { opacity: .25; } }

.yd-title { font: 400 clamp(120px, 30vw, 260px)/.86 "Anton", Impact, sans-serif; letter-spacing: .02em; margin: 4px 0 0; background: linear-gradient(180deg, #ffe2a8 0%, #ff8a2a 30%, #e0230f 62%, #5a0306 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 28px rgba(255, 70, 20, .45)); animation: yd-flick 3.2s steps(1) infinite; }
@keyframes yd-flick { 0%, 100% { filter: drop-shadow(0 0 28px rgba(255, 70, 20, .45)); } 47% { filter: drop-shadow(0 0 14px rgba(255, 70, 20, .25)); } 49% { filter: drop-shadow(0 0 36px rgba(255, 90, 30, .6)); } }
.yd-artist { font: 700 15px/1 "Cinzel", serif; letter-spacing: .5em; color: #f3e6df; padding-left: .5em; }
.yd-line { font: italic 400 clamp(19px, 4.4vw, 24px)/1.45 "Cormorant Garamond", Georgia, serif; color: #d9c4bb; margin: 8px 0 2px; }
.yd-line b { font-style: normal; font-weight: 600; color: #fff; }

.yd-count { display: flex; gap: clamp(10px, 3vw, 22px); margin: 6px 0 4px; }
.yd-count div { min-width: 62px; display: grid; gap: 2px; }
.yd-count b { font: 400 clamp(30px, 8vw, 44px)/1 "Anton", Impact, sans-serif; color: #fff; font-variant-numeric: tabular-nums; }
.yd-count span { font: 500 10px/1 "Cinzel", serif; letter-spacing: .25em; color: #a8877c; }
.yd-date { font: 500 12px/1 "Cinzel", serif; letter-spacing: .3em; color: #a8877c; }

.yd-go { margin-top: 12px; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 34px; border-radius: 2px; text-decoration: none; font: 700 15px/1 "Cinzel", serif; letter-spacing: .28em; color: #fff; background: linear-gradient(180deg, #d81e10, #7d0508); border: 1px solid #ff6a3d; box-shadow: 0 0 0 1px #000, 0 10px 40px rgba(220, 30, 15, .45), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .25s, box-shadow .25s; }
.yd-go:hover, .yd-go:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 1px #000, 0 14px 60px rgba(255, 60, 20, .65), inset 0 1px 0 rgba(255, 255, 255, .3); outline: none; }
.yd-go svg { width: 18px; height: 26px; }
.yd-skip { margin-top: 6px; background: none; border: 0; color: #8c7a75; font: 400 15px/1.4 "Cormorant Garamond", Georgia, serif; font-style: italic; cursor: pointer; padding: 10px; border-bottom: 1px solid transparent; }
.yd-skip:hover, .yd-skip:focus-visible { color: #d9c4bb; outline: none; text-decoration: underline; text-underline-offset: 4px; }

.yd-embers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.yd-embers i { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: #ffb056; box-shadow: 0 0 8px #ff6a1a; opacity: 0; animation: yd-rise linear infinite; }
@keyframes yd-rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(var(--dx, 20px), -105vh); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .yd-bg, .yd-title, .yd-kick i, .yd-embers i { animation: none; }
  .yd-embers { display: none; }
}
@media (max-height: 640px) { .yd-title { font-size: clamp(90px, 22vh, 160px); } .yd-in { gap: 8px; } }
