/* AI Page Custom Styles */
.ai-shorts-hero {
    background: linear-gradient(135deg, var(--color-accent-primary) 0%, #1a1a1a 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.ai-shorts-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(179, 136, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.ai-shorts-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ai-shorts-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-badge i {
    color: var(--color-accent-secondary);
}

/* YouTube Button - White style for dark video background */
.btn-youtube-white {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: var(--color-accent-primary);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    /* border: 2px solid transparent; */
}

.btn-youtube-white:hover {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Masthead title adjustments */
.section-masthead__subheading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
}

/* Ensure lead text is visible on dark background */
.section-masthead .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media only screen and (max-width: 1200px) {

    .section-masthead__subheading,
    .section-masthead h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .btn-youtube-white {
        padding: 12px 28px;
        font-size: 0.85rem;
    }
}

@media only screen and (max-width: 767px) {
    .section-masthead__header_background {
        padding-top: 120px !important;
        padding-bottom: 60px !important;
    }

    .ai-badge {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
}

/* Content Grid - FLEXBOX (COMPACT VERSION) */
.shorts-section {
    padding: 80px 0px;
}

.shorts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0 0;
    justify-content: center;
}

.short-card {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.short-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.short-card__thumbnail {
    position: relative;
    padding-bottom: 177.78%;
    background: #0f0f0f;
    overflow: hidden;
}

.short-card__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: transform 0.4s ease;
}

.short-card:hover .short-card__thumbnail img {
    transform: scale(1.03);
}

.short-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-primary);
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.short-card:hover .short-card__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.short-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 12px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    z-index: 1;
    pointer-events: none;
}

.short-card__category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-accent-secondary);
    margin-bottom: 6px;
}

.short-card__title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.short-card__content {
    padding: 12px 14px;
}

.short-card__description {
    color: #8f8f8f;
    font-size: 0.85rem;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header__label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent-primary);
    margin-bottom: 12px;
}

.section-header__title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.section-header__title.color-white {
    color: #ffffff;
}

/* WHAT WE EXPLORE SECTION */
.explore-section {
    padding: 80px 0;
    background: #f8f8f8;
}

.explore-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.explore-card {
    flex: 0 0 calc(25% - 18px);
    max-width: calc(25% - 18px);
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.explore-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.explore-card__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 24px;
}

.explore-card__title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.explore-card__desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.about-section {
    padding: 80px 0px 80px 0px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: #ffffff;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.btn-youtube {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--color-accent-secondary) 0%, var(--color-accent-primary) 100%);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(81, 0, 173, 0.3);
}

.btn-youtube:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(81, 0, 173, 0.5);
    filter: brightness(1.1);
    color: #ffffff;
}

/* "View More" Link Style */
.view-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 32px;
    transition: all 0.3s ease;
}

.view-more-link:hover {
    color: var(--color-accent-secondary);
    gap: 12px;
}

.view-more-link i {
    transition: transform 0.3s ease;
}

.view-more-link:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1400px) {
    .short-card {
        flex: 0 0 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
    }
}

@media (max-width: 1200px) {
    .short-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .explore-card {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

@media (max-width: 767px) {
    .ai-shorts-hero {
        padding: 80px 0 60px;
        text-align: center;
    }

    .short-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .explore-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .short-card__title {
        font-size: 1rem;
    }
}