* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    overflow-x: hidden;
}

/* Исправление для плавного скролла в Safari */
@supports (-webkit-touch-callout: none) {
    html {
        height: 100%;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        height: 100%;
        overflow: auto;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Социальные кнопки справа */
.social-buttons {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1001;
    display: flex;
    gap: 15px;
}

.social-btn {
    display: block;
    width: 50px;
    height: 50px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== ДИНАМИЧЕСКОЕ БУРГЕР-МЕНЮ ========== */
.burger {
    position: fixed;
    top: 30px;
    left: 30px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(37, 20, 64, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.burger:hover {
    background: rgba(138, 110, 255, 0.9);
    transform: scale(1.05);
}

.burger.active {
    background: rgba(138, 110, 255, 0.95);
}

.burger-line {
    width: 24px;
    height: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 2px;
    margin: 3px 0;
}

/* Анимация бургера при активации */
.burger.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Кнопка "Наверх" в меню */
.menu-item-top {
    position: relative;
    background: linear-gradient(135deg, #8a6eff, #6a45ff);
    border-radius: 25px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    display: none !important;
    padding: 15px 20px !important;
}

.menu-item-top.active {
    display: block !important;
    animation: slideInUp 0.3s ease-out;
}

.menu-item-top::before {
    content: "⬆";
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Анимация появления кнопки "Наверх" */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Эффект при скролле - бургер становится меньше */
.burger.scrolled {
    top: 20px;
    width: 40px;
    height: 40px;
    background: rgba(37, 20, 64, 0.8);
}

.burger.scrolled .burger-line {
    width: 20px;
}

/* Боковое меню */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: rgba(45, 27, 105, 0.98);
    backdrop-filter: blur(20px);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    padding: 100px 30px 30px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.side-menu.active {
    left: 0;
}

/* Пункты меню */
.menu-item {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.menu-item:hover {
    color: #8a6eff;
    background: rgba(255, 255, 255, 0.05);
}

/* Герой секция */
.hero {
    min-height: 100vh;
    height: auto;
    background: url("../images/hero-bg.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0 40px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.5) 50%, 
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.college-name {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.slogan {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Карусель в герой секции */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-container.paused::after {
    content: '⏸';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    min-height: 400px;
    height: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    cursor: pointer;
}

.carousel-pause-message {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    z-index: 10;
    display: none;
}

.carousel-container.paused .carousel-pause-message {
    display: block;
}

/* Секция "О нас" */
.about {
    background: #2d1b69;
    color: white;
    padding: 100px 0 0 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.3rem;
    line-height: 1.8;
    text-align: justify;
    font-weight: 400;
    padding-bottom: 100px;
}

/* Секция "Наши работы" */
.works-section {
    position: relative;
    padding: 0;
}

.works-bg {
    background-color: #E3E3FF;
    padding: 60px 0 80px 0;
}

.works-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    color: #2d1b69;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Карусель в виде пленки */
.film-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    z-index: 2;
}

.film-track {
    display: flex;
    gap: 10px;
    width: max-content;
    transition: transform 0.1s linear;
}

.film-frame {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.film-frame:hover {
    transform: scale(1.05);
    z-index: 2;
}

.film-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Эффект пленки - исправленный */
.film-carousel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(227, 227, 255, 0.8) 0%,
        transparent 10%,
        transparent 90%,
        rgba(227, 227, 255, 0.8) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Мы в соц сетях */
.social-news {
    position: relative;
    padding: 0;
}

.social-news-bg {
    background-color: #251440;
    padding: 80px 0;
}

.social-news-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.telegram-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.telegram-post {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.telegram-post:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.post-preview {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-media {
    position: relative;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.telegram-post:hover .post-media img {
    transform: scale(1.05);
}

.media-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.album-count {
    background: #8a6eff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.text-only {
    background: linear-gradient(135deg, #8a6eff, #6a45ff);
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-preview {
    color: white;
    text-align: center;
}

.text-preview i {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.telegram-post:hover .play-button {
    background: white;
}

.post-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.post-date, .post-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-text-preview {
    color: white;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
    font-size: 1rem;
}

.read-more-btn {
    background: linear-gradient(135deg, #8a6eff, #6a45ff);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    transition: transform 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
}

.telegram-post:hover .read-more-btn {
    transform: scale(1.05);
}

.no-posts-message {
    grid-column: 1 / -1;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.load-more-container {
    text-align: center;
    margin-top: 30px;
}

.load-more-btn {
    background: linear-gradient(135deg, #8a6eff, #6a45ff);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s ease;
    font-family: inherit;
}

.load-more-btn:hover {
    transform: scale(1.05);
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ========== МОДАЛЬНЫЕ ОКНА ========== */

/* Модальное окно для новостей */
.news-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10002;
    justify-content: center;
    align-items: center;
}

.news-modal.active {
    display: flex;
}

.news-modal .modal-content {
    max-width: 800px;
    background: #1a0b2e;
    color: white;
    border-radius: 15px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.news-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.channel-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.post-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.news-views {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.news-modal-body {
    padding: 30px;
}

.news-media-slider {
    display: block !important;
    position: relative;
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
    min-height: 400px;
}

.slider-item {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

.slider-item img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    background: #000;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.slider-item img:hover {
    transform: scale(1.02);
}

.slider-item iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 5px;
}

/* Кнопки навигации слайдера */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.9);
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

/* Индикаторы слайдера */
.slider-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
    padding: 0;
}

.slider-indicator.active {
    background: white;
    transform: scale(1.2);
}

.news-text-content {
    line-height: 1.6;
    font-size: 1.1rem;
}

.news-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.original-post-link {
    color: #8a6eff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.original-post-link:hover {
    color: #6a45ff;
    text-decoration: underline;
}

/* ========== ПОЛНОЭКРАННОЕ ИЗОБРАЖЕНИЕ ========== */
.fullscreen-image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10005;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-image-modal.active {
    display: flex;
    opacity: 1;
}

.fullscreen-image-container {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.close-fullscreen-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    z-index: 10006;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* ========== ИСПРАВЛЕННЫЙ КРЕСТИК ДЛЯ IOS ========== */
.close-btn,
.close-iframe-btn,
.close-fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10003;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    font-family: inherit;
    line-height: 1;
    padding: 0;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

/* Специальные исправления для iOS */
@supports (-webkit-touch-callout: none) {
    .close-btn,
    .close-iframe-btn,
    .close-fullscreen-btn {
        font-size: 28px;
        font-weight: 300;
        padding-top: 2px;
    }
}

.close-btn:hover,
.close-iframe-btn:hover,
.close-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Альтернативный вариант крестика через псевдоэлементы */
.close-btn.alternative,
.close-iframe-btn.alternative,
.close-fullscreen-btn.alternative {
    font-size: 0;
    background: rgba(0, 0, 0, 0.7);
}

.close-btn.alternative::before,
.close-btn.alternative::after,
.close-iframe-btn.alternative::before,
.close-iframe-btn.alternative::after,
.close-fullscreen-btn.alternative::before,
.close-fullscreen-btn.alternative::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: white;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.close-btn.alternative::before,
.close-iframe-btn.alternative::before,
.close-fullscreen-btn.alternative::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-btn.alternative::after,
.close-iframe-btn.alternative::after,
.close-fullscreen-btn.alternative::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ========== НЕЗАМЕТНЫЙ ТЕЛЕГРАМ НИК ========== */
.telegram-credit {
    position: fixed;
    bottom: 10px;
    right: 10px;
    opacity: 0.05;
    transition: opacity 0.3s ease;
    z-index: 9999;
    pointer-events: none;
    font-size: 10px;
    color: #333;
    font-family: 'Courier New', monospace;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

.telegram-credit:hover {
    opacity: 0.3;
    pointer-events: auto;
}

.telegram-credit a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* На темных фонах */
.footer .telegram-credit,
.social-news-bg .telegram-credit,
.feedback-section .telegram-credit {
    color: rgba(255,255,255,0.05);
}

/* Твои идеи должны быть услышаны! */
.cta-section {
    background-color: #E3E3FF;
    width: 100%;
    min-height: 348px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    box-sizing: border-box;
    margin: 0 auto;
}

.cta-center {
    max-width: 800px;
    width: 100%;
}

.cta-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 48px;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    color: #251440;
    text-align: center;
    letter-spacing: 0%;
}

.cta-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: #251440;
}

.cta-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.4;
    color: #251440;
    margin: 0;
}

/* Секция формы обратной связи */
.feedback-section {
    background-color: #251440;
    min-height: 900px;
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.feedback-container {
    max-width: 1440px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 120px;
    position: relative;
    z-index: 2;
}

.feedback-text {
    flex: 1;
    color: white;
    max-width: 600px;
}

.feedback-main-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 36px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0%;
    margin-bottom: 40px;
    color: white;
}

.feedback-main-text span {
    color: #F2B2FF;
}

.feedback-cta-block {
    margin-top: 80px;
}

.feedback-cta-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 36px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0%;
    color: white;
    margin-bottom: 20px;
}

.feedback-cta-text span {
    color: #F2B2FF;
}

.feedback-form-wrapper {
    position: relative;
    width: 540px;
    height: 790px;
    flex-shrink: 0;
}

.form-stripes {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 100px;
    z-index: 1;
}

.stripe {
    width: 120px;
    height: 22px;
    background: #E3E3FF;
    border-radius: 60px;
}

.stripe:nth-child(1) { 
    background: #E3E3FF; 
    transform: scaleX(1.1);
}
.stripe:nth-child(2) { 
    background: #E3E3FF; 
    transform: scaleX(1.1);
}
.stripe:nth-child(3) { 
    background: #E3E3FF; 
    transform: scaleX(1.1);
}
.stripe:nth-child(4) { 
    background: #E3E3FF; 
    transform: scaleX(1.1);
}
.stripe:nth-child(5) { 
    background: #E3E3FF; 
    transform: scaleX(1.1);
}
.stripe:nth-child(6) { 
    background: #E3E3FF; 
    transform: scaleX(1.1);
}

.feedback-form {
    background: #E3E3FF;
    border-radius: 50px;
    padding: 40px 50px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 40px;
    color: #251440;
    text-transform: lowercase;
    margin: 30px 0 15px 0;
    text-align: center;
}

.form-note {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 35px;
    position: relative;
}

.input-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #000000;
    display: block;
    margin-bottom: 8px;
    padding-left: 5px;
}

.feedback-form input {
    width: 100%;
    height: 60px;
    background: #C6C5FF;
    border: none;
    border-radius: 30px;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #000000;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.feedback-form input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.feedback-form input:focus {
    outline: none;
    background: #B8B7FF;
    box-shadow: 0 0 0 2px rgba(37, 20, 64, 0.3);
}

.feedback-form textarea {
    width: 100%;
    min-height: 120px;
    background: #C6C5FF;
    border: none;
    border-radius: 30px;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #000000;
    transition: all 0.3s ease;
    box-sizing: border-box;
    resize: vertical;
}

.feedback-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.feedback-form textarea:focus {
    outline: none;
    background: #B8B7FF;
    box-shadow: 0 0 0 2px rgba(37, 20, 64, 0.3);
}

.submit-btn {
    background: #251440;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 20px;
    height: 60px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    width: 100%;
}

.submit-btn:hover {
    background: #3a1d66;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 20, 64, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

/* Футер */
.footer {
    background-color: white;
    width: 100%;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #000;
    margin: 0 0 10px 0;
    text-align: left;
}

.footer-year {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #000;
    margin: 0;
    text-align: left;
}

/* Видеоплееры */
.custom-video-player,
.iframe-video-player {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    justify-content: center;
    align-items: center;
}

.custom-video-player.active,
.iframe-video-player.active {
    display: flex;
}

.video-player-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-element {
    width: 100%;
    height: auto;
    max-height: 70vh;
    background: #000;
}

.iframe-player-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 70%;
}

.iframe-player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Стили для баджей */
.mixed-badge {
    background: rgba(255, 165, 0, 0.8) !important;
}

.mixed-badge .album-count {
    background: #ff8c00;
}

.post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-media img[src=""],
.post-media img:not([src]) {
    display: none;
}

.video-preview .play-button {
    display: none !important;
}

/* ========== АДАПТИВНОСТЬ ========== */

/* Для очень узких экранов (iPhone SE 2020) */
@media (max-width: 375px) {
    body {
        font-size: 14px;
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 30px;
        min-height: 100vh;
        height: auto;
    }
    
    .social-buttons {
        top: 15px;
        right: 10px;
        gap: 8px;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
    }
    
    .burger {
        top: 15px;
        left: 10px;
        width: 40px;
        height: 40px;
    }
    
    .burger-line {
        width: 20px;
        height: 2.5px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-text {
        padding: 0 10px;
    }
    
    .main-title {
        font-size: 1.8rem !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .college-name {
        font-size: 1rem !important;
        margin-bottom: 15px;
    }
    
    .slogan {
        font-size: 1.1rem !important;
        line-height: 1.3;
    }
    
    .hero-carousel {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .carousel-slide {
        height: 200px;
        min-height: 200px;
    }
    
    .carousel-slide img {
        min-height: 200px;
    }
    
    .carousel-pause-message {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    /* О нас */
    .about {
        padding: 50px 0 0 0;
    }
    
    .about-text {
        font-size: 1rem !important;
        line-height: 1.5;
        padding-bottom: 50px;
        text-align: left;
    }
    
    /* Наши работы */
    .works-title {
        font-size: 1.8rem !important;
        margin-bottom: 30px;
    }
    
    .film-frame {
        width: 250px;
        height: 160px;
    }
    
    /* Новости */
    .social-news-title {
        font-size: 1.8rem !important;
        margin-bottom: 30px;
    }
    
    .telegram-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-text-preview {
        font-size: 0.9rem;
    }
    
    /* CTA */
    .cta-section {
        padding: 30px 15px;
        min-height: 250px;
    }
    
    .cta-title {
        font-size: 1.8rem !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .cta-subtitle {
        font-size: 1.2rem !important;
        margin-bottom: 10px;
    }
    
    .cta-text {
        font-size: 1rem !important;
    }
    
    /* Форма */
    .feedback-section {
        padding: 40px 15px !important;
        min-height: auto;
    }
    
    .feedback-container {
        flex-direction: column !important;
        gap: 40px !important;
    }
    
    .feedback-text {
        max-width: 100% !important;
        text-align: center;
    }
    
    .feedback-main-text {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
        margin-bottom: 20px;
    }
    
    .feedback-cta-block {
        margin-top: 30px;
    }
    
    .feedback-cta-text {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
    }
    
    .feedback-form-wrapper {
        width: 100% !important;
        height: auto !important;
    }
    
    .form-stripes {
        display: none !important;
    }
    
    .feedback-form {
        padding: 25px 20px !important;
        border-radius: 30px !important;
        height: auto !important;
        min-height: 500px !important;
    }
    
    .form-title {
        font-size: 1.5rem !important;
        margin: 10px 0 !important;
    }
    
    .form-note {
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
    }
    
    .form-group {
        margin-bottom: 20px !important;
    }
    
    .input-label {
        font-size: 0.9rem !important;
    }
    
    .feedback-form input {
        height: 48px !important;
        font-size: 16px !important;
    }
    
    .feedback-form textarea {
        min-height: 100px !important;
        padding: 15px !important;
        font-size: 16px !important;
    }
    
    .submit-btn {
        height: 50px !important;
        font-size: 0.9rem !important;
    }
    
    .btn-icon {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Полноэкранное изображение */
    .fullscreen-image-container {
        width: 100%;
        height: 80%;
        padding: 10px;
    }
    
    .close-fullscreen-btn {
        top: 5px;
        right: 5px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    /* Скрыть Telegram ник на очень маленьких экранах */
    .telegram-credit {
        display: none;
    }
}

/* Для средних мобильных (Samsung S24 и подобные) */
@media (max-width: 430px) {
    .hero {
        padding-top: 100px;
    }
    
    .social-buttons {
        top: 20px;
        right: 15px;
    }
    
    .burger {
        top: 20px;
        left: 15px;
    }
    
    .main-title {
        font-size: 2rem !important;
    }
    
    .college-name {
        font-size: 1.1rem !important;
    }
    
    .slogan {
        font-size: 1.2rem !important;
    }
    
    .carousel-slide {
        height: 250px;
        min-height: 250px;
    }
    
    .carousel-slide img {
        min-height: 250px;
    }
    
    .works-title,
    .social-news-title {
        font-size: 2rem !important;
    }
    
    .cta-title {
        font-size: 2rem !important;
    }
    
    .cta-subtitle {
        font-size: 1.5rem !important;
    }
    
    .cta-text {
        font-size: 1.2rem !important;
    }
}

/* Для планшетов */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .main-title {
        font-size: 2.5rem !important;
    }
    
    .slogan {
        font-size: 1.5rem !important;
    }
    
    .hero-carousel {
        margin: 0 auto;
    }
    
    .carousel-slide {
        height: 300px;
        min-height: 300px;
    }
    
    .works-title,
    .social-news-title {
        font-size: 2.5rem !important;
    }
    
    .telegram-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .cta-title {
        font-size: 2.5rem !important;
        white-space: normal;
    }
    
    .cta-subtitle {
        font-size: 1.8rem !important;
    }
    
    .cta-text {
        font-size: 1.4rem !important;
    }
    
    .feedback-container {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }
    
    .feedback-main-text,
    .feedback-cta-text {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .feedback-form-wrapper {
        width: 100%;
        max-width: 500px;
        height: auto;
    }
    
    .feedback-form {
        height: auto;
        min-height: 600px;
    }
    
    /* Полноэкранное изображение */
    .fullscreen-image-container {
        width: 95%;
        height: 85%;
    }
    
    .close-fullscreen-btn {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

/* Для больших телефонов в альбомной ориентации */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 40px;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .main-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .slogan {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .hero-carousel {
        max-height: 40vh;
    }
    
    .carousel-slide {
        height: 250px;
    }
}

/* Исправление для iOS input zoom */
@media screen and (max-width: 768px) {
    .feedback-form input,
    .feedback-form textarea {
        font-size: 16px !important;
    }
}

/* Улучшение производительности на мобильных */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        tap-highlight-color: rgba(0, 0, 0, 0);
    }
    
    .menu-item {
        padding: 18px 0;
        font-size: 1.1rem;
    }
    
    /* Индикатор для плавного скролла */
    .menu-item:active {
        background: rgba(138, 110, 255, 0.2);
        transition: background 0.1s ease;
    }
}

/* Для сверхшироких экранов (4K) */
@media (min-width: 2000px) {
    .container {
        max-width: 1600px;
    }
    
    .feedback-container {
        max-width: 1600px;
    }
    
    .feedback-form-wrapper {
        width: 600px;
    }
}