/* calendar.css - полная версия */


.calendar-container {
    max-width: 1182px;
    margin: 0 auto;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.calendar-header {
    text-align: center;
    margin-bottom: 40px;
}

.calendar-header h2 {
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    color: #ffffff;
}

.calendar-header span {
    background: linear-gradient(135deg, #f5af19, #f12711);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.month-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.month-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 16px;
}

.weekday {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 0;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.day {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 8px;
    transition: all 0.2s;
    position: relative;
    cursor: pointer;
}

.day:hover {
    background: rgba(245, 175, 25, 0.1);
    border-color: rgba(245, 175, 25, 0.3);
}

.day-number {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    display: block;
}

.event-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.event-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot-masterclass { background: #3b82f6; }
.dot-premiere { background: #facc15; }
.dot-networking { background: #22c55e; }
.dot-pitching { background: #a855f7; }
.dot-presentation { background: #f97316; }
.dot-meeting { background: #ec4899; }
.dot-casting { background: #ef4444; }
.dot-panel { background: #06b6d4; }
.dot-conference { background: #6366f1; }
.dot-cinema { background: #f59e0b; }
.dot-festival { background: #8b5cf6; }
.dot-seminar { background: #14b8a6; }
.dot-custom { background: #6b7280; }

.day.selected-day {
    background: rgba(245, 175, 25, 0.25);
    border-color: #f5af19;
    box-shadow: 0 0 0 1px #f5af19;
}

.day.selected-day .day-number {
    color: #f5af19;
    font-weight: 700;
}

.day.other-month {
    opacity: 0.3;
}

.selected-events {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.selected-events h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.2s;
    cursor: pointer;
}

.event-card:hover {
    background: rgba(245, 175, 25, 0.05);
    border-color: rgba(245, 175, 25, 0.3);
}

.event-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #f5af19;
    background: rgba(245, 175, 25, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.event-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.event-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.event-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-price {
    color: #f5af19;
    font-weight: 600;
}

.empty-events {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.legend {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .calendar-container { padding: 20px; width: 140%;}
    .calendar-header h2 { font-size: 28px; }
    .month-name { font-size: 18px; }
    .weekday { font-size: 11px; padding: 8px 0; }
    .day-number { font-size: 13px; }
    .days-grid { gap: 4px; }
    .event-title { font-size: 15px; }
    .event-meta { font-size: 12px; }
}




.invitation-container {
        max-width: 1182px;
        margin: 0 auto;
    }
    .invitation-card {
        background: linear-gradient(135deg, #121212 0%, #1a1a2e 100%);
        border: 1px solid rgba(245, 175, 25, 0.3);
        border-radius: 24px;
        padding: 48px 40px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        margin-bottom: 40px;
    }
    .invitation-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #f5af19, #f12711, #f5af19);
    }
    .invitation-card::after {
        content: '🎬';
        position: absolute;
        bottom: 20px;
        right: 20px;
        font-size: 80px;
        opacity: 0.05;
        pointer-events: none;
    }
    .invitation-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(245, 175, 25, 0.15);
        border: 1px solid rgba(245, 175, 25, 0.4);
        border-radius: 100px;
        padding: 6px 20px;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #f5af19;
        margin-bottom: 24px;
    }
    .invitation-title {
        font-size: 42px;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 24px;
        color: #ffffff;
    }
    .invitation-title span {
        background: linear-gradient(135deg, #f5af19, #f12711);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    .invitation-text {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        margin-bottom: 16px;
    }
    .invitation-text strong {
        color: #f5af19;
    }
    .invitation-text a {
        color: #f5af19;
        text-decoration: none;
        border-bottom: 1px dashed rgba(245, 175, 25, 0.5);
        transition: all 0.2s;
    }
    .invitation-text a:hover {
        border-bottom-color: #f5af19;
    }
    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
        margin: 32px 0;
    }
    .feature-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        transition: all 0.2s;
    }
    .feature-item:hover {
        background: rgba(245, 175, 25, 0.05);
        border-color: rgba(245, 175, 25, 0.3);
    }
    .feature-icon {
        font-size: 24px;
    }
    .feature-text {
        font-size: 14px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
    }
    .invitation-btn {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        background: linear-gradient(135deg, #f5af19, #f12711);
        border: none;
        border-radius: 60px;
        padding: 14px 32px;
        font-size: 16px;
        font-weight: 600;
        color: #ffffff;
        text-decoration: none;
        transition: all 0.3s ease;
        margin-top: 16px;
        cursor: pointer;
    }
    .invitation-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px -5px rgba(245, 175, 25, 0.3);
    }
    @media (max-width: 768px) {
        .invitation-card { padding: 32px 24px;width: 140%; }
        .invitation-title { font-size: 28px; }
        .invitation-text { font-size: 16px; }
        .features-grid { grid-template-columns: 1fr; gap: 12px; }
    }
	
/* ===== КНОПКА-ЗАГОЛОВОК "КАЛЕНДАРЬ СОБЫТИЙ" ===== */
.calendar-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-decoration: none;
    padding: 20px 32px;
    background: linear-gradient(135deg, #121212 0%, #1a1a2e 100%);
    border: 1px solid rgba(245, 175, 25, 0.25);
    border-radius: 16px;
    transition: all 0.4s ease;
    cursor: pointer;
    margin: 0 auto 40px auto;
    max-width: 1182px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Верхняя полоска как у карточки приглашения */
.calendar-link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5af19, #f23c12, #f5af19);
}

/* Анимация фона */
.calendar-link-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 175, 25, 0.03) 0%, transparent 70%);
    animation: calendarBtnShine 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes calendarBtnShine {
    0%, 100% { transform: translate(-30%, -30%); }
    50% { transform: translate(30%, 30%); }
}

.calendar-link-btn:hover {
    transform: translateY(-4px);
    border-color: #f5af19;
    box-shadow: 0 12px 48px rgba(245, 175, 25, 0.15);
	text-decoration: none;
	background: linear-gradient(135deg, #a45a0b 0%, #000 100%);
}

/* Текст кнопки */
.calendar-link-text {
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;

    color: #ffffff;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.calendar-link-btn:hover .calendar-link-text {
    transform: scale(1.02);
}

.calendar-link-text .highlight {
    background: linear-gradient(135deg, #f5af19, #f23c12);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

/* ПОДЧЕРКИВАНИЕ СЛОВА "Событий" цветом #f23c12 */
.calendar-link-text .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f23c12;
    border-radius: 2px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.calendar-link-btn:hover .calendar-link-text .highlight::after {
    opacity: 1;
    height: 4px;
}

/* Стрелка — теперь просто символ, не съедается */
.calendar-link-arrow {
    font-size: 32px;
    color: #f5af19;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 4px;
}

.calendar-link-btn:hover .calendar-link-arrow {
    transform: translateX(10px);
    color: #f23c12;
}

/* Маленький индикатор "↗" в углу */
.calendar-link-btn .link-hint {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 14px;
    color: rgba(245, 175, 25, 0.25);
    transition: all 0.3s ease;
}

.calendar-link-btn:hover .link-hint {
    color: #f5af19;
    transform: translate(4px, -4px);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .calendar-link-btn {
        padding: 16px 20px;
        gap: 14px;
        max-width: 140%;
        margin: 0 10px 30px 10px;
        width: calc(140% - 20px);
    }
    .calendar-link-text {
        font-size: 26px;
    }
    .calendar-link-arrow {
        font-size: 26px;
    }
    .calendar-link-btn .link-hint {
        font-size: 12px;
        top: 8px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .calendar-link-btn {
        padding: 14px 16px;
        gap: 10px;
        border-radius: 12px;
    }
    .calendar-link-text {
        font-size: 20px;
    }
    .calendar-link-arrow {
        font-size: 20px;
        margin-top: 2px;
    }
    .calendar-link-btn .link-hint {
        display: none;
    }
}