/*
 * БЕРТЧ 2026 | Feed Games & Quiz UI
 * Версия 7.1: Фикс отступов и переполнения стартового оверлея (Aurora Glass V3 + Dota 2 Stars System)
 */

/* =========================================
   Базовая игровая карточка (Стекло)
   ========================================= */
.feed-game-card {
    position: relative;
    width: 100%;
    background: rgba(15, 15, 20, 0.7);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
    color: #ffffff;
    font-family: 'Inter', -apple-system, sans-serif;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fg-engine-container {
    position: relative;
    width: 100%;
    min-height: 350px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fg-engine-container canvas {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 24px 24px 0 0;
}

/* Оверлей старта мини-игр */
.fg-play-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: radial-gradient(circle at center, rgba(30, 30, 40, 0.4) 0%, rgba(10, 10, 15, 0.9) 100%);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
}

.feed-game-card.fg-user-started .fg-play-overlay {
    opacity: 0;
    backdrop-filter: blur(0px);
    pointer-events: none;
}

.fg-play-btn {
    background: linear-gradient(135deg, var(--p-accent, #6b48ff) 0%, #ff48a5 100%);
    color: #fff;
    border: none;
    padding: 16px 36px;
    font-size: 17px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(107, 72, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fg-play-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 72, 165, 0.6);
}

.fg-play-btn:active {
    transform: translateY(1px) scale(0.98);
}

/* =========================================
   UI AI-Квиза "Самый Умный"
   ========================================= */
.quiz-engine-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
}

/* --- ВЕРХНЯЯ ПАНЕЛЬ (Рейтинг и Создание UGC) --- */
.quiz-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px; 
    padding: 15px 20px;
    background: transparent; 
    border: none; 
    width: 100%;
    box-sizing: border-box;
    z-index: 30; 
    position: relative;
}

.quiz-rank-btn, .quiz-ask-btn {
    flex: 1; 
    justify-content: center; 
}

.quiz-rank-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffd700;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.quiz-rank-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.quiz-ask-btn {
    background: linear-gradient(135deg, rgba(107, 72, 255, 0.8) 0%, rgba(255, 72, 165, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(107, 72, 255, 0.4);
    transition: all 0.2s;
}

.quiz-ask-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 72, 165, 0.6);
}

/* --- БЛОК КОНТЕНТА (Текст/Видео) --- */
.quiz-content-block {
    position: relative;
    width: 100%;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.quiz-video-player {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    margin: 20px auto 30px auto;
    border: 4px solid var(--p-accent, #6b48ff);
    box-shadow: 0 10px 30px rgba(107, 72, 255, 0.3);
}

.quiz-unmute-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(20, 20, 25, 0.5);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.2s ease;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz-unmute-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.quiz-text-question {
    padding: 30px 30px 50px 30px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(107, 72, 255, 0.1) 0%, transparent 70%);
}

.quiz-text-question h3 {
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(107, 72, 255, 0.3);
}

.quiz-text-question p {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 500;
    color: #f8fafc;
}

/* --- ПОДСКАЗКИ И ИНПУТЫ --- */
.quiz-hints-block {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-hints-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-hint-item {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-left: 4px solid #10b981;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.5;
    animation: slideDownFade 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    backdrop-filter: blur(8px);
}

.quiz-hint-item strong {
    color: #34d399;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quiz-input-block {
    padding: 0 20px 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 6px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
}

.quiz-input-wrapper:focus-within {
    border-color: var(--p-accent, #6b48ff);
    box-shadow: 0 0 20px rgba(107, 72, 255, 0.4), inset 0 2px 10px rgba(0,0,0,0.2);
    background: rgba(0, 0, 0, 0.5);
}

.quiz-input-field {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 16px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.quiz-input-field:focus {
    outline: none;
}

.quiz-input-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.quiz-btn {
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.quiz-btn:active {
    transform: scale(0.96);
}

.quiz-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.quiz-btn-submit {
    background: var(--p-accent, #6b48ff);
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(107, 72, 255, 0.4);
}

.quiz-btn-submit:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(107, 72, 255, 0.6);
}

.quiz-btn-hint {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border: 1px dashed rgba(245, 158, 11, 0.4);
    width: 100%;
    padding: 14px;
}

.quiz-btn-hint:hover:not(:disabled) {
    background: rgba(245, 158, 11, 0.2);
    border-color: #fbbf24;
}

.quiz-btn-comments {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    padding: 14px;
    margin-top: 15px;
}

.quiz-btn-comments:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- РЕЗУЛЬТАТЫ --- */
.quiz-result-block {
    padding: 40px 25px;
    text-align: center;
    background: transparent;
    animation: fadeInScale 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.result-success {
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.15) 0%, transparent 100%);
}

.result-error {
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.15) 0%, transparent 100%);
}

.quiz-result-block h3 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-family: 'Unbounded', sans-serif;
    text-transform: uppercase;
}

.result-success h3 {
    color: #34d399;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.result-error h3 {
    color: #f87171;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.quiz-points {
    font-size: 20px;
    font-weight: 700;
    color: #fbbf24;
    margin: 0 0 25px 0;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.quiz-ai-explanation {
    background: rgba(0, 0, 0, 0.4);
    padding: 18px;
    border-radius: 16px;
    font-size: 15px;
    color: #cbd5e1;
    text-align: left;
    line-height: 1.6;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--p-accent, #6b48ff);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
}

.quiz-ai-explanation strong {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   Critter Preview Overlay (Хук)
   ========================================= */
.critter-preview-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: radial-gradient(circle at top, rgba(15, 15, 20, 0.8) 0%, rgba(5, 5, 10, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20; 
    padding: 20px;
    transition: opacity 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), backdrop-filter 0.4s ease;
    border-radius: 24px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.critter-preview-overlay::-webkit-scrollbar {
    display: none;
}

.critter-avatar-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.critter-speech-bubble {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 24px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    max-width: 85%;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.critter-speech-bubble::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent rgba(255, 255, 255, 0.2) transparent;
}


/* =========================================
   МОДАЛЬНЫЕ ОКНА (Лидерборд и UGC) - PREMIUM GLASS
   ========================================= */
.quiz-modal-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quiz-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.quiz-modal {
    background: rgba(20, 20, 28, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7), inset 0 1px 1px rgba(255,255,255,0.05);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.quiz-modal-overlay.active .quiz-modal {
    transform: translateY(0);
}

.quiz-modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(20, 20, 28, 0.95);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.quiz-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-family: 'Unbounded', sans-serif;
    color: #fff;
}

.quiz-modal-close {
    background: none;
    border: none;
    color: #a4b0be;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
}

.quiz-modal-close:hover {
    color: #fff;
}

.quiz-modal-body {
    padding: 20px;
}

/* --- Стили Лидерборда PREMIUM --- */

/* Вращающийся неон вокруг карточки юзера */
.lb-user-rank-box {
    position: relative;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.lb-user-rank-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--league-color, #6b48ff), transparent 30%);
    animation: rotateGlow 4s linear infinite;
    z-index: -2;
    opacity: 0.5;
}

.lb-user-rank-box::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(20, 20, 28, 0.95);
    border-radius: 18px;
    z-index: -1;
    backdrop-filter: blur(10px);
}

.lb-user-rank-box h4 {
    margin: 0 0 10px 0;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lb-list { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}

.lb-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lb-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.lb-rank { 
    width: 35px; 
    font-weight: 900; 
    color: #64748b; 
    font-size: 18px; 
    font-family: 'Unbounded', sans-serif; 
}

.lb-item.rank-1 .lb-rank { color: #fbbf24; text-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
.lb-item.rank-2 .lb-rank { color: #94a3b8; text-shadow: 0 0 10px rgba(148, 163, 184, 0.5); }
.lb-item.rank-3 .lb-rank { color: #d97706; text-shadow: 0 0 10px rgba(217, 119, 6, 0.5); }

.lb-avatar { 
    width: 46px; 
    height: 46px; 
    border-radius: 14px; 
    object-fit: cover; 
    margin-right: 15px; 
    border: 2px solid rgba(255,255,255,0.1); 
}

.lb-info { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.lb-name { 
    font-weight: 700; 
    color: #fff; 
    font-size: 15px; 
    margin: 0 0 4px 0; 
}

.lb-mmr-badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    font-weight: 700; 
    font-size: 12px; 
    padding: 4px 10px; 
    border-radius: 10px; 
    background: rgba(0,0,0,0.3); 
    border: 1px solid rgba(255,255,255,0.05); 
}

/* Звезды внутри бейджа */
.lb-stars-inline {
    display: inline-flex;
    gap: 2px;
    margin-left: 5px;
}

/* --- Форма UGC (Создание вопроса) --- */
.ugc-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.3);
    padding: 5px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.05);
}

.ugc-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    color: #888;
    font-weight: 600;
    transition: all 0.3s;
}

.ugc-tab.active {
    background: var(--p-accent, #6b48ff);
    color: #fff;
    box-shadow: 0 4px 15px rgba(107, 72, 255, 0.3);
}

.ugc-form-group { margin-bottom: 15px; }

.ugc-form-group label { 
    display: block; 
    margin-bottom: 8px; 
    color: #cbd5e1; 
    font-size: 14px; 
    font-weight: 500;
}

.ugc-input, .ugc-textarea {
    width: 100%;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 16px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    transition: border 0.3s;
}

.ugc-textarea { resize: vertical; min-height: 80px; }

.ugc-input:focus, .ugc-textarea:focus { 
    outline: none; 
    border-color: var(--p-accent, #6b48ff); 
    box-shadow: 0 0 15px rgba(107, 72, 255, 0.2); 
}

/* Видео-Кружок Рекордер */
.ugc-video-recorder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
}

.ugc-video-preview {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #000;
    object-fit: cover;
    border: 4px solid #333;
    transition: all 0.3s;
}

.ugc-video-preview.recording {
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.ugc-record-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ef4444;
    border: 4px solid #fff;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ugc-record-btn i { font-size: 24px; }

.ugc-record-btn.recording {
    background: #fff;
    border-radius: 10px;
    transform: scale(0.8);
    color: #ef4444;
}

/* =========================================
   Анимации
   ========================================= */
@keyframes fadeInScale { 
    0% { opacity: 0; transform: scale(0.95) translateY(10px); } 
    100% { opacity: 1; transform: scale(1) translateY(0); } 
}

@keyframes slideDownFade { 
    0% { opacity: 0; transform: translateY(-15px); } 
    100% { opacity: 1; transform: translateY(0); } 
}

.quiz-btn:disabled { 
    animation: neonPulse 1.5s infinite alternate; 
}

@keyframes neonPulse { 
    0% { opacity: 0.6; box-shadow: 0 0 0 rgba(107, 72, 255, 0); } 
    100% { opacity: 0.9; box-shadow: 0 0 15px rgba(107, 72, 255, 0.5); } 
}

@keyframes starPulse { 
    0% { transform: scale(0.9); opacity: 0.8; } 
    100% { transform: scale(1.1); opacity: 1; filter: brightness(1.3); } 
}

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

/* Адаптив под мобилки */
@media (max-width: 480px) {
    .quiz-input-wrapper { 
        flex-direction: column; 
        background: transparent; 
        border: none; 
        box-shadow: none; 
        padding: 0; 
        gap: 10px; 
    }
    .quiz-input-wrapper:focus-within { 
        background: transparent; 
        box-shadow: none; 
    }
    .quiz-input-field { 
        width: 100%; 
        background: rgba(0, 0, 0, 0.3); 
        border: 1px solid rgba(255, 255, 255, 0.1); 
        border-radius: 12px; 
        box-sizing: border-box; 
    }
    .quiz-input-field:focus { 
        border-color: var(--p-accent, #6b48ff); 
    }
    .quiz-btn-submit { 
        width: 100%; 
    }
}

/* =========================================
   Dota 2 Ranks UI (Система лиг и звезд)
   ========================================= */
.dota-ranks-wrapper {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 5px 20px 5px;
    margin-bottom: 15px;
    scrollbar-width: none; 
    -ms-overflow-style: none;
}

.dota-ranks-wrapper::-webkit-scrollbar { display: none; }

.dota-rank-card {
    flex: 0 0 90px; 
    background: rgba(255,255,255,0.02); 
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px; 
    padding: 15px 5px; 
    text-align: center; 
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.dota-rank-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.dota-rank-card:hover { 
    background: rgba(255,255,255,0.08); 
    transform: translateY(-5px); 
    border-color: var(--p-accent, #6b48ff);
    box-shadow: 0 10px 20px rgba(107, 72, 255, 0.2);
}

.dota-rank-card:hover::after {
    left: 200%;
}

.dota-rank-icon { 
    font-size: 32px; 
    margin-bottom: 8px; 
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5)); 
}

.dota-rank-name { 
    font-size: 11px; 
    font-weight: 800; 
    color: #fff; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.dota-rank-req { 
    font-size: 10px; 
    font-weight: 600; 
    color: rgba(255,255,255,0.4); 
    margin-top: 4px; 
}

/* Звезды */
.league-stars-container { 
    display: flex; 
    gap: 2px; 
    justify-content: center; 
    margin-top: 4px; 
}

.league-star { 
    color: #facc15; 
    font-size: 10px; 
    filter: drop-shadow(0 0 4px rgba(250, 204, 21, 0.8)); 
    animation: starPulse 2s infinite alternate; 
}

.league-star.empty { 
    color: rgba(255,255,255,0.1); 
    filter: none; 
    animation: none; 
}