:root{--blue-dark:#041427;--blue-main:#0b47a1;--blue-mid:#1366d6;--blue-light:#6eb7ff;--teal:#12b9a3;--teal-dark:#0e9484;--white:#ffffff;--auth-h:46px;--chip-h:34px;--btn-h:46px;--auth-w:360px;--radius-auth:12px;--radius-chip:12px}*,:after,:before{box-sizing:border-box}:focus-visible{outline:3px solid rgba(110,183,255,.9);outline-offset:2px;border-radius:10px}.main-page{display:flex;flex-direction:column;min-height:100vh;animation:gradientShift 15s ease infinite;color:var(--white)}@keyframes gradientShift{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}.top-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.2rem 2rem;background-color:rgba(0,0,0,.25);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);position:relative;min-height:72px}.sticky-top{position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(255,255,255,.08);transition:background .25s ease,box-shadow .25s ease,border-color .25s ease}.sticky-top.scrolled{background-color:rgba(0,0,0,.35);border-color:rgba(255,255,255,.12);box-shadow:0 8px 24px rgba(0,0,0,.25)}.topbar-glow{position:absolute;left:0;right:0;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(56,189,248,.7),rgba(59,130,246,.7),transparent);filter:blur(.5px);pointer-events:none}.logo-bar{display:flex;align-items:center;gap:.5rem;font-size:1.3rem;font-weight:800;letter-spacing:.2px;user-select:none;color:#fff;background:transparent;border:0;cursor:pointer;white-space:nowrap}.logo-icon{font-size:1.8rem;color:#fff;filter:drop-shadow(0 2px 6px rgba(0,0,0,.25))}.auth-buttons{display:flex;align-items:center;gap:1rem;min-height:var(--auth-h);min-width:var(--auth-w)}.auth-placeholder{display:inline-flex;align-items:center;gap:.6rem;padding:.35rem .6rem;border-radius:10px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}.placeholder-avatar,.placeholder-btn,.placeholder-text{background:linear-gradient(90deg,rgba(255,255,255,.08) 25%,rgba(255,255,255,.16) 50%,rgba(255,255,255,.08) 75%);background-size:200% 100%;animation:placeholderShimmer 1.2s ease-in-out infinite;border-radius:8px}.placeholder-avatar{width:24px;height:24px;border-radius:50%}.placeholder-text{width:140px;height:14px}.placeholder-btn{width:110px;height:32px;border-radius:10px}@keyframes placeholderShimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.user-info-box{gap:12px;flex-wrap:nowrap;height:var(--auth-h);padding:8px 12px;border-radius:var(--radius-auth);background:rgba(6,135,255,.14);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(3px);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 6px 18px rgba(0,0,0,.16);max-width:100%}.user-details,.user-info-box{display:flex;align-items:center}.user-details{gap:8px;flex:0 1 auto;height:calc(var(--auth-h) - 12px);padding:0 16px;border-radius:var(--radius-chip);background:linear-gradient(180deg,var(--blue-mid),#0f56c0);border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 2px 6px rgba(0,0,0,.18);color:#fff;font-weight:700;white-space:nowrap}.user-icon{font-size:1.05rem;opacity:.95}.user-email{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:30ch}.auth-actions{display:flex;flex-direction:row;align-items:center;gap:10px;flex-wrap:nowrap}.auth-buttons button,.fancy-btn{display:flex;align-items:center;justify-content:center;gap:.55rem;height:var(--btn-h);padding:0 18px;font-size:1rem;font-weight:600;line-height:1;border:1px solid rgba(255,255,255,.12);border-radius:var(--radius-auth);color:var(--white);background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02));backdrop-filter:blur(2px);cursor:pointer;white-space:nowrap;transition:transform .12s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease,color .2s ease}.auth-buttons button:hover,.fancy-btn:hover{transform:translateY(-1px);border-color:rgba(125,211,252,.6);box-shadow:0 6px 18px rgba(56,189,248,.25)}.auth.login{background-color:var(--blue-mid)}.auth.login:hover{background-color:var(--blue-light);color:#001f3f}.auth.register{background-color:var(--teal)}.auth.register:hover{background-color:var(--teal-dark)}.logout-btn{display:flex;align-items:center;justify-content:center;gap:.6rem;height:calc(var(--auth-h) - 15px);padding:0 20px;border:0!important;border-radius:var(--radius-chip);font-weight:700;font-size:.98rem;white-space:nowrap;min-width:156px;color:#fff!important;background:linear-gradient(180deg,#ef4444,#dc2626 55%,#b91c1c)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 6px 18px rgba(239,68,68,.28);transition:transform .12s ease,box-shadow .2s ease,filter .2s ease,background .2s ease}.logout-btn:hover{filter:brightness(1.05);transform:translateY(-1px)}.logout-btn:active{transform:translateY(0) scale(.99)}.content{flex:1;display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:4rem 6rem}.left{flex:1;max-width:600px}.left h1{font-size:clamp(2.2rem,2.8vw + 1.2rem,3.2rem);font-weight:800;margin-bottom:1.1rem}.left p{font-size:clamp(1rem,.6vw + .9rem,1.25rem);line-height:1.6;color:#e0ecff}.right{flex:1;display:flex;flex-direction:column;gap:1.2rem;max-width:380px}.right button{width:100%;display:flex;align-items:center;justify-content:center;gap:.6rem;height:52px;padding:0 22px;font-size:1.06rem;font-weight:700;border:none;border-radius:12px;color:white;background-color:var(--blue-mid);cursor:pointer;white-space:nowrap;transition:transform .15s ease,background-color .2s ease,box-shadow .2s ease;box-shadow:0 8px 22px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.12)}.right button:hover{background-color:var(--blue-light);color:#001f3f;transform:translateY(-2px) scale(1.02)}button.admin{background:linear-gradient(180deg,var(--teal),var(--teal-dark) 65%)}button.admin:hover{filter:brightness(1.06)}@media (max-width:900px){.right{max-width:100%}}@media (max-width:768px){.content{flex-direction:column;padding:2rem;text-align:center}.right{width:100%}.right,.top-bar{align-items:stretch}.top-bar{flex-direction:column}.auth-buttons{align-self:flex-end}}@media (prefers-reduced-motion:reduce){.fancy-btn:hover,.right button:hover{transform:none}.top-bar{transition:none}.main-page{animation:none}}.main-page{background:linear-gradient(135deg,var(--blue-dark),var(--blue-main),var(--blue-mid),var(--blue-light));background-size:400% 400%;animation:bfGradientShift 15s ease infinite;will-change:background-position}@keyframes bfGradientShift{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}