:root{
    --bg:#050507;
    --panel:rgba(15,15,21,.76);
    --line:rgba(255,255,255,.1);
    --text:#f7f5f8;
    --muted:#aaa7b0;
    --pink:#ff2f92;
    --cyan:#00e5ff;
    --red:#ff3b19;
    --ease:cubic-bezier(.2,.8,.2,1)
}

*{
    box-sizing:border-box
}

html{
    scroll-behavior:smooth
}

body{
    margin:0;
    background:
        radial-gradient(circle at 10% 5%,#21091a 0,transparent 28%),
        radial-gradient(circle at 90% 15%,#071c21 0,transparent 25%),
        linear-gradient(#050507,#08080c 55%,#030305);
    color:var(--text);
    font:15px Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    overflow-x:hidden
}

body:before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:-1;
    background-image:
        linear-gradient(#fff1 1px,transparent 1px),
        linear-gradient(90deg,#fff1 1px,transparent 1px);
    background-size:58px 58px;
    mask-image:linear-gradient(#000,transparent 85%)
}

a{
    color:inherit;
    text-decoration:none
}

button,
input{
    font:inherit
}

.container{
    width:min(1440px,calc(100% - 48px));
    margin:auto
}


/* =========================================
   ШАПКА
   ========================================= */

.site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:#050507cc;
    backdrop-filter:blur(18px);
    border-bottom:1px solid #fff1
}

.header-inner{
    min-height:82px;
    display:flex;
    align-items:center;
    gap:24px
}


/* =========================================
   НОВЫЙ ЛОГОТИП
   ========================================= */

.brand{
    display:flex;
    align-items:center;
    gap:11px
}

.brand-mark{
    width:58px;
    height:58px;
    display:grid;
    place-items:center;

    border:1px solid #ff2f9266;
    border-radius:14px;

    background-color:#111118;
    background-image:url("logo.jpg");
    background-size:contain;
    background-position:center;
    background-repeat:no-repeat;

    box-shadow:0 0 28px #ff2f9233;

    overflow:hidden;
    flex-shrink:0
}

/* Скрываем старый SVG-логотип */
.brand-mark svg{
    display:none
}

.brand-copy{
    line-height:1
}

.brand-title{
    display:block;
    font-size:16px;
    font-weight:950;
    letter-spacing:.07em
}

.brand-sub{
    display:block;
    margin-top:5px;
    color:#99959f;
    font-size:9px;
    letter-spacing:.25em
}


/* =========================================
   НАВИГАЦИЯ
   ========================================= */

.nav{
    display:flex;
    justify-content:center;
    gap:2px;
    flex:1
}

.nav a{
    position:relative;
    padding:12px;
    color:#c9c6cd;
    font-size:13px;
    font-weight:800
}

.nav a:after{
    content:"";
    position:absolute;
    left:12px;
    right:12px;
    bottom:3px;
    height:2px;
    background:var(--pink);
    box-shadow:0 0 12px var(--pink);
    transform:scaleX(0);
    transition:.25s
}

.nav a:hover,
.nav a.active{
    color:#fff
}

.nav a:hover:after,
.nav a.active:after{
    transform:scaleX(1)
}

.header-actions{
    display:flex
}


/* =========================================
   КНОПКИ
   ========================================= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 18px;
    border:1px solid #fff2;
    border-radius:14px;
    color:#fff;
    font-weight:850;
    font-size:13px;
    cursor:pointer;
    transition:.25s var(--ease)
}

.btn:hover{
    transform:translateY(-3px)
}

.btn-primary{
    background:#ff2f9218;
    border-color:#ff2f9280;
    box-shadow:0 0 28px #ff2f9233
}

.btn-cyan{
    background:#00e5ff12;
    border-color:#00e5ff70;
    box-shadow:0 0 28px #00e5ff26
}

.btn-ghost{
    background:#ffffff08
}

.menu-toggle{
    display:none;
    width:46px;
    padding:0
}


/* =========================================
   ГЛАВНАЯ
   ========================================= */

.hero{
    min-height:650px;
    padding:78px 0 64px;
    display:flex;
    align-items:center
}

.hero-grid{
    display:grid;
    grid-template-columns:1.08fr .92fr;
    gap:45px;
    align-items:center
}

.eyebrow{
    font-size:13px;
    color:var(--pink);
    font-weight:950;
    letter-spacing:.16em;
    text-transform:uppercase;
    text-shadow:0 0 18px #ff2f9266
}

.hero h1{
    margin:10px 0 0;
    font-size:clamp(58px,8vw,120px);
    line-height:.82;
    letter-spacing:-.07em
}

.city{
    display:block;
    color:var(--pink);
    font-style:italic;
    text-shadow:
        0 0 12px #ff2f92aa,
        0 0 45px #ff2f9244
}

.helpers{
    display:block;
    color:var(--cyan);
    font-style:italic;
    text-shadow:
        0 0 12px #00e5ffaa,
        0 0 45px #00e5ff44
}

.hero-lead{
    max-width:620px;
    margin:32px 0;
    color:#c6c3ca;
    line-height:1.75;
    font-size:17px
}

.hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap
}


/* =========================================
   БОЛЬШОЙ БЛОК НА ГЛАВНОЙ
   ========================================= */

.hero-visual{
    position:relative;
    min-height:430px;
    overflow:hidden;
    border:1px solid #fff1;
    border-radius:32px;
    background:
        radial-gradient(ellipse at 55% 35%,#ff2f9238,transparent 35%),
        linear-gradient(#15151e,#07070c 75%);
    box-shadow:
        0 35px 90px #0009,
        0 0 50px #ff2f9218;
    transition:transform .2s
}

.visual-label{
    position:absolute;
    top:25px;
    left:25px;
    color:#bbb7bf;
    font-size:10px;
    letter-spacing:.2em
}

.bear-large{
    position:absolute;
    left:0;
    top:75px;
    width:210px;
    height:210px;
    display:grid;
    place-items:center;
    filter:drop-shadow(0 0 25px #ff3b1940)
}

.bear-large svg{
    width:180px
}

.skyline{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:60%
}

.building{
    position:absolute;
    bottom:0;
    background:linear-gradient(#252532,#08080d);
    border:1px solid #fff1
}

.building:after{
    content:"";
    position:absolute;
    inset:10px;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0 17px,
            #00e5ff14 18px 20px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0 20px,
            #ff2f9218 21px 23px
        )
}

.b1{
    left:0;
    width:23%;
    height:42%
}

.b2{
    left:20%;
    width:27%;
    height:55%
}

.tower{
    left:47%;
    width:82px;
    height:82%
}

.tower:before{
    content:"";
    position:absolute;
    left:36px;
    top:-68px;
    width:9px;
    height:68px;
    background:#292936
}

.tower:after{
    content:"";
    position:absolute;
    left:39px;
    top:-84px;
    width:4px;
    height:16px;
    background:var(--pink);
    box-shadow:0 0 15px var(--pink)
}

.b4{
    right:20%;
    width:22%;
    height:35%
}

.b3{
    right:0;
    width:27%;
    height:48%
}

.water{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    height:24%;
    background:linear-gradient(#00e5ff10,#ff2f9215);
    border-top:1px solid #00e5ff22
}

.water:after{
    content:"";
    position:absolute;
    inset:25% 0 0;
    background:repeating-linear-gradient(
        0deg,
        #ff2f9220 0 1px,
        transparent 1px 17px
    );
    transform:skewY(-2deg)
}

.visual-city{
    position:absolute;
    bottom:24px;
    left:24px;
    color:#fff08;
    font-size:50px;
    font-weight:950;
    letter-spacing:-.05em
}


/* =========================================
   КАРТОЧКИ
   ========================================= */

.section{
    padding:35px 0
}

.grid-4{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px
}

.card{
    background:linear-gradient(145deg,#ffffff0d,#ffffff03);
    border:1px solid var(--line);
    border-radius:22px;
    backdrop-filter:blur(15px);
    box-shadow:0 22px 65px #0005;
    overflow:hidden;
    transition:.3s var(--ease)
}

.card:hover{
    transform:translateY(-7px);
    border-color:#ff2f9244;
    box-shadow:
        0 28px 75px #0008,
        0 0 30px #ff2f9215
}

.portal-card{
    min-height:215px;
    padding:22px;
    display:flex;
    flex-direction:column
}


/* =========================================
   ИКОНКИ
   ========================================= */

.icon-box{
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    margin-bottom:20px;
    border-radius:15px;
    color:var(--pink);
    background:#ff2f9215;
    border:1px solid #ff2f9238
}

.icon-box.cyan{
    color:var(--cyan);
    background:#00e5ff10;
    border-color:#00e5ff38
}

.icon-box svg{
    width:25px
}


/* =========================================
   КАРТОЧКИ ПОРТАЛА
   ========================================= */

.portal-card h3{
    margin:0 0 8px;
    font-size:20px
}

.portal-card p{
    margin:0;
    color:var(--muted);
    font-size:13px;
    line-height:1.55
}

.card-arrow{
    display:flex;
    justify-content:space-between;
    margin-top:auto;
    padding-top:20px;
    color:var(--pink);
    font-weight:850
}

.card-arrow.cyan{
    color:var(--cyan)
}


/* =========================================
   ПАНЕЛИ
   ========================================= */

.dashboard-grid{
    display:grid;
    grid-template-columns:1.25fr .85fr .9fr;
    gap:16px
}

.panel{
    padding:24px
}

.section-head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:15px;
    margin-bottom:18px
}

.section-kicker{
    color:var(--pink);
    font-size:11px;
    font-weight:950;
    letter-spacing:.16em;
    text-transform:uppercase
}

.section h2{
    margin:6px 0 0;
    font-size:34px;
    letter-spacing:-.04em
}

.panel h3{
    margin:7px 0 18px;
    font-size:20px
}


/* =========================================
   НОВОСТИ
   ========================================= */

.news-list{
    display:grid
}

.news-item{
    display:grid;
    grid-template-columns:64px 1fr;
    gap:14px;
    padding:14px 0;
    border-top:1px solid #fff1
}

.news-date{
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    text-align:center;
    border:1px solid #fff1;
    border-radius:12px;
    background:#fff1
}

.news-date b{
    font-size:19px
}

.news-date small{
    font-size:9px;
    color:#aaa
}

.news-item h4{
    margin:0 0 5px;
    font-size:14px
}

.news-item p{
    margin:0;
    color:var(--muted);
    font-size:12px
}


/* =========================================
   ТОЧКИ
   ========================================= */

.dot{
    display:inline-block;
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--pink);
    box-shadow:0 0 10px var(--pink);
    margin-right:8px
}

.dot.cyan{
    background:var(--cyan);
    box-shadow:0 0 10px var(--cyan)
}


/* =========================================
   ССЫЛКИ
   ========================================= */

.link-list a{
    display:flex;
    justify-content:space-between;
    padding:13px 0;
    border-top:1px solid #fff1;
    color:#ddd
}

.link-list a:hover{
    color:var(--cyan)
}


/* =========================================
   СТАТИСТИКА
   ========================================= */

.stats{
    display:grid;
    gap:18px
}

.stat-main{
    padding:5px 0 18px;
    border-bottom:1px solid #fff1
}

.stat-main strong{
    font-size:45px;
    color:var(--pink);
    text-shadow:0 0 20px #ff2f9244
}

.stat-main span,
.stat strong+span{
    display:block;
    color:var(--muted);
    font-size:11px;
    text-transform:uppercase
}

.stat-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px
}

.stat strong{
    font-size:29px;
    color:var(--cyan)
}


/* =========================================
   ВНУТРЕННИЕ СТРАНИЦЫ
   ========================================= */

.page-hero{
    padding:75px 0 35px
}

.page-hero h1{
    margin:8px 0;
    font-size:clamp(45px,6vw,78px);
    letter-spacing:-.06em
}

.page-hero p{
    max-width:780px;
    color:var(--muted);
    line-height:1.75
}

.content-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    padding-bottom:70px
}

.content-card{
    padding:25px
}


/* =========================================
   ПРАВИЛА
   ========================================= */

.rule-block{
    padding:23px 0;
    border-top:1px solid #fff1
}

.rule-block:first-child{
    border-top:0
}

.rule-num,
.feed-date,
.day-label{
    color:var(--pink);
    font-weight:950;
    letter-spacing:.1em;
    font-size:11px
}

.rule-block h3{
    margin:8px 0
}

.rule-block p{
    margin:0;
    color:var(--muted);
    line-height:1.7
}


/* =========================================
   ИНСТРУКЦИИ
   ========================================= */

.instruction-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    padding-bottom:70px
}

.instruction-card{
    padding:24px
}

.tag{
    display:inline-flex;
    padding:6px 9px;
    border:1px solid #00e5ff38;
    border-radius:999px;
    color:var(--cyan);
    background:#00e5ff10;
    font-size:10px;
    font-weight:900
}

.instruction-card h3{
    margin:15px 0 8px
}

.instruction-card p{
    color:var(--muted);
    line-height:1.65;
    font-size:13px;
    min-height:65px
}


/* =========================================
   КАЛЕНДАРЬ
   ========================================= */

.calendar{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:12px;
    padding-bottom:70px
}

.day-card{
    padding:18px;
    min-height:300px
}

.day-card h3{
    margin:8px 0 15px
}

.task{
    padding:12px 0;
    border-top:1px solid #fff1;
    font-size:12px;
    color:#ddd
}

.reward{
    margin-top:15px;
    color:var(--cyan);
    font-weight:900;
    font-size:12px;
    line-height:1.5
}


/* =========================================
   ЛЕНТА
   ========================================= */

.feed{
    display:grid;
    gap:14px;
    padding-bottom:70px
}

.feed-item{
    padding:24px;
    display:grid;
    grid-template-columns:90px 1fr;
    gap:18px
}

.feed-item h3{
    margin:0 0 7px
}

.feed-item p{
    margin:0;
    color:var(--muted);
    line-height:1.7
}


/* =========================================
   FAQ
   ========================================= */

.faq{
    display:grid;
    gap:10px;
    padding-bottom:70px
}

.faq-item{
    border:1px solid var(--line);
    border-radius:16px;
    background:#fff0008;
    overflow:hidden
}

.faq-question{
    width:100%;
    display:flex;
    justify-content:space-between;
    gap:15px;
    padding:20px;
    background:none;
    border:0;
    color:#fff;
    text-align:left;
    font-weight:850;
    cursor:pointer
}

.faq-question span:last-child{
    color:var(--pink);
    font-size:21px;
    transition:.25s
}

.faq-answer{
    display:grid;
    grid-template-rows:0fr;
    transition:grid-template-rows .3s
}

.faq-answer>div{
    overflow:hidden
}

.faq-answer p{
    margin:0;
    padding:0 20px 20px;
    color:var(--muted);
    line-height:1.7;
    font-size:13px
}

.faq-item.open .faq-answer{
    grid-template-rows:1fr
}

.faq-item.open .faq-question span:last-child{
    transform:rotate(45deg)
}


/* =========================================
   КОНТАКТЫ
   ========================================= */

.contacts{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:16px;
    padding-bottom:70px
}

.contact-card{
    padding:28px
}

.contact-row{
    display:flex;
    gap:14px;
    padding:17px 0;
    border-top:1px solid #fff1
}

.contact-row .icon-box{
    margin:0;
    flex:none
}

.contact-row strong{
    display:block;
    margin-bottom:4px
}

.contact-row span:not(.icon-box){
    color:var(--muted);
    font-size:13px
}


/* =========================================
   СТРАНИЦА ВХОДА
   ========================================= */

.login-wrap{
    min-height:calc(100vh - 82px);
    display:grid;
    place-items:center;
    padding:60px 0
}

.login-card{
    width:min(500px,100%);
    padding:34px
}

.login-card h1{
    margin:7px 0;
    font-size:36px
}

.login-card p{
    color:var(--muted);
    line-height:1.6;
    font-size:13px
}

.field{
    margin:18px 0
}

.field label{
    display:block;
    margin-bottom:8px;
    font-size:12px;
    font-weight:850
}

.field input{
    width:100%;
    height:50px;
    padding:0 14px;
    border:1px solid #fff2;
    border-radius:13px;
    background:#09090d;
    color:#fff;
    outline:0
}

.field input:focus{
    border-color:#ff2f9290;
    box-shadow:0 0 0 4px #ff2f9212
}

.login-note{
    text-align:center;
    color:#77747d;
    font-size:11px;
    margin-top:15px
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer{
    border-top:1px solid #fff1;
    padding:26px 0;
    background:#0003
}

.footer-inner{
    display:flex;
    justify-content:space-between;
    gap:20px
}

.footer-brand{
    font-size:11px;
    font-weight:950;
    letter-spacing:.08em
}

.footer-copy{
    color:#6f6c75;
    font-size:11px
}


/* =========================================
   АНИМАЦИИ
   ========================================= */

.reveal{
    opacity:0;
    transform:translateY(20px);
    transition:.7s var(--ease)
}

.reveal.visible{
    opacity:1;
    transform:none
}


/* =========================================
   ПЛАНШЕТ
   ========================================= */

@media(max-width:1100px){

    .grid-4{
        grid-template-columns:repeat(2,1fr)
    }

    .dashboard-grid{
        grid-template-columns:1fr 1fr
    }

    .dashboard-grid .panel:first-child{
        grid-column:1/-1
    }

    .instruction-grid{
        grid-template-columns:repeat(2,1fr)
    }

    .calendar{
        grid-template-columns:repeat(4,1fr)
    }

    .nav a{
        padding-inline:7px;
        font-size:12px
    }

}


/* =========================================
   МОБИЛЬНЫЕ
   ========================================= */

@media(max-width:820px){

    .container{
        width:calc(100% - 28px)
    }

    .header-inner{
        min-height:70px
    }

    .login-btn{
        display:none
    }

    .menu-toggle{
        display:inline-flex
    }

    .nav{
        position:absolute;
        top:76px;
        left:14px;
        right:14px;

        display:grid;
        grid-template-columns:repeat(2,1fr);

        padding:10px;

        background:#08080cf7;
        border:1px solid var(--line);
        border-radius:18px;

        opacity:0;
        pointer-events:none;
        transform:translateY(-8px);
        transition:.25s
    }

    .nav.open{
        opacity:1;
        pointer-events:auto;
        transform:none
    }

    .hero{
        padding:55px 0 40px
    }

    .hero-grid{
        grid-template-columns:1fr
    }

    .hero-visual{
        min-height:360px
    }

    .dashboard-grid,
    .content-grid,
    .contacts{
        grid-template-columns:1fr
    }

    .dashboard-grid .panel:first-child{
        grid-column:auto
    }

    .calendar{
        grid-template-columns:repeat(2,1fr)
    }

}


/* =========================================
   ТЕЛЕФОН
   ========================================= */

@media(max-width:560px){

    .grid-4,
    .instruction-grid,
    .calendar{
        grid-template-columns:1fr
    }

    .hero h1{
        font-size:62px
    }

    .hero-actions .btn{
        width:100%
    }

    .hero-visual{
        min-height:300px
    }

    .bear-large{
        width:150px;
        height:150px
    }

    .bear-large svg{
        width:130px
    }

    .visual-city{
        font-size:35px
    }

    .panel,
    .content-card,
    .contact-card,
    .login-card{
        padding:20px
    }

    .feed-item{
        grid-template-columns:1fr
    }

}
