/* ==========================================================================
   HAMUR360 — GİRİŞ SAHNESİ (katmanlı derinlik, parçacık, 3B eğim)
   ========================================================================== */
.login-overlay.t3-login {
    --t3-gold: #f5b544; --t3-amber: #f59e0b; --t3-ember: #ea580c;
    --t3-ink: #120a05; --t3-glass: rgba(28, 17, 10, .55);
    --mx: 0; --my: 0;
    position: fixed; inset: 0; z-index: 9999; overflow: hidden auto;
    background: radial-gradient(120% 90% at 70% 110%, #3a1d0b 0%, #1a0d06 45%, #0b0603 100%);
    color: #f8efe6; font-family: 'Inter', system-ui, sans-serif;
    display: flex; align-items: stretch; justify-content: center; padding: 0;
    perspective: 1400px;
}
.t3-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* Fırın ateşi ışıkları */
.t3-glow { position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; pointer-events: none; mix-blend-mode: screen;
    transform: translate3d(calc(var(--mx) * var(--d, 20px)), calc(var(--my) * var(--d, 20px)), 0); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.t3-glow::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: t3-breathe 7s ease-in-out infinite; }
.t3-glow--a { --d: -40px; width: 620px; height: 620px; left: -160px; bottom: -260px; background: radial-gradient(circle, rgba(234,88,12,.55), transparent 65%); }
.t3-glow--b { --d: 30px; width: 520px; height: 520px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(245,158,11,.35), transparent 65%); }
.t3-glow--c { --d: -18px; width: 380px; height: 380px; left: 42%; top: 30%; background: radial-gradient(circle, rgba(251,191,36,.16), transparent 70%); }
.t3-glow--b::after { animation-delay: -2.5s; } .t3-glow--c::after { animation-delay: -4s; }
@keyframes t3-breathe { 0%,100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }

/* Derinliğe uzanan zemin ızgarası */
.t3-floor { position: absolute; left: -50%; right: -50%; bottom: -8%; height: 62%; z-index: 0; pointer-events: none;
    transform: rotateX(74deg) translateY(calc(var(--my) * -12px)); transform-origin: 50% 100%;
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 85%); mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 85%); }
.t3-grid { position: absolute; inset: 0;
    background-image: linear-gradient(rgba(245,158,11,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(245,158,11,.22) 1px, transparent 1px);
    background-size: 70px 70px; animation: t3-grid 9s linear infinite; }
@keyframes t3-grid { to { background-position: 0 70px; } }
.t3-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.55) 100%); }

/* Yerleşim */
.t3-stage { position: relative; z-index: 2; width: 100%; max-width: 1280px; min-height: 100%; margin: auto;
    display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 48px 40px; box-sizing: border-box; }

/* Vitrin */
.t3-showcase { transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -8px), 0); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.t3-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: #fcd9a0; background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.25); animation: t3-rise .9s .05s both; }
.t3-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: t3-ping 2s infinite; }
@keyframes t3-ping { 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.t3-word { margin: 22px 0 14px; font-size: clamp(52px, 7vw, 96px); line-height: .95; font-weight: 800; letter-spacing: -.045em; color: #fff7ed;
    text-shadow: 0 2px 0 rgba(0,0,0,.25), 0 30px 60px rgba(0,0,0,.45); animation: t3-rise .9s .15s both; }
.t3-word span { margin-left: 4px; background: linear-gradient(100deg, #fde68a 0%, #f59e0b 35%, #ea580c 60%, #fde68a 100%); background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; animation: t3-shine 6s linear infinite; }
@keyframes t3-shine { to { background-position: -220% 0; } }
.t3-tagline { margin: 0 0 26px; font-size: 18px; line-height: 1.6; color: #d9c7b6; max-width: 520px; animation: t3-rise .9s .25s both; }
.t3-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; animation: t3-rise .9s .35s both; }
.t3-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 500; color: #f3e6d8;
    background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.t3-chips i { color: var(--t3-gold); }
@keyframes t3-rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Yüzen 3B göstergeler */
.t3-widgets { position: relative; height: 230px; margin-top: 38px; max-width: 560px; transform-style: preserve-3d; }
.t3-w { position: absolute; border-radius: 18px; padding: 16px 18px; color: #fdf4ea;
    background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12);
    backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
    transform: translate3d(calc(var(--mx) * var(--px, 0px)), calc(var(--my) * var(--px, 0px)), 0) rotateX(calc(var(--my) * -6deg)) rotateY(calc(var(--mx) * 8deg));
    transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.t3-w > * { animation: none; }
.t3-w--ciro { --px: 18px; left: 0; top: 0; width: 250px; animation: t3-float 7s ease-in-out infinite, t3-rise 1s .5s both; }
.t3-w--ai   { --px: 30px; left: 268px; top: 14px; width: 250px; display: flex; align-items: center; gap: 12px; animation: t3-float 8s -2s ease-in-out infinite, t3-rise 1s .65s both; }
.t3-w--stok { --px: 12px; left: 150px; top: 128px; width: 260px; animation: t3-float 9s -4s ease-in-out infinite, t3-rise 1s .8s both; }
@keyframes t3-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.t3-w-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #cbb8a6; font-weight: 600; letter-spacing: .02em; }
.t3-w-head b { font-size: 11px; padding: 3px 8px; border-radius: 999px; }
.t3-w-head .up { color: #4ade80; background: rgba(34,197,94,.12); }
.t3-w-head .warn { color: #fca5a5; background: rgba(239,68,68,.14); }
.t3-w-val { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 6px; }
.t3-spark { width: 100%; height: 46px; display: block; }
.t3-spark-line { stroke-dasharray: 320; stroke-dashoffset: 320; animation: t3-draw 2.4s 1s ease forwards; filter: drop-shadow(0 0 6px rgba(251,191,36,.6)); }
.t3-spark-fill { opacity: 0; animation: t3-fade 1.2s 2.2s ease forwards; }
@keyframes t3-draw { to { stroke-dashoffset: 0; } } @keyframes t3-fade { to { opacity: 1; } }
.t3-w-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 17px;
    background: linear-gradient(135deg, #f59e0b, #c2410c); box-shadow: 0 8px 20px rgba(234,88,12,.45); }
.t3-w-title { font-weight: 700; font-size: 14px; } .t3-w-sub { font-size: 12px; color: #cbb8a6; margin-top: 2px; }
.t3-check { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #052e16; background: #4ade80; box-shadow: 0 0 18px rgba(74,222,128,.55); }
.t3-bars { display: flex; align-items: flex-end; gap: 8px; height: 58px; margin-top: 12px; }
.t3-bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 6px 6px 3px 3px; background: linear-gradient(to top, rgba(245,158,11,.35), #fbbf24);
    transform-origin: bottom; animation: t3-grow 1.2s 1.1s cubic-bezier(.2,.8,.2,1) both; }
.t3-bars i.low { background: linear-gradient(to top, rgba(239,68,68,.35), #f87171); }
@keyframes t3-grow { from { transform: scaleY(0); } }

/* Giriş kartı */
.t3-side { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.t3-card-wrap { width: 100%; max-width: 420px; transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.7,.2,1); animation: t3-cardin 1.1s .2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes t3-cardin { from { opacity: 0; transform: translateY(40px) rotateX(18deg) scale(.96); } }
.login-overlay.t3-login .login-card.t3-card {
    position: relative; max-width: none; padding: 34px 32px 26px; border-radius: 26px; text-align: center; color: #fff7ed;
    background: linear-gradient(160deg, rgba(48,28,15,.78), rgba(20,12,7,.72));
    border: 1px solid rgba(255,214,150,.14);
    box-shadow: 0 50px 100px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
}
/* dönen ışık kenarı */
.t3-card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--t3a, 0deg), transparent 0 70%, rgba(251,191,36,.9) 80%, rgba(234,88,12,.8) 86%, transparent 94%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: t3-spin 6s linear infinite; }
@property --t3a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes t3-spin { to { --t3a: 360deg; } }
/* imleci izleyen parlama */
.t3-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,200,120,.10), transparent 45%); }

.t3-mark { width: 74px; height: 74px; margin: 0 auto 14px; filter: drop-shadow(0 10px 24px rgba(234,88,12,.45)); }
.t3-mark svg { width: 100%; height: 100%; overflow: visible; }
.t3-mark-track { fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.08); stroke-width: 8; }
.t3-mark-ring { fill: none; stroke: url(#t3mg); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 230 289; transform-origin: 60px 60px; animation: t3-ring 4s cubic-bezier(.6,.1,.3,.9) infinite; }
@keyframes t3-ring { 0% { transform: rotate(-90deg); stroke-dasharray: 40 289; } 50% { stroke-dasharray: 230 289; } 100% { transform: rotate(270deg); stroke-dasharray: 40 289; } }
.t3-mark text { font: 800 26px 'Inter', sans-serif; fill: #fde68a; letter-spacing: -.04em; }

.login-overlay.t3-login .login-card h2 { margin: 0 0 4px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: #fff7ed; }
.login-overlay.t3-login .login-sub { margin: 0 0 22px; color: #bfa995; font-size: 14px; }
.login-overlay.t3-login .login-card form { text-align: left; }
.login-overlay.t3-login .login-card label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #cdb6a0; margin: 14px 0 7px; }
.t3-field { position: relative; display: flex; align-items: center; }
.t3-field > i { position: absolute; left: 15px; color: #a8896e; font-size: 14px; pointer-events: none; transition: color .2s; }
.login-overlay.t3-login .login-card input, .login-overlay.t3-login .login-card select {
    width: 100% !important; height: 52px; padding: 0 46px 0 42px !important; box-sizing: border-box; font-size: 15px !important; color: #fff7ed !important;
    background: rgba(0,0,0,.28) !important; border: 1px solid rgba(255,214,150,.14) !important; border-radius: 14px !important;
    transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.login-overlay.t3-login .login-card select { cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d6b08a' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-position: right 16px center !important; }
.login-overlay.t3-login .login-card select option { color: #1e293b; background: #fff; }
.login-overlay.t3-login #login-username { padding-left: 16px !important; }
.login-overlay.t3-login .login-card input::placeholder { color: #8f7661; }
.login-overlay.t3-login .login-card input:focus, .login-overlay.t3-login .login-card select:focus {
    outline: none; border-color: rgba(251,191,36,.7) !important; background-color: rgba(0,0,0,.38) !important; box-shadow: 0 0 0 4px rgba(245,158,11,.14); }
.t3-field:focus-within > i { color: var(--t3-gold); }
.t3-eye { position: absolute; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: #a8896e; cursor: pointer; }
.t3-eye:hover { color: #fde68a; background: rgba(255,255,255,.05); }
.login-overlay.t3-login .t3-submit { position: relative; overflow: hidden; width: 100%; height: 54px; margin-top: 22px; border: 0; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; font-weight: 700; color: #1c0f05;
    background: linear-gradient(135deg, #fde68a, #f59e0b 45%, #ea580c); box-shadow: 0 14px 30px -8px rgba(234,88,12,.65), inset 0 1px 0 rgba(255,255,255,.5);
    transition: transform .2s, box-shadow .2s; cursor: pointer; }
.t3-submit::before { content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: t3-sheen 3.6s 1.5s ease-in-out infinite; }
@keyframes t3-sheen { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.t3-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -10px rgba(234,88,12,.8), inset 0 1px 0 rgba(255,255,255,.5); }
.t3-submit:hover i { transform: translateX(4px); } .t3-submit i { transition: transform .2s; }
.login-overlay.t3-login .login-error { color: #fca5a5; }
.t3-secure { margin-top: 6px; font-size: 11.5px; color: #9c8572; display: flex; align-items: center; justify-content: center; gap: 7px; }
.t3-secure i { color: #4ade80; }

/* Geliştirici imzası */
.t3-credit { width: 100%; max-width: 420px; box-sizing: border-box; display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center;
    padding: 14px 16px; border-radius: 18px; background: linear-gradient(160deg, rgba(30,24,18,.85), rgba(14,11,8,.85));
    border: 1px solid rgba(212,175,55,.32); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); animation: t3-rise 1s .9s both; }
.t3-credit img { grid-row: span 2; width: 54px; height: auto; border-radius: 12px; border: 1px solid rgba(212,175,55,.35); }
.t3-credit p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #e7dccd; }
.t3-credit p a { color: #e8c063; font-weight: 600; text-decoration: none; }
.t3-credit p a:hover { text-decoration: underline; }
.t3-credit-cta { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
    color: #1d1405; text-decoration: none; background: linear-gradient(135deg, #f3d98b, #d4a640); box-shadow: 0 6px 16px -6px rgba(212,166,64,.7); transition: transform .2s; }
.t3-credit-cta:hover { transform: translateY(-1px); }

/* Duyarlı */
@media (max-width: 1080px) {
    .t3-stage { grid-template-columns: 1fr; gap: 26px; padding: 34px 20px 28px; max-width: 560px; }
    .t3-showcase { text-align: center; }
    .t3-tagline { margin-left: auto; margin-right: auto; font-size: 16px; }
    .t3-chips { justify-content: center; margin: 0 auto; }
    .t3-widgets { display: none; }
    .t3-word { font-size: 56px; margin: 16px 0 10px; }
}
@media (max-width: 560px) {
    .t3-chips { display: none; }
    .t3-tagline br { display: none; }
    .t3-word { font-size: 46px; }
    .login-overlay.t3-login .login-card.t3-card { padding: 26px 20px 20px; border-radius: 22px; }
    .t3-credit { grid-template-columns: auto 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .t3-login *, .t3-login *::before, .t3-login *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* Açılış: oturum kontrol edilirken panel hiç görünmez; yalnızca sahne arka planı ve yükleniyor halkası */
.t3-booting .t3-stage { display: none; }
.t3-booting::after { content: ''; position: absolute; left: 50%; top: 50%; z-index: 3; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
    border: 4px solid rgba(255,255,255,.08); border-top-color: #f59e0b; animation: t3-boot-spin .8s linear infinite; }
@keyframes t3-boot-spin { to { transform: rotate(360deg); } }
