/* Основные контейнеры */
.container {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: var(--container-side-padding);
    min-height: 100vh;
    padding-top: 90px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    background: rgba(20, 25, 40, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    position: relative;
    overflow: visible;
    padding: 40px 20px 10px;
    border: 1px solid rgba(255, 0, 0, 0.1);
    padding-top: 30px;
    box-shadow: var(--shadow-glow);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top, #5c2b84, #1e1a2b 80%);
    z-index: -1;
    margin: -1px;
    border-radius: inherit;
    opacity: 0.6;
    border-bottom: 3px solid rgba(255, 255, 255, 0.05);
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--accent-cyan) 10%,
            var(--accent-pink) 50%,
            var(--accent-cyan) 90%,
            transparent 100%);
    background-size: 100% auto;
    background-position: center;
    animation: shimmerPulse 6s ease-in-out infinite;
    z-index: 2;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}



header h1 {
    font-family: 'Carter One', display;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg,
            #00f2ff 0%,
            #ff1493 25%,
            #8a2be2 50%,
            #00bfff 75%,
            #00f2ff 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
    letter-spacing: 0.05em;
    animation: textGlow 3s ease-in-out infinite alternate;
    position: relative;
    z-index: 5;
    margin: 0;
    line-height: 1.1;

}

header img {
    position: relative;
    z-index: 10;
    max-width: min(280px, 70vw);
    height: auto;
    margin: -100px auto 0;
    display: block;

    /* Улучшенные эффекты свечения */
    filter:
        drop-shadow(0 0 20px rgba(107, 70, 193, 0.5)) drop-shadow(0 0 40px rgba(0, 242, 255, 0.3));

    transition: var(--transition);
    cursor: pointer;
    animation: floatingGlow 4s ease-in-out infinite;
}

.rats-video {
    position: absolute;
    left: 0;
    bottom: 0;
    height: auto;
    width: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.2;
}

/* Social links */
.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.25);
    transition: var(--transition);
    text-decoration: none;
    font-size: 1.1rem;
}

.social-links i {
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 108, 66, 0.5);
    transform: translateY(-3px);
}

/* Основная сетка */
.main-content {
    display: grid;
    grid-template-columns: 1fr 470px;
    gap: 30px;
    align-items: start;
}

/* Левая панель */
.left-panel {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 0, 0, 0.1);
    box-shadow: var(--shadow-glow);
    position: relative;
}

/* Правая панель */
.right-panel {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 0, 0, 0.1);
    box-shadow: var(--shadow-glow);
    grid-column: 2;
}

/* Контейнер правых панелей */
.side-panels {
    display: flex;
    flex-direction: column;
    gap: 30px;
    grid-column: 2;
}

