html,
body{
    margin:0;
    padding:0;
    width:100%;
    min-height:100%;
    font:13px Verdana, Arial, sans-serif;
    color:#ddd;
    background:#06131d url('/i/bg/main.jpg') center top no-repeat fixed;
    background-size:cover;
}

/* Затемнение фона */
.overlay{
    min-height:100vh;
    background:rgba(0,0,0,.55);
}

/* Шапка */
.header{
    width:1200px;
    max-width:98%;
    margin:0 auto;
    padding:0;
    text-align:center;
    background:none;
}

.header_banner{

    width:100%;

    height:320px;

    overflow:hidden;

    border:1px solid #6c4c22;

    border-radius:8px 8px 0 0;

    box-shadow:0 0 25px rgba(0,0,0,.7);

}

.header_banner img{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

}

.logo{
    width:100%;
    margin:0 auto;
    padding:0;
    font-size:0;
    text-shadow:none;
    letter-spacing:0;
}

.logo img{
    display:block;
    width:100%;
    max-width:1200px;
    height:auto;
    margin:0 auto;
}

/* Основной контейнер */
.content{

    width:1200px;

    max-width:98%;

    margin:20px auto;

    display:grid;

    grid-template-columns:340px 520px 300px;

    gap:20px;

}

.left,
.right{
    width:100%;
}

/* Панели */
.panel{

    margin-bottom:20px;

    background:#111;

    border:2px solid #4e3b23;

    border-radius:0;

    position:relative;

    overflow:hidden;

    box-shadow:
        inset 0 0 0 1px #8b6b39,
        0 0 18px rgba(0,0,0,.65);

}

.panel:hover{
    transform:translateY(-2px);
    box-shadow:
        0 8px 24px rgba(0,0,0,.55),
        0 0 18px rgba(214,177,108,.15),
        inset 0 1px 0 rgba(255,255,255,.05);
}
.panel_title{

    height:48px;

    line-height:48px;

    padding:0 18px;

    font-size:18px;

    font-weight:bold;

    color:#d9b56c;

    text-transform:uppercase;

    background:
        linear-gradient(#4d3518,#2a1c0e);

    border-bottom:1px solid #7a5c2f;

    text-shadow:
        0 1px 0 #000,
        0 0 8px rgba(255,190,80,.3);

}

.panel_body{

    padding:18px;

    background:

        linear-gradient(
            rgba(255,255,255,.02),
            rgba(0,0,0,.10)
        ),

        #131313;

}

/* Поля ввода */
.inp1{
    width:100%;
    box-sizing:border-box;
    padding:12px;
    margin-bottom:15px;
    background:#151515;
    border:1px solid #555;
    border-radius:5px;
    color:#fff;
    font-size:14px;
    transition:all .2s;
}

.inp1:focus{
    outline:none;
    border-color:#d8b56d;
    box-shadow:0 0 10px rgba(214,177,108,.35);
}

/* Кнопки */
.buttons{
    display:flex;
    gap:10px;
}

.inp2,
.inp3{

    flex:1;

    padding:14px;

    color:#f2dfb3;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    background:

        linear-gradient(#6a3516,#3b1e0d);

    border:1px solid #b88439;

    text-shadow:0 1px 0 #000;

}

.inp2:hover,
.inp3:hover{
    background:#705122;
    transform:translateY(-2px);
    box-shadow:0 0 12px rgba(214,177,108,.6);
}

/* Онлайн */
.stats{
    display:flex;
    gap:15px;
    margin-bottom:20px;
}

.stat{

    flex:1;

    background:#171717;

    border:1px solid #5b4426;

    padding:14px;

    border-radius:6px;

}

.stat span{
    display:block;
    color:#aaa;
    margin-bottom:5px;
}

.stat b{
    font-size:22px;
    color:#d7b46c;
}

/* Новости */
.news_item{

    padding:14px 0;

    border-bottom:1px solid rgba(255,255,255,.06);

    transition:.25s;

}
.news_item{

    display:flex;

    gap:15px;

    align-items:flex-start;

}

.news_item:hover{

    padding-left:8px;

    background:rgba(255,190,80,.03);

}

.news_item:last-child{
    margin-bottom:0;
    border-bottom:none;
}

.news_date{

    color:#7f7f7f;

    font-size:12px;

    margin-bottom:6px;

}

.news_name{

    color:#d8b56d;

    font-size:18px;

    font-weight:bold;

    margin-bottom:6px;

}
.news_img img{

    width:110px;

    height:70px;

    object-fit:cover;

    border:1px solid #6b5327;

}
.news_info{

    flex:1;

}

.news_text{

    color:#d0d0d0;

    line-height:1.5;

    max-height:85px;

    overflow:hidden;

}

/* Меню */
.topmenu{

    width:1200px;

    max-width:98%;

    margin:0 auto;

    display:flex;

    justify-content:center;

    gap:0;

    background:#111;

    border:1px solid #4f3a20;

    border-top:none;

}

.topmenu a{

    flex:1;

    text-align:center;

    padding:16px 0;

    color:#d8b56d;

    text-decoration:none;

    background:linear-gradient(#3f2d18,#24180d);

    border-right:1px solid #4f3a20;

    font-size:15px;

    transition:.2s;

}
.topmenu a:last-child{
    border-right:none;
}

.topmenu a:hover{

    background:linear-gradient(#70481e,#3c2510);

    color:#fff;

}

.topmenu span{

    margin-right:8px;

    opacity:.85;

}

.menu a{
    display:block;
    padding:10px;
    margin-bottom:10px;
    text-align:center;
    color:#fff;
    text-decoration:none;
    background:#3b2b18;
    border:1px solid #8a6a36;
    border-radius:5px;
    transition:.2s;
}

.menu a:hover{
    background:#6d5126;
}

/* Галерея */
#slider{
    width:100%;
    display:block;
    border:1px solid #555;
    border-radius:6px;
    transition:opacity .5s;
}

/* Ссылки */
a{
    color:#d7b46c;
    text-decoration:none;
}

a:hover{
    color:#fff;
}
.info{

    width:1200px;

    max-width:98%;

    margin:20px auto;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}

.info_box{
    flex:1;
    background:rgba(20,20,20,.92);
    border:1px solid #6b5327;
    border-radius:8px;
    padding:20px;
    text-align:center;
}

.info_box b{
    color:#d8b56d;
    font-size:18px;
}
.info_box{
    transition:all .25s;
}

.info_box:hover{
    transform:translateY(-4px);
    border-color:#b98b3d;
}

/* Подвал */
.footer{
    margin-top:40px;
    padding:20px;
    text-align:center;
    color:#888;
    border-top:1px solid #333;
    background:rgba(0,0,0,.35);
}
@media (max-width:1000px){

    .content{
        grid-template-columns:1fr;
    }

    .info{
        flex-direction:column;
    }

    .stats{
        flex-direction:column;
        gap:15px;
    }

    .stat{

    flex:1;

    background:#151515;

    border:2px solid #4e3b23;

    box-shadow:

        inset 0 0 0 1px #8b6b39;

    padding:15px;

}

}
.panel:before,
.panel:after{

    content:"";

    position:absolute;

    width:18px;

    height:18px;

    border:1px solid #8d6c38;

}

.panel:before{

    left:3px;

    top:3px;

    border-right:none;

    border-bottom:none;

}

.panel:after{

    right:3px;

    bottom:3px;

    border-left:none;

    border-top:none;

}
.features{

    width:1200px;

    max-width:96%;

    margin:25px auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}

.feature{

    background:#131313;

    border:1px solid #6b5327;

    border-radius:6px;

    text-align:center;

    padding:25px;

}

.feature img{

    width:96px;

    height:96px;

    margin-bottom:15px;

}

.feature h3{

    color:#d8b56d;

    font-size:30px;

    margin:0 0 12px;

}

.feature p{

    color:#bcbcbc;

    line-height:1.5;

    margin:0;

}
.news_item{
    display:flex;
    gap:15px;
    padding:15px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.news_item:last-child{
    border-bottom:none;
}

.news_img{
    width:120px;
    flex:none;
}

.news_img img{
    width:120px;
    height:80px;
    object-fit:cover;
    border-radius:5px;
    border:1px solid #6b5327;
    display:block;
}

.news_info{
    flex:1;
}

.news_name{
    font-size:18px;
    color:#d7b46c;
    font-weight:bold;
    margin-bottom:6px;
}

.news_date{
    color:#888;
    font-size:12px;
    margin-bottom:8px;
}

.news_text{
    color:#cfcfcf;
    line-height:1.5;
}

.news_more{
    display:inline-block;
    margin-top:10px;
    color:#d7b46c;
    font-weight:bold;
}

.news_more:hover{
    color:#fff;
}

.login_panel{

    border:1px solid #8d6a2f;

    box-shadow:
        0 0 25px rgba(0,0,0,.7),
        0 0 15px rgba(214,177,108,.15);

}

.login_input{

    position:relative;

    margin-bottom:14px;

}

.login_icon{

    position:absolute;

    left:14px;

    top:12px;

    font-size:18px;

    color:#d7b46c;

}

.login_input .inp1{

    padding-left:46px;

    margin-bottom:0;

    background:#131313;

    border:1px solid #4d4d4d;

    transition:.25s;

}

.login_input .inp1:focus{

    border-color:#d7b46c;

    box-shadow:0 0 10px rgba(214,177,108,.35);

    outline:none;

}

.remember{

    margin:14px 0;

    color:#bfbfbf;

    font-size:12px;

}

.remember input{

    margin-right:6px;

}

.login_links{

    margin-top:18px;

    text-align:center;

}

.login_links a{

    color:#c9a764;

    text-decoration:none;

    font-size:12px;

}

.login_links a:hover{

    color:#fff;

}

.inp2,
.inp3{

    font-weight:bold;

    letter-spacing:1px;

    text-transform:uppercase;

}