* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: rgba(0, 0, 0, 1.0);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url('textures/main/bg.png');
    background-repeat: repeat-y;
    background-position: center top;

    background-size: calc(100% - 100px) auto;

    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 15%,
        rgba(0, 0, 0, 1) 85%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-size: calc(100% - 100px) auto;
    mask-repeat: no-repeat;
    mask-position: center top;

    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 15%,
        rgba(0, 0, 0, 1) 85%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-size: calc(100% - 100px) auto;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center top;

    pointer-events: none;
    z-index: 0;
}


.main_panel {
    background: rgba(30, 30, 30, 1.0);

    height: auto;

    margin-left: 117px;
    margin-right: 117px;
    padding-bottom: 13px;

    border: 1px solid rgba(180, 180, 180, 1.0);
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 20px rgba(180, 180, 180, 1.0);

    position: relative;
    z-index: 1;
}

.h_panel {
    /* background: rgba(50, 50, 50, 1.0); */
    background-image: linear-gradient(to bottom, rgba(20, 20, 20, 1.0) 0% 10%, rgba(40, 40, 40, 1.0) 50%, rgba(20, 20, 20, 1.0) 90% 100%);

    height: auto;

    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.h_panel a {
    font-family: "DotGothic16";
    font-size: 18px;
    font-weight: normal;

    text-decoration: none;

    text-align: right;
    float: right;
    padding-top: 8px;
    padding-left: 10px;
    padding-right: 10px;

    color: rgba(255, 255, 255, 1.0);
}
.h_panel a:hover {
    color: rgba(100, 150, 255, 1.0);

    text-decoration: underline;
}

.h_panel2 {
    /* background: rgba(50, 50, 50, 1.0); */
    background-image: linear-gradient(to bottom, rgba(10, 10, 10, 1.0) 0% 10%, rgba(30, 30, 30, 1.0) 50%, rgba(10, 10, 10, 1.0) 90% 100%);

    height: auto;

    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.h_panel2 a {
    font-family: "DotGothic16";
    font-size: 18px;
    font-weight: normal;

    text-decoration: none;

    text-align: center;
    float: center;

    color: rgba(255, 255, 255, 1.0);
}
.h_panel2 a:hover {
    color: rgba(100, 150, 255, 1.0);

    text-decoration: underline;
}



.panel {
    background: rgba(30, 30, 30, 1.0);

    height: auto;

    padding-left: 10px;
    padding-right: 10px;
}

.social_networks_panel {
    background: rgba(30, 30, 30, 1.0);

    height: auto;

    margin-top: 10px;
    margin-bottom: 10px;

    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.game_panel {
    background: rgba(40, 40, 40, 1.0);
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    gap: 20px;
    padding: 20px;
}

.game_icon {
    flex-shrink: 0;
}

.game_icon img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.game_details {
    flex: 1;
    display: flex;
    flex-direction: column;
}



hr {
    border: none;
    border-top: 2px dashed rgba(255, 255, 255, 1.0);

    margin-top: 10px;
    margin-bottom: 10px;
}



.title {
    font-family: "DotGothic16";
    font-weight: bold;
    font-size: 30px;

    color: rgba(255, 255, 255, 1.0);

    display: flex;
    align-items: center;
}

.label {
    font-family: "DotGothic16";
    font-size: 20px;
    font-weight: normal;

    color: rgba(255, 255, 255, 1.0);
}

.label2 {
    font-family: "DotGothic16";
    font-size: 15px;
    font-weight: normal;

    color: rgba(255, 255, 255, 1.0);
}



.link_button {
    width: auto;
    height: auto;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    background-color: rgba(50, 50, 50, 1.0);
    border: 2px solid white;

    padding: 5px;

    font-family: "DotGothic16";
    font-size: 30px;

    text-decoration: none;

    color: white;

    transition: 0.1s;
}
.link_button:hover {
    transform: translateY(-5px);
    transition: 0.1s;
}


.value_button {
    width: 100%;
    height: auto;

    background-color: rgba(40, 40, 40, 1.0);
    border: 2px solid white;

    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;

    transition: 0.1s;
}
.value_button:hover {
    transform: translateX(5px);
    transition: 0.1s;
}

.value_button a {
    font-family: "DotGothic16";
    font-size: 20px;

    text-decoration: none;

    color: white;
}


.game_button {
    background-color: rgba(0, 0, 0, 1.0);

    width: 100%;
    height: 50px;

    position: relative;

    margin-top: 5px;
    margin-bottom: 5px;

    border: 2px solid white;

    overflow: hidden;

    transition: 0.1s;
}

.game_button:hover {
    transform: translateX(5px);
    transition: 0.1s;
}

.game_button img {
    filter: brightness(0.3);

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 1;
}

.game_button a {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    font-family: "DotGothic16";
    font-size: 24px;

    color: white;

    text-decoration: none;
    text-align: center;

    z-index: 3;

    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.game_button a:hover {
    color: rgba(100, 150, 255, 1.0);

    text-decoration: underline;
}

.download_button {
    width: auto;
    height: auto;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    background-color: rgba(50, 50, 50, 1.0);
    border: 2px solid white;

    padding: 5px;

    font-family: "DotGothic16";
    font-size: 30px;

    text-decoration: none;

    color: white;

    transition: 0.1s;
}
.download_button:hover {
    transform: translateY(-5px);
    transition: 0.1s;
}






@media screen and (max-width: 768px) {
    .main_panel {
        margin-left: 10px;
        margin-right: 10px;
    }

    .h_panel a {
        font-size: 14px;
        padding-top: 5px;
        padding-left: 5px;
        padding-right: 5px;
        float: none;
        display: inline-block;
    }

    .h_panel {
        text-align: center;
    }

    .h_panel2 {
        gap: 15px;
        flex-wrap: wrap;
    }

    .h_panel2 a {
        font-size: 14px;
    }

    .title {
        font-size: 22px;
    }

    .label {
        font-size: 16px;
    }

    .label2 {
        font-size: 13px;
    }

    .link_button {
        font-size: 20px;
        padding: 3px;
    }

    .value_button a {
        font-size: 16px;
    }

    .game_button a {
        font-size: 18px;
        white-space: normal;
        word-wrap: break-word;
        padding: 5px;
    }

    .download_button {
        font-size: 20px;
        padding: 3px;
    }

    .social_networks_panel {
        gap: 8px;
    }

    .game_panel {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .game_details {
        align-items: center;
    }
}
