* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
}

.guest-topbar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.guest-topbar__inner {
    max-width: 1400px;
    height: 55px;
    margin: 0 auto;
    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.guest-topbar__brand {
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    flex-shrink: 0;
    height:100%;
}


.guest-topbar__logo-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff7b00 0%, #fbff00 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(220, 90, 180, 0.22);
}

.guest-topbar__brand-text {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #ffa600 0%, #ff3c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.guest-topbar__logo{
    height:100%;
    width:auto;
}

.guest-topbar__nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
    margin-right: 24px;
}

.guest-topbar__nav-link {
    text-decoration: none;
    color: #2d2d2d;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.guest-topbar__nav-link:hover {
    opacity: 0.7;
}

.guest-topbar__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.guest-topbar__login {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #222222;
    font-size: 16px;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.guest-topbar__login:hover {
    opacity: 0.7;
}

.guest-topbar__login-icon {
    font-size: 18px;
    line-height: 1;
}

.guest-topbar__cta {
    height: 40px;
    padding: 0 28px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    background: linear-gradient(135deg, #ff0000 0%, #ff7300 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 10px 24px rgba(230, 100, 120, 0.24);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.guest-topbar__cta:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

:root{
--grad1:#ff4314;
--grad2:#ff7a3d;
}

.login-btn{

display:flex;
align-items:center;
gap:10px;

height:42px;
padding:0 20px;

font-size:15px;
font-weight:600;
color:#222;

text-decoration:none;

border-radius:12px;
border:2px solid transparent;

/* градиентная рамка */
background:
linear-gradient(#fff,#fff) padding-box,
linear-gradient(135deg,var(--grad1),var(--grad2)) border-box;

transition:all .2s ease;
}

.login-btn:hover{

color:white;

background:
linear-gradient(135deg,var(--grad1),var(--grad2)) padding-box,
linear-gradient(135deg,var(--grad1),var(--grad2)) border-box;

}

:root{
    --grad1:#ff7a3d;
    --grad2:#f72929;

    --text:#222222;
    --bg:#ffffff;

    --actions-font:'Inter', 'Segoe UI', Arial, sans-serif;
}

.login-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;

    height:40px;
    padding:0 20px;

    text-decoration:none;
    color:var(--text);

    font-family:var(--actions-font);
    font-size:16px;
    font-weight:700;
    letter-spacing:0;

    border-radius:14px;
    border:2px solid transparent;

    background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        linear-gradient(135deg, var(--grad1), var(--grad2)) border-box;

    transition:all 0.2s ease;
}

.login-btn:hover{
    color:#ffffff;
    background:
        linear-gradient(135deg, var(--grad1), var(--grad2)) padding-box,
        linear-gradient(135deg, var(--grad1), var(--grad2)) border-box;
}

.login-icon{
    width:18px;
    height:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.login-icon svg{
    width:18px;
    height:18px;
    display:block;
}

.login-text{
    line-height:1;
}

.guest-topbar__burger{
    display:none;
    width:40px;
    height:40px;
    padding:0;
    border:none;
    background:transparent;
    cursor:pointer;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    flex-shrink:0;
}

.guest-topbar__burger span,
.guest-mobile-menu__burger span{
    display:block;
    width:22px;
    height:2px;
    margin:0 auto;
    border-radius:999px;
    background:#222222;
}

.guest-mobile-menu{
    position:fixed;
    inset:0;
    z-index:1500;
    pointer-events:none;
    opacity:0;
    background:rgba(0,0,0,0.24);
    transition:opacity 0.22s ease;
}

.guest-mobile-menu__panel{
    position:absolute;
    top:0;
    left:0;
    width:min(310px, 86vw);
    height:100%;
    background:#ffffff;
    box-shadow:18px 0 40px rgba(15,23,42,0.16);
    padding:18px 18px 24px;
    transform:translateX(-100%);
    transition:transform 0.24s ease;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.guest-mobile-menu__header{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}

.guest-mobile-menu__burger{
    width:40px;
    height:40px;
    padding:0;
    border:none;
    background:transparent;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    flex-shrink:0;
}

.guest-mobile-menu__logo{
    width:34px;
    height:34px;
    object-fit:contain;
    flex-shrink:0;
}

.guest-mobile-menu__brand{
    font-size:22px;
    font-weight:800;
    line-height:1;
    background:linear-gradient(135deg, #ffa600 0%, #ff3c00 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.guest-mobile-menu__link{
    text-decoration:none;
    color:#222222;
    font-size:16px;
    font-weight:700;
    padding:14px 14px;
    border-radius:14px;
    border:1px solid #e8e8e8;
    transition:background 0.2s ease;
}

.guest-mobile-menu__link:hover{
    background:#f7f7f7;
}

.guest-mobile-menu--open{
    opacity:1;
    pointer-events:auto;
}

.guest-mobile-menu--open .guest-mobile-menu__panel{
    transform:translateX(0);
}

@media (max-width: 900px){
    .guest-topbar__inner{
        padding:0 16px;
        gap:8px;
    }

    .guest-topbar__burger{
        display:flex;
    }

    .guest-topbar__nav{
        display:none;
    }

    .guest-topbar__actions{
        margin-left:auto;
    }

    .guest-topbar__brand-text{
        font-size:23px;
    }
}

@media (max-width: 640px){
    .guest-topbar__cta{
        display:none;
    }

    .login-text{
        display:none;
    }

    .login-btn{
        width:40px;
        padding:0;
        justify-content:center;
        gap:0;
    }
}