/* Girişte HACKFEST27: MIXIT logo jeneriği (sitedeki MIXIT sayfasıyla aynı). Tarayıcı oturumu başına bir kez,
   tıklayınca ya da bir tuşa basınca atlanır; hareket azaltılmışsa hiç gösterilmez. */
.pf-intro { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; background: #050505; cursor: pointer; transition: opacity .6s ease, visibility 0s linear .6s; }
.pf-intro.is-out { opacity: 0; visibility: hidden; }
    .hf-stage { position: relative; width: min(1040px, 92vw); aspect-ratio: 1375 / 505; margin: auto; }
    .hf-l { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
    .hf-stage .hf-l-full { opacity: 0; }
    .hf-stage .hf-l-hack, .hf-stage .hf-l-uni, .hf-stage .hf-l-mix, .hf-stage .hf-l-star { opacity: 0; }
    .hf-stage .hf-l-star { transform-origin: 96.1% 40.9%; }
    .hf-stage.hf-play .hf-l-hack { animation: hfHack .8s cubic-bezier(.2, .7, .2, 1) both; }
    .hf-stage.hf-play .hf-l-uni { animation: hfUni .6s ease-out .62s both; }
    .hf-stage.hf-play .hf-l-mix { animation: hfMix .95s cubic-bezier(.55, .05, .3, 1) 1.08s both; }
    .hf-stage.hf-play .hf-l-star { animation: hfStar .8s cubic-bezier(.22, .8, .3, 1) 1.75s both; }
    /* Parçalar tam logoyla aynı hizada üretildi; bitişte tam logo (yıldız ve kavis çizgisiyle) yumuşakça üstüne oturur, parçalar söner. */
    .hf-stage.hf-done .hf-l-full { opacity: 1; animation: hfFullIn .7s ease-out both; }
    .hf-stage.hf-done .hf-l-hack, .hf-stage.hf-done .hf-l-uni, .hf-stage.hf-done .hf-l-mix, .hf-stage.hf-done .hf-l-star { opacity: 0; animation: hfPartsOut .7s ease-out both; }
    /* Yıldız 27'nin arkasından, görünmezden görünüre süzülerek çıkar (katman olarak 27'nin altında). */
    @keyframes hfStar {
        0% { opacity: 0; transform: translateX(-7%) scale(.7); filter: drop-shadow(0 0 0 color-mix(in srgb, var(--brand-on-dark) 0%, transparent)); } /* taste-skill-ignore: jenerik logonun onaylı parıltısı (marka animasyonu) */
        60% { opacity: 1; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--brand-on-dark) 60%, transparent)); } /* taste-skill-ignore: jenerik logonun onaylı parıltısı (marka animasyonu) */
        100% { opacity: 1; transform: none; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--brand-on-dark) 33%, transparent)); } /* taste-skill-ignore: jenerik logonun onaylı parıltısı (marka animasyonu) */
    }
    @keyframes hfFullIn { 0% { opacity: 0; filter: drop-shadow(0 0 0 color-mix(in srgb, var(--brand-on-dark) 0%, transparent)) brightness(1.12); } 45% { opacity: 1; filter: drop-shadow(0 0 22px color-mix(in srgb, var(--brand-on-dark) 33%, transparent)) brightness(1.06); } 100% { opacity: 1; filter: drop-shadow(0 0 0 color-mix(in srgb, var(--brand-on-dark) 0%, transparent)) brightness(1); } } /* taste-skill-ignore: jenerik logonun onaylı parıltısı (marka animasyonu) */
    @keyframes hfPartsOut { from { opacity: 1; } to { opacity: 0; } }
    @media (prefers-reduced-motion: reduce) { .hf-stage.hf-done .hf-l { animation: none; } }
    @keyframes hfHack {
        0% { opacity: 0; transform: scale(1.06); filter: blur(14px) brightness(1.8); clip-path: inset(0 100% 0 0); }
        55% { opacity: 1; filter: blur(3px) brightness(1.25); }
        100% { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0); }
    }
    @keyframes hfUni { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
    @keyframes hfMix {
        0% { opacity: 1; clip-path: polygon(0 0, 0 0, -14% 100%, -14% 100%); }
        100% { opacity: 1; clip-path: polygon(0 0, 114% 0, 100% 100%, -14% 100%); }
    }
@media (prefers-reduced-motion: reduce) { .pf-intro { display: none; } }

/* Panel girişi: UniPakt açılışı. Yazı soldan netleşerek açılır, marka renkli kare "t" harfinin
   arkasından kayarak çıkıp yerine oturur ve parlar, altından ince bir marka çizgisi geçer. İki katman da aynı (marka rengine
   boyanan) logo görselidir; biri yalnızca yazıyı, diğeri yalnızca kareyi gösterir. */
.up-stage { position: relative; width: min(720px, 80vw); aspect-ratio: 885 / 208; margin: auto; }
.up-l { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; opacity: 0; }
.up-word { clip-path: inset(0 7.2% 0 0); }
.up-dot { clip-path: inset(0 0 0 92.9%); }
/* Kare yalnızca "t"nin sağ kenarından sonra görünür: arkasından çıkıyormuş gibi. */
.up-dotclip { position: absolute; inset: 0; clip-path: inset(-30% -30% -30% 92.3%); }
.up-stage.up-done .up-dotclip { clip-path: none; }
.up-line { position: absolute; left: 1%; right: 1%; bottom: -14%; height: 3px; border-radius: 3px; background: var(--brand-grad, var(--brand-on-dark)); transform: scaleX(0); transform-origin: left center; opacity: 0; }
.up-stage.up-play .up-word { animation: upWord .9s cubic-bezier(.2, .7, .2, 1) both; }
.up-stage.up-play .up-dot { animation: upDot .7s cubic-bezier(.25, 1.3, .5, 1) .8s both; }
.up-stage.up-play .up-line { animation: upLine 1.05s cubic-bezier(.65, 0, .35, 1) 1.15s both; }
.up-stage.up-done .up-word, .up-stage.up-done .up-dot { opacity: 1; }
.up-stage.up-done .up-dot { animation: upGlow 1.1s ease-out both; }
@keyframes upWord {
    0% { opacity: 0; transform: translateY(10px); filter: blur(12px); clip-path: inset(0 100% 0 0); }
    60% { opacity: 1; filter: blur(2px); }
    100% { opacity: 1; transform: none; filter: none; clip-path: inset(0 7.2% 0 0); }
}
@keyframes upDot {
    0% { opacity: 1; transform: translateX(-6.6%); }
    100% { opacity: 1; transform: none; }
}
@keyframes upLine {
    0% { opacity: 0; transform: scaleX(0); transform-origin: left center; }
    15% { opacity: 1; }
    55% { opacity: 1; transform: scaleX(1); transform-origin: left center; }
    56% { transform-origin: right center; }
    100% { opacity: 1; transform: scaleX(0); transform-origin: right center; }
}
@keyframes upGlow {
    0% { filter: drop-shadow(0 0 0 color-mix(in srgb, var(--brand-on-dark) 0%, transparent)); }
    40% { filter: drop-shadow(0 0 18px color-mix(in srgb, var(--brand-on-dark) 70%, transparent)); }
    100% { filter: drop-shadow(0 0 0 color-mix(in srgb, var(--brand-on-dark) 0%, transparent)); }
}

/* Yeni duyuru penceresi (panel-announcement.js › NEW_ANNOUNCEMENT) */
.ph-wrap { position: fixed; right: 24px; bottom: 24px; z-index: 2147482000; width: min(440px, calc(100vw - 32px)); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.ph-wrap.is-in { opacity: 1; transform: none; pointer-events: auto; }
.ph-wrap.is-out { opacity: 0; transform: translateY(12px); }
.ph-wrap.is-mobile { left: 12px; right: 12px; bottom: 12px; width: auto; max-height: calc(100dvh - 24px); overflow: auto; }
.ph-card { position: relative; background: #161618; border: 1px solid rgba(242, 241, 238, .12); border-radius: 22px; padding: 20px 20px 16px; color: #F2F1EE; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); font-family: 'Inter', system-ui, sans-serif; }
.ph-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #9A9995; font-size: 24px; line-height: 1; cursor: pointer; }
.ph-x:hover, .ph-x:focus-visible { background: rgba(242, 241, 238, .08); color: #F2F1EE; }
.ph-kicker { margin: 0; font: 700 11px/1 'Inter', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-on-dark); }
.ph-title { margin: 8px 36px 14px 0; font: 800 19px/1.25 'Archivo', system-ui, sans-serif; letter-spacing: -.01em; }
.ph-shot { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(242, 241, 238, .1); background: #0C0C0D; }
.ph-wrap.is-mobile .ph-shot { max-width: 260px; margin: 0 auto; }
.ph-shot img { display: block; width: 100%; height: 100%; }
.ph-ring { position: absolute; border-radius: 999px; box-shadow: 0 0 0 3px var(--brand-on-dark), 0 0 22px 4px color-mix(in srgb, var(--brand-on-dark) 55%, transparent); animation: phPulse 1.6s ease-in-out infinite; transform: scale(1.12); } /* taste-skill-ignore: tanıtımdaki işaret halkası */
.ph-arrow { position: absolute; width: 22%; overflow: visible; fill: none; stroke: var(--brand-on-dark); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); animation: phNudge 1.6s ease-in-out infinite; }
.ph-wrap.is-mobile .ph-arrow { width: 30%; }
.ph-note { margin: 12px 0 0; font: 400 14px/1.5 'Inter', system-ui, sans-serif; color: #C9C8C4; }
.ph-note b { color: #F2F1EE; font-weight: 600; }
.ph-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 14px; }
.ph-site { padding: 10px 14px; border-radius: 999px; color: #C9C8C4; font: 600 14px/1 'Inter', system-ui, sans-serif; text-decoration: none; }
.ph-site:hover, .ph-site:focus-visible { color: #F2F1EE; background: rgba(242, 241, 238, .08); }
.ph-ok { padding: 11px 18px; border: 0; border-radius: 999px; background: var(--brand-grad, var(--brand-on-dark)); color: var(--brand-on-accent, #fff); font: 700 14px/1 'Inter', system-ui, sans-serif; cursor: pointer; }
@keyframes phPulse { 0%, 100% { transform: scale(1.12); opacity: 1; } 50% { transform: scale(1.2); opacity: .7; } }
@keyframes phNudge { 0%, 100% { translate: 0 0; } 50% { translate: 3% -6%; } }
@media (prefers-reduced-motion: reduce) { .ph-ring, .ph-arrow { animation: none; } .ph-wrap { transition: none; } }
