@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Inter:wght@300;400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #F3F4F6;
    color: #111;
    padding-top: 100px; /* Увеличили отступ, так как шапка стала больше */
}

/* --- ШАПКА (ОБНОВЛЕННАЯ) --- */
.navbar-blur {
    background: rgba(15, 23, 42, 0.95); /* Чуть темнее */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    height: 90px; /* Сделали шапку выше */
    transition: all 0.3s ease;
}

/* Заголовки */
h1, h2, h3, .font-display {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

/* Кнопки-таблетки в меню */
.nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-pill:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

.nav-pill.active {
    background-color: #3E5C86; /* Синий */
    color: #fff;
    box-shadow: 0 4px 12px rgba(62, 92, 134, 0.3);
}

.nav-pill.accent {
    background-color: rgba(255, 102, 0, 0.15); /* Оранжевый фон */
    color: #FF6600;
}
.nav-pill.accent:hover {
    background-color: #FF6600;
    color: #000;
}

/* --- КАРТОЧКИ (BENTO GRID) --- */
.bento-card {
    border-radius: 1.5rem; /* ~24px */
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    z-index: 10;
}

/* --- КАЛЕНДАРЬ --- */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: rgba(255, 255, 255, 0.1); /* Линии сетки */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
}

.calendar-day-header {
    background-color: rgba(15, 23, 42, 0.6);
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 0;
}

.calendar-day {
    background-color: #1e293b; /* Цвет ячейки */
    min-height: 100px;
    padding: 10px;
    position: relative;
    transition: background-color 0.2s;
}

.calendar-day:hover {
    background-color: #334155;
}

.calendar-day.today {
    background-color: #1e293b;
}
.calendar-day.today::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #FF6600; /* Оранжевая рамка для "Сегодня" */
    pointer-events: none;
}

.day-number {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 5px;
}

.calendar-event {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

/* Типы событий (цвета) */
.event-blue { background: rgba(62, 92, 134, 0.3); color: #93c5fd; border-left: 2px solid #3E5C86; }
.event-orange { background: rgba(255, 102, 0, 0.15); color: #fdba74; border-left: 2px solid #FF6600; }
.event-green { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border-left: 2px solid #10b981; }

/* Круглая стрелка в углу */
.card-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    z-index: 20;
}
.bento-card:hover .card-arrow {
    background: #fff;
    color: #000;
    transform: rotate(-45deg);
}

/* Теги */
.card-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}