/* АНИМАЦИИ */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes textShine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* БАЗОВЫЕ СТИЛИ */
body {
    margin: 0;
    padding: 0;
}

/* ГРАДИЕНТЫ ДЛЯ РАЗНЫХ СТРАНИЦ */

/* Главная страница - красно-бирюзовый */
body.page-main {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(-45deg, #FF0000, #8B0000, #48D1CC, #00CED1);
    background-size: 400% 400%;
    animation: gradientShift 7s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Страница модов - зелёный */
body.page-mods {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(-45deg, #2E8B57, #3CB371, #00FF7F, #00FA9A);
    background-size: 400% 400%;
    animation: gradientShift 7s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Страница ошибки - красный */
body.page-error {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(-45deg, #DC143C, #FF0000, #B22222, #8B0000);
    background-size: 400% 400%;
    animation: gradientShift 7s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* КОНТЕЙНЕР ДЛЯ КОНТЕНТА */
.content {
    position: relative;
    z-index: 1;
    padding: 50px;
    text-align: center;
}

/* ПЕРЕЛИВАЮЩИЙСЯ ТЕКСТ */
.gradient-text {
    background: linear-gradient(to right, #00CED1, #1E90FF, #FF8C00, #FFD700, #00CED1);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: textShine 7s linear infinite;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}

.gradient-h {
    background: linear-gradient(to right, #00CED1, #1E90FF, #FF8C00, #FFD700, #00CED1);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: textShine 7s linear infinite;
    font-size: 60px;
    font-weight: bold;
    text-align: center;
}

.gradient-text-main {
    background: linear-gradient(to right, #7FFF00, #7CFC00, #32CD32, #228B22, #00FF00);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: textShine 7s linear infinite;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}

.gradient-h-main {
    background: linear-gradient(to right, #7FFF00, #7CFC00, #32CD32, #228B22, #00FF00);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: textShine 7s linear infinite;
    font-size: 60px;
    font-weight: bold;
    text-align: center;
}

/* КНОПКИ */

/* Основная зелёная кнопка */
.gradient-btn-main {
    background: linear-gradient(90deg, #7FFF00, #7CFC00, #ADFF2F);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: #004d00;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-position 0.5s ease, transform 0.2s;
    box-shadow: 0 8px 20px rgba(127, 255, 0, 0.4),
                0 4px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.gradient-btn-main:hover {
    background-position: 0 0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(127, 255, 0, 0.6),
                0 6px 12px rgba(0, 0, 0, 0.3);
}

.gradient-btn-main:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(127, 255, 0, 0.4);
}

/* Кнопка для страницы модов */
.gradient-btn-mods {
    background: linear-gradient(90deg, #006400, #006400, #00FF00);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-position 0.5s ease, transform 0.2s;
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.4),
                0 4px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.gradient-btn-mods:hover {
    background-position: 0 0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.6),
                0 6px 12px rgba(0, 0, 0, 0.3);
}

.gradient-btn-mods:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.4);
}

/* Кнопка для страницы ошибки */
.gradient-btn-error {
    background: linear-gradient(90deg, #FF0000, #DC143C, #8B0000);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-position 0.5s ease, transform 0.2s;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4),
                0 4px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.gradient-btn-error:hover {
    background-position: 0 0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.6),
                0 6px 12px rgba(0, 0, 0, 0.3);
}

.gradient-btn-error:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

/* Градиентная кнопка */
.gradient-btn {
    background: linear-gradient(90deg, #B22222, #B22222, #20B2AA);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-position 0.5s ease, transform 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}

.gradient-btn:hover {
    background-position: 0 0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.gradient-btn:active {
    transform: translateY(0);
}

/* Неоновая кнопка */
.neon-btn {
    background: transparent;
    color: #00CED1;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 40px;
    border: 2px solid #00CED1;
    border-radius: 10px;
    cursor: pointer;
    text-shadow: 0 0 10px #00CED1;
    box-shadow: 0 0 10px #00CED1, inset 0 0 10px #00CED1;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.neon-btn:hover {
    background: #00CED1;
    color: white;
    text-shadow: none;
    box-shadow: 0 0 20px #00CED1, inset 0 0 20px rgba(0, 206, 209, 0.5);
}

/* Кнопка с блеском */
.shine-btn {
    background: #fe6637;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.5s;
    text-decoration: none;
    display: inline-block;
}

.shine-btn:before {
    content: '';
    background: rgba(255, 255, 255, 0.5);
    height: 100%;
    width: 50px;
    position: absolute;
    top: 0;
    left: -75px;
    transform: skewX(-45deg);
    transition: 0.5s ease-in-out;
}

.shine-btn:hover {
    background: #ff4500;
}

.shine-btn:hover:before {
    left: 150px;
}

/* Кнопка с заливкой рамки */
.border-btn {
    background: transparent;
    color: #1E90FF;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 40px;
    border: 3px solid #1E90FF;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.4s;
    text-decoration: none;
    display: inline-block;
}

.border-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1E90FF;
    transition: left 0.4s;
    z-index: -1;
}

.border-btn:hover {
    color: white;
}

.border-btn:hover:before {
    left: 0;
}

/* 3D кнопка */
.btn-3d {
    background: linear-gradient(to bottom, #FFD700, #FF8C00);
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 5px 0 #cc6600, 0 8px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.1s;
    text-decoration: none;
    display: inline-block;
}

.btn-3d:hover {
    box-shadow: 0 3px 0 #cc6600, 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(2px);
}

.btn-3d:active {
    box-shadow: 0 0 0 #cc6600, 0 2px 5px rgba(0, 0, 0, 0.3);
    transform: translateY(5px);
}


















/* Стили для таблицы */
table {
    width: 80%;
    margin: 30px auto;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Заголовки таблицы */
thead {
    background: linear-gradient(90deg, #7FFF00, #00FF7F);
}

th {
    padding: 15px;
    text-align: left;
    color: #004d00;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ячейки таблицы */
td {
    padding: 12px 15px;
    color: white;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Строки при наведении */
tbody tr {
    transition: background 0.3s ease;
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Последняя строка без нижней границы */
tbody tr:last-child td {
    border-bottom: none;
}

