/* main settings (behaviour) */
:root {
    --primary-color: #b266ff;
    --primary-gradient: linear-gradient(135deg, #c471ed 0%, #f64f59 100%);
    --primary-gradient-hover: linear-gradient(135deg, #d58bfd 0%, #ff6b75 100%);
    --bg-dark: #050507;
    --bg-card: rgba(20, 20, 25, 0.6);
    --bg-card-hover: rgba(30, 30, 40, 0.75);
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-highlight: 1px solid rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --neon-glow: 0 0 20px rgba(178, 102, 255, 0.4);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.animated-gradient-background {
    background:
        radial-gradient(circle at 15% 50%, rgba(76, 29, 149, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 75, 75, 0.1), transparent 25%),
        #050507;
    background-attachment: fixed;
    animation: bg-pulse 10s ease-in-out infinite alternate;
}

@keyframes bg-pulse {
    0% {
        background-size: 100% 100%;
    }

    100% {
        background-size: 110% 110%;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
}

p {
    line-height: 1.7;
    font-weight: 400;
}

/* navigation */
.transparent-nav {
    background-color: rgba(5, 5, 7, 0.7) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 1rem 0;
    transition: all 0.4s ease;
}

.transparent-nav.scrolled {
    background-color: rgba(5, 5, 7, 0.95) !important;
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-link:hover,
.nav-link:focus {
    color: #fff !important;
}

.dropdown-menu-dark {
    background-color: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.dropdown-item:hover {
    background: var(--primary-gradient);
    color: #fff;
}

/* main styles */
.hero-fullscreen {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    opacity: 0.4;
    /* Slightly darker for better text contrast */
    filter: saturate(1.2) contrast(1.1);
}

.hero-fullscreen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 7, 0.4), var(--bg-dark));
    z-index: 2;
}

/* main screen styles (index.html) */
.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 5.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff 20%, #b266ff 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.04em;
    animation: fade-up 1s ease-out;
}

.hero-content p {
    font-size: 1.4rem;
    color: #d0d0d0;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fade-up 1s ease-out 0.2s backwards;
}

.btn-hero {
    background: var(--primary-gradient);
    border: none;
    color: #fff;
    padding: 1.1rem 3.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(196, 113, 237, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: fade-up 1s ease-out 0.4s backwards;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient-hover);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-hero:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(196, 113, 237, 0.5);
    color: #fff;
}

.btn-hero:hover::before {
    opacity: 1;
}

/* extra styles for contact.html */
.page-contact .hero-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
}

.page-contact .hero-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem 5rem;
    border-radius: 24px;
    border: var(--glass-border);
    max-width: 900px;
    width: 90%;
    box-shadow: var(--glass-shadow);
}

.page-contact .hero-wrapper .btn-hero {
    margin-top: 2.5rem;
}

/* live section (index.html) */
.streams-section {
    padding: 140px 0;
    position: relative;
}

.container-large {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
    box-shadow: var(--neon-glow);
}

.stream-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    padding: 1.2rem;
    border-radius: 24px;
    border: var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stream-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.stream-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--bg-card-hover);
}

.stream-card:hover::before {
    opacity: 1;
}

.stream-wrapper {
    position: relative;
    padding-top: 1%;
    height: 100;
    margin-bottom: 1.2rem;
    color: #fff;
    padding-left: 0.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.stream-channel::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ff4b4b;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px #ff4b4b;
}

/* dlya contact.html */

.contact-info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
}

.contact-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: 24px;
    border: var(--glass-border);
    height: 100%;
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.8rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    color: var(--text-main);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-link:hover {
    background: rgba(196, 113, 237, 0.15);
    color: #fff;
    border-color: rgba(196, 113, 237, 0.3);
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-link i {
    margin-right: 1.2rem;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.highlight-card {
    border: 1px solid rgba(196, 113, 237, 0.3);
    box-shadow: 0 0 40px rgba(196, 113, 237, 0.1);
}

.highlight-card h3 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.small-text {
    font-size: 0.95rem;
    color: #888 !important;
}

/* footer */
.page-footer {
    text-align: center;
    padding: 4rem 0;
    background-color: #020203;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    color: #555;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.team-page-section {
    padding: 160px 0;
}

.page-title {
    text-align: center;
    margin-bottom: 5rem;
}

.page-title h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #b266ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-title p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* filters */

.filter-bar {
    text-align: center;
    margin-bottom: 6rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 0.8rem 2rem;
    margin: 0 0.6rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.filter-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(196, 113, 237, 0.3);
}

/* team member card */
.team-member-col {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
}

.team-member-col.hidden {
    transform: scale(0.8);
    opacity: 0;
    display: none;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    padding: 3rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    text-decoration: none;
    height: 100%;
    border: var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(196, 113, 237, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--bg-card-hover);
}

.team-card:hover::after {
    opacity: 1;
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.8rem;
    border: 3px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s ease;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.team-card:hover img {
    border-color: #c471ed;
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 0 30px rgba(196, 113, 237, 0.4);
}

.team-card h4 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.6rem;
    transition: color 0.3s;
    z-index: 1;
}

.team-card:hover h4 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-card .role {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    z-index: 1;
}

/* --- ЗАЛ СЛАВЫ --- */
.honorable-mention {
    margin-top: 10rem;
}

.team-card.honorable {
    background-color: rgba(20, 20, 25, 0.3);
    border-color: rgba(255, 255, 255, 0.03);
}

.team-card.honorable h4 {
    color: #777;
}

.team-card.honorable:hover h4 {
    color: #aaa;
    -webkit-text-fill-color: #aaa;
}

/* Animations */
@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* dlya mobilok */

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 4rem;
    }

    .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.4rem;
        margin-bottom: 3rem;
    }

    .team-page-section,
    .streams-section,
    .contact-info-section {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .page-contact .hero-content {
        padding: 2.5rem;
        width: 95%;
    }

    .filter-btn {
        margin: 0.3rem 0.2rem;
        padding: 0.6rem 1.4rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .container-large {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn-hero {
        padding: 1rem 2.8rem;
        font-size: 1rem;
    }

    .stream-card {
        padding: 1rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .filter-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        margin-bottom: 0.5rem;
        width: 90%;
    }
}
