:root {
    --dark-bg: #1c1c1c;
    --burberry-beige: #E4CAAD;
    --burberry-red: #c9211e;
    --burberry-dark: #4a2c1f;
    --surface: #2a2a2a;
}

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

/* Добавляем стили для фона */
body {
    font-family: 'Yanone Kaffeesatz', Arial, sans-serif;
    background-color: #121212;
    background-image: linear-gradient(45deg, #1a1a1a, #2d2d2d);
    background-attachment: fixed;
    background-size: cover;
    color: white;
    overflow: hidden;
    overflow-y: auto;
}

p {
    color: #c8c8c8;
    font-size: 20px;
    font-family: 'Yanone Kaffeesatz', Arial, sans-serif;
}

.union p {
    color: #e9e9e9;
}

.slider {
    height: auto;
    position: static;
}

.slide {
    position: static;
    width: 100%;
    min-height: 100vh;
    height: auto;
    opacity: 1;
    display: block;
    scroll-margin-top: 60px;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 6rem 1rem 2rem; */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: auto;
}

.content > h2 {
    font-size: 4rem;
    color: var(--burberry-beige);
    text-shadow: 0 0 20px rgba(228, 202, 173, 0.5);
    margin-bottom: 2rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

#slide1 {
    background-color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('./images/bg-pattern.jpg');
    background-blend-mode: overlay;
    background-size: cover;
}

#slide1 h1 {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 8rem;
    color: var(--burberry-beige);
    text-shadow: 0 0 20px rgba(228, 202, 173, 0.5);
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: 5px;
}

.subtitle {
    font-size: 1.5rem;
    margin-top: 1rem;
    color: #ffffff;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.history {
    text-align: center;
}

.history-block {
    display: flex;
    gap: 2rem;
    margin-bottom: 20px;
    margin-top: 3rem;
}

.family-history {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    animation: fadeInRight 0.6s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

.family-history:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(228, 202, 173, 0.3);
}

.family-history h3 {
    color: var(--burberry-beige);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    letter-spacing: 1px;
}

.union {
    margin-top: 20px;
    padding: 2rem;
    background-color: var(--burberry-dark);
    border-radius: 8px;
    animation: fadeInUp 1s ease-out 0.9s backwards;
    max-width: 800px;
    margin: 2rem auto 0;
}

.union h3 {
    color: var(--burberry-beige);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Yanone Kaffeesatz', sans-serif;
}

.union .fa-handshake {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--burberry-beige);
    animation: pulse 2s infinite;
}

.allies {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ally {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
}

.ally h4 {
    color: var(--burberry-beige);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.heritage {
    margin-top: 1.5rem;
    font-style: italic;
    border-top: 1px solid rgba(228, 202, 173, 0.3);
    padding-top: 1.5rem;
}

.heritage a {
    color: var(--burberry-beige);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.heritage strong {
    color: var(--burberry-beige);
    font-weight: bold;
}

/* Стили для резиденций */
.estates-container {
    display: flex;
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
}

.estate {
    flex: 1;
}

.estate-title {
    color: var(--burberry-beige);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

/* Обновленные стили для резиденции как в bandgoss */
.estate-wrapper {
    display: flex;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    height: auto;
    align-items: flex-start;
    justify-content: center;
    margin: 0 auto; /* Центрируем контейнер */
}

.estate-gallery {
    width: 500px;
    height: 400px; /* Делаем высоту равной высоте estate-info */
    position: relative;
    display: flex;
    flex-direction: column;
    animation: fadeInLeft 0.8s ease-out;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%; /* Заполняем всю высоту gallery */
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--surface);
}

.image-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-slide.active {
    opacity: 1;
}

.image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    pointer-events: none;
}

.prev-btn, .next-btn {
    background: var(--burberry-dark);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    opacity: 0.7;
    pointer-events: auto;
}

.prev-btn:hover, .next-btn:hover {
    background: var(--burberry-beige);
    opacity: 1;
    color: var(--burberry-dark);
}

.estate-info {
    background-color: var(--surface);
    height: 400px; /* Фиксированная высота */
    border-radius: 8px;
    padding: 1rem; /* Уменьшаем padding */
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Уменьшаем отступы между элементами */
    overflow-y: auto; /* Добавляем прокрутку при необходимости */
    scrollbar-width: thin; /* Тонкий скроллбар для Firefox */
}

/* Стили для скроллбара */
.estate-info::-webkit-scrollbar {
    width: 6px;
}

.estate-info::-webkit-scrollbar-track {
    background: var(--surface);
}

.estate-info::-webkit-scrollbar-thumb {
    background: var(--burberry-beige);
    border-radius: 3px;
}

/* Стили для скроллбара в секции безопасности */
.info-section.security .features::-webkit-scrollbar {
    width: 4px;
}

.info-section.security .features::-webkit-scrollbar-track {
    background: transparent;
}

.info-section.security .features::-webkit-scrollbar-thumb {
    background: rgba(228, 202, 173, 0.5);
    border-radius: 2px;
}

.address {
    font-size: 1.1rem; /* Уменьшаем размер шрифта */
    margin-bottom: 0.5rem; /* Уменьшаем отступ снизу */
    color: var(--burberry-beige);
    text-align: center;
}

.info-blocks-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.5rem; /* Уменьшаем отступы между блоками */
    flex: 1;
    min-height: 0; /* Важно для правильного отображения в grid */
    height: calc(400px - 2rem - 1.1rem - 0.5rem); /* Фиксированная высота с учетом отступов и address */
    overflow: hidden; /* Предотвращаем выход за границы */
}

.info-blocks-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Уменьшаем отступы между секциями */
    height: 100%; /* Заполняем всю высоту */
}

.info-section {
    padding: 0.75rem; /* Уменьшаем внутренние отступы */
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(228, 202, 173, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    font-size: 0.9rem; /* Уменьшаем размер текста */
}

/* Первая секция (основные характеристики) занимает 45% высоты */
.info-blocks-left .info-section:first-child {
    flex: 0.45;
}

/* Вторая секция (инфраструктура) занимает 55% высоты */
.info-blocks-left .info-section:last-child {
    flex: 0.55;
}

.info-section.security {
    height: 100%; /* Секция безопасности занимает всю доступную высоту */
    grid-column: 2;
    /* grid-row: 1 / span 2; Занимает обе строки грида */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Предотвращаем выход за границы */
}

.info-section.security .features {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    overflow-y: auto; /* Добавляем прокрутку если контент не помещается */
    padding-right: 0.25rem; /* Небольшой отступ для скроллбара */
}

.features {
    list-style: none;
}

.features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem; /* Уменьшаем отступ между пунктами */
    transition: all 0.3s ease;
    font-size: 0.9rem; /* Уменьшаем размер текста */
}

.features li:last-child {
    margin-bottom: 0;
}

.features .fa-solid {
    margin-right: 1rem;
    color: var(--burberry-beige);
    width: 1.5em;
    text-align: center;
    font-size: 1.2em;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0e0e0;
    padding: 0.3rem 0; /* Уменьшаем вертикальные отступы */
    transition: all 0.3s ease;
    font-size: 0.9rem; /* Уменьшаем размер текста */
}

.facility-item:hover {
    transform: translateX(5px);
}

.facility-item .fa-solid {
    color: var(--burberry-beige);
    font-size: 1.2em;
    width: 1.5em;
    text-align: center;
}

/* Новые стили для центрированной резиденции */
#slide3 .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 4rem 1rem 2rem;
}



/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .desktop-nav, .account-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .cars-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .estate-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .estate-gallery, .estate-info {
        width: 100%; /* На всю ширину контейнера */
        max-width: 500px;
        min-height: auto;
    }
    .estate-info {
        width: 500px;
    }
    .image-slider {
        position: relative;
        width: 100%;
        aspect-ratio: 1; /* Квадратное соотношение сторон как в bandgoss */
        max-height: none; /* Удаляем ограничение высоты */
        overflow: hidden;
        border-radius: 8px;
    }
    
    .image-slide {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    
    .image-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .estate-info {
        height: auto; /* На мобильных устройствах высота авто */
        min-height: auto;
        padding: 1.25rem;
    }
    
    .info-blocks-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-section.security {
        height: auto;
        margin-top: 1rem;
    }

    .content {
        padding: 6rem 1rem 2rem;
        min-height: auto;
    }

    #slide1 {
        min-height: 100vh;
        height: 100vh;
    }

    #slide1 .content {
        min-height: 100vh;
        height: 100vh;
        padding: 0 1rem;
    }

    #slide1 h1 {
        font-size: 3.5rem;
        text-align: center;
        margin-top: -2rem;
    }

    .subtitle {
        text-align: center;
        font-size: 1.2rem;
    }

    .history-block {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .family-history {
        padding: 1.5rem;
    }

    .family-history h3 {
        font-size: 2rem;
    }

    .union {
        padding: 1.5rem;
        margin: 1rem 1rem 0;
    }

    .mobile-menu {
        background: rgba(28, 28, 28, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }
}

/* Добавлены медиа-запросы для лучшей адаптивности */
@media (max-width: 480px) {
    #slide1 h1 {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .family-history h3 {
        font-size: 1.8rem;
    }
    
    #slide5 h2 {
        font-size: 2.5rem;
    }
}

/* Анимации появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

#slide2 h2 {
    animation: fadeInUp 0.8s ease-out;
}

.family-history, .union, .info-section {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.family-history:hover, .info-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(228, 202, 173, 0.3);
}

.union:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Стили для слайда с автопарком */
.cars-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

.car-card {
    background-color: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(228, 202, 173, 0.3);
}

.car-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

.car-card h3 {
    padding: 1rem 1rem 0.5rem;
    color: var(--burberry-beige);
    font-size: 1.8rem;
}

.car-card .owner {
    padding: 0 1rem 1rem;
    color: #c8c8c8;
    font-size: 1.1rem;
}

.car-card:nth-child(1) {
    animation-delay: 0.1s;
}

.car-card:nth-child(2) {
    animation-delay: 0.3s;
}

.car-card:nth-child(3) {
    animation-delay: 0.5s;
}

.car-card:nth-child(4) {
    animation-delay: 0.7s;
}

#slide4 h2 {
    animation: fadeInUp 0.8s ease-out;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--burberry-beige);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    color: var(--burberry-beige);
    font-weight: 700;
    letter-spacing: 2px;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--burberry-beige);
}

.account-btn, .mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.account-btn:hover, .mobile-menu-btn:hover {
    color: var(--burberry-beige);
}

.mobile-menu-btn {
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--dark-bg);
    z-index: 999;
    transition: right 0.3s ease;
    padding: 2rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 4rem;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 1rem;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--burberry-beige);
}

/* Стили для формы и футера */
.join-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
}

.join-form {
    background: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(228, 202, 173, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--burberry-beige);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--dark-bg);
    border: 1px solid var(--burberry-beige);
    border-radius: 4px;
    color: white;
    font-family: 'Yanone Kaffeesatz', Arial, sans-serif;
    font-size: 1.1rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--burberry-dark);
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Yanone Kaffeesatz', Arial, sans-serif;
    background-color: #9C0000;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #800000;
    color: var(--burberry-dark);
}

.footer {
    width: 100%;
    margin-top: auto;
    padding: 2rem 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.social-link {
    color: var(--burberry-beige);
    font-size: 2rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: white;
}

.copyright {
    color: #666;
    font-size: 1rem;
}

/* Стили для пятого слайда */
#slide5 {
    display: flex;
    align-items: center;
    justify-content: center;
}

#slide5 h2 {
    font-size: 4rem;
    color: var(--burberry-beige);
    text-shadow: 0 0 20px rgba(228, 202, 173, 0.5);
    margin-bottom: 2rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

#slide5 .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 4rem 1rem 2rem;
}

/* Стили для второго слайдера */
.second-house-title {
    color: var(--burberry-beige);
    margin-top: 3rem;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.second-estate {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .desktop-nav, .account-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .cars-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .estate-wrapper {
        flex-direction: column; /* На мобильных возвращаем колонку */
        align-items: center;
        gap: 1.5rem;
    }
    
    .estate-gallery, .estate-info {
        width: 100%; /* На всю ширину контейнера */
        min-height: auto;
    }
    
    .image-slider {
        aspect-ratio: 16/9; /* Соотношение сторон для мобильных */
        max-height: 250px; /* Ограничиваем высоту на мобильных устройствах */
    }
    
    .second-house-title {
        margin-top: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .estate-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 1rem;
    }

    .estate-gallery {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .estate-info {
        width: 100%;
        min-height: auto;
    }

    .content {
        padding: 6rem 1rem 2rem;
        min-height: auto;
        height: auto;
    }

    #slide1 {
        min-height: 100vh;
        height: 100vh;
    }

    #slide1 .content {
        min-height: 100vh;
        height: 100vh;
        padding: 0 1rem;
    }

    #slide1 h1 {
        margin-top: -2rem;
        font-size: 3.5rem;
        text-align: center;
    }

    .subtitle {
        text-align: center;
        font-size: 1.2rem;
    }

    .info-blocks-wrapper {
        grid-template-columns: 1fr;
    }

    .info-section.security {
        height: auto;
        grid-column: 1;
    }

    .mobile-menu {
        background: rgba(28, 28, 28, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .history-block {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .family-history {
        padding: 1.5rem;
    }

    .family-history h3 {
        font-size: 2rem;
    }

    .union {
        padding: 1.5rem;
        margin: 1rem 1rem 0;
    }

    body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .slider {
        height: auto;
        position: static;
        display: flex;
        flex-direction: column;
    }

    .slide {
        position: static;
        width: 100%;
        height: auto;
        opacity: 1;
        display: block;
        min-height: auto;
        margin: 0;
        padding: 60px 0 2rem;
    }

    .content {
        height: auto;
        min-height: auto;
        padding: 2rem 1rem;
    }

    .second-house-title {
        margin-top: 2rem;
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
    }
    
    .second-estate {
        margin-top: 1rem;
    }
}

/* Добавлены медиа-запросы для лучшей адаптивности */
@media (max-width: 480px) {
    #slide1 h1 {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .family-history h3 {
        font-size: 1.8rem;
    }
    
    #slide5 h2 {
        font-size: 2.5rem;
    }
}

/* Стили для формы */
.form-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.error {
    display: block;
    background-color: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
}

.form-status.success {
    display: block;
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-left: 3px solid #4CAF50;
}

.form-status.pending {
    display: block;
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffd43b;
}

/* Стили для всплывающего окна об успешной отправке */
.success-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.success-popup-content {
    background-color: #1a1a1a;
    border: 2px solid #9C0000; /* Фирменный Burberry красный */
    border-radius: 10px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-popup:hover {
    color: #fff;
}

.success-icon {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-popup-content h3 {
    margin: 10px 0;
    color: #fff;
    font-size: 24px;
}

.success-popup-content p {
    color: #ddd;
    margin-top: 10px;
}

/* Стили для поля ввода Discord */
.discord-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.discord-info-tooltip {
    margin-left: 10px;
    position: relative;
    color: #777;
    cursor: pointer;
}

.discord-info-tooltip i {
    font-size: 16px;
}

.discord-info-tooltip:hover {
    color: #9C0000;
}

.tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: rgba(26, 26, 26, 0.95);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 6px 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    border: 1px solid #444;
}

.discord-info-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.discord-info-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #444 transparent transparent transparent;
}
/* Application CTA Styles */
.application-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
}

.application-cta p {
    font-size: 24px;
    color: #E4CAAD;
    font-weight: bold;
}

.apply-button {
    display: inline-block;
    padding: 15px 50px;
    background: linear-gradient(135deg, #c9211e, #8b1815);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 33, 30, 0.4);
    border: 2px solid #E4CAAD;
}

.apply-button:hover {
    background: linear-gradient(135deg, #8b1815, #6b1310);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 33, 30, 0.6);
}

.apply-button:active {
    transform: translateY(0);
}