body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: image-set(
    url("logo/fon_84024346.avif") type("image/avif"),
    url("logo/fon_84024346.webp") type("image/webp"),
    url("logo/fon_84024346.jpg") type("image/jpeg")
    );
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
body::-webkit-scrollbar {width: 11px;}
body::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, rgb(151, 193, 241), rgb(218, 135, 11));
    border-radius: 10px;
}
body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
}
header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgb(51, 51, 51);
}
.header-right {display: flex; align-items: center; gap: 10px;}
header button {
    margin-left: 10px;
    padding: 8px 16px;
    width: auto;
    height: auto;
    position: relative;
    color: #fff;
    outline: none;
    background-color: transparent;
    transition: 1s;
    border: 3px ridge rgb(151, 193, 241);
    border-radius: 0.4em;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
}
header button::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 3%;
    width: 95%;
    height: 40%;
    background: rgb(51, 51, 51);
    transition: 0.5s;
    transform-origin: center;
}
header button::before {
    content: '';
    position: absolute;
    top: 80%;
    left: 3%;
    width: 95%;
    height: 40%;
    background: rgb(51, 51, 51);
    transition: 0.5s;
    transform-origin: center;
}
header button:hover::before, header button:hover::after {transform: scale(0);}
header button:hover {box-shadow: inset 0 0 25px rgb(151, 193, 241);}
/* контейнер меню */
.menu-wrapper {position: relative;}
/* выпадающее меню */
.menu-dropdown {
    position: absolute;
    z-index: 9999;
    top: 120%;
    right: 0;
    display: flex;
    flex-direction: column;
    background: rgb(51, 51, 51);
    padding: 10px;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
}
/* активное состояние */
.menu-dropdown.active {opacity: 1; transform: translateY(0); pointer-events: all;}
/* кнопки внутри меню */
.menu-dropdown button {width: 190px; text-align: center;}
.messeng {
    display: inline-flex;
    font-weight: bold;
    align-items: center;
}
.icon-menu {
    margin-top: 11px;
    height: 38px;
    width: 38px;
    border-radius: 8px;
}
.name {display: inline-flex; gap: 0rem; align-items: center;}
.name .h-1, .h-2{margin: 0; line-height: 1; white-space: nowrap; text-decoration: none; font-weight: bold;}
.name .h-1 {font-size: 2rem; color: rgb(151, 193, 241);}
.name .h-2 {font-size: 2rem; color: rgb(218, 135, 11);}
.content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
}
.container {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    max-height: 1125px;
    min-height: 500px;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    padding: 1.5rem;
    margin: 0;
    border-radius: 25px;
    box-shadow: 0 20px 35px rgba(0, 0, 1, 0.9);
    border: 2px solid black;
    gap: 10px;
    overflow: auto;
}
.container::-webkit-scrollbar {width: 11px;}
.container::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, rgb(151, 193, 241), rgb(218, 135, 11));
    border-radius: 10px;
}
.container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
}
h1 {
    margin-bottom: 0;
    border-left: 10px solid rgb(151, 193, 241);
    padding-left: 5px;
    border-radius: 10px;
    background: linear-gradient(to right, rgb(151, 193, 241), rgb(218, 135, 11));
    width: max-content;
    max-width: 100%;
    border-right: 10px solid rgb(218, 135, 11);
    padding-right: 5px;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
}
label {display: block; margin-top: 12px; margin-right: 20px;}
input[type="url"], input[type="text"], textarea { width: 100%; padding: 8px; margin-top: 4px; border-radius: 7px;}
.social-field > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.social-field i,
.boosty-field-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
}
.boosty-field-icon {
    font-weight: 800;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
}
button { padding: 10px 14px; margin-top: 12px;}
#gameModal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,.5);
    padding-top: 60px;
}
.modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    padding: 20px;
    margin: 0;
    border: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(5px);
    overflow: auto;
    box-sizing: border-box;
}
.modal[hidden] {
    display: none;
}
.modal-content::-webkit-scrollbar {width: 11px;}
.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, rgb(151, 193, 241), rgb(218, 135, 11));
    border-radius: 10px;
}
.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
}
.modal-content {
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow: auto;
    padding: 20px;
    border-radius: 25px;
    border: 2px solid black;
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 35px rgba(0,0,1,0.9);
}
h2, h3 {
    font-size: 1.4rem;
    color: black;
    border-left: 10px solid rgb(151, 193, 241);
    padding-left: 5px;
    border-radius: 10px;
    background: linear-gradient(to right, rgb(151, 193, 241), rgb(218, 135, 11));
    width: max-content;
    max-width: 100%;
    border-right: 10px solid rgb(218, 135, 11);
    padding-right: 5px;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
}
.close {
    float: right; 
    cursor: pointer;
    font-size: 1.3rem;
    color: rgb(51, 51, 51);
    transition: color 0.3s ease, transform 0.3s ease;
}
.close:hover {
    color: red;
    transform: scale(1.1);
}
.list {margin: 0; padding-left: 20px; }
.game-item {display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 1.2rem;}
.tag {padding: 2px 6px; border-radius: 4px; border: 1px solid #ccc; font-size: 12px;}
.container button {
    padding: 1rem 1rem;
    font-size: 1rem;
    color: black;
    background-color: rgb(151, 193, 241);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.game-check {font-size: 1.5rem; cursor: pointer;}
.container button:hover {background-color: rgb(218, 135, 11); transform: scale(1.05);}
.info {
    margin-top: 15px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(151, 193, 241, 0.25);
    border: 2px solid rgba(151, 193, 241, 0.45);
    color: #0d151f;
    line-height: 1.45;
    text-align: center;
    position: relative;
}
.info::after {
    content: '';
    position: absolute;
    background: rgba(151, 193, 241, 0.45);
    border-radius: 20px;
    inset: -8px;
    z-index: -1;
    filter: blur(14px);
}
/*.btn-primary {margin-top: 20px;}*/
.btn-primary button {
    padding: 1rem 2rem;
    font-size: 1rem;
    color: black;
    background-color: rgb(151, 193, 241);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-primary button:hover {background-color: rgb(218, 135, 11); transform: scale(1.05);}
.game-specs {display:none; margin-top:15px;}
.game-specs .specs {font-size: 1.2rem;}
.game-specs .specs input {cursor: pointer;}
.game-specs .specs select {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border-radius: 7px;
    font-size: 1rem;
    cursor: pointer;
}
.save button {
    padding: 1rem 1rem;
    font-size: 1rem;
    color: black;
    background-color: rgb(151, 193, 241);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.save button:hover {background-color: rgb(218, 135, 11); transform: scale(1.05);}
textarea {min-height: 120px; resize: vertical; font-size: 1.03rem;}
textarea::-webkit-scrollbar {width: 8px;}
textarea::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, rgb(151, 193, 241), rgb(218, 135, 11));
    border-radius: 10px;
}
textarea::-webkit-scrollbar-track {background: rgba(0,0,0,0.4);}
.file-input-wrapper {display: flex; align-items: center; gap: 8px;}
.addScreenshot {
    width: 40px;
    height: 10px;
    font-size: 0.5rem;
    line-height: 1;
    border-radius: 50%;
    border: none;
    background-color: rgb(151, 193, 241);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.addScreenshot:hover {background-color: rgb(218, 135, 11); transform: scale(1.05);}
.custom-file {
    background: rgb(151, 193, 241);
    padding: 8px 14px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.custom-file:hover {background: rgb(218, 135, 11);}
.custom-file input {display: none;}
.removeScreenshot{
    width: 40px;
    height: 10px;
    font-size: 0.5rem;
    line-height: 1;
    border-radius: 50%;
    border: none;
    background-color: rgb(218, 135, 11);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-left: -20px;
}
.removeScreenshot:hover {background-color: rgb(218, 135, 11); transform: scale(1.05);}
.info-icon{
    margin-left: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    color: black;
    background: rgb(151, 193, 241);
    border-radius: 50%;
    padding: 5px 7px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.info-icon:hover{background: rgb(218, 135, 11); transform: scale(1.05);}
.rules-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 1.1rem;
}
.rules-check input {cursor: pointer;}
/* Банер cookie соглашения пользователя */
.cookie-banner {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow:0 20px 35px rgba(0,0,1,0.9);
    border: 2px solid black;
    backdrop-filter: blur(5px);
    border-radius: 26px;
    color: #fff;
    display: none;
}

.cookie-content {
    width: auto;
    justify-content: center;
    align-items: center;
    margin: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    font-size: 1.1rem;
}

.info-policy {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 20px;
    background: rgba(151, 193, 241, 0.25);
    border: 2px solid rgba(151, 193, 241, 0.45);
    color: #0d151f;
    line-height: 1.45;
    text-align: center;
    position: relative;
}

.info-policy::after {
    content: '';
    position: absolute;
    background: rgba(151, 193, 241, 0.45);
    border-radius: 26px;
    inset: -8px;
    z-index: -1;
    filter: blur(14px);
}

.btn {
    display: inline-block;
    padding: 8px 14px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    color: #111;
    background: rgb(151, 193, 241);
    font-size: 1rem;
    font-weight: bold;
}

.btn:hover {
    background-color: rgb(218, 135, 11);
    transform: scale(1.05);
}

.cookie-buttons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    font-size: 1.1rem;
}

.yes {
    background: #4CAF50;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease
}

.yes:hover {
    transform: scale(1.05);
    background: green;
}

.no {
    background: #f44336;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease
}

.no:hover {
    transform: scale(1.05);
    background: red;
}
