/**
 * Hírek Rendszer CSS
 * Prefix: rt- (news-raid-tactics)
 */

/* ================================
   CONTAINER & LAYOUT
   ================================ */
#raid-tactics-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* ================================
   HEADER & FILTERS
   ================================ */
.rt-header {
    margin-bottom: 2rem;
}

.rt-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color, #f59e0b);
}

.rt-filters {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rt-filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rt-filter-check {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.rt-select {
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-color, #e5e7eb);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.rt-select:hover {
    border-color: var(--primary-color, #f59e0b);
    background: rgba(0, 0, 0, 0.5);
}

/* ================================
   CARDS GRID
   ================================ */
.rt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.rt-card {
    background: linear-gradient(135deg, rgba(30, 30, 46, 0.9), rgba(24, 24, 37, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.rt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
    border-color: var(--primary-color, #f59e0b);
}

.rt-card-kiemelt {
    position: relative;
    border: 2px solid #fbbf24;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.rt-card-kiemelt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
    animation: rt-shimmer 3s infinite;
}

@keyframes rt-shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.rt-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.rt-card-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    opacity: 0.3;
}

.rt-card-content {
    padding: 1.25rem;
}

.rt-badge-kiemelt {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.rt-card-title {
    font-size: 1.25rem;
    margin: 0 0 0.75rem 0;
    color: var(--text-color, #e5e7eb);
    line-height: 1.4;
}

.rt-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary, #9ca3af);
}

.rt-no-results {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: var(--text-secondary, #9ca3af);
}

/* ================================
   PAGINATION & VIEW MODE
   ================================ */
.rt-pagination-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.rt-view-mode {
    display: flex;
    gap: 0.5rem;
}

.rt-mode-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-color, #e5e7eb);
    cursor: pointer;
    transition: all 0.2s;
}

.rt-mode-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color, #f59e0b);
}

.rt-mode-btn.active {
    background: var(--primary-color, #f59e0b);
    color: #1f2937;
    font-weight: bold;
}

.rt-pagination {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.rt-page-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color, #f59e0b);
    color: #1f2937;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.rt-page-btn:hover:not(:disabled) {
    background: #fbbf24;
    transform: scale(1.05);
}

.rt-page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.rt-page-info {
    font-size: 1rem;
    color: var(--text-secondary, #9ca3af);
    min-width: 80px;
    text-align: center;
}

.rt-loading {
    text-align: center;
    padding: 2rem;
}

.rt-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color, #f59e0b);
    border-radius: 50%;
    animation: rt-spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

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

/* ================================
   DIFFICULTY FILTER BUTTONS
   ================================ */
.rt-difficulty-filter {
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.rt-difficulty-filter h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    color: var(--primary-color, #f59e0b);
}

.rt-difficulty-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.rt-diff-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rt-diff-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.rt-diff-btn:hover::before {
    opacity: 1;
}

.rt-diff-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 3px currentColor);
}

/* Normal - Zöld → Sárga átmenet */
.rt-diff-normal {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(132, 204, 22, 0.15));
    border-color: rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.rt-diff-normal::before {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(132, 204, 22, 0.25));
}

.rt-diff-normal.active {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.4), rgba(132, 204, 22, 0.3));
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
    color: #bbf7d0;
}

.rt-diff-normal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Heroic - Narancs → Piros átmenet */
.rt-diff-heroic {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.15));
    border-color: rgba(249, 115, 22, 0.3);
    color: #fdba74;
}

.rt-diff-heroic::before {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.3), rgba(239, 68, 68, 0.25));
}

.rt-diff-heroic.active {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.4), rgba(239, 68, 68, 0.3));
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
    color: #fed7aa;
}

.rt-diff-heroic:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Mythic - Lila → Piros átmenet */
.rt-diff-mythic {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(220, 38, 38, 0.15));
    border-color: rgba(168, 85, 247, 0.3);
    color: #e9d5ff;
}

.rt-diff-mythic::before {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(220, 38, 38, 0.25));
}

.rt-diff-mythic.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(220, 38, 38, 0.3));
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    color: #f3e8ff;
}

.rt-diff-mythic:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

/* ================================
   DETAIL VIEW
   ================================ */
.rt-detail-header {
    margin-bottom: 2rem;
}

.rt-back-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-color, #e5e7eb);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.rt-back-btn:hover {
    background: var(--primary-color, #f59e0b);
    color: #1f2937;
    transform: translateX(-5px);
}

.rt-article {
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.rt-article-header h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    color: var(--text-color, #e5e7eb);
    line-height: 1.3;
}

.rt-article-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--text-secondary, #9ca3af);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rt-article-featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.rt-article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.rt-article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color, #e5e7eb);
}

.rt-article-body p {
    margin-bottom: 1.25rem;
}

.rt-article-body h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: var(--primary-color, #f59e0b);
}

.rt-article-body h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem 0;
    color: #fbbf24;
}

.rt-article-body strong {
    color: #c89050;
}

.rt-article-body code {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #fbbf24;
}

.rt-article-body blockquote {
    border-left: 4px solid var(--primary-color, #f59e0b);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--text-secondary, #9ca3af);
}

.rt-article-body hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

/* Markdown Tables */
.rt-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.rt-table thead {
    background: rgba(150, 110, 40, 0.2);
}

.rt-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: bold;
    color: #d0b880;
    border-bottom: 2px solid rgba(150, 110, 40, 0.3);
}

.rt-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
}

.rt-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.rt-table tbody tr:last-child td {
    border-bottom: none;
}

/* ================================
   CUSTOM BLOCKS (boss, phase, etc.)
   ================================ */
.rt-block {
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    border-left: 5px solid;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.rt-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.rt-block-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.rt-block-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 4px currentColor);
}

.rt-block-body {
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.rt-block-boss {
    background: linear-gradient(135deg, rgba(100, 30, 30, 0.15), rgba(150, 50, 50, 0.1));
    border-left-color: #a04040;
    border: 2px solid rgba(150, 50, 50, 0.2);
    box-shadow: 0 4px 12px rgba(150, 50, 50, 0.2), inset 0 0 30px rgba(150, 50, 50, 0.03);
}

.rt-block-boss .rt-block-header {
    background: linear-gradient(90deg, rgba(150, 50, 50, 0.25), rgba(150, 50, 50, 0.15));
    color: #d89090;
    text-shadow: 0 0 6px rgba(150, 50, 50, 0.3);
}

.rt-block-phase {
    background: linear-gradient(135deg, rgba(50, 90, 150, 0.15), rgba(50, 90, 150, 0.1));
    border-left-color: #5080c0;
    border: 2px solid rgba(50, 90, 150, 0.2);
    box-shadow: 0 4px 12px rgba(50, 90, 150, 0.2), inset 0 0 30px rgba(50, 90, 150, 0.03);
}

.rt-block-phase .rt-block-header {
    background: linear-gradient(90deg, rgba(50, 90, 150, 0.25), rgba(50, 90, 150, 0.15));
    color: #8db0d8;
    text-shadow: 0 0 6px rgba(50, 90, 150, 0.3);
}

.rt-block-critical {
    background: linear-gradient(135deg, rgba(150, 60, 60, 0.2), rgba(150, 60, 60, 0.12));
    border-left-color: #b05050;
    border: 2px solid rgba(150, 60, 60, 0.25);
    box-shadow: 0 4px 12px rgba(150, 60, 60, 0.25), inset 0 0 30px rgba(150, 60, 60, 0.06);
    animation: rt-pulse-critical 2s ease-in-out infinite;
}

@keyframes rt-pulse-critical {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(150, 60, 60, 0.25), inset 0 0 30px rgba(150, 60, 60, 0.06);
    }

    50% {
        box-shadow: 0 4px 16px rgba(150, 60, 60, 0.35), inset 0 0 40px rgba(150, 60, 60, 0.09);
    }
}

.rt-block-critical .rt-block-header {
    background: linear-gradient(90deg, rgba(150, 60, 60, 0.3), rgba(150, 60, 60, 0.2));
    color: #d8a0a0;
    text-shadow: 0 0 7px rgba(150, 60, 60, 0.4);
}

.rt-block-wipe {
    background: linear-gradient(135deg, rgba(90, 50, 120, 0.15), rgba(100, 60, 140, 0.1));
    border-left-color: #705090;
    border: 2px solid rgba(100, 60, 140, 0.2);
    box-shadow: 0 4px 12px rgba(100, 60, 140, 0.2), inset 0 0 30px rgba(100, 60, 140, 0.03);
}

.rt-block-wipe .rt-block-header {
    background: linear-gradient(90deg, rgba(100, 60, 140, 0.25), rgba(100, 60, 140, 0.15));
    color: #b090c8;
    text-shadow: 0 0 6px rgba(100, 60, 140, 0.3);
}

.rt-block-interrupt {
    background: linear-gradient(135deg, rgba(150, 80, 40, 0.15), rgba(150, 80, 40, 0.1));
    border-left-color: #a06040;
    border: 2px solid rgba(150, 80, 40, 0.2);
    box-shadow: 0 4px 12px rgba(150, 80, 40, 0.2), inset 0 0 30px rgba(150, 80, 40, 0.03);
}

.rt-block-interrupt .rt-block-header {
    background: linear-gradient(90deg, rgba(150, 80, 40, 0.25), rgba(150, 80, 40, 0.15));
    color: #d0a080;
    text-shadow: 0 0 6px rgba(150, 80, 40, 0.3);
}

.rt-block-warning {
    background: linear-gradient(135deg, rgba(150, 110, 40, 0.15), rgba(150, 110, 40, 0.1));
    border-left-color: #a08040;
    border: 2px solid rgba(150, 110, 40, 0.2);
    box-shadow: 0 4px 12px rgba(150, 110, 40, 0.2), inset 0 0 30px rgba(150, 110, 40, 0.03);
}

.rt-block-warning .rt-block-header {
    background: linear-gradient(90deg, rgba(150, 110, 40, 0.25), rgba(150, 110, 40, 0.15));
    color: #d0b880;
    text-shadow: 0 0 6px rgba(150, 110, 40, 0.3);
}

.rt-block-tip {
    background: linear-gradient(135deg, rgba(30, 120, 90, 0.15), rgba(30, 120, 90, 0.1));
    border-left-color: #408070;
    border: 2px solid rgba(30, 120, 90, 0.2);
    box-shadow: 0 4px 12px rgba(30, 120, 90, 0.2), inset 0 0 30px rgba(30, 120, 90, 0.03);
}

.rt-block-tip .rt-block-header {
    background: linear-gradient(90deg, rgba(30, 120, 90, 0.25), rgba(30, 120, 90, 0.15));
    color: #80c0a8;
    text-shadow: 0 0 6px rgba(30, 120, 90, 0.3);
}

.rt-block-timer {
    background: linear-gradient(135deg, rgba(70, 75, 140, 0.15), rgba(70, 75, 140, 0.1));
    border-left-color: #6070b0;
    border: 2px solid rgba(70, 75, 140, 0.2);
    box-shadow: 0 4px 12px rgba(70, 75, 140, 0.2), inset 0 0 30px rgba(70, 75, 140, 0.03);
}

.rt-block-timer .rt-block-header {
    background: linear-gradient(90deg, rgba(70, 75, 140, 0.25), rgba(70, 75, 140, 0.15));
    color: #9098c8;
    text-shadow: 0 0 6px rgba(70, 75, 140, 0.3);
}

.rt-block-position {
    background: linear-gradient(135deg, rgba(120, 70, 150, 0.15), rgba(120, 70, 150, 0.1));
    border-left-color: #8060a0;
    border: 2px solid rgba(120, 70, 150, 0.2);
    box-shadow: 0 4px 12px rgba(120, 70, 150, 0.2), inset 0 0 30px rgba(120, 70, 150, 0.03);
}

.rt-block-position .rt-block-header {
    background: linear-gradient(90deg, rgba(120, 70, 150, 0.25), rgba(120, 70, 150, 0.15));
    color: #b090c8;
    text-shadow: 0 0 6px rgba(120, 70, 150, 0.3);
}

/* ================================
   CONTENT ELEMENTS
   ================================ */
.rt-content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: block;
}

.rt-youtube {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.rt-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rt-twitch {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 1.5rem 0;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
}

.rt-twitch iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video Player */
.rt-video-container {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
}

.rt-video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
}

.rt-wowhead-link {
    color: #fbbf24 !important;
    text-decoration: underline;
    transition: color 0.2s;
}

.rt-wowhead-link:hover {
    color: var(--primary-color, #f59e0b) !important;
}

.rt-external-link {
    color: #60a5fa !important;
    text-decoration: underline;
    transition: color 0.2s;
}

.rt-external-link:hover {
    color: #93c5fd !important;
}

.rt-external-link::after {
    content: ' ↗';
    font-size: 0.8em;
    opacity: 0.7;
}

/* ================================
   SHARE ACTIONS (Adblocker-safe!)
   ================================ */
.rt-actions {
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.rt-actions h3 {
    margin: 0 0 1rem 0;
    color: var(--text-color, #e5e7eb);
}

.rt-action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.rt-act-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    font-weight: 500;
}

.rt-act-fb {
    background: #1877f2;
    color: white;
}

.rt-act-fb:hover {
    background: #145dbf;
    transform: translateY(-2px);
}

.rt-act-tw {
    background: #1da1f2;
    color: white;
}

.rt-act-tw:hover {
    background: #1a8cd8;
    transform: translateY(-2px);
}

.rt-act-lc {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color, #e5e7eb);
}

.rt-act-lc:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.rt-copy-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    border-radius: 8px;
    color: #6ee7b7;
    font-weight: 500;
}

/* ================================
   SCROLL TO TOP BUTTON
   ================================ */
.rt-scroll-top-container {
    margin-top: 2rem;
    text-align: center;
}

.rt-scroll-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    border: 2px solid rgba(245, 158, 11, 0.4);
    border-radius: 12px;
    color: #fbbf24;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.rt-scroll-top-btn svg {
    transition: transform 0.3s ease;
}

.rt-scroll-top-btn:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0.2));
    border-color: rgba(245, 158, 11, 0.6);
    color: #fcd34d;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}

.rt-scroll-top-btn:hover svg {
    transform: translateY(-3px);
}

.rt-scroll-top-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.25);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    #raid-tactics-container {
        padding: 1rem;
    }

    .rt-header h1 {
        font-size: 2rem;
    }

    .rt-filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .rt-grid {
        grid-template-columns: 1fr;
    }

    .rt-article-header h1 {
        font-size: 1.8rem;
    }

    .rt-action-buttons {
        flex-direction: column;
    }

    .rt-act-btn {
        width: 100%;
        justify-content: center;
    }

    .rt-scroll-top-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 0.875rem 1.5rem;
    }

    /* Spell Video Player - Mobil */
    .rt-spell-video-player {
        max-width: 100%;
        border-radius: 8px;
    }

    .rt-spell-video-play-btn svg {
        width: 36px;
        height: 36px;
    }
}

/* ================================
   BOSS KÁRTYÁK (ÚJ RAID TACTICS)
   ================================ */

/* Raid fejléc */
.rt-raid-header {
    margin: 2rem 0 1rem 0;
    grid-column: 1 / -1;
    /* Teljes szélesség a grid-ben */
}

.rt-raid-header h2 {
    font-size: 2rem;
    color: var(--primary-color, #f59e0b);
    margin: 0;
    padding-bottom: 0.5rem;
}

/* Vonal */
.rt-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 1rem 0;
    grid-column: 1 / -1;
    /* Teljes szélesség a grid-ben */
}

.rt-raid-divider {
    border: none;
    border-top: 2px solid rgba(245, 158, 11, 0.5);
    margin: 2rem 0;
    grid-column: 1 / -1;
    /* Teljes szélesség a grid-ben */
}

/* Boss kártya - horizontális layout */
.rt-boss-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 30, 46, 0.9), rgba(24, 24, 37, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    grid-column: 1 / -1;
    /* Teljes szélesség a grid-ben */
}

.rt-boss-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
    border-color: var(--primary-color, #f59e0b);
}

/* Boss kép - bal oldal */
.rt-boss-image {
    width: 120px;
    height: 120px;
    min-width: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.rt-boss-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, rgba(100, 50, 50, 0.8), rgba(50, 20, 20, 0.8));
}

/* Boss tartalom - jobb oldal */
.rt-boss-content {
    flex: 1;
}

.rt-boss-title {
    font-size: 1.5rem;
    color: #f9fafb;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rt-boss-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: #9ca3af;
}

.rt-boss-number {
    font-weight: 600;
    color: #fbbf24;
}

.rt-boss-modified {
    color: #6b7280;
}

/* Béta badge */
.rt-beta-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.4);
    animation: pulse-beta 2s ease-in-out infinite;
}

@keyframes pulse-beta {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 2px 4px rgba(220, 38, 38, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 4px 8px rgba(220, 38, 38, 0.6);
    }
}

/* Reszponzív - mobil */
@media (max-width: 768px) {
    .rt-boss-card {
        flex-direction: column;
        text-align: center;
    }

    .rt-boss-image {
        width: 100px;
        height: 100px;
        min-width: 100px;
    }

    .rt-boss-title {
        justify-content: center;
        font-size: 1.25rem;
    }

    .rt-boss-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ================================
   RÉSZLETES NÉZET - ÚJ ELEMEK
   ================================ */

/* Add-ok Grid */
.rt-adds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.rt-add-card {
    background: rgba(30, 30, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.rt-add-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.rt-add-card h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: #f9fafb;
}

/* Spell kártyák - részletes */
.rt-spell-card {
    background: rgba(30, 30, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.rt-spell-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rt-spell-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.rt-spell-title-block h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: #fbbf24;
}

.rt-spell-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #9ca3af;
    flex-wrap: wrap;
}

.rt-spell-description {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.rt-spell-roles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rt-spell-role {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem;
    border-left: 3px solid rgba(245, 158, 11, 0.6);
    border-radius: 4px;
}

.rt-spell-role strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

/* Spell Badges (Difficulty) */
.rt-spell-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.rt-badge {
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rt-badge-normal {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.rt-badge-heroic {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.rt-badge-mythic {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #fff;
}

/* Spell Flags */
.rt-spell-flags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.rt-flag {
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

/* Spell Difficulty Sections */
.rt-spell-difficulty {
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.rt-spell-normal {
    border-left-color: #10b981;
}

.rt-spell-heroic {
    border-left-color: #f59e0b;
}

.rt-spell-mythic {
    border-left-color: #dc2626;
}

.rt-spell-difficulty h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
}

.rt-spell-desc {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ================================
   CUSTOM VIDEO PLAYER (Spell Cards)
   ================================ */

/* Video Player Container - Fix 16:9 méretarány */
.rt-spell-video-player {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 1.5rem auto;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Video Element - Fix pozíció */
.rt-spell-video-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Play/Pause Button - Középen, átlátszó háttér NÉLKÜL */
.rt-spell-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    z-index: 10;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.rt-spell-video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
}

.rt-spell-video-play-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Play/Pause ikonok */
.rt-play-icon,
.rt-pause-icon {
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

/* Phase & Intermission kártyák */
.rt-phase-card,
.rt-intermission-card {
    background: rgba(30, 30, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.rt-phase-card h3,
.rt-intermission-card h3 {
    margin: 0;
    color: #fbbf24;
}

/* ════════════════════════════════════════════════════════════════════════════════════
   📖 OVERVIEW - FULL WIDTH CARDS (Role-based layout)
   ════════════════════════════════════════════════════════════════════════════════════ */

.rt-overview-wrapper {
    margin: 2rem 0;
}

.rt-overview-header {
    margin-bottom: 1.5rem;
}

.rt-overview-header h2 {
    font-size: 2rem;
    margin: 0;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Overview Card - Base */
.rt-overview-card {
    background: linear-gradient(135deg, rgba(30, 30, 46, 0.9), rgba(24, 24, 37, 0.9));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rt-overview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Card Header */
.rt-overview-card-header {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.rt-overview-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rt-overview-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #fff;
}

/* Card Body */
.rt-overview-card-body {
    padding: 1.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.rt-overview-card-body p {
    margin: 0 0 1rem 0;
}

.rt-overview-card-body p:last-child {
    margin-bottom: 0;
}

/* Általános Card */
.rt-overview-general {
    border-color: rgba(156, 163, 175, 0.3);
}

.rt-overview-general .rt-overview-card-header {
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.3), rgba(55, 65, 81, 0.3));
    border-bottom-color: rgba(156, 163, 175, 0.3);
}

.rt-overview-general:hover {
    border-color: rgba(156, 163, 175, 0.5);
    box-shadow: 0 8px 16px rgba(156, 163, 175, 0.2);
}

/* DPS Card - Piros */
.rt-overview-dps {
    border-color: rgba(239, 68, 68, 0.4);
}

.rt-overview-dps .rt-overview-card-header {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    border-bottom-color: rgba(239, 68, 68, 0.4);
}

.rt-overview-dps:hover {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.3);
}

/* Healer Card - Zöld */
.rt-overview-healer {
    border-color: rgba(16, 185, 129, 0.4);
}

.rt-overview-healer .rt-overview-card-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    border-bottom-color: rgba(16, 185, 129, 0.4);
}

.rt-overview-healer:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

/* Tank Card - Kék */
.rt-overview-tank {
    border-color: rgba(59, 130, 246, 0.4);
}

.rt-overview-tank .rt-overview-card-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
    border-bottom-color: rgba(59, 130, 246, 0.4);
}

.rt-overview-tank:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

/* Normal Card - Fehér/Ezüst */
.rt-overview-normal {
    border-color: rgba(209, 213, 219, 0.4);
}

.rt-overview-normal .rt-overview-card-header {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.2), rgba(75, 85, 99, 0.2));
    border-bottom-color: rgba(209, 213, 219, 0.4);
}

.rt-overview-normal:hover {
    border-color: rgba(209, 213, 219, 0.6);
    box-shadow: 0 8px 16px rgba(209, 213, 219, 0.3);
}

/* Heroic Card - Narancssárga */
.rt-overview-heroic {
    border-color: rgba(249, 115, 22, 0.4);
}

.rt-overview-heroic .rt-overview-card-header {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(234, 88, 12, 0.2));
    border-bottom-color: rgba(249, 115, 22, 0.4);
}

.rt-overview-heroic:hover {
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.3);
}

/* Mythic Card - Lila */
.rt-overview-mythic {
    border-color: rgba(168, 85, 247, 0.4);
}

.rt-overview-mythic .rt-overview-card-header {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(147, 51, 234, 0.2));
    border-bottom-color: rgba(168, 85, 247, 0.4);
}

.rt-overview-mythic:hover {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 8px 16px rgba(168, 85, 247, 0.3);
}

/* Responsive - Mobil */
@media (max-width: 768px) {
    .rt-overview-card-header {
        padding: 0.875rem 1rem;
    }

    .rt-overview-icon {
        font-size: 1.25rem;
    }

    .rt-overview-card-header h3 {
        font-size: 1.1rem;
    }

    .rt-overview-card-body {
        padding: 1rem;
        font-size: 0.95rem;
    }
}