body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    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;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgb(51, 51, 51);
    /*position: relative;
    z-index: 1000;*/
}
.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 0px 0px 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;
    gap: 10px;
    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 {
  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{
    background-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(5px);
    width: 100%;
    max-width: 1300px;
    min-width: 700px;
    padding: 1.5rem;
    margin: 30px auto;
    border-radius: 20px;
    box-shadow:0 20px 35px rgba(0,0,1,0.9);
    border: 2px solid black;
    display: flex;
    flex-direction: column;
    height: calc(100% - 40px);
    min-height: 0;
    overflow-y: auto;
}
/* элемент для стиля скрола */
.content::-webkit-scrollbar {width: 11px;}
.content::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, rgb(151, 193, 241), rgb(218, 135, 11));
    border-radius: 10px;
}
.content::-webkit-scrollbar-track {background: rgba(0,0,0,0.4);}
/* Заголовки разделов */
.section-title{
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: #333;
    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;
    border-right: 10px solid rgb(218, 135, 11);
    padding-right: 5px;
    /*border: 2px ridge linear-gradient(to left, #D968D1, #6d007b);*/
    box-shadow: 0 0 1rem rgba(0,0,0,0.9);
}
/* Блок с логотипом и текстом */
.about-block{
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.mods {font-size: 1.4rem; font-weight: bold; color: rgb(151, 193, 241);}
.kik {font-size: 1.4rem; font-weight: bold; color: rgb(218, 135, 11);}
/* Текст справа */
.about-text{flex: 1; font-size: 1.3rem;}
.about-text p{margin: 0; line-height: 1.5;}
.rules-list{margin: 0; padding-left: 1.6em; line-height: 1.6;}
.rules-list li + li{margin-top: 0.3rem;}
ol, ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

li {
  display: block;
  margin-bottom: 8px;
}
/*.no-numbers {
  list-style: none;
  padding-left: 0;
}

.no-numbers li {
  display: block;
  margin-bottom: 8px;
}*/
.nav-links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
   /* margin-bottom: 20px;*/
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 13px 0;
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(5px);
    border-radius: 40px;
}
.nav-links a{
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 20px;
    background: rgb(151, 193, 241);
    color: black;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.9);
}
.nav-links a:hover{background: rgb(218, 135, 11); transform: scale(1.05);}
.section {opacity: 0; transform: translateY(40px); transition: all 0.6s ease;}
.section.show {opacity: 1; transform: translateY(0);}
.nav-links a.active{
    background: rgb(218, 135, 11);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
}
.nav-links a.active{animation: pulse 1.5s infinite;}
@keyframes pulse{
    0%{transform: scale(1.05);}
    50%{transform: scale(1.15);}
    100%{transform: scale(1.05);}
}