/* ===== ОСНОВНЫЕ СТИЛИ (широкая версия) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #121212 50%, #1a1a1a 100%);
    color: #f0f0f0;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px; /* УВЕЛИЧИЛИ контейнер! */
    margin: 0 auto;
    background: rgba(20, 20, 25, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(106, 17, 203, 0.3), 
        rgba(37, 117, 252, 0.3), 
        transparent);
}

/* ===== ШАПКА (общая для обеих страниц) ===== */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.avatar-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
    border-radius: 50%;
    position: relative;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(20, 20, 25, 0.9);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #2b2b2b, #1a1a1a);
    padding: 15px;
}

.avatar-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a11cb, #2575fc, #6a11cb);
    filter: blur(15px);
    opacity: 0.5;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { opacity: 0.4; }
    100% { opacity: 0.7; }
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    background: linear-gradient(to right, #ffffff, #b0b0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(106, 17, 203, 0.3);
}

.description {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 15px;
    font-weight: 400;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    margin: 20px auto;
    border-radius: 3px;
}

.sub-description {
    font-size: 1rem;
    color: #888;
    max-width: 90%;
    margin: 0 auto;
    font-weight: 300;
}

/* ===== СПЕЦИАЛЬНО для ГЛАВНОЙ СТРАНИЦЫ (index.html) ===== */
/* Контейнер ссылок в ДВЕ КОЛОНКИ */
.links-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Две колонки */
    gap: 20px;
    margin-bottom: 40px;
}

.link-button {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: rgba(30, 30, 40, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 22px 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.8s;
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Иконки ссылок */
.icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.link-button:hover .icon-wrapper {
    transform: scale(1.1);
}

.icon-wrapper i {
    font-size: 1.8rem;
}

/* Цвета иконок */
.youtube .icon-wrapper {
    background: rgba(255, 0, 0, 0.15);
    border: 2px solid rgba(255, 0, 0, 0.3);
}
.youtube .icon-wrapper i { color: #FF0000; }
.youtube:hover { background: rgba(255, 0, 0, 0.03); border-color: rgba(255, 0, 0, 0.4); }

.vk .icon-wrapper {
    background: rgba(76, 117, 163, 0.15);
    border: 2px solid rgba(76, 117, 163, 0.3);
}
.vk .icon-wrapper i { color: #4C75A3; }
.vk:hover { background: rgba(76, 117, 163, 0.03); border-color: rgba(76, 117, 163, 0.4); }

.instagram .icon-wrapper {
    background: rgba(228, 64, 95, 0.15);
    border: 2px solid rgba(228, 64, 95, 0.3);
}
.instagram .icon-wrapper i { color: #E4405F; }
.instagram:hover { background: rgba(228, 64, 95, 0.03); border-color: rgba(228, 64, 95, 0.4); }

.telegram .icon-wrapper {
    background: rgba(38, 165, 228, 0.15);
    border: 2px solid rgba(38, 165, 228, 0.3);
}
.telegram .icon-wrapper i { color: #26A5E4; }
.telegram:hover { background: rgba(38, 165, 228, 0.03); border-color: rgba(38, 165, 228, 0.4); }

/* Кнопка "Забронировать" - добавим оранжевый акцент */
.booking .icon-wrapper {
    background: rgba(255, 126, 95, 0.15);
    border: 2px solid rgba(255, 126, 95, 0.3);
}
.booking .icon-wrapper i { color: #ff7e5f; }
.booking:hover { background: rgba(255, 126, 95, 0.05); border-color: rgba(255, 126, 95, 0.4); }

/* Контент ссылок */
.link-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.link-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    display: block;
}

.link-subtext {
    font-size: 0.95rem;
    color: #aaa;
    display: block;
    font-weight: 300;
    line-height: 1.5;
}

/* Стрелка */
.arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.link-button:hover .arrow {
    color: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

/* ===== СПЕЦИАЛЬНО для СТРАНИЦЫ БРОНИРОВАНИЯ (booking.html) ===== */
.booking-header {
    text-align: center;
    margin-bottom: 30px;
}

.booking-header .title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, #ff7e5f, #8a2be2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.booking-subtitle {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Контейнер для iframe */
.iframe-container {
    background: rgba(30, 30, 40, 0.7);
    border-radius: 20px;
    padding: 25px;
    margin: 30px auto;
    width: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.iframe-wrapper {
    width: 100%;
    height: 850px; /* Высота для календаря */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* Кнопка возврата */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b0b0ff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 20px;
    padding: 12px 30px;
    border-radius: 50px;
    background: rgba(176, 176, 255, 0.08);
    border: 1px solid rgba(176, 176, 255, 0.2);
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(176, 176, 255, 0.15);
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.2);
}

/* ===== ОБЩИЙ ФУТЕР ===== */
.footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.pulse-icon {
    margin-bottom: 20px;
    font-size: 2.2rem;
    color: #6a11cb;
    animation: pulse 2s infinite ease-in-out;
    display: inline-block;
}

.footer-text {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 8px;
    font-weight: 400;
}

.footer-subtext {
    font-size: 0.85rem;
    color: #555;
    font-style: italic;
    font-weight: 300;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 30px;
    }
    
    .iframe-wrapper {
        height: 750px;
    }
}

@media (max-width: 768px) {
    /* На мобильных переходим на одну колонку */
    .links-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .container {
        padding: 25px 20px;
    }
    
    .avatar-container {
        width: 120px;
        height: 120px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .booking-header .title {
        font-size: 2.2rem;
    }
    
    .iframe-container {
        padding: 15px;
        margin: 20px auto;
    }
    
    .iframe-wrapper {
        height: 650px;
    }
    
    .booking-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .link-button {
        padding: 18px 20px;
    }
    
    .icon-wrapper {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .icon-wrapper i {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .iframe-wrapper {
        height: 550px;
    }
    
    .booking-header .title {
        font-size: 1.9rem;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .link-text {
        font-size: 1.15rem;
    }
    
    .link-subtext {
        font-size: 0.9rem;
    }
    
    .arrow {
        display: none;
    }
}