/**
 * MASTER OF ILLUSION - EPIC HOME PAGE
 * БОЕВОЙ БАННЕР И СТИЛИ ГЛАВНОЙ
 */

:root {
    --gold: #FFD700;
    --gold-light: #FFE135;
    --dark-bg: #0a0a0f;
}

/* ============================================
   ЭПИЧЕСКИЙ БАННЕР
   ============================================ */

.hero-banner {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: 
        linear-gradient(135deg, #000 0%, #1a1a2e 50%, #000 100%),
        url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?w=1600&q=80') center/cover;
    background-blend-mode: overlay;
}

/* Анимированный оверлей */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.7) 100%),
        linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    animation: overlayPulse 8s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.8; }
}

/* Золотые свечения */
.hero-glow-1 {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    filter: blur(120px);
    animation: glow-float 20s ease-in-out infinite;
    z-index: 0;
}

.hero-glow-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(157, 0, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
    filter: blur(100px);
    animation: glow-float 25s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes glow-float {
    0%, 100% { transform: translate(0, 0); opacity: 0.5; }
    50% { transform: translate(50px, 50px); opacity: 1; }
}

/* Содержимое баннера */
.hero-content {
    position: relative;
    z-index: 2;
    animation: heroSlideUp 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Заголовок баннера */
.hero-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--gold);
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 
        0 0 30px rgba(255,215,0,0.9),
        0 0 60px rgba(255,215,0,0.6),
        0 10px 30px rgba(0,0,0,0.9),
        0 2px 5px rgba(0,0,0,0.8);
    animation: titlePulse 3s ease-in-out infinite;
    word-spacing: 100vw;
    line-height: 1.2;
}

@keyframes titlePulse {
    0%, 100% {
        text-shadow: 
            0 0 30px rgba(255,215,0,0.9),
            0 0 60px rgba(255,215,0,0.6),
            0 10px 30px rgba(0,0,0,0.9);
    }
    50% {
        text-shadow: 
            0 0 50px rgba(255,215,0,1),
            0 0 100px rgba(255,215,0,0.8),
            0 15px 40px rgba(0,0,0,0.9);
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #DAA520;
    margin: 15px 0 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(255,215,0,0.5);
    animation: subtitleFadeIn 1.5s ease-out 0.3s both;
}

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

.hero-description {
    font-size: 1.3rem;
    color: #ddd;
    margin: 20px 0 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: subtitleFadeIn 1.5s ease-out 0.5s both;
}

/* Кнопки баннера */
.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    animation: subtitleFadeIn 1.5s ease-out 0.7s both;
}

.hero-button {
    display: inline-block;
    padding: 18px 50px;
    border: 3px solid var(--gold);
    background: linear-gradient(135deg, var(--gold) 0%, #DAA520 100%);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    box-shadow: 
        0 0 30px rgba(255,215,0,0.6),
        0 10px 30px rgba(0,0,0,0.6);
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.hero-button:hover {
    background: linear-gradient(135deg, #FFE135 0%, var(--gold) 100%);
    box-shadow: 
        0 0 50px rgba(255,215,0,0.9),
        0 0 80px rgba(255,215,0,0.5),
        0 15px 40px rgba(0,0,0,0.7);
    transform: translateY(-5px) scale(1.08);
}

.hero-button:hover::before {
    left: 100%;
}

.hero-button.secondary {
    background: transparent;
    color: var(--gold);
}

.hero-button.secondary:hover {
    background: rgba(255,215,0,0.15);
}

/* Падающие частицы света */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    animation: float-particle linear infinite;
    opacity: 0.7;
    box-shadow: 0 0 10px var(--gold);
}

.particle-1 { left: 20%; animation-duration: 15s; animation-delay: 0s; }
.particle-2 { left: 50%; animation-duration: 20s; animation-delay: 5s; }
.particle-3 { left: 80%; animation-duration: 25s; animation-delay: 10s; }

@keyframes float-particle {
    0% { transform: translateY(100vh) translateX(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-100vh) translateX(100px) rotate(360deg); opacity: 0; }
}

/* ============================================
   НОВОСТИ И АЛЬБОМЫ
   ============================================ */

.section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 20px rgba(255,215,0,0.5);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.title-underline {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 20px 0;
}

.section-subtitle {
    text-align: center;
    color: #aaa;
    font-size: 1rem;
    margin: 0;
}

/* Новости */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.news-card {
    background: linear-gradient(135deg, rgba(15,15,25,0.9) 0%, rgba(25,25,40,0.9) 100%);
    border: 2px solid rgba(255,215,0,0.3);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

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

.news-card:hover {
    border-color: var(--gold);
    box-shadow: 0 0 40px rgba(255,215,0,0.3);
    transform: translateY(-15px);
}

.news-card:hover::before {
    left: 100%;
}

.news-date {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.news-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin: 0 0 15px;
    text-shadow: 0 0 10px rgba(255,215,0,0.3);
}

.news-excerpt {
    color: #ccc;
    line-height: 1.6;
    margin: 0 0 15px;
    font-size: 0.95rem;
}

.news-link {
    color: #63b3ed;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.news-link:hover {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

/* ============================================
   CTA СЕКЦИЯ
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(157,0,255,0.05) 100%);
    border: 3px solid var(--gold);
    border-radius: 12px;
    padding: 80px 40px;
    text-align: center;
    margin: 100px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 50px rgba(255,215,0,0.3),
        inset 0 0 50px rgba(255,215,0,0.05);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255,215,0,0.1) 0%, transparent 70%);
    z-index: 0;
    animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin: 0 0 15px;
    text-transform: uppercase;
    border: none;
    padding: 0;
    text-shadow: 0 0 20px rgba(255,215,0,0.6);
}

.cta-section p {
    font-size: 1.2rem;
    color: #ccc;
    margin: 0 0 40px;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--gold) 0%, #DAA520 100%);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--gold);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1rem;
    box-shadow: 0 0 25px rgba(255,215,0,0.5);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transition: left 0.5s;
}

.cta-button:hover {
    background: linear-gradient(135deg, #FFE135 0%, var(--gold) 100%);
    box-shadow: 0 0 50px rgba(255,215,0,0.8);
    transform: translateY(-3px) scale(1.05);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.secondary {
    background: transparent;
    color: var(--gold);
}

.cta-button.secondary:hover {
    background: rgba(255,215,0,0.15);
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    text-align: center;
    color: #888;
    font-size: 1.3rem;
    padding: 60px 20px;
    background: rgba(255,215,0,0.05);
    border: 2px dashed var(--gold);
    border-radius: 8px;
    margin: 40px 0;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 60vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        gap: 15px;
    }
    
    .hero-button {
        padding: 12px 30px;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 50px 20px;
        margin: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        word-spacing: normal;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin: 15px 0 25px;
    }
    
    .hero-buttons {
        gap: 10px;
        flex-direction: column;
    }
    
    .hero-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .news-card {
        padding: 20px;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
    
    .cta-section {
        padding: 30px 15px;
    }
    
    .cta-section h2 {
        font-size: 1.4rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
    }
}