/* ==========================================================================
   HERO-СЕКЦИЯ (INDEX ONLY)
   ========================================================================== */
.hero-section {
    position: relative; min-height: 560px;
    background-color: var(--pw-bg-dark); display: flex; align-items: center;
}

.pw-hero-bg-zoom {
    position: absolute; inset: -15px;
    background: url('header.jpg') center center / cover no-repeat;
    animation: heroBreathe 18s ease-in-out infinite alternate;
    z-index: 1; will-change: transform;
}

@keyframes heroBreathe {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.04) translate(-10px, -4px); }
}

.pw-hero-sword-flare {
    position: absolute; top: 15%; left: 26%;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, rgba(229, 193, 88, 0.08) 50%, transparent 70%);
    mix-blend-mode: screen; pointer-events: none; z-index: 2;
    animation: swordPulse 4s ease-in-out infinite alternate;
}

@keyframes swordPulse {
    0% { opacity: 0.4; transform: scale(0.95); }
    100% { opacity: 0.9; transform: scale(1.15); filter: blur(4px); }
}

.pw-embers-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%; z-index: 3; pointer-events: none;
}

.pw-hero-cinematic-overlay {
    position: absolute; inset: 0;
    background:
            linear-gradient(to right, transparent 0%, transparent 40%, rgba(11, 12, 16, 0.65) 65%, rgba(11, 12, 16, 0.88) 100%),
            linear-gradient(to bottom, transparent 65%, rgba(13, 14, 18, 0.95) 100%);
    z-index: 4; pointer-events: none;
}

.pw-hero-container { position: relative; z-index: 10; }

.pw-rune-badge {
    display: inline-flex; align-items: center;
    background: rgba(15, 17, 23, 0.8); border: 1px solid rgba(229, 193, 88, 0.35);
    color: var(--pw-gold-light); font-size: 0.76rem; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px;
    border-radius: 4px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.pw-logo-container { max-width: 440px; position: relative; margin-left: -12px; }
.pw-logo-img {
    width: 100%; height: auto; display: block; mix-blend-mode: screen;
    filter: drop-shadow(0 0 15px rgba(229, 193, 88, 0.45)) drop-shadow(0 10px 25px rgba(0, 0, 0, 0.9));
    animation: logoFloatGlow 5s ease-in-out infinite alternate;
}

@keyframes logoFloatGlow {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); filter: drop-shadow(0 0 24px rgba(255, 215, 0, 0.75)); }
    100% { transform: translateY(0px); }
}

.pw-hero-tagline {
    font-family: 'Cinzel', serif; font-size: 1.15rem; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase; color: var(--pw-gold-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.pw-rates-panel { display: flex; gap: 8px; flex-wrap: wrap; }
.pw-rate-pill {
    background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(229, 193, 88, 0.25);
    border-radius: 4px; padding: 4px 10px; font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}
.pw-rate-pill strong { color: var(--pw-gold); }

.pw-hero-desc {
    color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; line-height: 1.6;
    max-width: 520px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   НОВОСТИ (INDEX ONLY)
   ========================================================================== */
.pw-news-card {
    background-color: var(--pw-bg-dark);
    border: 1px solid var(--pw-border-soft) !important;
    border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}
.pw-header-fantasy {
    background: linear-gradient(180deg, #161820 0%, #0e1015 100%);
    border-bottom: 1px solid var(--pw-border-soft);
}
.pw-card-icon {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(30, 25, 15, 0.9) 0%, rgba(11, 12, 16, 0.9) 100%);
    border: 1px solid var(--pw-border-soft); border-radius: 50%;
}
.pw-card-title { color: #fff7d6; font-weight: 700; letter-spacing: 1px; }
.pw-card-subtitle { color: rgba(255, 255, 255, 0.4); font-size: 0.75rem; }

.btn-pw-action {
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--pw-border-soft);
    color: var(--pw-gold); width: 32px; height: 32px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 4px; transition: all 0.2s ease;
}
.btn-pw-action:hover {
    background: rgba(229, 193, 88, 0.15); border-color: var(--pw-gold);
    color: #fff; box-shadow: 0 0 8px rgba(229, 193, 88, 0.4);
}

.pw-news-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background-color 0.25s ease, border-left-color 0.25s ease;
    border-left: 3px solid transparent;
}
.pw-news-item:hover { background: rgba(229, 193, 88, 0.02); border-left-color: var(--pw-gold); }

.pw-news-badge {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
    text-transform: uppercase; padding: 3px 8px; border-radius: 3px;
}
.pw-news-badge.update { background: rgba(229, 193, 88, 0.15); color: var(--pw-gold-light); border: 1px solid rgba(229, 193, 88, 0.4); }
.pw-news-badge.event { background: rgba(255, 69, 0, 0.15); color: #ff7a45; border: 1px solid rgba(255, 69, 0, 0.4); }

.pw-news-meta { color: rgba(255, 255, 255, 0.35); font-size: 0.8rem; }
.pw-news-heading { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.pw-news-heading a { color: #f1f1f1; text-decoration: none; transition: color 0.2s ease; }
.pw-news-heading a:hover { color: var(--pw-gold); }
.pw-news-excerpt { color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; line-height: 1.5; }
.pw-news-read-more {
    color: var(--pw-gold); text-decoration: none; font-size: 0.82rem; font-weight: 700;
    letter-spacing: 0.5px; text-transform: uppercase; transition: all 0.2s ease;
}
.pw-news-read-more:hover { color: #fff; padding-left: 3px; }

.pw-footer-fantasy { background: #090a0d; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.pw-pagination { gap: 4px; }
.pw-pagination .page-item .page-link {
    background: #14171d; border: 1px solid var(--pw-border-soft); color: var(--pw-gold);
    border-radius: 4px; padding: 4px 10px; font-size: 0.82rem; font-weight: 600;
}
.pw-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--pw-gold-light) 0%, var(--pw-gold) 50%, var(--pw-gold-dark) 100%);
    border-color: var(--pw-gold-light); color: #0b0c10; font-weight: 700;
}
.pw-page-dots { background: transparent !important; border: none !important; color: rgba(255, 255, 255, 0.3) !important; }

/* ==========================================================================
   ВИДЖЕТЫ: СТАТУС, СТРИМЫ, БЫСТРЫЕ ССЫЛКИ, РЕЙТИНГИ
   ========================================================================== */
.pw-server-card-wrapper {
    position: relative; border-radius: 8px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 1;
}
.pw-server-card-wrapper::before {
    content: ''; position: absolute; inset: 0; border-radius: 8px; z-index: -1;
    animation: softAura 4s ease-in-out infinite alternate; will-change: box-shadow;
}
@keyframes softAura {
    0% { box-shadow: 0 0 15px rgba(229, 193, 88, 0.1); }
    100% { box-shadow: 0 0 30px rgba(229, 193, 88, 0.2); }
}

.pw-pathos-server-card {
    border-radius: 8px; position: relative; z-index: 2;
    border: 1px solid transparent !important;
    background:
            linear-gradient(var(--pw-bg-dark), var(--pw-bg-dark)) padding-box,
            linear-gradient(135deg, rgba(229,193,88,0.6) 0%, rgba(229,193,88,0.05) 50%, rgba(229,193,88,0.6) 100%) border-box;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9);
}

.pw-card-flames {
    position: absolute; inset: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none; border-radius: 8px;
}
.pw-pathos-body { background: radial-gradient(circle at top, rgba(229, 193, 88, 0.03) 0%, transparent 60%); }
.pw-pathos-realm {
    padding: 10px 14px; background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 4px; transition: all 0.3s ease;
}
.pw-pathos-realm:hover { background: rgba(229, 193, 88, 0.05); border-color: var(--pw-border-soft); }

.pw-realm-marker { width: 9px; height: 9px; transform: rotate(45deg); }
.pw-realm-marker.online { background: #28a745; box-shadow: 0 0 8px rgba(40, 167, 69, 0.6); }
.pw-realm-marker.beta { background: #0dcaf0; box-shadow: 0 0 8px rgba(13, 202, 240, 0.6); }
.pw-realm-marker.offline { background: #444; }

.pw-status-badge {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
    padding: 5px 10px; border-radius: 3px; text-transform: uppercase;
}
.pw-status-badge.online { color: #28a745; background: rgba(40, 167, 69, 0.1); border: 1px solid rgba(40, 167, 69, 0.25); }
.pw-status-badge.beta { color: #0dcaf0; background: rgba(13, 202, 240, 0.1); border: 1px solid rgba(13, 202, 240, 0.25); }
.pw-status-badge.offline { color: #dc3545; background: rgba(220, 53, 69, 0.1); border: 1px solid rgba(220, 53, 69, 0.25); }
.pw-status-glow { width: 6px; height: 6px; border-radius: 50%; }
.pw-status-badge.online .pw-status-glow { background: #28a745; box-shadow: 0 0 6px #28a745; }
.pw-status-badge.beta .pw-status-glow { background: #0dcaf0; box-shadow: 0 0 6px #0dcaf0; }
.pw-status-badge.offline .pw-status-glow { background: #dc3545; }

/* Медиа */
.pw-media-card {
    background-color: var(--pw-bg-dark); border: 1px solid var(--pw-border-soft) !important;
    border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.pw-video-card { border: 1px solid rgba(255, 255, 255, 0.05); transition: transform 0.3s ease; }
.pw-video-card:hover { transform: translateY(-4px); border-color: rgba(229, 193, 88, 0.4); }
.pw-video-thumb { max-height: 180px; overflow: hidden; }
.pw-stream-live-badge {
    position: absolute; top: 10px; left: 10px; background: rgba(220, 53, 69, 0.9);
    color: #fff; font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 3px;
}
.pw-live-dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; display: inline-block; animation: pulseLive 1.5s infinite; }
@keyframes pulseLive { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.pw-stream-viewers, .pw-video-duration {
    position: absolute; bottom: 10px; right: 10px; background: rgba(0, 0, 0, 0.8);
    color: #fff; font-size: 0.72rem; padding: 2px 6px; border-radius: 3px;
}
.pw-video-play-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.3); font-size: 2.5rem; color: var(--pw-gold); opacity: 0.7;
}

/* Быстрый доступ */
.pw-quick-links-card {
    background-color: var(--pw-bg-dark); border: 1px solid var(--pw-border-soft) !important;
    border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.pw-quick-header { background: linear-gradient(180deg, #14161f 0%, #0e1015 100%); border-bottom: 1px solid var(--pw-border-soft); }
.pw-quick-title { font-size: 0.78rem; letter-spacing: 1.5px; color: rgba(255, 255, 255, 0.6); }

.pw-quick-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03); color: rgba(255, 255, 255, 0.75);
    text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: all 0.25s ease;
}
.pw-quick-link:hover {
    background: rgba(229, 193, 88, 0.08); border-color: rgba(229, 193, 88, 0.25);
    color: #fff; transform: translateX(3px);
}
.pw-link-icon {
    width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
    border-radius: 4px; background: rgba(255, 255, 255, 0.04); color: var(--pw-gold);
}
.pw-quick-link:hover .pw-link-icon { background: var(--pw-gold); color: #111; }
.pw-link-arrow { color: rgba(255, 255, 255, 0.25); font-size: 0.75rem; }
.pw-quick-link.is-accent { background: rgba(229, 193, 88, 0.05); border-color: rgba(229, 193, 88, 0.2); color: var(--pw-gold-light); }

/* Зал Славы */
.pw-ranking-card {
    background-color: var(--pw-bg-dark); border: 1px solid var(--pw-border-soft) !important;
    border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.pw-ranking-header { background: linear-gradient(180deg, #14161f 0%, #0e1015 100%); border-bottom: 1px solid var(--pw-border-soft); }
.pw-ranking-title { font-size: 0.78rem; letter-spacing: 1.5px; color: rgba(255, 255, 255, 0.65); }

.pw-rank-nav { background: rgba(255, 255, 255, 0.02); padding: 3px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.04); }
.pw-rank-tab {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    padding: 5px 6px; color: rgba(255, 255, 255, 0.5) !important; border-radius: 4px;
    border: none; background: transparent; transition: all 0.2s ease;
}
.pw-rank-tab.active {
    color: #111 !important; background: linear-gradient(135deg, var(--pw-gold-light) 0%, var(--pw-gold) 100%) !important;
    box-shadow: 0 2px 8px rgba(229, 193, 88, 0.4);
}

.pw-rank-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 7px 10px; background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03); border-radius: 5px; transition: all 0.2s ease;
}
.pw-rank-row:hover { background: rgba(229, 193, 88, 0.06); border-color: rgba(229, 193, 88, 0.2); transform: translateX(2px); }

.pw-rank-num {
    width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; border-radius: 4px;
    background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.4); flex-shrink: 0;
}
.pw-rank-num.rank-1 { background: linear-gradient(135deg, #ffe699 0%, #e5c158 100%); color: #111; box-shadow: 0 0 8px rgba(229, 193, 88, 0.5); }
.pw-rank-num.rank-2 { background: linear-gradient(135deg, #ffffff 0%, #adb5bd 100%); color: #111; }
.pw-rank-num.rank-3 { background: linear-gradient(135deg, #f0ad4e 0%, #a66a1e 100%); color: #fff; }

.pw-rank-info { flex-grow: 1; margin-left: 10px; display: flex; flex-direction: column; overflow: hidden; }
.pw-rank-name { font-size: 0.82rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-rank-sub { font-size: 0.68rem; color: rgba(255, 255, 255, 0.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-rank-val { font-size: 0.8rem; flex-shrink: 0; margin-left: 8px; }

.pw-ranking-footer { background: #090a0d; border-top: 1px solid rgba(255, 255, 255, 0.04); }
.pw-ranking-more-link {
    font-size: 0.75rem; font-weight: 700; color: var(--pw-gold);
    text-decoration: none; letter-spacing: 0.5px; text-transform: uppercase;
}
/* ==========================================================================
   ПОЛНОШИРОКАЯ ЦЕНТРИРОВАННАЯ ПРОМО-КАРТОЧКА (FULL-WIDTH LAUNCH BANNER)
   ========================================================================== */
.pw-launch-banner-full {
    background:
            radial-gradient(circle at 50% 0%, rgba(229, 193, 88, 0.1) 0%, transparent 70%),
            linear-gradient(180deg, #131622 0%, #0a0b10 100%);
    border: 1px solid rgba(229, 193, 88, 0.35) !important;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(229, 193, 88, 0.12),
    inset 0 1px 0 rgba(255, 235, 163, 0.25);
}

.pw-launch-bg {
    position: absolute;
    inset: 0;
    background: url('header.jpg') center center / cover no-repeat;
    opacity: 0.12;
    mix-blend-mode: luminosity;
    pointer-events: none;
}

.pw-launch-flare-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    filter: blur(25px);
    pointer-events: none;
}

/* Декоративные металлические угловые скобы */
.pw-launch-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid var(--pw-gold);
    pointer-events: none;
    opacity: 0.85;
}
.corner-tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.corner-tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.corner-bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.corner-br { bottom: 8px; right: 8px; border-left: none; border-top: none; }

/* Бейдж запуска */
.pw-launch-badge {
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff7a7a;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 4px;
}

.pw-launch-desc {
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Внутренний контейнер таймера */
.pw-countdown-wrapper {
    background: rgba(10, 11, 16, 0.75);
    border: 1px solid rgba(229, 193, 88, 0.25);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Блок одной цифры таймера */
.pw-timer-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.6) 100%);
    border: 1px solid rgba(229, 193, 88, 0.35);
    border-radius: 8px;
    min-width: 76px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 235, 163, 0.25);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.pw-timer-box:hover {
    transform: translateY(-3px);
    border-color: var(--pw-gold);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8), 0 0 12px rgba(229, 193, 88, 0.3);
}

.pw-timer-val {
    font-family: 'Cinzel', serif;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(229, 193, 88, 0.8);
}

.pw-timer-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.pw-timer-sep {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pw-gold);
    animation: timerPulse 1s ease-in-out infinite;
}

@keyframes timerPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; text-shadow: 0 0 8px var(--pw-gold); }
}

@media (max-width: 576px) {
    .pw-timer-box {
        min-width: 58px;
        padding: 8px 4px;
    }
    .pw-timer-val {
        font-size: 1.45rem;
    }
    .pw-timer-label {
        font-size: 0.55rem;
    }
}