:root {
    --bg-color: #050505;
    --accent: #9d4edd; /* Твоето лилаво */
    --accent-secondary: #00f2ff; /* Циан - за контраст при Glitch ефекта */
    --accent-glow: rgba(157, 78, 221, 0.5);
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --twitch: #9146ff;
    --dark-panel: rgba(20, 20, 30, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    font-size: 18px;
}

.background-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(157, 78, 221, 0.08), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 200, 255, 0.05), transparent 40%);
    z-index: -1;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Навигация --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.85);
}

.logo-link { text-decoration: none; color: inherit; }

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.accent { color: var(--accent); text-shadow: 0 0 15px var(--accent-glow); }

.social-links { display: flex; gap: 20px; }
.social-icon {
    color: var(--text-white);
    font-size: 1.4rem;
    transition: 0.3s;
}
.social-icon:hover { color: var(--accent); transform: scale(1.2); }

/* --- Hero Секция --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text { flex: 1; padding-right: 50px; }

.subtitle {
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* GLITCH EFFECT STYLES */
.glitch-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    color: var(--text-white);
}

.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.8;
}

.glitch-title::before {
    color: var(--accent-secondary);
    z-index: -1;
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.glitch-title::after {
    color: var(--accent);
    z-index: -2;
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); transform: translate(-2px, 0); }
    20% { clip-path: inset(60% 0 10% 0); transform: translate(2px, 0); }
    40% { clip-path: inset(40% 0 50% 0); transform: translate(-2px, 0); }
    60% { clip-path: inset(80% 0 5% 0); transform: translate(2px, 0); }
    80% { clip-path: inset(10% 0 70% 0); transform: translate(-2px, 0); }
    100% { clip-path: inset(30% 0 20% 0); transform: translate(2px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: inset(10% 0 60% 0); transform: translate(2px, 0); }
    20% { clip-path: inset(30% 0 20% 0); transform: translate(-2px, 0); }
    40% { clip-path: inset(70% 0 10% 0); transform: translate(2px, 0); }
    60% { clip-path: inset(20% 0 50% 0); transform: translate(-2px, 0); }
    80% { clip-path: inset(50% 0 30% 0); transform: translate(2px, 0); }
    100% { clip-path: inset(0% 0 80% 0); transform: translate(-2px, 0); }
}

.description {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.6;
}

/* Бутони */
.cta-buttons { display: flex; gap: 20px; }

.btn {
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.btn-twitch {
    background: var(--twitch);
    color: white;
    box-shadow: 0 0 20px rgba(145, 70, 255, 0.3);
    border: 1px solid transparent;
}
.btn-twitch:hover { 
    background: transparent; 
    border-color: var(--twitch); 
    box-shadow: 0 0 30px rgba(145, 70, 255, 0.6);
}

.btn-setup {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    background: transparent;
}
.btn-setup:hover { 
    border-color: var(--accent); 
    color: var(--accent); 
    box-shadow: 0 0 15px var(--accent-glow);
}

/* --- Аватар --- */
.hero-image {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    transition: 0.5s;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.hero-image:hover img { 
    transform: scale(1.03); 
    border-color: var(--accent);
}

.img-glow {
    position: absolute;
    width: 100%; height: 100%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0.3;
    z-index: 1;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

/* --- TWITCH EMBED SECTION --- */
.stream-section { 
    padding: 60px 0; 
    background: rgba(0,0,0,0.3); 
}

#twitch-embed {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
    border-radius: 4px;
    overflow: hidden;
}

/* --- ГРАФИК (SCHEDULE) --- */
.schedule-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, transparent, rgba(157, 78, 221, 0.05), transparent);
}

.section-title { 
    text-align: center; 
    font-family: var(--font-heading); 
    font-size: 2.5rem; 
    margin-bottom: 10px;
}
.section-desc { 
    text-align: center; 
    color: var(--text-gray); 
    margin-bottom: 50px; 
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}

.day-card {
    background: var(--dark-panel);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    text-align: center;
}

.day-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.day-content {
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.day-content .time {
    color: var(--text-white);
    font-weight: bold;
    font-size: 1.2rem;
}

.day-content .game {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
}

.day-content .off {
    color: #444;
    font-weight: bold;
}

/* Активни дни (Стрийм дни) */
.active-day {
    border-color: rgba(157, 78, 221, 0.4);
    background: rgba(20, 20, 30, 0.9);
}
.active-day .day-header {
    background: rgba(157, 78, 221, 0.2);
    color: white;
}
.active-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.2);
    border-color: var(--accent);
}

/* Highlight (Специален ден, напр. Петък) */
.highlight-day {
    border: 1px solid var(--accent);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.2);
}

/* --- Секция Спецификации --- */
.setup-section { padding: 80px 0; }

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.spec-card {
    background: var(--dark-panel);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center; 
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
}

.spec-card:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 30px rgba(157, 78, 221, 0.15);
    transform: translateY(-5px);
}

.spec-card .icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    background: rgba(157, 78, 221, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-card h3 { 
    font-size: 1.2rem; 
    margin-bottom: 5px; 
    color: white; 
    font-family: var(--font-heading);
}
.spec-card p { color: var(--text-gray); font-size: 0.9rem; }


/* --- SUPPORT SECTION --- */
.support-section { padding: 80px 0; text-align: center; background: rgba(0,0,0,0.2); }

.support-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.support-card {
    background: var(--dark-panel);
    padding: 40px;
    border-radius: 12px;
    width: 300px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-card:hover {
    background: #1f1f2e;
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-glow);
}

.support-card .icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 15px;
}
.support-card h3 { color: white; margin-bottom: 10px; font-family: var(--font-heading); }
.support-card p { color: var(--text-gray); font-size: 0.9rem; }


/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 0.8rem;
    background: #020202;
}

/* --- MOBILE & RESPONSIVE --- */
.menu-toggle { display: none; } /* Скрито на PC */

@media (max-width: 960px) {
    .hero-layout { flex-direction: column-reverse; text-align: center; gap: 40px; }
    .hero-text { padding-right: 0; }
    .hero-image { width: 300px; height: 300px; margin: 0 auto; }
    .glitch-title { font-size: 3rem; }
    .cta-buttons { justify-content: center; }
}

@media (max-width: 768px) {
    /* Меню Бутон (Хамбургер) */
    .menu-toggle {
        display: block;
        cursor: pointer;
    }
    
    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: 0.3s;
        background-color: white;
    }

    /* Анимация на хикса */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Падащо меню за телефон */
    .social-links {
        display: none; /* Скрито по подразбиране */
        flex-direction: column;
        position: absolute;
        top: 70px; right: 0;
        background: rgba(10, 10, 15, 0.98);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        border-bottom: 1px solid var(--accent);
        backdrop-filter: blur(15px);
    }

    .social-links.active { display: flex; } /* Показва се с JS */
    .social-icon { font-size: 2rem; padding: 15px; }
    
    .hero-section { padding-top: 100px; }
    .schedule-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-image { width: 250px; height: 250px; }
    .glitch-title { font-size: 2.5rem; }
}