* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-width: 900px; /* Минимальная ширина сайта */
}

html, body {
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Меню */

.main-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: box-shadow .3s;
    -webkit-backdrop-filter: blur(8px);
}

.main-menu a {
    text-decoration: none; /* Убираем подчёркивание */
    color: white; /* Белый цвет текста */
    font-weight: bold;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.main-menu a:hover {
    color: #BA4EDE;
    text-shadow: 0 0 10px #000000, 0 0 20px #000000, 0 0 30px #000000;
}

.main-menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    padding-bottom: 25px;
    transition:  padding-top .3s,  padding-bottom .3s;
}

.main-menu-mini {
    background-color: rgba(255,255,255,.7);
    box-shadow: 0px 0px 30px -11px rgba(0,0,0,0.8);
}

/* Стили для ссылок внутри .header */
.main-menu-mini a {
    text-decoration: none; /* Убираем подчёркивание */
    color: black; /* Белый цвет текста */
    font-weight: bold;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

/* Эффект при наведении */
.main-menu-mini a:hover {
    #border-bottom: 2px dotted; /* Добавляем белую полосу под ссылкой */
    color: #BA4EDE;
    text-shadow: 0 0 10px #FFFFFF, 0 0 20px #FFFFFF, 0 0 30px #FFFFFF;
}

.main-menu-mini .main-menu-container {
    padding-top: 5px;
    padding-bottom: 5px;
}


.main-menu-list {
    display: flex;
    align-items: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.main-menu-item:not(:last-child) {
    margin-right: 20px;
}

.main-menu-link {
    font-size: 16px;
}

.styled-link {
    text-decoration: none; /* Убираем подчёркивание */
    font-size: 1.5rem; /* Размер текста */
    font-weight: bold; /* Жирный шрифт */
}

.lineage {
    color: #FFFFFF; /* Чёрный цвет для слова LINEAGE */
}

.main-menu-mini .lineage {
    color: #000000; /* Белый цвет для слова LINEAGE */
}

.night {
    color: #BA4EDE; /* Фиолетовый цвет для слова NIGHT */
}


/* Шапка сайта ----------------------------------------------------------------*/

.header {
    position: relative;
    background: no-repeat url("../img/header.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    height: 124vh;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding-top: 15%;

    z-index: 1;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);

    z-index: -1;
}

.header-cross {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: no-repeat url("../img/cross-s.png");
    background-size: contain;
    background-position: bottom center;

    z-index: 3;
}

.header-title-first {
    position: relative;
    color: #fff;
    font-size: 6rem;
    font-family: "Lineage 2 Font", sans-serif;
    letter-spacing: 0.2em;
    font-weight: lighter;
    text-shadow: 0 0 3px #000000, 0 0 10px #000000, 0 0 15px #BA4EDE;
    margin: 0.2em 0px 0px 0px;

    z-index: 2;
}

.header-title-second {
    position: relative;
    color: #fff;
    font-size: 3rem;
    font-style: italic;
    text-shadow: 0 0 5px #FFFFFF, 0 0 15px #BA4EDE, 0 0 25px #BA4EDE;
    margin: 0.3em 0px 0px 0px;

    z-index: 2;
}

@font-face {
        font-family: "Lineage 2 Font";
        src: url("/font/Lineage 2 Font.ttf");
}

@font-face {
        font-family: "HyliaSerifCyr";
        src: url("/font/HyliaSerifCyr.ttf");
}

.header-online {
    display: inline-block;
    margin: 3em 0px 0px 0px;
    padding: 8px 0px 0px 0px;
    width: 220px;
    height: 40px;
    border-style: solid;
    border-color: #696969;
    border-radius: 50px;
    background: rgba(30,30,30,0.7);
    text-shadow: 0 0 5px #FFFFFF, 0 0 15px #BA4EDE, 0 0 25px #BA4EDE;
    box-shadow: 0 0 15px 3px #BA4EDE;

    color: #fff;

    z-index: 2;
}

.parallax {
    z-index: -1;
}


.content {
    z-index: 10;
    position: relative;
    background-color: white;
}

.content h1{
    text-align: center;
    padding:25px 0px 0px 0px;
    /*font-family: "Gabriola", sans-serif;*/
    font-family: "HyliaSerifCyr", sans-serif;
    font-size: 2.5rem;
}

.content h4{
    text-align: center;
}

.footer {
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding:30px 0px 10px 0px;

    font-size: 10px;
}

.king-table {
    width: 380px;
    height: 100px;
    /*border: 0.2rem solid #ffffff;*/
    border-radius: 50px;
    background: url("../img/test.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    text-align: center;
    padding: 30px 30px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 0 5px #000000, 0 0 10px #ffffff, 0 0 15px #ffffff;
}

.king-lable {
    font-family: 'HyliaSerifCyr', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 3px #000000, 0 0 10px #ff00ff, 0 0 15px #000000;
    padding: 0px 0;
    position: relative;
    z-index: 1;

}

.king-lable2 {
    text-align: center;
    margin: 5px;
}

/* Контейнер для всех таблиц */
.table-container {
    display: flex; /* Горизонтальное выравнивание таблиц */
    gap: 20px; /* Отступы между таблицами */
    justify-content: center; /* Центрируем таблицы */
    margin-top: 20px; /* Отступ сверху */
}


/* Контейнер для всех таблиц */
.table-container {
    display: flex; /* Включаем Flexbox */
    gap: 20px; /* Расстояние между таблицами */
    justify-content: center; /* Выравниваем таблицы по центру */
    flex-wrap: wrap; /* Если экран слишком узкий, переносим таблицы на следующую строку */
    margin: 20px 0;
}

/* Каждая таблица и её заголовок */
.table-wrapper {
    flex: 1 1 30%; /* Устанавливаем минимальную ширину 30% и даём возможность сжиматься */
    max-width: 400px; /* Ограничиваем максимальную ширину каждой таблицы */
    text-align: center; /* Центрируем заголовки */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
    border-radius: 10px; /* Закругленные углы */
    padding:0px 10px 0px 10px;
}

/* Заголовок таблицы */
.table-wrapper h2 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
}

.table-clans {
    #background-color: #f9f9f9;
    #border: 2px solid #ffcc00;
    border-radius: 10px;
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    line-height: 1.6;

}

.table-clans h2 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
}

.table-clans table tr td {
    width: 30%;
}

.table-clans table td:nth-child(3) {
  width: 12%; /* Задайте нужную ширину в процентах */
}

.table-clans table td:nth-child(4) {
  width: 12%; /* Задайте нужную ширину в процентах */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    text-align: left;
}

table thead tr {
    #background-color: #f4f4f4;
    color: #333;
    font-weight: bold;
}

table th, table td {
    padding: 8px;
}

table td {
    border-top: 1px solid #ddd;
}

table tr:nth-child(even) {
    #background-color: #f9f9f9;
}

table tr:hover {
    #background-color: #f1f1f1;
}

table tr td {
    width: 80%;
}

td:first-child {
    position: relative;
}

tbody tr:nth-child(1) td:first-child::after {
    content: " 🥇";
    position: absolute;
    right: 0;
}

tbody tr:nth-child(2) td:first-child::after {
    content: " 🥈";
    position: absolute;
    right: 0;
}

tbody tr:nth-child(3) td:first-child::after {
    content: " 🥉";
    position: absolute;
    right: 0;
}

table img{
    margin-right: 1px;
}

.announcement {
  #background-color: #f9f9f9;
  #border: 2px solid #ffcc00;
  border-radius: 10px;
  padding: 20px;
  max-width: 800px;
  margin: 20px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.announcement h2 {
  color: #ffffff;
  font-size: 1.5em;
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 0px 0px 2px #000000, 0px 0px 10px #BA4EDE;
}

.announcement p {
  margin: 10px 0;
  color: #333;
  font-size: 1em;
}

.announcement ul {
  padding-left: 20px;
  list-style: none;
}

.announcement ul li {
  margin: 5px 0;
}

.announcement ul li:before {
  content: "•";
  color: #8A2BE2;
  font-weight: bold;
  margin-right: 10px;
}

.about {
    max-width: 1000px;
    padding: 20px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.about p {
  margin: 10px 0;
  color: #333;
  font-size: 1em;
}

.about ul {
  #padding-left: 20px;
  list-style: none;
}

.about ul li {
  margin: 5px 5px 5px 15px;
}

.about ul li:before {
  content: "•";
  color: #8A2BE2;
  font-weight: bold;
  margin-right: 10px;
}

#swipe-indicator {
    position: fixed;
    top: 10px; /* Отступ сверху */
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.7); /* Темный фон для контраста */
    color: white;
    padding: 5px 15px;
    border-radius: 10px;
    z-index: 1000; /* Чтобы было поверх всего */
}

.floating-button {
  text-decoration: none;
  display: inline-block;
  padding: 0 20px;
  height: 45px;
  line-height: 45px;
  border: none;
  border-radius: 45px;
  margin: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 3px;
  font-weight: 600;
  color: #524f4e;
  background: white;
  box-shadow: 0 8px 15px rgba(0, 0, 0, .1);
  transition: .3s;
  cursor: pointer;
}

.floating-button:hover {
  background: #BA4EDE;
  box-shadow: 0 15px 20px rgba(186, 78, 222, .4);
  color: white;
  transform: translateY(-7px);
}

.floating-input {
  display: inline-block;
  width: 300px;
  height: 45px;
  padding: 0 15px;
  border-radius: 45px;
  margin: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: #524f4e;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 8px 15px rgba(0, 0, 0, .05);
  transition: .3s;
  outline: none;
}

.floating-input:focus {
  border-color: #BA4EDE;
  box-shadow: 0 8px 15px rgba(186, 78, 222, .2);
}

.floating-select {
  display: inline-block;
  width: 300px;
  height: 45px;
  padding: 0 15px;
  border-radius: 45px;
  margin: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: #524f4e;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 8px 15px rgba(0, 0, 0, .05);
  transition: .3s;
  outline: none;
  appearance: none; /* Убираем системный стиль */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='6'%20viewBox='0%200%2010%206'%3E%3Cpath%20fill='%23524f4e'%20d='M0%200l5%206%205-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 10px 6px;
}

.floating-select:focus {
  border-color: #BA4EDE;
  box-shadow: 0 8px 15px rgba(186, 78, 222, .2);
}

#page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.6s ease;
}

#page-preloader.hidden {
    opacity: 0;
    pointer-events: none;
    animation: fadeAndZoom 2.5s ease forwards;
}

@keyframes fadeAndZoom {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(5);
    }
}

.loader {
  position: relative;
  width: 100px;
  height: 100px;
}

.loader:before , .loader:after{
  content: '';
  border-radius: 50%;
  position: absolute;
  inset: 0;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.3) inset;
}
.loader:after {
  box-shadow: 0 2px 0 #BA4EDE inset;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  0% {  transform: rotate(0)}
  100% { transform: rotate(360deg)}
}

.news {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 40px;
}

.news p1{
    color: #000000;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 3px;
}

.news p2{
    color: #000000;
    font-size: 32px;
    font-family: Times New Roman, sans-serif;
    line-height: 1.6;
}

.news p3{
    color: #000000;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 3px;
}

.news p4{
    color: green;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    letter-spacing: 3px;
}

.advertising {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.advertising a{
    margin-right: 5px;
}