html,
body {
    min-height: 100%;
    background:
        linear-gradient(180deg, rgba(29, 15, 26, .58), rgba(255, 237, 242, .88) 430px, #f7efe8 760px),
        url(../images/site/remastered-bg.jpg) fixed center top / cover no-repeat !important;
    color: #2a2021;
}

body:before {
    display: none !important;
}

body:after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 72% 4%, rgba(255, 184, 211, .46), transparent 260px),
        radial-gradient(circle at 18% 18%, rgba(255, 225, 183, .22), transparent 280px);
}

.main-hd {
    background: linear-gradient(180deg, rgba(21, 7, 16, .88), rgba(21, 7, 16, .22) 64%, transparent);
}

.main-hd .page-width {
    position: relative;
    min-height: 316px;
    background:
        linear-gradient(180deg, rgba(16, 6, 14, .16), rgba(22, 8, 19, .72)),
        url(../images/site/remastered-bg.jpg) center 18% / cover no-repeat;
    border: 1px solid rgba(255, 214, 228, .22);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 26px 80px rgba(27, 9, 22, .62);
    overflow: hidden;
}

.main-hd .page-width:after {
    content: "";
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 214, 228, .8), transparent);
}

.main-hd h1 {
    left: 40px;
    top: 58px;
    width: 560px;
    height: 110px;
    background: none !important;
}

.main-hd h1 a {
    overflow: visible;
    text-indent: 0;
    color: transparent;
}

.main-hd h1 a:before {
    content: "Metin2 Remastered";
    display: block;
    font-family: "Yu Mincho", "MS Mincho", EasonProDisplayCaps, Georgia, serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    color: #fff4f7;
    text-shadow: 0 3px 0 #3c1728, 0 0 18px rgba(255, 166, 205, .92), 0 12px 28px rgba(16, 5, 13, .72);
}

.main-hd h1 a:after {
    content: "Sakura realm";
    display: block;
    margin-top: 10px;
    color: #ffd7e5;
    font: 700 13px "Segoe UI", Arial, sans-serif;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(20, 5, 14, .85);
}

.main-hd .main {
    top: 198px;
    left: 40px;
    right: auto;
    width: auto;
    max-width: 760px;
    padding: 12px 16px;
    text-align: left;
    background: rgba(43, 17, 30, .74);
    border: 1px solid rgba(255, 210, 225, .28);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 14px 34px rgba(18, 6, 14, .48);
    backdrop-filter: blur(3px);
}

.main-hd .main > .menu-item {
    margin-left: 18px;
}

.main-hd .main > .menu-item:first-child {
    margin-left: 0;
}

.main-hd .main a {
    color: #fff7fa;
    font-family: EasonPro, Georgia, serif;
    font-size: 20px;
    text-shadow: 0 2px 8px rgba(18, 6, 14, .78);
}

.main-hd .main a:hover {
    color: #ffd5e4;
}

.main-hd .external {
    left: auto;
    right: 34px;
    top: 22px;
    width: auto;
    height: 30px;
}

.main-hd .external li:first-child,
.main-hd .external li:last-child,
.main-hd .external a {
    background: none !important;
    padding: 0 8px;
}

.main-hd .external a {
    color: #ffe5ef;
    font-size: 12px;
    text-shadow: 0 2px 10px rgba(18, 6, 14, .8);
}

#content {
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 22px;
    width: 1180px;
    margin: -42px auto 0;
    position: relative;
    align-items: start;
}

.remastered-left-nav {
    position: sticky;
    top: 16px;
    z-index: 3;
    width: auto;
    padding: 16px 12px;
    background: linear-gradient(180deg, rgba(43, 24, 31, .94), rgba(25, 13, 18, .96));
    border: 1px solid rgba(227, 164, 106, .52);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 20px 42px rgba(26, 9, 19, .42);
}

.remastered-left-nav:before {
    content: "Menu";
    display: block;
    margin: 0 0 10px;
    color: #ffd7a8;
    font: 700 12px "Segoe UI", Arial, sans-serif;
    letter-spacing: 3px;
    text-align: center;
    text-transform: uppercase;
}

.remastered-left-nav:after {
    content: "";
    display: block;
    height: 1px;
    margin: 12px 18px 0;
    background: linear-gradient(90deg, transparent, rgba(255, 211, 171, .72), transparent);
}

.remastered-left-nav a {
    display: block;
    margin: 8px 0;
    padding: 9px 10px;
    color: #fff2d6;
    font: 700 14px "Segoe UI", Arial, sans-serif;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,.75);
    background:
        linear-gradient(180deg, rgba(116, 33, 38, .96), rgba(67, 18, 27, .98));
    border: 1px solid rgba(237, 178, 104, .72);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 14px rgba(0,0,0,.22);
}

.remastered-left-nav a:hover {
    color: #fff;
    background: linear-gradient(180deg, rgba(150, 45, 62, .98), rgba(86, 25, 38, .98));
    text-decoration: none;
}

.article,
.article .page-width {
    width: auto !important;
    min-width: 0;
}

.page-padding.mt2cms2-c.page-bd {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 24px;
    margin: 0 !important;
    padding: 20px;
    background:
        linear-gradient(180deg, rgba(255, 250, 236, .94), rgba(238, 218, 184, .91));
    border: 1px solid rgba(142, 82, 39, .34);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 22px 55px rgba(58, 26, 32, .28);
}

.mt2cms2-c-l,
.mt2cms2-c-s {
    background: transparent;
}

.article .mt2cms2-c-l,
.article .mt2cms2-c-s {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.article .mt2cms2-c-l .bd-c,
.article .mt2cms2-c-s .bd-c {
    margin: 0 !important;
}

.article .mt2cms2-c-s .bd-c > ul > li {
    margin-bottom: 22px;
}

.mod,
.blogroll,
.page-bd .blog,
.standard-table,
.bd-c > ul > li {
    background:
        linear-gradient(180deg, rgba(255, 249, 228, .96), rgba(239, 218, 176, .94)) !important;
    border: 1px solid rgba(129, 75, 37, .35) !important;
    border-radius: 14px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 12px 24px rgba(67, 33, 24, .16);
    overflow: hidden;
}

.bd-c h3,
.top-sidebar,
.mod h3,
.btn-primary,
.btn-success,
input[type=submit] {
    background: linear-gradient(180deg, #a94658, #662336) !important;
    border: 1px solid rgba(230, 169, 107, .7) !important;
    color: #fff7df !important;
    text-shadow: 0 1px 4px rgba(0,0,0,.58);
}

.bd-c h3,
.mod h3 {
    border-radius: 12px 12px 0 0 !important;
}

.blog-title,
.page-bd h1,
.page-bd h2,
.page-bd h6,
.mod h2,
.mod h3 {
    color: #5a2434 !important;
    text-shadow: 0 1px 0 rgba(255, 246, 222, .88);
}

a,
.page-bd a {
    color: #9b2f52;
}

a:hover,
.page-bd a:hover {
    color: #c14a72;
}

input,
select,
textarea,
.form-control {
    border-color: rgba(145, 88, 50, .45) !important;
    background-color: rgba(255, 252, 238, .95) !important;
    color: #2f2021 !important;
    border-radius: 8px !important;
}

.btn,
button,
input[type=submit] {
    border-radius: 8px !important;
}

.standard-table tbody tr:nth-child(2n) td,
.standard-table tbody th,
.standard-table thead td {
    background-color: rgba(255, 226, 237, .38);
}

.footer-nav,
.footer-nav:before {
    background: rgba(18, 8, 14, .96) !important;
}

@media (max-width: 1180px) {
    #content {
        width: calc(100% - 28px);
        grid-template-columns: 1fr;
        margin-top: -28px;
    }

    .remastered-left-nav {
        position: static;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .remastered-left-nav:before,
    .remastered-left-nav:after {
        display: none;
    }

    .remastered-left-nav a {
        margin: 0;
    }
}

@media (max-width: 860px) {
    .main-hd h1 {
        left: 24px;
        width: calc(100% - 48px);
    }

    .main-hd h1 a:before {
        font-size: 38px;
    }

    .main-hd .main {
        left: 24px;
        right: 24px;
        width: auto;
    }

    .page-padding.mt2cms2-c.page-bd {
        grid-template-columns: 1fr;
    }
}
