/* ============================================================
   ГЛАВНАЯ СТРАНИЦА — СТИЛИ
   ============================================================ */

.home-widget {
    padding: 4px 16px 16px;
    font-family: 'Nunito', sans-serif;
}

/* -----------------------------------------------------------
   Верхняя панель кнопок
   ----------------------------------------------------------- */

.home-icon-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.home-icon-button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    color: white;
    padding: 0;
    background: transparent;
    overflow: hidden;
}

.home-icon-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-icon-button--dash {
    background: white;
    color: var(--app-burgundy);
    box-shadow: 0 4px 10px rgba(74, 19, 39, 0.12);
}

.home-shop-button {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 16px;
    border-radius: 22px;
    border: none;
    background: var(--app-burgundy);
    color: white;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.home-shop-button__icon {
    width: 16px;
    height: 16px;
}

/* -----------------------------------------------------------
   Баннер регистрации
   ----------------------------------------------------------- */

.home-register-banner {
    background: white;
    border-radius: 22px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    box-shadow: 0 6px 16px rgba(74, 19, 39, 0.08);
}

.home-register-banner__coin {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: block;
}

.home-register-banner__logo {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--app-burgundy);
    margin: 0;
}

.home-register-banner__text {
    font-size: 12px;
    color: var(--app-muted);
    margin: 2px 0 0;
}

/* -----------------------------------------------------------
   Баннер "получи скин"
   ----------------------------------------------------------- */

.home-skin-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--app-burgundy);
    border-radius: 20px;
    padding: 14px 16px;
    margin-bottom: 16px;
    cursor: pointer;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

.home-skin-banner__left {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.home-skin-banner__icon {
    width: 22px;
    height: 22px;
}

.home-skin-banner__text {
    color: #FFF8E7;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 13px;
    margin: 0;
    line-height: 1.3;
}

.home-skin-banner__arrow {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--app-gold);
    color: var(--app-burgundy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* -----------------------------------------------------------
   Статистика
   ----------------------------------------------------------- */

.home-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.home-stat-card {
    background: white;
    border-radius: 18px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(74, 19, 39, 0.08);
}

.home-stat-card__icon {
    width: 24px;
    height: 24px;
}

.home-stat-card__value {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: var(--app-burgundy);
    margin: 4px 0 0;
}

.home-stat-card__label {
    font-size: 12px;
    color: var(--app-muted);
    margin: 2px 0 0;
}

/* -----------------------------------------------------------
   Три быстрые кнопки
   ----------------------------------------------------------- */

.home-quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.home-quick-link {
    background: white;
    border: none;
    border-radius: 16px;
    padding: 14px 6px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(74, 19, 39, 0.08);
    cursor: pointer;
}

.home-quick-link__icon {
    width: 22px;
    height: 22px;
}

.home-quick-link__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--app-text);
    margin-top: 6px;
}

/* -----------------------------------------------------------
   Расписание стримов
   ----------------------------------------------------------- */

.home-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.home-section-header__title {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 800;
    font-size: 17px;
    margin: 0;
}

.home-live-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--app-muted);
}

.home-live-toggle__switch {
    width: 38px;
    height: 22px;
    border-radius: 11px;
    background: #E4D3A0;
    position: relative;
    cursor: pointer;
    border: none;
}

.home-live-toggle__switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    transition: left 0.2s ease;
}

.home-live-toggle__switch.is-on {
    background: var(--app-burgundy);
}

.home-live-toggle__switch.is-on::after {
    left: 18px;
}

.home-schedule-card {
    background: white;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(74, 19, 39, 0.08);
}

.home-schedule-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.home-schedule-card__day-badge {
    background: #E24B4A;
    color: white;
    border-radius: 14px;
    padding: 8px 14px;
    text-align: center;
}

.home-schedule-card__day-name {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin: 0;
}

.home-schedule-card__day-date {
    font-size: 11px;
    margin: 2px 0 0;
    opacity: 0.9;
}

.home-schedule-card__tz {
    font-size: 11px;
    color: var(--app-muted);
    text-align: right;
}

.home-schedule-card__timer {
    text-align: center;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 800;
    font-size: 34px;
    color: var(--app-burgundy);
    margin: 6px 0;
}

.home-schedule-card__note {
    text-align: center;
    font-size: 13px;
    color: var(--app-text);
    margin: 0;
}

.home-schedule-card__countdown-label {
    text-align: center;
    font-size: 11px;
    color: var(--app-muted);
    margin: 8px 0 2px;
}

.home-schedule-card__countdown-value {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--app-burgundy);
    margin: 0;
}

/* -----------------------------------------------------------
   Розыгрыши (пустое состояние)
   ----------------------------------------------------------- */

.home-giveaway-empty {
    background: white;
    border-radius: 20px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(74, 19, 39, 0.08);
}

.home-giveaway-empty__icon {
    width: 48px;
    height: 48px;
}

.home-giveaway-empty__title {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 15px;
    margin: 8px 0 2px;
}

.home-giveaway-empty__note {
    font-size: 12px;
    color: var(--app-muted);
    margin: 0;
}

/* -----------------------------------------------------------
   Размеры картинок внутри остальных иконок/баннеров
   (добавлено, чтобы сменные картинки сразу вставали ровно)
   ----------------------------------------------------------- */

.home-shop-button img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.home-register-banner__coin img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.home-skin-banner__icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.home-stat-card__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.home-quick-link__icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.home-giveaway-empty__icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
