/* CSS файл в стиле pbuf.ru */

/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #000000;
    padding-bottom: 20px;
    line-height: 1.6;
    background-image: url('https://optim.tildacdn.com/tild3665-6465-4135-a664-656236636233/-/format/webp/noroot.png.webp');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.container {
    max-width: 100%;
    padding: 0;
}

/* Заголовок приложения */
.header {
    background: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000000;
    line-height: 1.2;
    letter-spacing: -1px;
}

.header h1 p {
    margin: 0;
    display: inline;
}

.header > p {
    font-size: 16px;
    color: #666666;
    margin-top: 10px;
}

/* Навигация */
.nav-tabs {
    display: flex;
    background: #ffffff;
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-tab {
    flex: 1;
    padding: 18px 15px;
    text-align: center;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #666666;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-tab:hover {
    color: #E94398;
    background: #fafafa;
}

.nav-tab.active {
    color: #E94398;
    border-bottom-color: #E94398;
    background: #ffffff;
}

/* Контент секций */
.content-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.content-section.active {
    display: block;
}

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

/* Карточки спикеров */
.speakers-list {
    padding: 20px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.speaker-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.speaker-card:hover {
    box-shadow: 0 6px 20px rgba(233, 67, 152, 0.15);
    transform: translateY(-2px);
}

.speaker-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E94398 0%, #FF6BB5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(233, 67, 152, 0.3);
}

.speaker-info {
    flex: 1;
}

.speaker-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000000;
    letter-spacing: -0.5px;
}

.speaker-title {
    font-size: 14px;
    color: #E94398;
    margin-bottom: 12px;
    font-weight: 600;
}

.speaker-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

.speaker-bio p {
    margin: 4px 0;
}

/* Расписание */
.schedule-list {
    padding: 20px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.schedule-day {
    margin-bottom: 40px;
}

.day-header {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-left: 5px;
    color: #000000;
    letter-spacing: -1px;
}

.event-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 18px;
    border-left: 5px solid #E94398;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.event-card:hover {
    box-shadow: 0 6px 20px rgba(233, 67, 152, 0.15);
    transform: translateX(5px);
}

.event-time {
    font-size: 14px;
    font-weight: 700;
    color: #E94398;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.event-time::before {
    content: "● ";
    color: #E94398;
}

.event-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000000;
    line-height: 1.4;
}

.event-speaker {
    font-size: 14px;
    color: #666666;
    margin-bottom: 12px;
    font-style: italic;
}

.event-description {
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

/* О форуме */
.about-section {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-block {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.info-block h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000000;
    letter-spacing: -0.5px;
    border-left: 5px solid #E94398;
    padding-left: 15px;
}

.info-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 8px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 15px;
}

.info-item span {
    flex: 1;
}

.info-item span p {
    margin: 6px 0;
    padding-left: 0;
}

.info-item span p::before {
    content: "— ";
    color: #E94398;
    font-weight: 700;
}

.info-icon {
    width: 24px;
    text-align: center;
    color: #E94398;
    font-weight: 700;
}

/* Пустое состояние */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999999;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: #E94398;
    opacity: 0.5;
}

/* Дополнительные улучшения */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #000000;
}

a {
    color: #E94398;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #d63384;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header h1 {
        font-size: 32px;
    }

    .speaker-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .day-header {
        font-size: 24px;
    }

    .nav-tab {
        font-size: 13px;
        padding: 15px 10px;
    }
}

/* Скроллбар */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #E94398;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d63384;
}
