/* ??????????????????????????????????????????????????????????????????
   Home Component - Modern Landing Page UI (always dark)
   ?????????????????????????????????????????????????????????????????? */

.home__hero-skeleton {
    border-radius: 16px;
}

/* ?? Featured Video Hero ????????????????????????????????????????? */
.home__featured {
    border-radius: 16px;
    overflow: hidden;
    height: 70vh;
    min-height: 500px;
    position: relative;
}

.home__featured-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.home__featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    z-index: 1;
}

.home__featured-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.home__featured-content {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 24px;
}

.home__featured-btn {
    width: fit-content;
    font-weight: 600;
    padding: 12px 24px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.home__featured-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}

/* ?? Section Headers ????????????????????????????????????????????? */
.home__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 4px;
}

.home__section-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
    color: #e0e0e0;
}

/* ?? Empty Alert ?????????????????????????????????????????????????? */
.home__empty-alert {
    border-radius: 12px;
    padding: 24px !important;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(52, 152, 219, 0.08) !important;
    border: 1px solid rgba(52, 152, 219, 0.3) !important;
    color: #e0e0e0;
}

.home__empty-alert :deep(.mud-alert-message) {
    font-weight: 500;
    color: inherit;
}

/* ?? Ad Container ???????????????????????????????????????????????? */
.home__ad {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
}

/* ?? Responsive Design ?????????????????????????????????????????? */
@media (max-width: 1200px) {
    .home__featured {
        height: 60vh;
    }

    .home__featured-content {
        bottom: 24px;
        left: 24px;
        right: 24px;
    }

    .home__featured-content :deep(h4) {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .home__featured {
        height: 50vh;
        min-height: 350px;
    }

    .home__featured-content {
        bottom: 16px;
        left: 16px;
        right: 16px;
        gap: 16px;
    }

    .home__featured-content :deep(h4) {
        font-size: 1.5rem;
    }

    .home__featured-content :deep(.mud-typography-body1) {
        display: none;
    }

    .home__featured-btn {
        width: 100%;
        justify-content: center;
    }

    .home__section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home__ad {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .home__featured {
        height: 45vh;
        min-height: 280px;
        border-radius: 12px;
    }

    .home__featured-content {
        bottom: 12px;
        left: 12px;
        right: 12px;
    }

    .home__featured-content :deep(.mud-stack-row) {
        font-size: 0.75rem;
    }
}

/* ?? Smooth transitions ????????????????????????????????????????? */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home__section-header {
    animation: slideInUp 0.4s ease 0.1s both;
}

/* ?? Utilities ?????????????????????????????????????????????????? */
.home__spacer-lg {
    margin-bottom: 48px;
}

.home__spacer-md {
    margin-bottom: 32px;
}

.home__spacer-sm {
    margin-bottom: 16px;
}
