/* ============================================
   RESET И БАЗОВЫЕ СТИЛИ
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

/* ============================================
   CSS ПЕРЕМЕННЫЕ (ТЕМЫ)
   ============================================ */

:root {
    /* Темная тема (по умолчанию) */
    --bg-primary: #0c1a3a;
    --bg-secondary: #1a2f5a;
    --bg-tertiary: #2a3f6a;
    --bg-card: #1e2f4f;
    --text-primary: #e6e6e6;
    --text-secondary: #b8b8b8;
    --text-muted: #8a8a8a;
    --accent-gold: #c8aa6e;
    --accent-gold-light: #d4b87a;
    --accent-gold-dark: #9d8756;
    --alliance-blue: #0055b8;
    --alliance-blue-dark: #0c3692;
    --horde-red: #8b0000;
    --horde-red-dark: #5a0000;
    --border-color: rgba(200, 170, 110, 0.3);
    --shadow-glow: rgba(200, 170, 110, 0.2);
}

[data-theme="light"] {
    --bg-primary: #f5f5f0;
    --bg-secondary: #e8e8e0;
    --bg-tertiary: #dcdcd0;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6a6a6a;
    --border-color: rgba(200, 170, 110, 0.5);
}

[data-theme="classic"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --bg-tertiary: #3a3a3a;
    --bg-card: #252525;
    --accent-gold: #ffd700;
    --alliance-blue: #0070dd;
    --horde-red: #c41f3b;
}

/* ============================================
   ТИПОГРАФИКА
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--accent-gold);
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-gold-light);
}

/* ============================================
   ШАПКА САЙТА
   ============================================ */

.main-header {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 60px;
    height: 60px;
}

.wow-logo {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px var(--accent-gold));
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 10px var(--accent-gold)); }
    50% { filter: drop-shadow(0 0 20px var(--accent-gold)); }
}

.logo-text h1 {
    font-size: 1.8rem;
    margin: 0;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.header-search {
    display: flex;
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--shadow-glow);
}

.search-btn {
    padding: 0.75rem 1.25rem;
    background: var(--accent-gold);
    border: none;
    border-radius: 0 4px 4px 0;
    color: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--accent-gold-light);
    box-shadow: 0 0 15px var(--shadow-glow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.patch-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.patch-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.patch-version {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--accent-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    box-shadow: 0 0 10px var(--shadow-glow);
}

/* Кнопки WoW стиля */
.wow-btn {
    padding: 0.75rem 1.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--accent-gold);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.wow-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 ease;
}

.wow-btn:hover::before {
    left: 100%;
}

.wow-btn-primary {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.wow-btn-primary:hover {
    background: var(--accent-gold-light);
    box-shadow: 0 0 20px var(--shadow-glow);
    transform: translateY(-2px);
}

.wow-btn-secondary {
    background: transparent;
    color: var(--accent-gold);
}

.wow-btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.wow-btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Главное меню */
.main-nav {
    border-top: 1px solid var(--border-color);
    padding-top: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ============================================
   ГЕРОЙ-СЛАЙДЕР
   ============================================ */

.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 26, 58, 0.9), rgba(26, 47, 90, 0.7));
}

.slider-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.category-update {
    background: var(--alliance-blue);
    color: white;
}

.category-news {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.category-event {
    background: var(--horde-red);
    color: white;
}

.category-guide {
    background: #4a9e4a;
    color: white;
}

.category-lore {
    background: #8b4a9e;
    color: white;
}

.slide-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.slide-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Навигационные точки (камни душ) */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dot.active::before,
.dot:hover::before {
    opacity: 1;
}

.dot.active {
    box-shadow: 0 0 15px var(--shadow-glow);
}

/* Стрелки слайдера */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(200, 170, 110, 0.3);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    color: var(--accent-gold);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--shadow-glow);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

/* ============================================
   ОСНОВНОЙ КОНТЕНТ
   ============================================ */

.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.content-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.content-main {
    min-width: 0;
}

/* Фильтры */
.content-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--shadow-glow);
}

.sort-select {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    outline: none;
}

/* Лента новостей */
.news-feed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-gold);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title {
    margin-bottom: 0.75rem;
}

.news-title a {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--accent-gold);
}

.news-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.author-name {
    color: var(--text-secondary);
    font-weight: 600;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.news-stats {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.stat-item svg {
    width: 16px;
    height: 16px;
}

.like-btn {
    cursor: pointer;
    transition: color 0.3s ease;
}

.like-btn:hover {
    color: var(--horde-red);
}

.like-btn.liked {
    color: var(--horde-red);
}

.news-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tag-pve {
    background: rgba(0, 85, 184, 0.3);
    color: var(--alliance-blue);
}

.tag-pvp {
    background: rgba(139, 0, 0, 0.3);
    color: var(--horde-red);
}

.tag-guide {
    background: rgba(74, 158, 74, 0.3);
    color: #4a9e4a;
}

.tag-lore {
    background: rgba(139, 74, 158, 0.3);
    color: #8b4a9e;
}

.tag-event {
    background: rgba(200, 170, 110, 0.3);
    color: var(--accent-gold);
}

.tag-update {
    background: rgba(0, 85, 184, 0.3);
    color: var(--alliance-blue);
}

.tag-class {
    background: rgba(200, 170, 110, 0.3);
    color: var(--accent-gold);
}

.tag-story {
    background: rgba(139, 74, 158, 0.3);
    color: #8b4a9e;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-pages {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.page-btn:hover,
.page-btn.active {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

.page-dots {
    color: var(--text-muted);
    padding: 0 0.5rem;
}

/* ============================================
   БОКОВАЯ ПАНЕЛЬ
   ============================================ */

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.widget-title svg {
    width: 20px;
    height: 20px;
}

/* Горячие новости */
.hot-list {
    list-style: none;
}

.hot-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hot-item:last-child {
    border-bottom: none;
}

.hot-number {
    min-width: 24px;
    height: 24px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.hot-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.hot-link:hover {
    color: var(--accent-gold);
}

/* Ивенты */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.event-item:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--shadow-glow);
}

.event-icon {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.event-mythic {
    background: linear-gradient(135deg, #8b4a9e, #6b2a7e);
}

.event-pvp {
    background: linear-gradient(135deg, var(--horde-red), var(--horde-red-dark));
}

.event-calendar {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
}

.event-info {
    flex: 1;
}

.event-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.event-timer {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Серверы */
.servers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.server-region {
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-high {
    background: #4a9e4a;
    box-shadow: 0 0 10px #4a9e4a;
}

.status-medium {
    background: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
}

.status-low {
    background: var(--horde-red);
    box-shadow: 0 0 10px var(--horde-red);
}

.server-name {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Классы */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.class-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.class-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-glow);
}

.class-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.class-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Реклама */
.ad-banner {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-card));
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ad-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(200, 170, 110, 0.1), transparent);
    animation: adShine 3s infinite;
}

@keyframes adShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.ad-content {
    position: relative;
    z-index: 1;
}

.ad-content h4 {
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.ad-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* ============================================
   КАРТА АЗЕРОТА
   ============================================ */

.azeroth-map-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: var(--bg-secondary);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.azeroth-map {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    overflow: hidden;
}

.map-svg {
    width: 100%;
    height: auto;
}

.zone {
    cursor: pointer;
    transition: all 0.3s ease;
}

.zone:hover {
    fill-opacity: 0.6;
    stroke-width: 3;
    filter: drop-shadow(0 0 10px var(--accent-gold));
}

.map-tooltip {
    position: absolute;
    background: var(--bg-card);
    border: 2px solid var(--accent-gold);
    border-radius: 4px;
    padding: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.map-tooltip.show {
    opacity: 1;
}

/* ============================================
   ГАЙД НЕДЕЛИ
   ============================================ */

.guide-week-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
}

.guide-week {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.guide-tabs {
    display: flex;
    background: var(--bg-tertiary);
    border-bottom: 2px solid var(--border-color);
}

.guide-tab {
    flex: 1;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-right: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    font-family: 'Cinzel', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.guide-tab:last-child {
    border-right: none;
}

.guide-tab:hover,
.guide-tab.active {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.guide-content {
    padding: 2rem;
}

.guide-tab-content {
    display: none;
}

.guide-tab-content.active {
    display: block;
}

.guide-tab-content h3 {
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.guide-tab-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   ФУТЕР
   ============================================ */

.main-footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-color);
    margin-top: 4rem;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

.faction-logos {
    display: flex;
    gap: 1rem;
}

.faction-logo {
    padding: 1rem 1.5rem;
    border: 2px solid;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
}

.faction-alliance {
    border-color: var(--alliance-blue);
    color: var(--alliance-blue);
    background: rgba(0, 85, 184, 0.1);
}

.faction-horde {
    border-color: var(--horde-red);
    color: var(--horde-red);
    background: rgba(139, 0, 0, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.disclaimer {
    margin: 1rem 0;
    font-size: 0.85rem;
    font-style: italic;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* ============================================
   ИНДИКАТОР ЗАГРУЗКИ (XP БАР)
   ============================================ */

.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-tertiary);
    z-index: 10000;
    display: none;
}

.loading-bar.active {
    display: block;
}

.loading-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--shadow-glow);
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 1199px) {
    .content-container {
        grid-template-columns: 1fr;
    }
    
    .content-sidebar {
        order: -1;
    }
    
    .news-card {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 767px) {
    .header-top {
        flex-direction: column;
    }
    
    .header-search {
        max-width: 100%;
        width: 100%;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .news-card {
        grid-template-columns: 1fr;
    }
    
    .news-image {
        height: 200px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .slider-prev {
        left: 1rem;
    }
    
    .slider-next {
        right: 1rem;
    }
    
    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guide-tabs {
        flex-direction: column;
    }
    
    .guide-tab {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

/* ============================================
   СТРАНИЦА СТАТЬИ
   ============================================ */

.breadcrumbs {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
}

.breadcrumbs-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--accent-gold);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--accent-gold);
    font-weight: 600;
}

.article-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.article-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.article-title {
    font-size: 2.5rem;
    margin: 1rem 0;
    color: var(--accent-gold);
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.article-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-left: 4px solid var(--accent-gold);
    border-radius: 4px;
}

.article-body h2 {
    margin: 2rem 0 1rem;
    color: var(--accent-gold);
    font-size: 1.8rem;
}

.article-body h3 {
    margin: 1.5rem 0 0.75rem;
    color: var(--accent-gold);
    font-size: 1.4rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.wow-quote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--bg-tertiary);
    border-left: 4px solid var(--accent-gold);
    border-radius: 4px;
    font-style: italic;
    position: relative;
}

.wow-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: var(--accent-gold);
    opacity: 0.3;
    font-family: 'Cinzel', serif;
}

.wow-quote p {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.wow-quote cite {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.article-share h3 {
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.share-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

/* Боковая панель статьи */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.related-item:hover {
    border-color: var(--accent-gold);
    transform: translateX(5px);
}

.related-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.related-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.related-content h4 a {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.related-content h4 a:hover {
    color: var(--accent-gold);
}

.related-content time {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Комментарии */
.article-comments {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.comments-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.comments-title {
    margin-bottom: 2rem;
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
}

.comment-form {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.comment-input {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: 'Open Sans', sans-serif;
    resize: vertical;
    margin-bottom: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.comment-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--shadow-glow);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 700;
    color: var(--accent-gold);
}

.comment-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.comment-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.comment-like,
.comment-reply {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.comment-like:hover,
.comment-reply:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

@media (max-width: 1199px) {
    .article-main {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        order: -1;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0 1rem 2rem;
    }
    
    .section-container {
        padding: 2rem 1rem;
    }
    
    .slide-content {
        padding: 2rem 1rem;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .filter-tabs {
        width: 100%;
    }
    
    .filter-tab {
        flex: 1;
        text-align: center;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
}
