/* ===== ГЛАВНАЯ СТРАНИЦА – НОВОЕ ОФОРМЛЕНИЕ ===== */

/* --- Приветственный баннер --- */
.welcome-banner {
    position: relative;
    background: linear-gradient(145deg, rgba(44,30,21,0.92), rgba(26,17,12,0.96));
    border: 2px solid #b8860b;
    border-radius: 40px;
    padding: 60px 40px 50px;
    margin-bottom: 50px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), inset 0 0 60px rgba(212,175,55,0.15);
    animation: fadeInUp 0.8s ease-out;
}
.welcome-banner::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 40px;
    padding: 3px;
    background: linear-gradient(135deg, #b8860b, #ffd700, #b8860b);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.welcome-banner .ornament {
    position: absolute;
    font-size: 120px;
    opacity: 0.08;
    color: #ffd700;
    user-select: none;
    pointer-events: none;
}
.welcome-banner .ornament.left {
    left: -20px;
    top: -40px;
    transform: rotate(-15deg);
}
.welcome-banner .ornament.right {
    right: -20px;
    bottom: -40px;
    transform: rotate(15deg);
}
.welcome-banner .race-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}
.welcome-banner .race-icons img {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 0 10px rgba(255,215,0,0.4));
    animation: float 4s ease-in-out infinite;
}
.welcome-banner .race-icons img:nth-child(2) {
    animation-delay: 1s;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.welcome-banner h1 {
    font-size: 3.6rem;
    font-weight: 900;
    color: #ffd966;
    text-shadow: 0 4px 0 #3f2e22, 0 8px 20px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.welcome-banner h1 span {
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.welcome-banner p {
    font-size: 1.3rem;
    color: #e6d5b8;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.welcome-banner .button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.welcome-banner .button {
    padding: 16px 40px;
    font-size: 1.2rem;
    border-radius: 60px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
}
.welcome-banner .button.register {
    background: linear-gradient(145deg, #27ae60, #1e8449);
    border-color: #2ecc71;
    box-shadow: 0 8px 0 #1a5a38;
}
.welcome-banner .button.register:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 #1a5a38, 0 0 30px rgba(46,204,113,0.5);
}
.welcome-banner .button.login {
    background: linear-gradient(145deg, #b8860b, #8b5a2b);
    border-color: #ffd700;
    box-shadow: 0 8px 0 #5a3e2b;
}
.welcome-banner .button.login:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 #5a3e2b, 0 0 30px rgba(255,215,0,0.5);
}
.welcome-banner .stats-mini {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,215,0,0.15);
}
.welcome-banner .stats-mini div {
    font-size: 0.9rem;
    color: #d4c0a8;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.welcome-banner .stats-mini strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffd966;
    text-shadow: 0 0 15px rgba(255,215,0,0.3);
}

/* --- Карточки разделов --- */
.dashboard-card {
    background: linear-gradient(145deg, rgba(44,30,21,0.95), rgba(26,17,12,0.98));
    border: 2px solid #a0522d;
    border-radius: 28px;
    padding: 30px 30px 25px;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.7), inset 0 0 40px rgba(212,175,55,0.06);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}
.dashboard-card:hover {
    transform: translateY(-5px);
    border-color: #b8860b;
    box-shadow: 0 20px 45px rgba(0,0,0,0.8), inset 0 0 50px rgba(212,175,55,0.12);
}
.dashboard-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    opacity: 0.3;
    transition: opacity 0.3s;
}
.dashboard-card:hover::after {
    opacity: 0.8;
}
.card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd966;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(184,134,11,0.3);
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.card-title .icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 5px gold);
}

/* --- Новости --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.news-card {
    background: rgba(0,0,0,0.35);
    border-radius: 20px;
    padding: 20px 20px 18px;
    border-left: 4px solid;
    transition: all 0.25s ease;
    position: relative;
    backdrop-filter: blur(4px);
}
.news-card:hover {
    background: rgba(0,0,0,0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.news-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.85rem;
}
.news-card .category {
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 30px;
    background: rgba(0,0,0,0.4);
    border: 1px solid currentColor;
}
.news-card .date {
    color: #b8a58e;
}
.news-card h4 {
    font-size: 1.2rem;
    color: #f0e6d2;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 600;
}
.news-card .read-more {
    color: #b8860b;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.news-card .read-more:hover {
    color: #ffd700;
}
.news-card .badge-new {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e74c3c;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 30px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(231,76,60,0.5);
    animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* --- Популярные статьи --- */
.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.popular-card {
    background: rgba(0,0,0,0.3);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    transition: all 0.25s;
    border: 1px solid transparent;
}
.popular-card:hover {
    transform: translateY(-4px);
    border-color: #b8860b;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.popular-card .icon {
    font-size: 3.2rem;
    margin-bottom: 12px;
    display: block;
}
.popular-card h4 {
    font-size: 1.1rem;
    color: #ffd966;
    margin-bottom: 12px;
}
.popular-card .stats {
    display: flex;
    justify-content: center;
    gap: 18px;
    color: #b8a58e;
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.popular-card .stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.popular-card .read-more {
    color: #b8860b;
    font-weight: 600;
    text-decoration: none;
}

/* --- Мини-игры --- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
}
.game-card {
    background: linear-gradient(145deg, #5a3e2b, #3f2e22);
    border-radius: 24px;
    padding: 30px 15px 25px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    box-shadow: 0 6px 0 #2b1e0e;
}
.game-card:hover {
    transform: translateY(-6px);
    border-color: #ffd700;
    box-shadow: 0 12px 0 #2b1e0e, 0 0 30px rgba(255,215,0,0.3);
}
.game-card .game-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}
.game-card h4 {
    color: #ffd966;
    font-size: 1.2rem;
    margin-bottom: 6px;
}
.game-card p {
    color: #d4c0a8;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- Сплит-блок для авторизованных --- */
.dashboard-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}
.dashboard-split .dashboard-card {
    margin-bottom: 0;
}

/* --- Глас Шеары (виджет) --- */
.god-mini {
    background: rgba(0,0,0,0.35);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #b8860b;
}
.god-mini .question-label {
    color: #ffd966;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.god-mini .question {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 500;
}
.god-mini .meta {
    display: flex;
    justify-content: space-between;
    color: #b8a58e;
    font-size: 0.9rem;
}

/* --- Ежедневный бонус (виджет) --- */
.bonus-mini {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.streak-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: #3f2e22;
    border: 3px solid #8b5a2b;
    transition: all 0.3s;
    position: relative;
}
.streak-circle.active {
    background: linear-gradient(145deg, #b8860b, #8b5a2b);
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(255,215,0,0.4);
    animation: glow-pulse 2s infinite;
}
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255,215,0,0.3); }
    50% { box-shadow: 0 0 40px rgba(255,215,0,0.6); }
}
.streak-circle .day {
    font-size: 1.6rem;
    line-height: 1;
}
.streak-circle .tokens {
    font-size: 0.8rem;
    opacity: 0.8;
}
.bonus-info .balance {
    font-size: 1.1rem;
    color: #ffd966;
    margin-bottom: 4px;
}
.bonus-info .balance span {
    font-weight: 700;
}
.bonus-info .status {
    color: #b8a58e;
}
.bonus-info .claim-form {
    margin-top: 12px;
}
.bonus-info .claim-form .bonus-button {
    background: linear-gradient(145deg, #27ae60, #1e8449);
    border: none;
    padding: 8px 24px;
    border-radius: 60px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 0 #1a5a38;
}
.bonus-info .claim-form .bonus-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #1a5a38, 0 0 20px rgba(46,204,113,0.4);
}

/* --- Блок "Почему играть?" (добавляем в index.php) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0 10px;
}
.feature-item {
    background: rgba(0,0,0,0.25);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    border: 1px solid rgba(184,134,11,0.2);
    transition: all 0.3s;
}
.feature-item:hover {
    border-color: #b8860b;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.feature-item .icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}
.feature-item h4 {
    color: #ffd966;
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.feature-item p {
    color: #d4c0a8;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Блок "Отзывы" --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin: 20px 0;
}
.testimonial-card {
    background: rgba(0,0,0,0.25);
    border-radius: 20px;
    padding: 20px;
    border-left: 4px solid #b8860b;
    font-style: italic;
    color: #e6d5b8;
    line-height: 1.6;
}
.testimonial-card .author {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: 600;
    color: #ffd966;
}
.testimonial-card .author span {
    font-weight: 400;
    color: #b8a58e;
    font-size: 0.9rem;
}

/* --- Лента статей (мини) --- */
.feed-mini {
    display: grid;
    gap: 16px;
}
.feed-item-mini {
    background: rgba(0,0,0,0.25);
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: background 0.2s;
}
.feed-item-mini:hover {
    background: rgba(0,0,0,0.4);
}
.feed-item-mini img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #b8860b;
    object-fit: cover;
}
.feed-item-mini .info a {
    color: #ffd966;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 3px;
}
.feed-item-mini .info a:hover {
    text-decoration: underline;
}
.feed-item-mini .info .meta {
    color: #b8a58e;
    font-size: 0.85rem;
}

/* --- Кнопка "все" --- */
.view-all {
    text-align: right;
    margin-top: 25px;
}
.view-all .button.small {
    padding: 10px 28px;
    font-size: 0.95rem;
    border-radius: 60px;
    background: linear-gradient(145deg, #b8860b, #8b5a2b);
    border: 2px solid #ffd700;
    color: #1f140c;
    font-weight: 700;
    box-shadow: 0 4px 0 #5a3e2b;
}
.view-all .button.small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #5a3e2b, 0 0 20px gold;
}

/* --- Призыв к действию для неавторизованных --- */
.call-to-action {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(145deg, rgba(44,30,21,0.9), rgba(26,17,12,0.95));
    border-radius: 30px;
    border: 2px solid #b8860b;
}
.call-to-action .icon {
    font-size: 5rem;
    margin-bottom: 20px;
    display: block;
}
.call-to-action h2 {
    color: #ffd966;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 0 #3f2e22;
}
.call-to-action p {
    color: #e6d5b8;
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
}
.call-to-action .button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Анимации при загрузке --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.dashboard-card {
    animation: fadeInUp 0.6s ease-out backwards;
}
.dashboard-card:nth-child(2) { animation-delay: 0.1s; }
.dashboard-card:nth-child(3) { animation-delay: 0.2s; }
.dashboard-card:nth-child(4) { animation-delay: 0.3s; }
.dashboard-card:nth-child(5) { animation-delay: 0.4s; }
.dashboard-card:nth-child(6) { animation-delay: 0.5s; }

/* --- Адаптивность --- */
@media (max-width: 992px) {
    .welcome-banner h1 { font-size: 2.8rem; }
    .dashboard-split { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .welcome-banner { padding: 40px 20px; }
    .welcome-banner h1 { font-size: 2.2rem; }
    .welcome-banner .race-icons img { width: 50px; height: 50px; }
    .welcome-banner .stats-mini { flex-direction: column; gap: 15px; }
    .news-grid { grid-template-columns: 1fr; }
    .popular-grid { grid-template-columns: 1fr; }
    .games-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .bonus-mini { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 480px) {
    .games-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .welcome-banner .button-group { flex-direction: column; align-items: center; }
    .welcome-banner .button { width: 100%; max-width: 300px; }
}

/* ===== НОВЫЕ СТИЛИ ДЛЯ ЛОР-БЛОКОВ ===== */

/* --- Баннер с эпическим заголовком --- */
.welcome-banner {
    position: relative;
    background: linear-gradient(145deg, rgba(20, 12, 6, 0.92), rgba(10, 6, 4, 0.96));
    border: 2px solid #b8860b;
    border-radius: 40px;
    padding: 60px 40px 50px;
    margin-bottom: 50px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), inset 0 0 60px rgba(212,175,55,0.15);
    animation: fadeInUp 0.8s ease-out;
}
.welcome-banner::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 40px;
    padding: 3px;
    background: linear-gradient(135deg, #b8860b, #ffd700, #b8860b);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.welcome-banner .ornament {
    position: absolute;
    font-size: 120px;
    opacity: 0.08;
    color: #ffd700;
    user-select: none;
    pointer-events: none;
}
.welcome-banner .ornament.left {
    left: -20px;
    top: -40px;
    transform: rotate(-15deg);
}
.welcome-banner .ornament.right {
    right: -20px;
    bottom: -40px;
    transform: rotate(15deg);
}
.welcome-banner .race-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}
.welcome-banner .race-icons img {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 0 10px rgba(255,215,0,0.4));
    animation: float 4s ease-in-out infinite;
}
.welcome-banner .race-icons img:nth-child(2) {
    animation-delay: 1s;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.welcome-banner .tagline {
    font-size: 1.4rem;
    color: #d4c0a8;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.welcome-banner h1 {
    font-size: 3.8rem;
    font-weight: 900;
    color: #ffd966;
    text-shadow: 0 4px 0 #3f2e22, 0 8px 20px rgba(0,0,0,0.5);
    margin-bottom: 15px;
    letter-spacing: 2px;
}
.welcome-banner h1 span {
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.welcome-banner .subtitle {
    font-size: 1.2rem;
    color: #e6d5b8;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.welcome-banner .button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.welcome-banner .button {
    padding: 16px 40px;
    font-size: 1.2rem;
    border-radius: 60px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
}
.welcome-banner .button.register {
    background: linear-gradient(145deg, #27ae60, #1e8449);
    border-color: #2ecc71;
    box-shadow: 0 8px 0 #1a5a38;
}
.welcome-banner .button.register:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 #1a5a38, 0 0 30px rgba(46,204,113,0.5);
}
.welcome-banner .button.login {
    background: linear-gradient(145deg, #b8860b, #8b5a2b);
    border-color: #ffd700;
    box-shadow: 0 8px 0 #5a3e2b;
}
.welcome-banner .button.login:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 #5a3e2b, 0 0 30px rgba(255,215,0,0.5);
}
.welcome-banner .stats-mini {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,215,0,0.15);
}
.welcome-banner .stats-mini div {
    font-size: 0.9rem;
    color: #d4c0a8;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.welcome-banner .stats-mini strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffd966;
    text-shadow: 0 0 15px rgba(255,215,0,0.3);
}

/* --- Лор-блоки --- */
.lore-quote {
    font-style: italic;
    color: #d4c0a8;
    border-left: 4px solid #b8860b;
    padding-left: 20px;
    margin: 20px 0;
    font-size: 1.1rem;
}
.lore-quote strong {
    color: #ffd966;
}

.epoch-grid, .race-grid, .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    margin: 25px 0;
}
.epoch-card, .race-card {
    background: rgba(0,0,0,0.35);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(184,134,11,0.2);
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}
.epoch-card:hover, .race-card:hover {
    transform: translateY(-4px);
    border-color: #b8860b;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.epoch-card .icon, .race-card .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}
.epoch-card h4, .race-card h4 {
    color: #ffd966;
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.epoch-card p, .race-card p {
    color: #e6d5b8;
    font-size: 0.95rem;
    line-height: 1.5;
}
.epoch-card .read-more, .race-card .read-more {
    color: #b8860b;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}
.epoch-card .read-more:hover, .race-card .read-more:hover {
    color: #ffd700;
}

/* --- Блок пророчества --- */
.prophecy-block {
    background: linear-gradient(145deg, rgba(44,30,21,0.95), rgba(26,17,12,0.98));
    border: 2px solid #b8860b;
    border-radius: 28px;
    padding: 40px 30px;
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}
.prophecy-block::before {
    content: '✦';
    position: absolute;
    font-size: 120px;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffd700;
}
.prophecy-block .icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px gold);
}
.prophecy-block h3 {
    color: #ffd966;
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.prophecy-block p {
    color: #e6d5b8;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.6;
    font-style: italic;
}
.prophecy-block .button {
    background: linear-gradient(145deg, #b8860b, #8b5a2b);
    border: 2px solid #ffd700;
    color: #1f140c;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 60px;
    box-shadow: 0 4px 0 #5a3e2b;
}
.prophecy-block .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #5a3e2b, 0 0 20px gold;
}

/* --- Горнило Вечности --- */
.forge-block {
    background: linear-gradient(145deg, rgba(44,30,21,0.95), rgba(26,17,12,0.98));
    border: 2px solid #a0522d;
    border-radius: 28px;
    padding: 30px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}
.forge-block .card-title .icon {
    font-size: 2.5rem;
}
.forge-block .forge-text {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.forge-block .forge-text .text {
    flex: 1;
    color: #e6d5b8;
    line-height: 1.6;
}
.forge-block .forge-text .text strong {
    color: #ffd966;
}
.forge-block .forge-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 15px gold);
}

/* --- Адаптация --- */
@media (max-width: 768px) {
    .welcome-banner h1 { font-size: 2.5rem; }
    .welcome-banner .tagline { font-size: 1rem; }
    .epoch-grid, .race-grid { grid-template-columns: 1fr; }
    .forge-text { flex-direction: column; text-align: center; }
    .prophecy-block h3 { font-size: 1.8rem; }
}
