* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
strong, b {
    font-weight: 700;
    font-style: normal;
}

body {
    font-size: 16px;
    font-family: 'Play', sans-serif;
    letter-spacing: -0.1pt;
    line-height: 130%;
    width: 100%;
    background: #000d15;
    color: #c6c6c6;
    text-shadow: 0 1px 1px rgba(0,0,0,0.9);
}

a {
    color: #a1c6e4;
    text-decoration: none;
}
a:hover {
    color: #c4e4ff;
}

h1 {
    font-size: 30px;
    line-height: 34px;
    color: #a3c1da;
    text-shadow: 0 3px 2px rgba(0,0,0,0.5);
    text-align: center;
}
h2 {
    color: #a3c1da;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 6px;
    margin-top: 16px;
    text-transform: uppercase;
}
h3 {
    color: #a3c1da;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
}

main.content p {
    margin-top: 8px;
    padding-bottom: 8px;
}

hr {
    border: none;
    border-top: 1px solid #424e5e;
    margin: 10px 0;
    width: 100%;
}

/* ===== LANG ===== */
ul.lang {
    position: fixed;
    right: 0;
    background: rgba(255,255,255,0.3);
    font-size: 17px;
    padding: 0 10px 5px 5px;
    z-index: 100;
}
ul.lang li a {
    display: block;
    padding: 3px 6px;
    margin: 2px 0;
    font-weight: 600;
    font-size: 13px;
    border-radius: 2px;
    transition: all 0.2s;
    white-space: nowrap;
}
ul.lang li a svg {
    margin: 5px 5px -2px;
    width: 17px;
    height: 17px;
    vertical-align: middle;
}
ul.lang li a:hover,
ul.lang li a.active {
    background: rgba(171,225,255,0.2);
    color: #c4e4ff;
}
ul.lang li a.active {
    background: rgba(171,225,255,0.25);
}

/* ===== WRAPPER ===== */
.wrapper {
    width: 940px;
    margin: 0 auto;
    background: url('img/bg.webp') no-repeat #000d15;
    min-height: 100vh;
}

/* ===== HEADER ===== */
.header {
    height: 245px;
    position: relative;
}
div#lang {
    width: 100%;
    position: absolute;
    background: url('img/navbg.webp') no-repeat #13181c;
    bottom: 0;
    height: 50px;
}
div#lang > ul {
    padding: 15px 5px;
}
div#lang > ul > li {
    display: inline-block;
}
div#lang > ul > li > a {
    font-weight: 600;
    padding: 3px 6px;
    background-color: rgba(171,225,255,0.13);
    border-radius: 2px;
}

/* ===== MIDDLE ===== */
.middle {
    width: 100%;
    padding: 10px 0;
    position: relative;
    background: #28313a;
    background: radial-gradient(at top, #151b20, #28313a);
    border-right: 3px solid #3c4759;
    border-left: 3px solid #3c4759;
    border-bottom: 4px solid #171b1e;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}
.middle:after {
    display: table;
    clear: both;
    content: '';
}

.container {
    width: 64.5%;
    overflow: hidden;
    border-right: 1px solid #151A21;
    box-sizing: border-box;
}

.content {
    padding: 0 15px;
}

.content .poster {
    display: block;
    margin: 0 auto;
    box-shadow: 0 0 4px rgba(0,0,0,0.6);
    border: 5px solid #3c4c5d;
    border-radius: 2px;
    width: max-content;
    transition: border-color 0.2s;
}
.content .poster:hover {
    border-color: #5a6e84;
}
.content .poster img {
    display: block;
    width: 100%;
}

.content .alert {
    background-color: rgba(0,0,0,0.2);
    padding: 5px 7px;
    border-radius: 4px;
    margin: 20px 10px;
    color: #b0c4d8;
    font-size: 14px;
    line-height: 1.5;
}

ul.features > li {
    padding-bottom: 2px;
    color: #c6d6e6;
}
ul.features > li:before {
    content: "✔";
    margin-right: 6px;
    color: #6fcf97;
}

/* ===== DOWNLOAD BUTTONS ===== */
.dl {
    display: block;
    max-width: 245px;
    margin: 10px auto;
    box-shadow: 0 0 4px rgba(0,0,0,0.6);
    text-align: center;
    padding: 15px 25px;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 2px;
    transition: all 0.2s;
}
.direct {
    color: #9bc3dd;
    background-image: linear-gradient(#43637c, #3e576d, #384e63);
}
.torrent {
    color: #9ed7ac;
    background-image: linear-gradient(#30715b, #29674e, #246046);
}
.direct:hover {
    color: #abd6f9;
    background-image: linear-gradient(#537895, #496982, #3e596e);
}
.torrent:hover {
    color: #c3ecca;
    background-image: linear-gradient(#398d73, #327e60, #296a4c);
}

/* ===== RATING ===== */
#rating {
    width: 120px;
    height: 22px;
    background: url('img/star.webp') repeat-x;
    background-position: 0;
    margin: 5px 0;
    float: right;
}

/* ===== SHARE BUTTONS ===== */
.share-buttons {
    float: left;
    margin: 5px 0;
}
.share-buttons a {
    display: inline-block;
    margin: 2px;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.share-buttons a:hover {
    opacity: 1;
}
.share-buttons .a2a_dd {
    color: #a1c6e4;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 6px;
    background: rgba(171,225,255,0.13);
    border-radius: 2px;
}
.share-buttons .a2a_dd:hover {
    color: #c4e4ff;
}

/* ===== RIGHT SIDEBAR ===== */
.right-sidebar {
    width: 35.39%;
    float: left;
    position: relative;
}

.block {
    margin-bottom: 10px;
}
.block .counter {
    display: block;
    font-size: 13px;
    text-align: center;
    margin: 5px;
}
.block h3 {
    background-image: linear-gradient(to right, #090b0e, rgba(9,11,14,0.05));
    padding: 11px;
}
.block .scr {
    text-align: center;
    padding: 5px;
}
.block .scr a {
    margin-bottom: 4px;
    box-shadow: 0 0 4px rgba(0,0,0,0.6);
    opacity: 0.85;
    display: inline-block;
    height: 176px;
    transition: opacity 0.2s;
}
.block .scr a:hover {
    opacity: 1;
}
.block .scr a img {
    width: 100%;
    max-width: 312px;
    height: 176px;
    display: block;
}
.block ul {
    margin: 5px 10px;
}
.block ul li {
    padding: 2px 0;
    font-size: 14px;
    color: #c0d0e0;
}
.block ul li b {
    color: #a3c1da;
    font-weight: 700;
}

/* ===== DONATE ===== */
.donate-block {
    text-align: center;
    padding: 10px;
}
.donate-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background-image: linear-gradient(#6b4c3b, #5a3e2e, #4a3225);
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(0,0,0,0.6);
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.donate-btn:hover {
    color: #fff;
    background-image: linear-gradient(#7d5c48, #6b4c3b, #5a3e2e);
    box-shadow: 0 0 8px rgba(0,0,0,0.8);
}

/* ===== FOOTER ===== */
.footer {
    clear: both;
}
.footer > span {
    color: #7d7d7d;
    font-size: 12px;
    margin: 5px;
    text-align: center;
    display: block;
    padding: 10px 0;
}

/* ===== VIDEO ===== */
.video-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 10px 0;
    background-color: #000000;
    box-shadow: 0 0 4px rgba(0,0,0,0.6);
}
.video-container video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 315px;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1000;
}
.modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid #3c4c5d;
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}
.close {
    color: white;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.2s;
    line-height: 1;
}
.close:hover {
    color: #ff6b6b;
}
.image_viewer {
    cursor: zoom-in;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 1210px) {
    ul.lang {
        position: static;
        float: none;
        text-align: center;
        background: rgba(0,13,21,0.9);
        padding: 8px;
    }
    ul.lang li {
        display: inline-block;
        width: 30%;
    }
    ul.lang li a svg {
        margin: 3px 3px -2px;
        width: 14px;
        height: 14px;
    }
}

@media screen and (max-width: 960px) {
    .wrapper {
        width: 100%;
    }
}

@media screen and (max-width: 760px) {
    .header {
        display: none;
    }
    .container,
    .right-sidebar {
        width: 100%;
        float: none;
    }
    .container {
        border-right: none;
    }
    .content {
        padding: 0 10px;
    }
    .content .poster {
        width: auto;
        margin: 10px;
    }
    .content .poster img {
        width: 100%;
    }
    h1 {
        font-size: 24px;
        line-height: 28px;
    }
    .dl {
        max-width: 100%;
        font-size: 20px;
    }
    .video-container {
        max-width: 100%;
    }
    .video-container video {
        max-height: 240px;
    }
}

@media screen and (max-width: 520px) {
    ul.lang {
        position: static;
        float: none;
        text-align: center;
        background: rgba(0,13,21,0.9);
        padding: 5px;
    }
    ul.lang li {
        display: inline-block;
        width: 45%;
    }
    ul.lang li a {
        font-size: 11px;
        padding: 2px 4px;
    }
    ul.lang li a svg {
        width: 12px;
        height: 12px;
        margin: 2px 2px -1px;
    }
    .block .scr a {
        height: auto;
    }
    .block .scr a img {
        height: auto;
        max-width: 100%;
    }
}
