/* =============================================================================
   🗡️ ETERNAL ILLUSION - RAID TACTICS CSS 🛡️
   Komprehenzív raid taktika modal és kártyarendszer stíluslap
   Verzió: 1.0 | Utolsó módosítás: 2025.01.25
   ============================================================================= */

/* 🎯 MAIN MODAL CONTAINER */
.raid-tactics-modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%);
    border: 2px solid #3d4f7a;
    border-radius: 12px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 8px 32px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
}

.raid-tactics-header {
    background: linear-gradient(135deg, #3730a3, #1e40af);
    padding: 16px 24px;
    border-radius: 10px 10px 0 0;
    border-bottom: 2px solid #4f46e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.raid-tactics-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
}

.raid-tactics-title::before {
    content: "⚔️";
    font-size: 1.8rem;
}

/* 🔙 BACK NAVIGATION */
.raid-back-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.raid-back-btn:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.raid-back-btn::before {
    content: "←";
    font-size: 1.1rem;
}

/* 📋 BOSS LIST VIEW */
.boss-list-container {
    padding: 24px;
    min-height: 500px;
}

.boss-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.boss-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 2px solid #374151;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.boss-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.boss-card:hover {
    border-color: #fbbf24;
    transform: translateY(-4px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(251, 191, 36, 0.2);
}

.boss-card:hover::before {
    transform: scaleX(1);
}

.boss-image-container {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 16px;
    position: relative;
}

.boss-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.boss-card:hover .boss-image {
    transform: scale(1.05);
}

.boss-header {
    margin-bottom: 12px;
}

.boss-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #fbbf24;
    margin: 0 0 8px 0;
}

/* 📦 BOSS META INFORMÁCIÓK */
.boss-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.boss-number {
    background: #4f46e5;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.boss-expansion {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.boss-description {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 8px 0;
}

.boss-stats {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    font-size: 0.85rem;
}

.boss-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9ca3af;
}

.boss-stat-value {
    color: #60a5fa;
    font-weight: 600;
}

/* 🎯 BOSS DETAIL VIEW */
.boss-detail-container {
    padding: 24px;
    min-height: 600px;
}

.boss-detail-header {
    background: linear-gradient(135deg, #1f2937, #111827);
    border: 2px solid #374151;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.boss-detail-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.boss-detail-title {
    font-size: 2rem;
    font-weight: bold;
    color: #fbbf24;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.boss-detail-subtitle {
    color: #9ca3af;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.boss-overview {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 1rem;
}

/* 🔧 CONTROLS AND FILTERS */
.raid-controls {
    background: #1f2937;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* 🔍 SEARCH CONTAINER */
.search-container {
    flex: 1;
    min-width: 200px;
}

.search-input {
    width: 100%;
    background: #374151;
    border: 1px solid #4b5563;
    border-radius: 6px;
    padding: 10px 14px;
    color: #e5e7eb;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.search-input::placeholder {
    color: #9ca3af;
}

/* 🌍 EXPANSION CONTAINER */
.expansion-container {
    min-width: 180px;
}

.expansion-select {
    width: 100%;
    background: #374151;
    border: 1px solid #4b5563;
    border-radius: 6px;
    padding: 10px 14px;
    color: #e5e7eb;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.expansion-select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.expansion-select option {
    background: #374151;
    color: #e5e7eb;
    padding: 8px;
}

.difficulty-toggle {
    display: flex;
    background: #374151;
    border-radius: 6px;
    padding: 2px;
}

.difficulty-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.difficulty-btn.active {
    background: #4f46e5;
    color: white;
}

.difficulty-btn:hover:not(.active) {
    background: #4b5563;
    color: #d1d5db;
}

/* 🔍 SEARCH & FILTER INTERFACE */
.search-filter-section {
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #1f2937, #111827);
    border: 1px solid #374151;
    border-radius: 8px;
}

.search-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-input {
    background: #374151;
    border: 1px solid #4b5563;
    border-radius: 6px;
    padding: 10px 14px;
    color: #e5e7eb;
    font-size: 0.9rem;
    flex: 1;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    background: #4b5563;
}

.search-input::placeholder {
    color: #6b7280;
}

.filter-toggle-btn {
    background: linear-gradient(135deg, #374151, #4b5563);
    border: 1px solid #6b7280;
    border-radius: 6px;
    padding: 10px 16px;
    color: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-toggle-btn:hover {
    background: linear-gradient(135deg, #4b5563, #6b7280);
    border-color: #9ca3af;
}

.filter-toggle-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #2563eb;
}

/* Advanced Filters Panel */
.advanced-filters {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #374151;
    animation: fadeIn 0.3s ease;
}

.filter-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 150px;
}

.filter-group label {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 600;
}

.filter-select {
    background: #374151;
    border: 1px solid #4b5563;
    border-radius: 4px;
    padding: 8px 10px;
    color: #e5e7eb;
    font-size: 0.85rem;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #4f46e5;
}

.filter-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #374151;
}

.clear-filters-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    color: #ffffff;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-filters-btn:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.filter-results {
    font-size: 0.8rem;
    color: #9ca3af;
    font-style: italic;
}

/* Highlight találatok */
.search-highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #111827;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* 🔄 LOADING & ERROR STATES */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 8px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #374151;
    border-top: 4px solid #60a5fa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    margin-left: 12px;
    color: #9ca3af;
    font-size: 0.9rem;
}

.error-message {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border: 1px solid #ef4444;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    color: #ffffff;
    text-align: center;
}

.error-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.error-details {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 12px;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.retry-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.retry-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.fallback-content {
    background: linear-gradient(135deg, #374151, #4b5563);
    border: 1px solid #6b7280;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    color: #9ca3af;
}

.fallback-content h3 {
    color: #e5e7eb;
    margin-bottom: 12px;
}

/* ⚡ SPELL CARDS */
.spells-container {
    margin-top: 24px;
}

.phase-section {
    margin-bottom: 32px;
}

.phase-header {
    background: linear-gradient(135deg, #374151, #1f2937);
    border: 1px solid #4b5563;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.phase-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #60a5fa;
    margin: 0;
}

.phase-spell-count {
    background: #4f46e5;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.spells-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.spell-card {
    background: linear-gradient(135deg, #1f2937, #111827);
    border: 2px solid #374151;
    border-radius: 10px;
    padding: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.spell-card:hover {
    border-color: #60a5fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.spell-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.spell-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fbbf24;
    margin: 0;
}

.spell-type {
    background: #dc2626;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.spell-type.heal { background: #16a34a; }
.spell-type.buff { background: #0ea5e9; }
.spell-type.debuff { background: #ea580c; }
.spell-type.mechanic { background: #7c3aed; }
.spell-type.oneshot { background: #dc2626; }
.spell-type.bloodlust { background: #f59e0b; }
.spell-type.mythic { background: #7c2d12; }
.spell-type.normal { background: #6b7280; }
.spell-type.heroic { background: #0ea5e9; }
.spell-type.mythic { background: #dc2626; }

.spell-description {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 8px 0;
}

.spell-mechanics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.mechanic-tag {
    background: #4b5563;
    color: #e5e7eb;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 👥 SPELL ROLES STYLING */
.spell-roles {
    margin-top: 12px;
    padding: 10px 0;
    border-top: 1px solid #3a3d4a;
}

.spell-roles h5 {
    color: #64b5f6;
    font-size: 14px;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.role-item {
    background: rgba(100, 181, 246, 0.1);
    border-left: 3px solid #64b5f6;
    padding: 6px 10px;
    margin: 4px 0;
    border-radius: 4px;
    font-size: 13px;
}

.role-item strong {
    color: #64b5f6;
}

/* ✅ SPELL ACTIONS STYLING */
.spell-actions {
    margin-top: 12px;
    padding: 10px 0;
    border-top: 1px solid #3a3d4a;
}

.spell-actions h5 {
    color: #81c784;
    font-size: 14px;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.spell-actions ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.spell-actions li {
    background: rgba(129, 199, 132, 0.1);
    border-left: 3px solid #81c784;
    padding: 6px 10px 6px 25px;
    margin: 4px 0;
    border-radius: 4px;
    font-size: 13px;
    position: relative;
}

.spell-actions li:before {
    content: "✓";
    position: absolute;
    left: 8px;
    color: #81c784;
    font-weight: bold;
}

/* ℹ️ DIFFICULTY INFO MESSAGE */
.difficulty-info-message {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-text {
    color: #dbeafe;
    font-size: 14px;
    line-height: 1.4;
}

.info-text strong {
    color: #60a5fa;
    text-transform: capitalize;
}

/* 🎬 VIDEO INTEGRATION */
.spell-video {
    margin-top: 12px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/* Video Container - thumbnail és lejátszás */
.video-container {
    width: 100%;
    min-height: 160px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #111827;
    border: 2px solid #374151;
    transition: all 0.3s ease;
}

.video-container:hover {
    border-color: #60a5fa;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

/* Video thumbnail (alapértelmezett) */
.video-thumbnail {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #374151;
    transition: all 0.3s ease;
}

.video-thumbnail:hover {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-color: #60a5fa;
}

/* Lekerekített Play gomb */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(59, 130, 246, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.video-play-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 
        0 6px 20px rgba(59, 130, 246, 0.4),
        0 3px 10px rgba(0, 0, 0, 0.3);
}

.video-play-btn::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 18px solid #ffffff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 3px;
}

/* Video lejátszó elem */
.video-player {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: none;
}

.video-player.playing {
    display: block;
}

/* Loading állapot */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #60a5fa;
    font-size: 0.9rem;
    display: none;
}

/* Hibaállapot */
.video-error {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f2937;
    color: #ef4444;
    font-size: 0.9rem;
    border: 2px dashed #ef4444;
    border-radius: 8px;
}

/* 📱 RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .raid-tactics-header {
        padding: 12px 16px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .boss-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .raid-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .search-container,
    .expansion-container {
        min-width: unset;
        width: 100%;
    }
    
    .search-input,
    .expansion-select {
        min-width: unset;
        width: 100%;
    }
    
    .boss-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .spells-grid {
        grid-template-columns: 1fr;
    }
    
    .boss-detail-title {
        font-size: 1.5rem;
    }
    
    .spell-card {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .boss-list-container,
    .boss-detail-container {
        padding: 16px;
    }
    
    .boss-card {
        padding: 16px;
    }
    
    .boss-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .raid-tactics-title {
        font-size: 1.2rem;
    }
}

/* 🔄 LOADING STATES */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #4b5563;
    border-radius: 50%;
    border-top-color: #60a5fa;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-message {
    text-align: center;
    color: #9ca3af;
    font-style: italic;
    padding: 40px 20px;
}

/* 🎯 UTILITY CLASSES */
.text-center { text-align: center; }
.text-muted { color: #9ca3af; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; }
.hidden { display: none; }

/* ✨ ANIMATIONS */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 🚨 ERROR STATE STYLING */
.rt-error-container {
    text-align: center;
    padding: 30px 20px;
}

.rt-error-message {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.rt-error-message h3 {
    color: #dc3545;
    margin-bottom: 10px;
}

.rt-error-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.rt-error-retry-btn {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.rt-error-retry-btn:hover {
    background: #218838;
}

.rt-error-retry-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* 🆘 FALLBACK CONTENT STYLING */
.rt-fallback-bosses {
    margin: 25px 0;
    text-align: left;
}

.rt-fallback-bosses h4 {
    color: #ffd700;
    margin-bottom: 15px;
    text-align: center;
}

.rt-fallback-bosses .rt-boss-list {
    display: grid;
    gap: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.rt-fallback-bosses .rt-boss-card {
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.rt-fallback-bosses .rt-boss-card:hover {
    background: rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.5);
    transform: translateY(-2px);
}

.rt-fallback-info {
    background: rgba(108, 117, 125, 0.1);
    border: 1px solid rgba(108, 117, 125, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.rt-fallback-info h4 {
    color: #17a2b8;
    margin-bottom: 10px;
}

.rt-fallback-info ul {
    margin: 10px 0;
    padding-left: 20px;
}

.rt-fallback-info li {
    margin: 5px 0;
    color: #e9ecef;
}

.rt-fallback-notice {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.rt-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffc107;
    margin-bottom: 15px;
}

.rt-warning i {
    font-size: 1.2em;
}

.rt-fallback-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.rt-fallback-actions button {
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 14px;
}

.rt-fallback-actions button:hover {
    background: #138496;
}

.rt-fallback-actions button i {
    margin-right: 5px;
}

/* 🎬 ANIMATION SYSTEM CSS */

/* Modal animáció alapok */
.rt-modal-animated .modal-content {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.rt-modal-animated.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

/* Pulse animáció loading state-hez */
@keyframes rt-pulse {
    0% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
    100% { opacity: 0.6; transform: scale(1); }
}

.rt-pulse-animation {
    animation: rt-pulse 1.5s ease-in-out infinite;
}

/* Boss kártya hover animációk */
.rt-boss-card {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translateY(0);
}

.rt-boss-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.rt-boss-card:active {
    transform: translateY(-4px);
    transition: all 0.1s ease-out;
}

/* Spell kártya hover animációk */
.rt-spell-card {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translateX(0);
}

.rt-spell-card:hover {
    transform: translateX(8px);
    border-left: 4px solid var(--spell-color, #ffd700);
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
}

/* Difficulty button animációk */
.rt-difficulty-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rt-difficulty-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.rt-difficulty-btn:hover::before {
    left: 100%;
}

.rt-difficulty-btn.active {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Loading overlay animációk */
.rt-loading-overlay {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.rt-loading-overlay.show {
    opacity: 1;
}

.rt-loading-spinner {
    animation: rt-spin 1s linear infinite;
}

@keyframes rt-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Search input focus animáció */
.rt-search-input {
    transition: all 0.3s ease;
    position: relative;
}

.rt-search-input:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

/* Filter toggle animáció */
.rt-filter-toggle {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.rt-filter-toggle.active {
    transform: rotate(180deg);
}

/* Video thumbnail hover */
.rt-video-thumbnail {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rt-video-thumbnail::before {
    content: '▶️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 24px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
}

.rt-video-thumbnail:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.rt-video-thumbnail:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Staggered animáció support */
.rt-stagger-item {
    opacity: 0;
    transform: translateY(20px);
    animation: rt-stagger-in 0.6s ease-out forwards;
}

.rt-stagger-item:nth-child(1) { animation-delay: 0.1s; }
.rt-stagger-item:nth-child(2) { animation-delay: 0.2s; }
.rt-stagger-item:nth-child(3) { animation-delay: 0.3s; }
.rt-stagger-item:nth-child(4) { animation-delay: 0.4s; }
.rt-stagger-item:nth-child(5) { animation-delay: 0.5s; }
.rt-stagger-item:nth-child(6) { animation-delay: 0.6s; }
.rt-stagger-item:nth-child(7) { animation-delay: 0.7s; }
.rt-stagger-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes rt-stagger-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Micro-interactions */
.rt-button, .rt-btn {
    transition: all 0.2s ease;
}

.rt-button:hover, .rt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.rt-button:active, .rt-btn:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Reduced Motion Media Query */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .rt-pulse-animation,
    .rt-loading-spinner {
        animation: none;
    }
}