/* ===========================================
   Heaven Theme + Armory Style для wow-panel-v3
   Объединение Heaven theme (FusionCMS) и Armory styling
   Enhanced for security, performance, modern UX
   =========================================== */

:root {
    /* Heaven Colors */
    --baseColor-r: 9;
    --baseColor-g: 10;
    --baseColor-b: 13;
    
    /* Colors */
    --color-base: #8288b5;
    --color-idle: #ffffff;
    --color-active: #75a4ff;
    --color-inactive: #434961;
    --color-primary: #ffffff;
    --color-secondary: #4699fe;
    
    /* Backgrounds */
    --background-base: #1f222d;
    --background-light: #2f3b58;
    --background-shade: #28324b;
    --background-shadow: #20242f;
    
    /* WoW Gold Accents */
    --wow-gold: #FFD700;
    --wow-gold-dark: #C4A000;
    --wow-brown: #4A3728;
    --wow-metal: #3B3B3B;
    
    /* Quality Colors */
    --epic: #A335EE;
    --rare: #0070DD;
    --uncommon: #1EFF00;
    --legendary: #FF8000;
    
    /* Radius & Margins */
    --borderRadius-primary: 5px;
    --margin-primary: 8px;
    
    /* Fonts */
    --font-family-primary: 'BlizQuadrata Web', 'Verdana', 'Arial', sans-serif;
    --font-family-secondary: 'Friz Quadrata Std', 'Arial', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Glassmorphism */
    --glassmorphism-glow: #000;
    --glassmorphism-color: #fff;
    --glassmorphism-filter: blur(10px);
    --glassmorphism-outline-color: rgba(255, 255, 255, 0.2);
    --glassmorphism-outline-shadow: rgba(0, 0, 0, 0.1);
    --glassmorphism-background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   01. RESET & GLOBAL STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none !important;
    position: relative;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    color: var(--color-base);
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 1rem;
    font-weight: 400;
    font-family: var(--font-family-primary);
    line-height: 1.5;
    background-color: transparent;
}

body {
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent !important;
}

@media screen and (min-width: 1920px) {
    body {
        background-size: 100% auto;
    }
}

ul {
    list-style: none;
}

a {
    color: var(--color-idle);
    text-decoration: none !important;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-active);
}

img {
    border: none;
    vertical-align: middle;
    background-color: transparent;
    max-width: 100%;
    height: auto;
}

::selection {
    color: var(--color-base);
    background-color: var(--background-light);
}

::-moz-selection {
    color: var(--color-base);
    background-color: var(--background-light);
}

/* ============================================
   02. HEADER (Heaven Style)
   ============================================ */
.header {
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 98;
    display: block;
    padding: 0 1rem;
    position: fixed;
    box-shadow: -1px 0 50px 0 rgba(0, 0, 0, 0.25);
    background-color: rgba(var(--baseColor-r), var(--baseColor-g), var(--baseColor-b), 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s;
}

.scroll-down .header {
    transform: translate3d(0, -100%, 0);
}

.scroll-up .header {
    transform: none;
}

/* Header Gradient */
.header [gradient],
.header [gradient]::before,
.header [gradient]::after {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    opacity: 0.7;
    position: absolute;
}

.header [gradient][gradient-1] {
    box-shadow: -1px 0 150px 0 #000;
    background-color: rgba(0, 0, 0, 0.25);
    /* background-image: url('../images/heaven/pattern-noise-01.png'); */
    /* COMMENTED OUT - image file missing, causing 404 errors */
    /* background-repeat: repeat; */
    /* background-position: center center; */
}

.header [gradient][gradient-1]::before {
    opacity: 0.3;
    background: linear-gradient(to right, #2755b9 0%, transparent 100%);
}

.header [gradient][gradient-1]::after {
    opacity: 0.3;
    background: linear-gradient(to bottom, transparent 0%, #4e86ff 100%);
}

.header [gradient][gradient-2] {
    border-bottom: 4px solid #213149;
}

.header [gradient][gradient-2]::before {
    opacity: 0.3;
    background: linear-gradient(to right, transparent 0%, #4e86ff 100%);
}

.header [gradient][gradient-2]::after {
    opacity: 0.3;
    background: linear-gradient(to bottom, transparent 0%, #4e86ff 100%);
}

/* Header Content */
.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--wow-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-logo img {
    height: 40px;
    width: auto;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.header-nav li {
    list-style: none;
}

.header-nav a {
    color: var(--color-idle);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    border-radius: var(--borderRadius-primary);
    transition: var(--transition-fast);
    position: relative;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--color-active);
    background-color: rgba(255, 255, 255, 0.1);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--wow-gold);
    transform: translateX(-50%);
    transition: var(--transition-fast);
}

.header-nav a:hover::after,
.header-nav a.active::after {
    width: 80%;
}

.header-nav a.active {
    color: var(--wow-gold) !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--borderRadius-primary);
}

.lang-switcher a {
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-inactive);
    border-radius: 3px;
    transition: var(--transition-fast);
}

.lang-switcher a.active {
    background-color: var(--color-active);
    color: #fff;
}

.lang-switcher a:hover {
    background-color: var(--background-light);
    color: var(--color-idle);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-idle);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: rgb(var(--baseColor-r), var(--baseColor-g), var(--baseColor-b));
        flex-direction: column;
        padding: 2rem 1rem;
        transition: var(--transition-normal);
        overflow-y: auto;
    }
    
    .header-nav.active {
        left: 0;
    }
    
    .header-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .header-nav a {
        width: 100%;
        text-align: left;
    }
    
    .lang-switcher {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
}

/* ============================================
   03. HERO SECTION (Wall Style)
   ============================================ */
.hero-section {
    width: 100%;
    min-height: 100vh;
    padding: 15rem 1rem 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    
    /* Прозрачный — видео фон просвечивает */
    background: transparent;
}

@media screen and (min-width: 1920px) {
    .hero-section {
        background: transparent;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(9, 10, 13, 0.5) 100%
    );
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
    z-index: 2;
}

/* Hero badge */
.hero-realm-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 50px;
    color: var(--wow-gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-realm-name {
    color: var(--wow-gold);
    text-shadow:
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.5),
        0 0 60px rgba(255, 215, 0, 0.3),
        3px 3px 6px rgba(0, 0, 0, 0.9);
    display: block;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.95);
    text-shadow:
        0 0 30px rgba(255, 215, 0, 0.3),
        3px 3px 8px rgba(0, 0, 0, 0.9);
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: heroFadeIn 1.2s ease-out;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    margin-bottom: 2rem;
    letter-spacing: 1px;
    animation: heroFadeIn 1.4s ease-out;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 2rem 0;
    padding: 1.5rem 2.5rem;
    background: rgba(10, 12, 20, 0.45);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.05);
    animation: heroFadeIn 1.6s ease-out;
}

.hero-stat {
    text-align: center;
    padding: 0 2.5rem;
}

.hero-stat-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.hero-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 215, 0, 0.2);
    flex-shrink: 0;
}

.hero-stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--wow-gold);
    display: block;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.2rem;
}

/* Плавный переход hero → контент */
.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, rgba(9, 10, 13, 0.85) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* ============================================
   04. BUTTONS (Heaven Style)
   ============================================ */
.wow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--borderRadius-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.wow-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.wow-btn:hover::before {
    width: 300px;
    height: 300px;
}

.wow-btn-primary {
    background: linear-gradient(135deg, #4e86ff 0%, #2755b9 100%);
    color: #fff;
    box-shadow: 0 5px 20px rgba(78, 134, 255, 0.4);
    border: 1px solid rgba(78, 134, 255, 0.3);
    padding: 1rem 2.8rem;
    font-size: 1.05rem;
}

.wow-btn-primary:hover {
    background: linear-gradient(135deg, #5a95ff 0%, #3065c9 100%);
    box-shadow: 0 8px 25px rgba(78, 134, 255, 0.7), 0 0 0 2px rgba(78,134,255,0.3);
    transform: translateY(-3px);
}

.wow-btn-secondary {
    background: linear-gradient(135deg, var(--wow-gold) 0%, var(--wow-gold-dark) 100%);
    color: #1a0a00;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.35);
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 1rem 2.8rem;
    font-size: 1.05rem;
}

.wow-btn-secondary:hover {
    background: linear-gradient(135deg, #ffe033 0%, #d4af37 100%);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6), 0 0 0 2px rgba(255,215,0,0.3);
    transform: translateY(-3px);
}

.wow-btn-outline {
    background: transparent;
    border: 2px solid var(--color-active);
    color: var(--color-idle);
}

.wow-btn-outline:hover {
    background: var(--color-active);
    color: #fff;
}

/* ============================================
   05. CONTENT GRID (News Blocks)
   ============================================ */
.content-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.section-title::before,
.section-title::after {
    content: '';
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.6));
}

.section-title::after {
    background: linear-gradient(to left, transparent, rgba(255, 215, 0, 0.6));
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: rgba(var(--baseColor-r), var(--baseColor-g), var(--baseColor-b), 0.65);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.news-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.news-card-date {
    font-size: 0.85rem;
    color: var(--color-inactive);
    margin-bottom: 1rem;
}

.news-card-excerpt {
    color: var(--color-base);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-active);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.news-card-link:hover {
    color: var(--wow-gold);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: rgba(5, 6, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    padding: 2.5rem 1rem 1.5rem;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.site-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.site-footer-logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--wow-gold);
    text-shadow: 0 0 10px rgba(255,215,0,0.4);
    letter-spacing: 2px;
}

.site-footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.site-footer-links a {
    color: var(--color-inactive);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.site-footer-links a:hover {
    color: var(--wow-gold);
}

.site-footer-divider {
    width: 100%;
    max-width: 400px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,215,0,0.2), transparent);
}

.site-footer-copy {
    color: var(--color-inactive);
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.8;
}

/* ============================================
   AUTH FORMS (стеклянные)
   ============================================ */
.auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem 4rem;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: rgba(9, 10, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}

.auth-card-logo {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--wow-gold);
    text-shadow: 0 0 15px rgba(255,215,0,0.5);
}

.auth-card-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.auth-card-subtitle {
    text-align: center;
    color: var(--color-inactive);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.auth-card-footer {
    text-align: center;
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: var(--color-inactive);
    font-size: 0.9rem;
}
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
}

/* ============================================
   07. RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .wow-btn {
        width: 100%;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   08. UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--wow-gold);
}

.text-blue {
    color: var(--color-active);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* ============================================
   09. FORMS & INPUTS (Heaven Style)
   ============================================ */
.wow-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(var(--baseColor-r), var(--baseColor-g), var(--baseColor-b), 0.7);
    border-radius: var(--borderRadius-primary);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-primary);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--borderRadius-primary);
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-active);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(117, 164, 255, 0.1);
}

.form-input::placeholder {
    color: var(--color-inactive);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

.form-help {
    color: var(--color-inactive);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

/* ============================================
   10. CARDS (Heaven Style)
   ============================================ */
.wow-card {
    background: rgba(var(--baseColor-r), var(--baseColor-g), var(--baseColor-b), 0.7);
    border-radius: var(--borderRadius-primary);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    transition: var(--transition-normal);
}

.wow-card:hover {
    border-color: var(--color-active);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.wow-card-header {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--wow-gold);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wow-card-body {
    color: var(--color-base);
}

.wow-card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   11. TABLES (Heaven Style)
   ============================================ */
.wow-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(var(--baseColor-r), var(--baseColor-g), var(--baseColor-b), 0.5);
    border-radius: var(--borderRadius-primary);
    overflow: hidden;
}

.wow-table thead {
    background: rgba(0, 0, 0, 0.3);
}

.wow-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--wow-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.wow-table td {
    padding: 1rem;
    color: var(--color-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wow-table tbody tr {
    transition: var(--transition-fast);
}

.wow-table tbody tr:hover {
    background: rgba(117, 164, 255, 0.1);
}

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

/* ============================================
   12. ALERTS & MESSAGES (Heaven Style)
   ============================================ */
.wow-alert {
    padding: 1rem 1.5rem;
    border-radius: var(--borderRadius-primary);
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    background: rgba(var(--baseColor-r), var(--baseColor-g), var(--baseColor-b), 0.8);
    backdrop-filter: blur(10px);
}

.wow-alert-success {
    border-color: #4CAF50;
    color: #4CAF50;
}

.wow-alert-error {
    border-color: #f44336;
    color: #f44336;
}

.wow-alert-warning {
    border-color: var(--wow-gold);
    color: var(--wow-gold);
}

.wow-alert-info {
    border-color: var(--color-active);
    color: var(--color-active);
}

/* ============================================
   13. PAGE CONTAINER (Content Wrapper)
   ============================================ */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 1rem 2rem;
    min-height: calc(100vh - 200px);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--wow-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: 1rem;
    color: var(--color-inactive);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   14. BADGES & STATUS INDICATORS
   ============================================ */
.wow-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.3);
}

.wow-badge-online {
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.wow-badge-offline {
    color: #f44336;
    border: 1px solid #f44336;
}

.wow-badge-legendary {
    color: var(--legendary);
    border: 1px solid var(--legendary);
}

.wow-badge-epic {
    color: var(--epic);
    border: 1px solid var(--epic);
}

.wow-badge-rare {
    color: var(--rare);
    border: 1px solid var(--rare);
}

/* ============================================
   15. LOADING & SPINNER
   ============================================ */
.wow-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--wow-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    color: var(--color-inactive);
    margin-top: 1rem;
    text-align: center;
}

/* ============================================
   VIDEO BACKGROUND (объявлено в конце для приоритета)
   ============================================ */

.video-background {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important;
    z-index: 0 !important;
    opacity: 0.45 !important;
    pointer-events: none;
}

/* Тёмный overlay поверх видео */
body::after {
    content: '';
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 12, 0.55) !important;
    z-index: 1 !important;
    pointer-events: none;
}

/* Весь контент поверх видео и overlay */
.header,
.main-content,
main,
footer,
.container,
.content,
.alert {
    position: relative !important;
    z-index: 10 !important;
}
