/* Базовые стили и глубокий тёмный фон для эффекта снега */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #fff;
    background-color: #050b14;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Контейнер для падающего снега */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

/* Стиль отдельной снежинки */
.snowflake {
    position: absolute;
    top: -10px;
    color: #fff;
    font-family: Arial, sans-serif;
    cursor: default;
    user-select: none;
    animation: fall linear infinite;
    opacity: 0.8;
}

@keyframes fall {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    100% { transform: translateY(105vh) translateX(50px) rotate(360deg); }
}

/* Выдвижная шторка навигации */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 60px;
    background-color: rgba(6, 13, 23, 0.95);
    border-right: 2px solid #00d2ff;
    overflow-x: hidden;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding-top: 20px;
}

.sidebar:hover { width: 260px; }

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #a0aec0;
    transition: all 0.3s;
    white-space: nowrap;
    cursor: pointer;
}

.sidebar-item:hover {
    background: rgba(0, 210, 255, 0.1);
    color: #00d2ff;
    padding-left: 25px;
}

.sidebar-item i {
    font-size: 20px;
    width: 30px;
    min-width: 30px;
    text-align: center;
    color: #00d2ff;
}

.sidebar-item span {
    margin-left: 15px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.2s;
}

.sidebar:hover .sidebar-item span { opacity: 1; }

/* Основной контейнер */
.main-container {
    margin-left: 60px;
    max-width: 1100px;
    width: 100%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    z-index: 10;
}

/* Главная шапка страницы */
.main-header {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 40px;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.6), 0 0 30px rgba(0, 210, 255, 0.3);
}

/* Центральный блок с информацией */
.hero-section {
    background: rgba(10, 23, 42, 0.8);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 12px;
    padding: 35px 40px;
    margin-top: 30px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
}

.hero-section p {
    color: #a0aec0;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Окошко для информации о Культе */
.info-textbox {
    background: rgba(5, 12, 22, 0.9);
    border-left: 4px solid #00d2ff;
    border-radius: 6px;
    padding: 20px;
    text-align: left;
    margin: 20px 0;
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Блок IP адреса */
.server-ip-box {
    margin-top: 15px;
    background: rgba(0, 210, 255, 0.15);
    border: 2px solid #00d2ff;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.server-ip-box:hover {
    transform: scale(1.05);
    background: rgba(0, 210, 255, 0.25);
}

/* Сетка карточек */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    width: 100%;
    margin-top: 60px;
}

/* Карточка */
.card {
    background: rgba(10, 23, 42, 0.85);
    border-bottom: 4px solid #00d2ff;
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 210, 255, 0.3);
}

.card i {
    font-size: 2.5rem;
    color: #00d2ff;
    margin-bottom: 15px;
}

.card h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: #fff;
}

.card p {
    margin: 0 0 20px 0;
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Кнопка "Изучить" */
.card-btn {
    background: transparent;
    border: 2px solid #00d2ff;
    color: #00d2ff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.card-btn:hover {
    background: #00d2ff;
    color: #050b14;
}

/* СТИЛИ ДЛЯ ВСПЛЫВАЮЩИХ ОКОН */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(10, 23, 42, 0.95);
    border: 2px solid #00d2ff;
    border-radius: 15px;
    width: 90%;
    max-width: 650px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    text-align: left;
    box-sizing: border-box;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header-block {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0, 210, 255, 0.3);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-header-block i {
    font-size: 2rem;
    color: #00d2ff;
}

.modal-header-block h2 {
    margin: 0;
    font-size: 1.8rem;
}

.modal-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #e2e8f0;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-thumb { background: #00d2ff; border-radius: 10px; }

.close-modal-btn {
    background: #00d2ff;
    color: #050b14;
    border: none;
    padding: 10px 22px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 25px;
    float: right;
    transition: background 0.2s, transform 0.1s;
}

.close-modal-btn:hover {
    background: #00b2d4;
    transform: translateY(-2px);
}
/* Стили для системы повышения */
.main-container { padding: 20px; }
.main-header { font-size: 2.5rem; color: #00d2ff; text-align: center; margin-bottom: 10px; }
.main-subheader { text-align: center; color: #ffaa00; margin-bottom: 30px; }

.ranks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.rank-card { background: rgba(10, 25, 45, 0.8); border: 1px solid #00d2ff; border-radius: 12px; padding: 20px; }
.card-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.icon-box { width: 45px; height: 45px; border: 2px solid #00d2ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #00d2ff; }
.rank-title { font-size: 1.2rem; font-weight: bold; }
.rank-points { font-size: 1.4rem; font-weight: bold; margin-bottom: 10px; }
.kd-line { font-size: 0.9rem; color: #ccc; margin-bottom: 10px; }
.progress-bar { height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; margin-bottom: 15px; overflow: hidden; }
.progress-fill { height: 100%; background: #00d2ff; width: 60%; }
.description { font-size: 0.85rem; color: #aaa; }
.ranks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 20px; }
.rank-card { background: rgba(10, 25, 45, 0.9); border: 1px solid #00d2ff; padding: 20px; border-radius: 10px; text-align: center; }
.rank-title { font-weight: bold; margin-bottom: 10px; color: #fff; }
.kd-line { color: #00d2ff; font-size: 0.9rem; }
.rank-card {
    background: linear-gradient(145deg, #0f1c30, #050c16);
    border: 1px solid rgba(0, 210, 255, 0.4);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.rank-card:hover { transform: scale(1.02); border-color: #00d2ff; }

.rank-title { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 5px; }

.rank-points { font-size: 1.6rem; color: #00d2ff; font-weight: bold; margin-bottom: 10px; }

.kd-line { font-size: 0.95rem; color: #a0a0a0; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }

.description { font-size: 0.9rem; color: #888; line-height: 1.5; font-style: italic; }

.progress-bar { height: 8px; background: #0a192f; border-radius: 4px; margin-bottom: 15px; overflow: hidden; }

.progress-fill { height: 100%; background: linear-gradient(90deg, #00d2ff, #0066ff); box-shadow: 0 0 10px #00d2ff; }

.ranks-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px; 
    padding: 20px; 
}
.rank-card { 
    background: linear-gradient(135deg, #0e1e35, #081525); 
    border: 1px solid #00d2ff; 
    border-radius: 16px; 
    padding: 25px; 
    transition: 0.3s; 
}
.rank-card:hover { transform: translateY(-10px); border-color: #fff; }
.card-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.icon-box { width: 50px; height: 50px; border: 2px solid #00d2ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #00d2ff; font-size: 22px; }
.rank-title { font-size: 1.3rem; font-weight: bold; color: #fff; }
.rank-points { font-size: 1.5rem; color: #00d2ff; font-weight: bold; margin-bottom: 5px; }
.kd-line { color: #aaa; margin-bottom: 10px; font-size: 0.9rem; }
.progress-bar { height: 8px; background: #050c16; border-radius: 4px; overflow: hidden; margin-bottom: 15px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #00d2ff, #0066ff); }
.description { color: #888; font-size: 0.85rem; line-height: 1.4; }
body {
    background-color: #050c16 !important;
    color: #ffffff !important;
    font-family: Arial, sans-serif;
}

.main-container {
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.rank-card {
    background: #0f1c30;
    border: 1px solid #00d2ff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.rank-card h3 {
    color: #00d2ff;
    margin-top: 0;
}
/* Навигация */
.sidebar { position: fixed; left: 0; top: 0; width: 220px; height: 100%; background: #050c16; border-right: 1px solid #00d2ff; padding-top: 20px; z-index: 1000; }
.sidebar-item { display: block; padding: 15px; color: white; text-decoration: none; font-size: 1.1rem; }
.active-nav { background: rgba(0, 210, 255, 0.2); border-left: 4px solid #00d2ff; }
.main-container { margin-left: 240px; padding: 40px; color: white; }

/* Карточки */
.ranks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.rank-card { background: #0f1c30; border: 1px solid #00d2ff; padding: 25px; border-radius: 12px; text-align: center; }
.rank-card h3 { color: #00d2ff; margin-top: 0; }

/* Снежинки */
.snowflake { color: #fff; position: fixed; top: -20px; animation: fall 10s linear infinite; opacity: 0.6; pointer-events: none; }
@keyframes fall { to { transform: translateY(110vh); } }
.snowflake:nth-child(1) { left: 10%; animation-duration: 7s; }
.snowflake:nth-child(2) { left: 40%; animation-duration: 10s; }
.snowflake:nth-child(3) { left: 80%; animation-duration: 12s; }
/* =========================================
   ШТОРКА НАВИГАЦИИ (выезжает по наведению)
========================================== */
.sidebar { 
    position: fixed; 
    left: 0; 
    top: 0; 
    width: 60px; /* В закрытом виде (только иконки) */
    height: 100%; 
    background: #050c16; 
    border-right: 2px solid #00d2ff; 
    padding-top: 60px; 
    z-index: 1000; 
    transition: width 0.4s ease; /* Плавное открытие */
    overflow: hidden; /* Скрываем текст, когда закрыта */
    white-space: nowrap; /* Чтобы текст не переносился вниз */
}

/* Когда наводим мышку — открывается */
.sidebar:hover { 
    width: 250px; 
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.8);
}

.sidebar-item { 
    display: flex; 
    align-items: center;
    padding: 15px 20px; 
    color: white; 
    text-decoration: none; 
    font-size: 1.1rem; 
    transition: 0.3s;
}

/* Иконки в навигации всегда одного размера */
.sidebar-item i {
    min-width: 35px; 
    font-size: 1.2rem;
}

.active-nav { background: rgba(0, 210, 255, 0.2); border-left: 4px solid #00d2ff; }

/* =========================================
   ОСНОВНОЙ КОНТЕНТ (ЦЕНТРОВКА)
========================================== */
.main-container { 
    margin-left: 60px; /* Отступ равен закрытой шторке */
    padding: 40px 20px; 
    color: white; 
    display: flex;
    flex-direction: column;
    align-items: center; /* Выстраиваем всё ровно по центру */
}

.main-container h1 {
    color: #00d2ff;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
    margin-bottom: 30px;
    text-align: center;
}

/* =========================================
   КАРТОЧКИ РАНГОВ (Широкие, чтобы не было пусто)
========================================== */
.ranks-grid { 
    display: flex; 
    flex-direction: column; /* В один столбик по центру */
    gap: 25px; 
    width: 100%;
    max-width: 800px; /* Делаем их широкими! */
}

.rank-card { 
    background: linear-gradient(135deg, #0a1526, #050c16); 
    border: 1px solid #00d2ff; 
    padding: 25px 40px; 
    border-radius: 12px; 
    text-align: center; 
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.05);
    transition: 0.3s;
}

/* Эффект при наведении на карточку */
.rank-card:hover {
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
    transform: scale(1.02); /* Чуть-чуть увеличивается */
    background: linear-gradient(135deg, #0e1e35, #081220); 
}

.rank-card h3 { 
    color: #00d2ff; 
    margin-top: 0; 
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.rank-card p {
    font-size: 1.1rem;
    color: #ccc;
}


/* =========================================
   БАЗОВЫЕ НАСТРОЙКИ ФОНА
========================================== */
body {
    background-color: #060b14; /* Темный фон */
    color: #ffffff;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
}

/* =========================================
   ШТОРКА НАВИГАЦИИ (как ты просил)
========================================== */
.sidebar { 
    position: fixed; 
    left: 0; 
    top: 0; 
    width: 60px; /* Свернутое состояние */
    height: 100%; 
    background: rgba(5, 12, 22, 0.95); 
    border-right: 2px solid #00d2ff; 
    padding-top: 60px; 
    z-index: 1000; 
    transition: width 0.4s ease; 
    overflow: hidden; 
    white-space: nowrap; 
}

/* Раскрывается при наведении */
.sidebar:hover { 
    width: 250px; 
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.8);
}

.sidebar-item { 
    display: flex; 
    align-items: center;
    padding: 15px 20px; 
    color: white; 
    text-decoration: none; 
    font-size: 0.95rem; /* Шрифт не крупный */
    font-weight: 400; /* Не жирный */
    transition: 0.3s;
}

.sidebar-item i {
    min-width: 35px; 
    font-size: 1.2rem;
    color: #00d2ff;
}

.sidebar-item span {
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar:hover .sidebar-item span {
    opacity: 1; /* Текст появляется при открытии */
}

.active-nav { background: rgba(0, 210, 255, 0.15); border-left: 4px solid #00d2ff; }
.sidebar-item:hover { background: rgba(255, 255, 255, 0.05); }

/* =========================================
   ЦЕНТРАЛЬНЫЙ КОНТЕНТ
========================================== */
.main-container { 
    margin-left: 60px; /* Место под свернутую шторку */
    padding: 50px 20px; 
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем всё */
}

.page-subtitle {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    position: relative;
}

/* Линия над заголовком как на фото */
.page-subtitle::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

/* =========================================
   КАРТОЧКИ РАНГОВ (Дизайн по фото)
========================================== */
.ranks-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Сетка карточек */
    gap: 30px; 
    width: 100%;
    max-width: 1100px; /* Широкая область, чтобы не было пустот */
}

.rank-card { 
    background: linear-gradient(145deg, #10336b, #0a1f44); /* Синий градиент как на фото */
    border-radius: 16px; 
    padding: 30px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.3);
}

/* Иконка в кружке слева сверху */
.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #00d2ff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.card-title { 
    font-size: 1.4rem; 
    font-weight: bold; 
    margin-bottom: 10px;
}

.card-points {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Блок с КД и вертикальной палочкой */
.card-cooldown {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #e0e0e0;
    margin-bottom: 15px;
}

/* Вертикальная палочка | */
.card-cooldown span {
    width: 3px;
    height: 14px;
    background-color: #e0e0e0;
    margin-right: 10px;
    border-radius: 2px;
}

.card-cooldown i {
    margin-right: 6px;
}

/* Полоса прогресса */
.card-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #00d2ff; /* Цвет полоски */
    border-radius: 3px;
    box-shadow: 0 0 8px #00d2ff;
}

.card-desc {
    font-size: 0.9rem;
    color: #a0b0c0;
    line-height: 1.5;
}


/* =========================================
   ШТОРКА НАВИГАЦИИ (Плавная, не жирная)
========================================== */
.sidebar { 
    position: fixed; 
    left: 0; 
    top: 0; 
    width: 60px; 
    height: 100%; 
    background: rgba(5, 12, 22, 0.95); 
    border-right: 2px solid #00d2ff; 
    padding-top: 60px; 
    z-index: 1000; 
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    overflow: hidden; 
    white-space: nowrap; 
}

.sidebar:hover { 
    width: 250px; 
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.9);
}

.sidebar-item { 
    display: flex; 
    align-items: center;
    padding: 15px 20px; 
    color: #ffffff; 
    text-decoration: none; 
    font-size: 0.95rem; 
    font-weight: 400; /* Убрали жирность */
    transition: background 0.3s, opacity 0.3s;
}

.sidebar-item i {
    min-width: 35px; 
    font-size: 1.1rem;
    color: #00d2ff;
}

.sidebar-item span {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sidebar:hover .sidebar-item span {
    opacity: 1;
}

.active-nav { background: rgba(0, 210, 255, 0.15); border-left: 4px solid #00d2ff; }
.sidebar-item:hover { background: rgba(255, 255, 255, 0.05); }

/* =========================================
   ЦЕНТРОВКА КОНТЕНТА И СЕТКИ
========================================== */
.main-container { 
    margin-left: 60px; 
    padding: 60px 40px; 
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем заголовок и сетку на экране */
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 50px;
    position: relative;
    text-align: center;
}

.page-subtitle::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.5), transparent);
}

/* СЕТКА КАРТОЧЕК (Идеально отцентрована) */
.ranks-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); 
    gap: 30px; 
    width: 100%;
    max-width: 1100px; /* Ограничиваем максимальную ширину для красоты */
    justify-content: center; /* Центрируем карточки внутри сетки */
}

/* =========================================
   СТИЛЬНЫЕ КАРТОЧКИ РАНГОВ
========================================== */
.rank-card { 
    background: linear-gradient(145deg, #0d2244, #061124); 
    border-radius: 16px; 
    padding: 30px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 210, 255, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.rank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.2);
    border-color: rgba(0, 210, 255, 0.4);
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #00d2ff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
}

.card-title { 
    font-size: 1.35rem; 
    font-weight: 600; 
    margin-bottom: 8px;
    color: #ffffff;
}

.card-points {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #00d2ff;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.card-cooldown {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #b0c4de;
    margin-bottom: 15px;
}

.card-cooldown span {
    width: 2px;
    height: 12px;
    background-color: #00d2ff;
    margin-right: 10px;
    border-radius: 2px;
}

.card-cooldown i {
    margin-right: 6px;
}

.card-progress {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    margin-bottom: 25px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d2ff, #0077ff);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
}

.card-desc {
    font-size: 0.9rem;
    color: #9cb0c7;
    line-height: 1.5;
}

/* =========================================
   ГУСТОЙ ПАДАЮЩИЙ СНЕГ
========================================== */
.snowflakes {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 999;
}
.snowflake {
    color: #fff;
    font-size: 1.1em;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
    position: fixed;
    top: -10%;
    user-select: none;
    animation-name: fall, shake;
    animation-duration: 9s, 3s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    opacity: 0;
}
@keyframes fall {
    0% { top: -10%; opacity: 0; }
    15% { opacity: 0.75; }
    90% { opacity: 0.75; }
    100% { top: 100%; opacity: 0; }
}
@keyframes shake {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(50px); }
}
.snowflake:nth-of-type(1)  { left: 8%; animation-delay: 0s, 0s; font-size: 1.3em; }
.snowflake:nth-of-type(2)  { left: 18%; animation-delay: 1.5s, 0.5s; font-size: 0.8em; }
.snowflake:nth-of-type(3)  { left: 28%; animation-delay: 4s, 1s; font-size: 1.4em; animation-duration: 7s, 2s; }
.snowflake:nth-of-type(4)  { left: 38%; animation-delay: 2s, 1.5s; font-size: 0.9em; }
.snowflake:nth-of-type(5)  { left: 48%; animation-delay: 5s, 2s; font-size: 1.2em; animation-duration: 11s, 2.5s; }
.snowflake:nth-of-type(6)  { left: 58%; animation-delay: 1s, 0s; font-size: 0.8em; }
.snowflake:nth-of-type(7)  { left: 68%; animation-delay: 6s, 1s; font-size: 1.5em; animation-duration: 8s, 2s; }
.snowflake:nth-of-type(8)  { left: 78%; animation-delay: 3s, 1.5s; font-size: 1em; }
.snowflake:nth-of-type(9)  { left: 88%; animation-delay: 4.5s, 0.5s; font-size: 0.7em; animation-duration: 10s, 3s; }
.snowflake:nth-of-type(10) { left: 93%; animation-delay: 2.5s, 2s; font-size: 1.1em; }
.snowflake:nth-of-type(11) { left: 13%; animation-delay: 7s, 1s; font-size: 1.2em; }
.snowflake:nth-of-type(12) { left: 23%; animation-delay: 3.5s, 0s; font-size: 0.9em; }
.snowflake:nth-of-type(13) { left: 43%; animation-delay: 8s, 1.5s; font-size: 1.4em; animation-duration: 7.5s, 2s; }
.snowflake:nth-of-type(14) { left: 53%; animation-delay: 6.5s, 2s; font-size: 0.8em; }
.snowflake:nth-of-type(15) { left: 63%; animation-delay: 9s, 0.5s; font-size: 1.3em; }
.snowflake:nth-of-type(16) { left: 73%; animation-delay: 1.5s, 1s; font-size: 1em; }
.snowflake:nth-of-type(17) { left: 83%; animation-delay: 10s, 2s; font-size: 1.1em; animation-duration: 12s, 3s; }
.snowflake:nth-of-type(18) { left: 33%; animation-delay: 11s, 0s; font-size: 1.3em; }
.snowflake:nth-of-type(19) { left:  dugout; left: 6%; animation-delay: 12s, 1s; font-size: 0.9em; }
.snowflake:nth-of-type(20) { left: 50%; animation-delay: 0.5s, 1.5s; font-size: 1.2em; }


/* =========================================
   ЦЕНТРОВКА КОНТЕНТА И СЕТКИ
========================================== */
.main-container { 
    margin-left: 60px; 
    padding: 60px 40px; 
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем заголовок и сетку на экране */
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 50px;
    position: relative;
    text-align: center; /* Центрируем подзаголовок сайта */
}

.page-subtitle::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.5), transparent);
}

/* СЕТКА КАРТОЧЕК */
.ranks-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); 
    gap: 30px; 
    width: 100%;
    max-width: 1100px; 
    justify-content: center; 
}

/* =========================================
   СТИЛЬНЫЕ КАРТОЧКИ РАНГОВ (ТЕКСТ ПО ЦЕНТРУ)
========================================== */
.rank-card { 
    background: linear-gradient(145deg, #0d2244, #061124); 
    border-radius: 16px; 
    padding: 30px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 210, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center; /* ВОТ ЭТО ЦЕНТРИРУЕТ ВСЕ ЭЛЕМЕНТЫ ВНУТРИ КАРТОЧКИ */
    text-align: center;  /* ВОТ ЭТО ЦЕНТРИРУЕТ ВЕСЬ ТЕКСТ ВНУТРИ КАРТОЧКИ */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.rank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.2);
    border-color: rgba(0, 210, 255, 0.4);
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #00d2ff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
}

.card-title { 
    font-size: 1.35rem; 
    font-weight: 600; 
    margin-bottom: 8px;
    color: #ffffff;
}

.card-points {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #00d2ff;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.card-cooldown {
    display: flex;
    align-items: center;
    justify-content: center; /* Центрируем КД с иконкой часов */
    font-size: 0.85rem;
    color: #b0c4de;
    margin-bottom: 15px;
}

.card-cooldown span {
    width: 2px;
    height: 12px;
    background-color: #00d2ff;
    margin-right: 10px;
    border-radius: 2px;
}

.card-cooldown i {
    margin-right: 6px;
}

.card-progress {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    margin-bottom: 25px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d2ff, #0077ff);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
}

.card-desc {
    font-size: 0.9rem;
    color: #9cb0c7;
    line-height: 1.5;
}

/* =========================================
   ИДЕАЛЬНАЯ ЦЕНТРОВКА СТРАНИЦЫ ПО ЦЕНТРУ
========================================== */
.main-container { 
    margin: 0 auto; /* Убрали фиксацию слева, теперь страница строго по центру! */
    padding: 60px 20px; 
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем заголовок и сетку */
    justify-content: center;
    min-height: 100vh;
    max-width: 1200px; /* Чтобы на огромных мониторах карточки не расползались слишком широко */
    box-sizing: border-box;
    position: relative;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 50px;
    position: relative;
    text-align: center;
}

.page-subtitle::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.5), transparent);
}

/* СЕТКА КАРТОЧЕК */
.ranks-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); 
    gap: 30px; 
    width: 100%;
    justify-content: center; 
}
/* =========================================
   СТИЛИ ДЛЯ ВЫТЯНУТЫХ КАРТОЧЕК ЗАДАНИЙ
========================================== */

/* Контейнер выстраивает карточки в один ровный столбец по центру */
.tasks-list-wide {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 850px; /* Сделали уже, чтобы они смотрелись аккуратными рамками */
    margin-bottom: 60px;
}

/* Сама вытянутая карточка-рамка */
.task-card-wide {
    background: linear-gradient(90deg, #091a33, #040d1a);
    border: 1px solid rgba(0, 210, 255, 0.15); /* Четкая неоновая рамка */
    border-radius: 10px;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between; /* Название слева, награда справа */
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, border-color 0.2s, box-shadow 0.2s;
}

/* Эффект при наведении на вытянутую карточку */
.task-card-wide:hover {
    transform: scale(1.01);
    border-color: rgba(0, 210, 255, 0.5);
    box-shadow: 0 5px 20px rgba(0, 210, 255, 0.15);
}

/* Блок с текстом внутри карточки */
.task-wide-info {
    text-align: left; /* Текст внутри вытянутой карточки прижат влево для удобства чтения */
    padding-right: 20px;
}

/* Название задания */
.task-wide-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

/* Описание задания под названием */
.task-wide-desc {
    font-size: 0.85rem;
    color: #8fa0b5;
    margin: 0;
}

/* Награда (лед) с правой стороны */
.task-wide-reward {
    font-size: 1.3rem;
    font-weight: 700;
    color: #00d2ff;
    white-space: nowrap; /* Чтобы текст не переносился */
    background: rgba(0, 210, 255, 0.08);
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

/* =========================================
   СТИЛИ ДЛЯ СТРАНИЦЫ ЗАМОРОЖЕННЫХ СОБЫТИЙ
========================================== */

/* Большая карточка-плашка по центру */
.frozen-status-card {
    background: linear-gradient(145deg, #07162c, #030a14);
    border: 2px dashed rgba(0, 210, 255, 0.3); /* Пунктирная ледяная рамка */
    border-radius: 20px;
    padding: 60px 40px;
    width: 100%;
    max-width: 700px; /* Делаем её достаточно большой */
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 
                inset 0 0 20px rgba(0, 210, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

/* Огромная светящаяся снежинка */
.frozen-icon {
    font-size: 4rem;
    color: #00d2ff;
    margin-bottom: 25px;
    animation: pulse-glow 3s infinite ease-in-out;
}

/* Текст ВРЕМЕННО ЗАМОРОЖЕНО */
.frozen-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

/* Описание */
.frozen-text {
    font-size: 1.05rem;
    color: #8fa0b5;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

/* Ледяная декоративная полоса на дне карточки */
.frozen-bar {
    width: 40%;
    height: 4px;
    background: #00d2ff;
    border-radius: 2px;
    box-shadow: 0 0 10px #00d2ff;
}

/* Анимация пульсации иконки, будто она дышит холодом */
@keyframes pulse-glow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.4)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.8)); }
}

/* =========================================
   ОБНОВЛЕННЫЕ УВЕЛИЧЕННЫЕ СТИЛИ ДЛЯ МАГИИ КРОВИ
========================================== */


/* Контейнер для списка магии (Сделали шире: с 900px до 1050px) */
.blood-arts-list {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Чуть увеличили отступ между самими карточками */
    width: 100%;
    max-width: 1050px; 
    margin-bottom: 60px;
}


/* Большая вытянутая карточка техники */
.blood-art-card {
    background: linear-gradient(90deg, #091a33, #040d1a);
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: 16px; /* Чуть более мягкое закругление */
    padding: 25px; /* Увеличили внутренние отступы */
    display: flex;
    align-items: center;
    gap: 35px; /* Больше свободного места между фото и текстом */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}


/* Наведение на карточку техники */
.blood-art-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 210, 255, 0.45);
    box-shadow: 0 15px 40px rgba(0, 210, 255, 0.18);
}


/* УВЕЛИЧЕННЫЕ КАРТИНКИ (Было: 220x130 -> Стало: 320x190) */
.blood-art-img {
    width: 320px;
    height: 190px;
    object-fit: cover; 
    border-radius: 10px;
    border: 2px solid rgba(0, 210, 255, 0.35);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.15);
    flex-shrink: 0; 
}


/* Текстовый блок внутри карточки */
.blood-art-info {
    text-align: left;
}


/* Название техники (Сделали крупнее и заметнее) */
.blood-art-name {
    font-size: 1.55rem; 
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    text-shadow: 0 0 12px rgba(0, 210, 255, 0.25);
}


/* Описание техники (Чуть-чуть увеличили межстрочный интервал для легкого чтения) */
.blood-art-desc {
    font-size: 0.95rem;
    color: #a5b8cf; /* Сделали текст капельку светлее, чтобы глаза не напрягались */
    line-height: 1.6;
    margin: 0;
}


/* Адаптивность для экранов поменьше */
@media (max-width: 800px) {
    .blood-art-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .blood-art-info {
        text-align: center;
    }
    .blood-art-img {
        width: 100%;
        max-width: 450px;
        height: 220px;
    }
}

/* =========================================
   СТИЛИ ДЛЯ СТРАНИЦЫ СВЯЩЕННЫХ МОЛИТВ
========================================== */


/* Сетка для скрижалей (плит) с молитвами */
.prayers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* Достаточно широкие карточки */
    gap: 35px;
    width: 100%;
    max-width: 1100px;
    margin-bottom: 60px;
    align-items: start;
}


/* Сама плита-скрижаль молитвы */
.prayer-tablet {
    background: linear-gradient(135deg, #051226, #020813);
    border: 1px solid rgba(0, 210, 255, 0.12);
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6),
                inset 0 0 20px rgba(0, 210, 255, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s, box-shadow 0.4s;
}


/* Эффект легкого мистического парения при наведении */
.prayer-tablet:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.35);
    box-shadow: 0 20px 45px rgba(0, 210, 255, 0.12);
}


/* Шапка молитвы */
.prayer-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    width: 100%;
}


/* Иконка древнего свитка */
.prayer-icon {
    font-size: 1.8rem;
    color: #00d2ff;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.4));
}


/* Название молитвы по центру */
.prayer-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}


/* Священный текст молитвы */
.prayer-content {
    width: 100%;
    text-align: center; /* Строго по центру, как в писаниях */
    font-family: 'Georgia', serif; /* Придали тексту легкий благородный/книжный стиль */
    font-style: italic; /* Курсив делает молитву более одухотворенной */
    line-height: 1.7; /* Просторное расстояние между строками */
    color: #b0c4de; /* Мягкий ледяной оттенок текста */
}


/* Абзацы (куплеты) молитвы */
.prayer-content p {
    margin: 0 0 20px 0;
    font-size: 1rem;
}


/* Последний абзац не должен иметь отступа снизу */
.prayer-content p:last-child {
    margin-bottom: 0;
}


/* Нижняя подпись (футер карточки) */
.prayer-footer {
    margin-top: 25px;
    padding-top: 15px;
    width: 80%;
    border-top: 1px dashed rgba(0, 210, 255, 0.1);
    font-size: 0.75rem;
    color: rgba(0, 210, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}


/* Адаптивность под узкие экраны смартфонов */
@media (max-width: 500px) {
    .prayers-grid {
        grid-template-columns: 1fr;
    }
    .prayer-tablet {
        padding: 25px 15px;
    }
    .prayer-title {
        font-size: 1.2rem;
    }
    .prayer-content p {
        font-size: 0.9rem;
    }
}

/* =========================================
   1. ОБНОВЛЕННЫЕ СТИЛИ ФОНА (БЕЗ КАВЫЧЕК)
========================================== */
body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden; 
    color: #e0f0ff;


    /* НАСТРОЙКИ ФОНА */
    background-image: url(background.png); 
    background-repeat: no-repeat; 
    background-attachment: fixed; 
    background-size: cover; 
    background-position: center;
}


/* Полупрозрачный темный слой поверх картинки Доумы */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 8, 20, 0.7); 
    z-index: -1; 
}


/* =========================================
   2. СТИЛИ ДЛЯ МАГИИ КРОВИ (С ЭФФЕКТОМ СТЕКЛА)
========================================== */
.blood-arts-list {
    display: flex;
    flex-direction: column;
    gap: 30px; 
    width: 100%;
    max-width: 1050px; 
    margin-bottom: 60px;
}


.blood-art-card {
    background: rgba(9, 26, 51, 0.8) !important;
    backdrop-filter: blur(6px); 
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 16px; 
    padding: 25px; 
    display: flex;
    align-items: center;
    gap: 35px; 
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}


.blood-art-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 210, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 210, 255, 0.25);
}


.blood-art-img {
    width: 320px;
    height: 190px;
    object-fit: cover; 
    border-radius: 10px;
    border: 2px solid rgba(0, 210, 255, 0.35);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.15);
    flex-shrink: 0; 
}


.blood-art-info {
    text-align: left;
}


.blood-art-name {
    font-size: 1.55rem; 
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    text-shadow: 0 0 12px rgba(0, 210, 255, 0.25);
}


.blood-art-desc {
    font-size: 0.95rem;
    color: #edf3fa; 
    line-height: 1.6;
    margin: 0;
}


@media (max-width: 800px) {
    .blood-art-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .blood-art-info {
        text-align: center;
    }
    .blood-art-img {
        width: 100%;
        max-width: 450px;
        height: 220px;
    }
}


/* =========================================
   3. СТИЛИ ДЛЯ МОЛИТВ (С ЭФФЕКТОМ СТЕКЛА)
========================================== */
.prayers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
    gap: 35px;
    width: 100%;
    max-width: 1100px;
    margin-bottom: 60px;
    align-items: start;
}


.prayer-tablet {
    background: rgba(5, 18, 38, 0.8) !important;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 210, 255, 0.18);
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s, box-shadow 0.4s;
}


.prayer-tablet:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.45);
    box-shadow: 0 20px 45px rgba(0, 210, 255, 0.18);
}


.prayer-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    width: 100%;
}


.prayer-icon {
    font-size: 1.8rem;
    color: #00d2ff;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.4));
}


.prayer-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}


.prayer-content {
    width: 100%;
    text-align: center; 
    font-family: 'Georgia', serif; 
    font-style: italic; 
    line-height: 1.7; 
    color: #ffffff; 
}


.prayer-content p {
    margin: 0 0 20px 0;
    font-size: 1rem;
}


.prayer-content p:last-child {
    margin-bottom: 0;
}


.prayer-footer {
    margin-top: 25px;
    padding-top: 15px;
    width: 80%;
    border-top: 1px dashed rgba(0, 210, 255, 0.15);
    font-size: 0.75rem;
    color: rgba(0, 210, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}


@media (max-width: 500px) {
    .prayers-grid {
        grid-template-columns: 1fr;
    }
    .prayer-tablet {
        padding: 25px 15px;
    }
    .prayer-title {
        font-size: 1.2rem;
    }
    .prayer-content p {
        font-size: 0.9rem;
    }
}

/* =========================================
   4. ИСПРАВЛЕННЫЙ СТЕКЛЯННЫЙ ЭФФЕКТ ДЛЯ ВСЕХ СТРАНИЦ
========================================== */


/* 1. Главная страница (Карточки приветствия и статистики) */
.welcome-section .welcome-card,
.stats-grid .stat-card {
    background: rgba(5, 18, 38, 0.8) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(0, 210, 255, 0.2) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
}


/* 2. Система повышения (Широкие карточки заданий) */
.tasks-list .task-card-wide {
    background: rgba(5, 18, 38, 0.8) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(0, 210, 255, 0.2) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
}


/* 3. Страница Событий (Замороженные карточки статуса) */
.events-grid .frozen-status-card {
    background: rgba(5, 18, 38, 0.8) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(0, 210, 255, 0.2) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
}


/* Делаем весь внутренний текст максимально ярким и читаемым */
.welcome-card p, 
.stat-card p, 
.task-desc, 
.frozen-text,
.frozen-status-card p {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.card {
    background: rgba(0, 50, 100, 0.6); /* Полупрозрачный фон под лед */
    border: 1px solid #00d4ff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.card img {
    width: 100%;
    height: 180px; /* Фиксированная высота для всех картинок */
    object-fit: cover; /* Чтобы фото не сплющивались */
    border-radius: 5px;
}

