/* BiletPro giriş ekranı: sade, koyu ve profesyonel görünüm (açık/koyu tema fark etmeksizin) */
html body.fx-login {
    background:
        radial-gradient(1000px 620px at 78% -10%, rgba(79, 70, 229, .32) 0%, transparent 62%),
        radial-gradient(900px 600px at 4% 110%, rgba(30, 64, 175, .28) 0%, transparent 58%),
        #070b17 !important;
    color: #fff !important;
    min-height: 100vh; min-height: 100dvh;
}
#fxCanvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
#fxSceneCv { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }

/* kart */
html body.fx-login .glass-terminal {
    position: relative; z-index: 2;
    background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)) !important;
    border: 1px solid rgba(255, 255, 255, .13) !important;
    border-radius: 28px !important;
    backdrop-filter: blur(24px) saturate(130%); -webkit-backdrop-filter: blur(24px) saturate(130%);
    box-shadow: 0 30px 80px rgba(2, 6, 23, .7) !important;
    animation: fxRise .8s cubic-bezier(.16, 1, .3, 1) both;
    color: #fff !important;
}
@property --fxang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
html body.fx-login .glass-terminal::before {
    content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
    background: conic-gradient(from var(--fxang), rgba(129, 140, 248, 0), rgba(129, 140, 248, .85), rgba(56, 189, 248, .6), rgba(129, 140, 248, 0) 55%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: fxSpin 9s linear infinite; opacity: .85;
}
html body.fx-login .glass-terminal.fx-pulse { animation: none; box-shadow: 0 30px 80px rgba(2, 6, 23, .7), 0 0 44px rgba(99, 102, 241, .35) !important; }
html body.fx-login .glass-terminal.fx-fail { animation: fxFail .5s both; }
@keyframes fxSpin { to { --fxang: 360deg; } }
@keyframes fxRise { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fxFail { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }

/* logo ve başlıklar */
html body.fx-login .glass-terminal .bg-blue-600 {
    background: linear-gradient(135deg, #4f46e5, #6366f1 60%, #3b82f6) !important;
    box-shadow: 0 10px 34px rgba(79, 70, 229, .45) !important; position: relative;
}
html body.fx-login .glass-terminal h1 { color: #fff !important; letter-spacing: .06em; }
html body.fx-login .glass-terminal #terminalSubtitle { color: rgba(203, 213, 225, .65) !important; }
.fx-welcome { font-size: 26px; font-weight: 700; letter-spacing: -.01em; margin: 2px 0 6px; line-height: 1.2; min-height: 32px; color: #e2e8f0; }
.fx-welcome span { display: inline-block; opacity: 0; transform: translateY(10px); animation: fxLetter .55s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes fxLetter { to { opacity: 1; transform: none; } }
.fx-welcome .sp { width: .3em; }

/* alanlar */
html body.fx-login .input-premium {
    background: rgba(8, 12, 30, .55) !important; border: 1px solid rgba(255, 255, 255, .14) !important; color: #fff !important;
    border-radius: 14px !important; transition: border-color .25s, box-shadow .25s, background .25s; color-scheme: dark;
}
html body.fx-login .input-premium::placeholder { color: rgba(203, 213, 225, .5) !important; }
html body.fx-login .input-premium:focus { border-color: #818cf8 !important; background: rgba(15, 20, 46, .7) !important; box-shadow: 0 0 0 3px rgba(99, 102, 241, .25) !important; }
html body.fx-login input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 40px #101734 inset; transition: background-color 9999s; }

/* giriş düğmesi */
html body.fx-login .btn-main {
    position: relative; overflow: hidden; border: 0 !important; color: #fff !important;
    background: linear-gradient(135deg, #4f46e5, #3b82f6) !important; box-shadow: 0 12px 30px rgba(59, 80, 229, .4) !important;
    border-radius: 14px !important; transition: transform .2s, box-shadow .2s;
}
html body.fx-login .btn-main:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(59, 80, 229, .5) !important; }
html body.fx-login .btn-main:active { transform: scale(.98); }
html body.fx-login .btn-main::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 50px; left: -80px; transform: skewX(-22deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); animation: fxSheen 4s ease-in-out infinite;
}
html body.fx-login .btn-main:disabled { filter: saturate(.75); }
@keyframes fxSheen { 0%, 60% { left: -80px; } 100% { left: 120%; } }
.fx-ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .35); transform: scale(0); animation: fxRip .6s ease-out forwards; pointer-events: none; }
@keyframes fxRip { to { transform: scale(4); opacity: 0; } }
html body.fx-login .glass-terminal p.text-slate-500 { color: rgba(203, 213, 225, .5) !important; }

/* çubuk adam sahnesi yeri (çizim tuvalde yapılır) */
.fx-scene { height: 116px; margin: 16px 0 6px; position: relative; }

/* başarılı giriş: sade karşılama */
.fx-ov {
    position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; text-align: center;
    background: radial-gradient(circle at 50% 45%, rgba(20, 28, 64, .94), rgba(4, 7, 18, .98));
    opacity: 0; pointer-events: none; transition: opacity .5s;
}
.fx-ov.show { opacity: 1; pointer-events: auto; }
.fx-ov-inner { padding: 20px; transform: translateY(14px); opacity: 0; }
.fx-ov.show .fx-ov-inner { animation: fxIn .8s .1s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes fxIn { to { transform: none; opacity: 1; } }
.fx-ov-hi { font-size: 13px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: rgba(165, 180, 252, .9); }
.fx-ov-name { font-size: clamp(32px, 7vw, 56px); font-weight: 800; line-height: 1.15; margin: 10px 0 14px; letter-spacing: -.01em; color: #fff; }
.fx-ov-line { width: 64px; height: 2px; margin: 0 auto 14px; background: linear-gradient(90deg, transparent, #818cf8, transparent); }
.fx-ov-sub { font-size: 14px; font-weight: 500; color: rgba(203, 213, 225, .7); }

@media (max-width: 640px) {
    .fx-welcome { font-size: 22px; }
    html body.fx-login .glass-terminal { border-radius: 22px !important; }
    .fx-scene { height: 104px; }
}
@media (prefers-reduced-motion: reduce) {
    html body.fx-login .glass-terminal, html body.fx-login .glass-terminal::before, html body.fx-login .btn-main::after { animation: none !important; }
    .fx-welcome span { opacity: 1; transform: none; animation: none; }
    .fx-ov-inner { opacity: 1; transform: none; animation: none !important; }
}
