.activity-detail-container {
    background-color: #F5F7F9;
    min-height: 100vh;
}

.banner-relative {
    position: relative;
}

.banner-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.banner-slider .swiper-slide img,
.banner-slider .swiper-slide picture {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.banner-text-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.banner-title {
    color: var(--Harpropnas-Primary, #0B44E8);
    text-align: center;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--Harpropnas-Primary, #0B44E8);
    font-size: 72px;
    font-style: normal;
    font-weight: 900;
    line-height: 84px;
    letter-spacing: 1.44px;
    margin-top: -5rem;

    @media (max-width: 1025px) {
        color: var(--Harpropnas-Primary, #0B44E8);
        text-align: center;
        font-size: 32px !important;
        font-style: normal;
        font-weight: 900;
        line-height: normal;
        letter-spacing: 0.64px;
    }
}

.content-section {
    padding: 40px 0;
    margin-top: -12rem;
    z-index: 2;
    position: relative;
}

.content-wrapper {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    margin: 0 auto;
}

.content-header {
    margin-bottom: 24px;
}

.content-title {
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.loading-state,
.error-state,
.no-data-state {
    text-align: center;
    padding: 60px 20px;
    width: 100%;
    
    .spinner-border {
        width: 3rem;
        height: 3rem;
    }
    
    h3 {
        color: #dc3545;
        margin-bottom: 16px;
    }
    
    p {
        color: #868D9A;
        margin-bottom: 24px;
    }
}

.activity-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.activity-cards-row {
    display: flex;
    gap: 24px;
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
    flex-wrap: wrap;
}

.activity-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    max-width: 220.800048828125px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: none;
    box-shadow: none;
    animation: fadeIn 0.5s ease-out;
    
    &:hover {
        box-shadow: 0px 4px 20px rgba(17, 17, 17, 0.126);
        transform: none;
    }
    
    .card-image {
        position: relative;
        aspect-ratio: 282/499;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #ccc;
        border-radius: 16px;
        width: 100%;
        height: auto;
    }
    
    .card-gradient {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, transparent 63%, rgba(0, 0, 0, 0.5) 100%);
        border-radius: 16px;
    }
    
    .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 72px;
        height: 72px;
        background: rgba(255, 255, 255, 0.683);
        backdrop-filter: blur(16px);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        border: transparent;
        scale: 1;
        z-index: 2;
        
        &:hover {
            transform: translate(-50%, -50%) scale(1.1);
        }
        
        svg {
            margin-left: 5px;
            width: 21px;
            height: 27px;
            fill: #2951A3;
        }
    }
    
    .card-info {
        position: absolute;
        bottom: 16px;
        left: 16px;
        right: 16px;
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: 3;
        width: 189px;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .user-info {
        flex: 1;
        color: white;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .user-name {
        font-family: 'Maison Neue Extended', sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 1.328;
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
        color: white;
    }
    
    .post-time {
        font-family: 'Maison Neue Extended', sans-serif;
        font-weight: 400;
        font-size: 12px;
        line-height: 1.328;
        opacity: 0.8;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .social-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
}

#activity-detail-content {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sticky-bottom-cta {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #FFFFFF;
    border-top: 2px solid #0B44E8;
    z-index: 1000;
    padding: 16px 20px;
    border-radius: 16px 16px 0 0;
    background: #FFF;
    box-shadow: 0 -2px 0 0 #0B44E8;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    gap: 16px;
    padding-inline: 120px;
}

.cta-text {
    color: var(--Harpropnas-Primary, #0B44E8);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.cta-button {
    background: #0B44E8;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--Harpropnas-Primary, #0B44E8);
    color: var(--Harpropnas-White, #F5F7F9);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.cta-button:hover {
    background: #0939C7;
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(11, 68, 232, 0.3);
}

.cta-button-text-mobile {
    display: none;
}

.cta-button-text-desktop {
    display: inline;
}

@media (max-width: 1200px) {
    .content-wrapper {
        margin: 0 20px;
    }
    
    .activity-cards-row {
        justify-content: center;
    }
    
    .activity-card {
        flex: 0 0 172px;
        width: 172px;
        min-width: 172px;
        max-width: none !important;
    }
}

@media (max-width: 768px) {
    .content-section {
        margin-top: -100px;
    }
    
    .content-wrapper {
        margin: 0 16px;
        padding: 16px;
    }
    
    .banner-relative {
        max-height: 160px;
        overflow: hidden;
    }
    
    .banner-text-overlay {
        max-height: 160px;
    }
    
    .banner-slider {
        max-height: 160px;
    }
    
    .banner-slider .swiper-slide {
        max-height: 160px;
    }
    
    .banner-slider .swiper-slide img,
    .banner-slider .swiper-slide picture {
        max-height: 160px;
        object-fit: cover;
    }
    
    .banner-title {
        font-size: 2rem !important;
        letter-spacing: 1px;
        margin-bottom: 3rem;
    }
    
    .sticky-bottom-cta {
        padding: 12px 16px;
        border-radius: 12px 12px 0 0;
    }
    
    .cta-container {
        flex-direction: row;
        gap: 12px;
        text-align: center;
        padding: 0;
    }
    
    .cta-text {
        font-size: 16px;
        order: 1;
    }
    
    .cta-button {
        order: 2;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .cta-button-text-desktop {
        display: none;
    }
    
    .cta-button-text-mobile {
        display: inline;
    }
    
    .activity-cards-row {
        justify-content: center;
        gap: 16px;
    }
    
    .activity-card {
        flex: 0 0 295px;
        width: 295px;
        min-width: 172px;
        max-width: none !important;
        
        .play-button {
            width: 76px;
            height: 76px;
        }
        
        .card-info {
            width: 100% !important;
            padding-inline: 1rem;
            left: 0;
            right: 0;
        }
        
        .user-name {
            max-width: 100px;
        }
    }
}

@media (max-width: 576px) {
    .content-section {
        margin-top: -80px;
    }
    
    .banner-relative {
        max-height: 160px !important;
        overflow: hidden;
    }
    
    .banner-text-overlay {
        max-height: 160px !important;
    }
    
    .banner-slider {
        max-height: 160px !important;
    }
    
    .banner-slider .swiper-slide {
        max-height: 160px !important;
    }
    
    .banner-slider .swiper-slide img,
    .banner-slider .swiper-slide picture {
        max-height: 160px !important;
        object-fit: cover;
        width: 100%;
    }
    
    .banner-title {
        font-size: 1.5rem !important;
        letter-spacing: 0.5px;
        padding: 0 16px;
        margin: 0;
    }
    
    .banner-text-content {
        padding: 16px;
    }
    
    /* Sticky CTA */
    .sticky-bottom-cta {
        padding: 10px 12px;
    }
    
    .cta-button {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .activity-cards-row {
        gap: 12px;
    }
    
    .activity-card {
        flex: 0 0 295px;
        width: 295px;
        min-width: 172px;
        max-width: none !important;
        
        .card-info {
            width: 160px;
        }
        
        .user-name {
            max-width: 100px;
        }
    }
}
