/* ===== INDEX PAGE SPECIFIC STYLES ===== */

.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-top: 0;
}

/* Анимация фона */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(182, 27, 196, 0.8);
    opacity: 0.4;
    animation: float linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    100% { transform: translateY(-100vh) translateX(100px) rotate(360deg); }
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
    transform: translateY(-50px);
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(182, 27, 196, 0.6);
    margin-top: 0;
    background: linear-gradient(to right, #b61bc4, #8a2be2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: subtleGlow 3s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% { 
        text-shadow: 0 0 5px rgba(182, 27, 196, 0.4),
                   0 0 10px rgba(182, 27, 196, 0.3);
    }
    100% { 
        text-shadow: 0 0 8px rgba(182, 27, 196, 0.6),
                   0 0 15px rgba(182, 27, 196, 0.4),
                   0 0 20px rgba(182, 27, 196, 0.2);
    }
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-play {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #8a2be2);
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px rgba(182, 27, 196, 0.6);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    font-family: 'Orbitron', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-play:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(234, 0, 255, 0.8);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(to right, #b61bc4, #d13fe0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(182, 27, 196, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    box-shadow: var(--button-glow);
}

/* ===== STATS SECTION ===== */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.stat-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(182, 27, 196, 0.2);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    text-shadow: var(--button-glow);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Orbitron';
    color: #fff;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(30,30,30,0.4), rgba(15,15,15,0.4));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(30,30,30,0.6);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.feature-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-family: 'Orbitron';
    color: #fff;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* HERO BUTTONS */
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

/* NEWS SECTION IMPROVEMENTS */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: -10px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-item {
    background: rgba(20, 20, 20, 0.6);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(182, 27, 196, 0.15);
}

.news-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-item:hover .news-img-wrap img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.news-item-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.news-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.news-link:hover {
    gap: 15px;
    color: #fff;
}

/* ===== АНИМАЦИИ ===== */
.animated {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.4s ease-in-out;
}
