* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Видео фон */
.video-background {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 70%;
    min-height: 70%;
    width: auto;
    height: auto;
    z-index: -2;
}

#bgVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 0 80px rgba(138, 43, 226, 0.3);
}

/* Темный оверлей для лучшей читаемости */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Заголовок */
.hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 10px 30px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(75, 0, 130, 0.15));
    border-radius: 25px;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(138, 43, 226, 0.4);
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.25);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 5em;
    font-weight: 900;
    background: linear-gradient(135deg, #c471ed, #ff6b6b, #ffd93d, #6bcfff, #c471ed);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    letter-spacing: 5px;
    text-shadow: 0 0 30px rgba(155, 89, 182, 0.5);
    animation: gradientShift 6s ease infinite, glow 2s ease-in-out infinite alternate, fadeInScale 1.5s ease-out;
    position: relative;
}

/* Анимация плавного появления с масштабированием */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* Анимация перетекающего градиента */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Базовое свечение */
@keyframes glow {
    from {
        filter: drop-shadow(0 0 15px rgba(155, 89, 182, 0.6));
    }
    to {
        filter: drop-shadow(0 0 25px rgba(155, 89, 182, 0.9));
    }
}

.tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8em;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 2px;
    font-style: italic;
}

/* Приглашение */
.invitation {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 40px;
    color: #f39c12;
    text-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
    letter-spacing: 2px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    padding: 10px 25px;
    border-radius: 20px;
    backdrop-filter: blur(3px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.free-card {
    border-color: rgba(46, 204, 113, 0.4);
}

.free-card:hover {
    border-color: rgba(46, 204, 113, 0.7);
    box-shadow: 0 12px 40px rgba(46, 204, 113, 0.3);
}

.contact-card {
    border-color: rgba(52, 152, 219, 0.4);
}

.contact-card:hover {
    border-color: rgba(52, 152, 219, 0.7);
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.3);
}

.telegram-card {
    border-color: rgba(41, 171, 226, 0.4);
}

.telegram-card:hover {
    border-color: rgba(41, 171, 226, 0.7);
    box-shadow: 0 12px 40px rgba(41, 171, 226, 0.3);
}

.address-card {
    border-color: rgba(231, 76, 60, 0.4);
}

.address-card:hover {
    border-color: rgba(231, 76, 60, 0.7);
    box-shadow: 0 12px 40px rgba(231, 76, 60, 0.3);
}

.card-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.free-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 1px;
}

.free-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    font-weight: 700;
    color: #2ecc71;
    text-shadow: 0 0 15px rgba(46, 204, 113, 0.5);
    margin: 0;
}

.contact-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.phone-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: 600;
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 1px;
}

.phone-number:hover {
    color: #5dade2;
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(52, 152, 219, 0.6);
}

.telegram-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telegram-icon svg {
    width: 100%;
    height: 100%;
    fill: #29abe2;
    filter: drop-shadow(0 0 10px rgba(41, 171, 226, 0.5));
    transition: all 0.3s ease;
}

.telegram-card:hover .telegram-icon svg {
    fill: #5dc1ed;
    filter: drop-shadow(0 0 20px rgba(41, 171, 226, 0.8));
    transform: scale(1.1);
}

.telegram-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: 600;
    color: #29abe2;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 1px;
}

.telegram-link:hover {
    color: #5dc1ed;
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(41, 171, 226, 0.6);
}

.address {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5em;
    color: #ecf0f1;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Описание */
.description {
    text-align: center;
    margin-bottom: 60px;
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 35px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.description-content::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 6em;
    position: absolute;
    top: -20px;
    left: 20px;
    color: rgba(155, 89, 182, 0.3);
    line-height: 1;
}

.description-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65em;
    line-height: 1.9;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Расписание */
.schedule {
    margin-bottom: 60px;
}

.day-block {
    margin-bottom: 50px;
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.3), rgba(44, 62, 80, 0.3));
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 8px 32px rgba(52, 152, 219, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.day-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.25);
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(52, 152, 219, 0.5);
    flex-wrap: wrap;
}

.day-header h3 {
    font-size: 2em;
    color: #3498db;
    text-shadow: 0 0 15px rgba(52, 152, 219, 0.4);
}

.date {
    font-size: 1.8em;
    color: #e74c3c;
    font-weight: bold;
    background: rgba(231, 76, 60, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px solid rgba(231, 76, 60, 0.4);
}

/* Сессии */
.sessions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.session {
    display: flex;
    gap: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid #9b59b6;
    transition: all 0.3s ease;
}

.session:hover {
    background: rgba(155, 89, 182, 0.15);
    transform: translateX(10px);
    border-left-color: #e74c3c;
    box-shadow: 0 4px 20px rgba(155, 89, 182, 0.3);
}

.time {
    font-size: 1.5em;
    font-weight: bold;
    color: #f39c12;
    min-width: 70px;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.4);
}

.session-content h4 {
    font-size: 1.4em;
    color: #ecf0f1;
    margin-bottom: 10px;
    font-weight: 600;
}

.session-content p {
    color: #bdc3c7;
    line-height: 1.7;
    font-size: 1.05em;
}

/* Футер */
footer {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
}

/* Адаптивность */
@media (max-width: 768px) {
    .logo {
        font-size: 2.8em;
        letter-spacing: 3px;
    }

    .tagline {
        font-size: 1.3em;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-card {
        padding: 20px 18px;
        border-radius: 15px;
    }

    .card-icon {
        font-size: 2em;
        margin-bottom: 8px;
    }

    .free-text {
        font-size: 0.9em;
        margin-bottom: 5px;
    }

    .free-value {
        font-size: 1.5em;
    }

    .contact-label {
        font-size: 0.8em;
        margin-bottom: 8px;
    }

    .phone-number {
        font-size: 1.3em;
    }

    .telegram-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
    }

    .telegram-link {
        font-size: 1.3em;
    }

    .address {
        font-size: 1.2em;
    }

    .description-text {
        font-size: 1.4em;
    }

    .description-content::before {
        font-size: 4em;
        top: -10px;
        left: 10px;
    }

    .day-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .day-header h3 {
        font-size: 1.5em;
    }

    .date {
        font-size: 1.3em;
    }

    .session {
        flex-direction: column;
        gap: 10px;
    }

    .time {
        font-size: 1.3em;
    }

    .session-content h4 {
        font-size: 1.2em;
    }

    .video-background {
        min-width: 100%;
        min-height: 100%;
    }

    #bgVideo {
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 10px;
    }

    .logo {
        font-size: 2em;
        letter-spacing: 2px;
    }

    .hero {
        padding: 20px 15px;
    }

    .tagline {
        font-size: 1.1em;
    }

    .section-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .info-card {
        padding: 18px 15px;
    }

    .card-icon {
        font-size: 1.8em;
        margin-bottom: 6px;
    }

    .free-text {
        font-size: 0.85em;
    }

    .free-value {
        font-size: 1.3em;
    }

    .contact-label {
        font-size: 0.75em;
    }

    .phone-number {
        font-size: 1.2em;
    }

    .telegram-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 6px;
    }

    .telegram-link {
        font-size: 1.2em;
    }

    .address {
        font-size: 1.1em;
    }

    .description-content {
        padding: 25px 20px;
    }

    .description-text {
        font-size: 1.25em;
    }

    .description-content::before {
        font-size: 3em;
        top: -5px;
        left: 5px;
    }
}
