* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #1a1a1a;
    background: #fafafa;
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ХЕДЕР */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
}

.logo {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.nav a {
    margin-left: 28px;
    color: #555;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.nav a:hover {
    color: #000;
}

/* ГЛАВНЫЙ ЭКРАН */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f0ff 0%, #fff5f0 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.hero-photo img {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(120, 80, 200, 0.2);
}

.hero-text h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-text h1 span {
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 32px;
    max-width: 480px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: #e53935;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(229, 57, 53, 0.35);
}

/* МЕРОПРИЯТИЯ */
.events {
    padding: 100px 0;
    background: #fff;
}

.events h2 {
    font-size: 32px;
    margin-bottom: 8px;
    font-weight: 800;
}

.events-table {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
}

.event-row {
    display: grid;
    grid-template-columns: 140px 140px 180px 1fr;
    gap: 24px;
    padding: 22px 28px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: background 0.15s;
}

.event-row:last-child {
    border-bottom: none;
}

.event-row:hover {
    background: #faf8ff;
}

.event-row.header-row {
    background: #f7f5ff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #7c3aed;
}

.event-date {
    font-weight: 700;
    color: #1a1a1a;
}

.event-time {
    color: #666;
    font-size: 15px;
}

.event-city {
    display: inline-block;
    padding: 4px 12px;
    background: #f0edff;
    color: #5b21b6;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    width: fit-content;
}

/* Онлайн — зелёный бейдж */
.event-city.online {
    background: #dcfce7;
    color: #166534;
}

.event-city.online::before {
    content: "●";
    margin-right: 6px;
    font-size: 10px;
    color: #22c55e;
    vertical-align: middle;
}

.event-title {
    font-weight: 600;
    font-size: 17px;
}

.event-empty {
    padding: 40px;
    text-align: center;
    color: #888;
}

/* БОТ */
.bot {
    padding: 100px 0;
    background: linear-gradient(135deg, #faf8ff 0%, #fff8f5 100%);
}

.bot h2 {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 800;
    color: #e53935;
}

.bot-desc {
    color: #666;
    margin-bottom: 48px;
    max-width: 620px;
    font-size: 17px;
}

.bot-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.bot-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    text-decoration: none;
    color: #1a1a1a;
    border: 2px solid #eee;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.bot-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.bot-link.vk:hover { border-color: #0077FF; }
.bot-link.tg:hover { border-color: #0088cc; }
.bot-link.max:hover { border-color: #7c3aed; }

.bot-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
}

.bot-link.vk .bot-icon { background: #0077FF; }
.bot-link.tg .bot-icon { background: #0088cc; }
.bot-link.max .bot-icon { background: linear-gradient(135deg, #7c3aed, #ec4899); }

.bot-name {
    font-weight: 700;
    font-size: 17px;
    flex: 1;
}

.bot-arrow {
    font-size: 20px;
    color: #999;
    transition: transform 0.2s;
}

.bot-link:hover .bot-arrow {
    transform: translateX(4px);
    color: #1a1a1a;
}

.bot-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step p {
    color: #444;
    font-size: 15px;
    padding-top: 6px;
}

/* ФУТЕР */
.footer {
    padding: 40px 0;
    background: #1a1a1a;
    color: #aaa;
    text-align: center;
    font-size: 14px;
}

/* АДАПТИВ */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-photo { display: flex; justify-content: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-text h1 { font-size: 32px; }
    .bot-links { grid-template-columns: 1fr; }
    .bot-steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .nav { display: none; }

    .event-row {
        grid-template-columns: 1fr auto;
        gap: 8px 12px;
        padding: 20px;
        position: relative;
    }

    .event-row.header-row { display: none; }

    .event-date {
        font-size: 14px;
        color: #7c3aed;
        grid-column: 1 / -1;
    }

    .event-title {
        font-size: 16px;
        grid-column: 1 / -1;
    }

    .event-time {
        font-size: 14px;
        grid-column: 1;
    }

    .event-city {
        grid-column: 2;
        justify-self: end;
    }

    .events h2, .bot h2 { font-size: 26px; }
	
}

/* РАДИО */
.radio {
    padding: 100px 0;
    background: #fff;
}

.radio h2 {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 800;
    color: #1a1a1a;
}

.radio-player-box {
    background: linear-gradient(135deg, #faf8ff 0%, #fff8f5 100%);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #eee;
    max-width: 600px;
}

/* Немного стилизуем стандартный HTML5 плеер */
.custom-audio {
    width: 100%;
    outline: none;
    border-radius: 30px;
}

/* В Chrome/Safari делаем панель плеера светлой, чтобы вписалась в дизайн */
.custom-audio::-webkit-media-controls-panel {
    background-color: #ffffff;
}

/* Адаптив для мобильных, как у вас уже сделано для других секций */
@media (max-width: 640px) {
    .radio h2 { font-size: 26px; }
    .radio-player-box { padding: 20px; }
}