@font-face{font-family:Inter;src:url(/assets/Inter-c8O0ljhh.ttf)}@font-face{font-family:Manrope;src:url(/assets/Manrope-0N3pECc_.ttf)}:root{--color-bg: #f8f9fa;--color-bg-elevated: #ffffff;--color-text: #212529;--color-accent: #ff4f4f;--color-accent-hover: rgba(255, 79, 79, .7);--color-green: #6acc64;--color-green-hover: rgba(88, 207, 80, .7);--color-yellow: #ffc107;--btn-hover: rgba(255, 79, 79, .1);--color-accent-alt: #f72585;--color-muted: #6c757d;--color-border-soft: #dee2e6;--color-border-strong: #ced4da;--radius-md: 12px;--radius-lg: 20px;--shadow-soft: 0 10px 30px rgba(15, 23, 42, .06);--shadow-green: 0 10px 30px rgba(56, 193, 56, .3);--shadow-yellow: 0 10px 30px rgba(213, 192, 62, .3);--transition-fast: .3s ease;--layout-max-width: 1440px}*{padding:0;margin:0;box-sizing:border-box;color:#111;font-family:Inter,sans-serif;text-decoration:none;font-weight:400;font-size:16px;transition:.3s ease;outline:none}.body-wrapper{overflow:hidden;position:relative;width:100%;background:var(--color-bg);min-height:100vh;display:flex;flex-direction:column}html{scroll-behavior:smooth;height:100%}body{background:#fff;height:100%}.container{max-width:1480px;margin:0 auto;padding:0 20px}.header{border-bottom:1px solid rgba(0,0,0,.04);box-shadow:0 10px 30px #0f172a0f}header{display:flex;justify-content:space-between;padding:20px 0;align-items:center}nav{display:flex;gap:20px}.profile-link{display:flex;align-items:center;gap:20px}.burger-btn{display:none;cursor:pointer;z-index:1000}@media(max-width:768px){nav{padding:30px;max-width:300px;width:100%;background:var(--color-bg-elevated);top:0;right:0;position:absolute;flex-direction:column;transform:translate(100%)}nav.active{transform:translate(0)}.burger-btn{display:block}.profile-link{display:none}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.page{animation:fadeIn .7s}h1{font-size:40px;line-height:1.1;font-family:Manrope,sans-serif;font-weight:700}h2{font-size:32px;line-height:1.2;font-family:Manrope,sans-serif;font-weight:600}h3{font-size:24px;line-height:1.3;font-family:Manrope,sans-serif;font-weight:500}.subtitle{color:#111111b3}@media(max-width:1280px){h1{font-size:36px}h2{font-size:28px}h3{font-size:20px}}@media(max-width:640px){h1{font-size:32px}h2{font-size:24px}.h3{font-size:16px}}.btn{cursor:pointer;padding:8px 16px;border-radius:8px;border:2px solid transparent;font-weight:500;text-align:center;width:fit-content}.btn:hover{background:var(--btn-hover)}.btn.primary{background:var(--color-accent);color:#fff}.btn.primary:hover{border-color:transparent;background:var(--color-accent-hover)}.btn.connect{background:var(--color-green);color:var(--color-bg-elevated)}.btn.connect:hover{border-color:transparent;background:var(--color-green-hover)}.nav-link{padding:8px 16px;border-radius:8px}.nav-link:hover{background:var(--btn-hover)}.nav-link.active{color:var(--color-accent)}img{width:100%;max-height:400px;object-fit:cover;border-radius:10px}.icon{width:52px;height:52px}.center{margin:0 auto}.profile{position:relative;width:120px;height:120px;border-radius:50%;margin-bottom:30px}.profile.mini{width:50px;height:50px;margin-bottom:0}.profile.overlay{position:absolute;display:flex;justify-content:center;align-items:center;top:0;right:0;width:100%;background:#1110;filter:brightness(.8);cursor:pointer}.profile.overlay svg{position:relative;z-index:1000;opacity:0}.profile.overlay:hover{background:#11111180}.profile.overlay:hover svg{opacity:1}.grid-col-one{display:grid;grid-template-columns:1fr;gap:20px}.grid-col-two{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.grid-col-three{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.grid-col-four{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}@media(max-width:1050px){.grid-col-four{grid-template-columns:repeat(2,1fr)}}@media(max-width:940px){.grid-col-three{grid-template-columns:1fr}.grid-span-two{grid-column:span 1}.grid-col-two{grid-template-columns:1fr}}@media(max-width:550px){.grid-col-four{grid-template-columns:1fr}}.flex{display:flex;gap:20px}.flex-column{flex-direction:column}.flex-center{align-items:center}.between{justify-content:space-between}.w-full{width:100%}.w-fifty{width:50%}.banner p{font-size:20px}form{background:var(--color-bg-elevated);padding:24px;border-radius:10px;display:flex;flex-direction:column;gap:24px;max-width:500px;width:100%;align-items:center;border:1px solid var(--color-border-soft)}label{width:100%;gap:8px;display:flex;flex-direction:column}input,select{padding:8px 16px;border:1px solid var(--color-border-soft);border-radius:5px}.input-error{color:red}.status{padding:5px 8px;border-radius:20px}.status.pending{color:#418e3a;background:#58cf504d}section{display:flex;flex-direction:column;gap:100px;margin-top:100px}.card{padding:24px;display:flex;flex-direction:column;align-items:center;background:var(--color-bg-elevated);border-radius:10px;gap:10px;border:1px solid var(--color-border-soft)}.card.session{align-items:start}.card.session.active{border-color:var(--color-green);box-shadow:var(--shadow-green)}.card.session.win{border-color:var(--color-yellow);box-shadow:var(--shadow-yellow)}.card.session.lose{filter:brightness(.85)}.card:hover{scale:.95}.game-card{padding:24px;display:flex;flex-direction:column;background:var(--color-bg-elevated);border-radius:10px;gap:15px;border:1px solid var(--color-border-soft)}.game-card.invite{max-width:600px;width:100%}.game-card.message{width:100%;max-width:600px;margin:0 auto;animation:fadeIn .3s}footer{margin-top:100px;background:var(--color-bg-elevated);padding:30px 0}.toast{position:fixed;bottom:20px;right:20px;padding:20px;background:var(--color-accent);color:var(--color-bg-elevated);border-radius:10px;animation:fadeIn .3s}@keyframes cubeSpin{0%{transform:rotateX(0) rotateY(0)}to{transform:rotateX(360deg) rotateY(360deg)}}@keyframes cubeSpin6{0%{transform:rotateX(0) rotateY(0)}25%{transform:rotateX(90deg) rotateY(90deg)}50%{transform:rotateX(180deg) rotateY(180deg)}75%{transform:rotateX(270deg) rotateY(270deg)}to{transform:rotateX(90deg) rotateY(0)}}@keyframes cubeSpin5{0%{transform:rotateX(0) rotateY(0)}25%{transform:rotateX(90deg) rotateY(90deg)}50%{transform:rotateX(180deg) rotateY(180deg)}75%{transform:rotateX(270deg) rotateY(270deg)}to{transform:rotateX(0) rotateY(90deg)}}@keyframes cubeSpin4{0%{transform:rotateX(0) rotateY(0)}25%{transform:rotateX(90deg) rotateY(90deg)}50%{transform:rotateX(180deg) rotateY(180deg)}75%{transform:rotateX(270deg) rotateY(270deg)}to{transform:rotateX(0) rotateY(0)}}@keyframes cubeSpin3{0%{transform:rotateX(0) rotateY(0)}25%{transform:rotateX(90deg) rotateY(90deg)}50%{transform:rotateX(180deg) rotateY(180deg)}75%{transform:rotateX(270deg) rotateY(270deg)}to{transform:rotateX(0) rotateY(180deg)}}@keyframes cubeSpin2{0%{transform:rotateX(0) rotateY(0)}25%{transform:rotateX(90deg) rotateY(90deg)}50%{transform:rotateX(180deg) rotateY(180deg)}75%{transform:rotateX(270deg) rotateY(270deg)}to{transform:rotateX(0) rotateY(270deg)}}@keyframes cubeSpin1{0%{transform:rotateX(0) rotateY(0)}25%{transform:rotateX(90deg) rotateY(90deg)}50%{transform:rotateX(180deg) rotateY(180deg)}75%{transform:rotateX(270deg) rotateY(270deg)}to{transform:rotateX(270deg) rotateY(270deg)}}.scene{width:100px;height:100px;perspective:600px}.cube{width:100%;height:100%;position:relative;transform-style:preserve-3d;transform:rotateX(0) rotateY(250deg) rotate(0);transition:transform .5s ease-out}.cube.count6{animation:cubeSpin6 2s forwards}.cube.count5{animation:cubeSpin5 2s forwards}.cube.count4{animation:cubeSpin4 2s forwards}.cube.count3{animation:cubeSpin3 2s forwards}.cube.count2{animation:cubeSpin2 2s forwards}.cube.count1{animation:cubeSpin1 2s forwards}.cube:hover{transform:rotateX(-90deg) rotateY(0)}.face{position:absolute;width:100px;height:100px;border:2px solid #CED4DAFF;background:#fff;border-radius:10px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);padding:10px;font-size:20px;opacity:1}.face .dot{height:20px;width:20px;border-radius:50%;background:#111;justify-self:center;align-self:center}.face .empty{height:20px;width:20px}.top .dot{background:#ff4f4f}.front{transform:translateZ(50px)}.back{transform:rotateY(180deg) translateZ(50px)}.left{transform:rotateY(-90deg) translateZ(50px)}.right{transform:rotateY(90deg) translateZ(50px)}.top{transform:rotateX(90deg) translateZ(50px)}.bottom{transform:rotateX(-90deg) translateZ(50px)}@media(max-width:530px){.scene{width:70px;height:70px;perspective:200px}.face{width:70px;height:70px;padding:5px}.face .dot,.face .empty{height:14px;width:14px}.front{transform:translateZ(35px)}.back{transform:rotateY(180deg) translateZ(35px)}.left{transform:rotateY(-90deg) translateZ(35px)}.right{transform:rotateY(90deg) translateZ(35px)}.top{transform:rotateX(90deg) translateZ(35px)}.bottom{transform:rotateX(-90deg) translateZ(35px)}}.dice-container{display:flex;justify-content:center;gap:100px;flex-wrap:wrap}.cube.skin1 .face{background:#ff4f4f;border-color:#fff}.cube.skin1 .face .dot{background:#fff}.cube.skin2 .face{background-image:url(/assets/pashalko-B_c13VO0.jpg);border-color:#fff;background-size:cover}.cube.skin2 .face .dot{background:#fff}.cube.skin3 .face{background-image:url(/assets/shakal-BszcBG2c.png);border-color:#505b92;background-size:cover}.cube.skin3 .dot{background:#fff;border:2px solid #111}
