/* ==========================================================================
   INDEX PAGE - ENHANCED DESIGN STYLES
   Beautiful, cohesive design for all sections
   ========================================================================== */

/* Import Design System */
@import url('design-system.css');

/* ==========================================================================
   GLOBAL IMPROVEMENTS
   ========================================================================== */

body {
    font-family: var(--font-family-base);
    color: var(--neutral-800);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
}

/* Section Headings - Consistent across all sections */
.section-heading {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--neutral-900);
    text-align: center;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--bg-gradient-purple);
    border-radius: var(--radius-sm);
}

.section-subtitle {
    font-size: var(--text-base);
    color: var(--neutral-600);
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
    line-height: 1.8;
}

/* ==========================================================================
   BANNER SECTION - Modern Sliding Carousel
   ========================================================================== */

.banner-section {
    margin: var(--space-lg) 0;
}

.banner-carousel-wrapper {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.banner-slider .item img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.banner-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-md);
}

.banner-slider .owl-nav button {
    background: rgba(255, 255, 255, 0.9) !important;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.banner-slider .owl-nav button:hover {
    background: var(--neutral-white) !important;
    transform: scale(1.1);
}

.banner-slider .owl-dots {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
}

.banner-slider .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: var(--radius-full);
    margin: 0 var(--space-xs);
    transition: var(--transition-base);
}

.banner-slider .owl-dot.active {
    background: var(--neutral-white) !important;
    width: 30px;
}

/* ==========================================================================
   SERVICE NAVIGATION - Colorful Icon Grid
   ========================================================================== */

.service-navigation {
    background: var(--neutral-100);
    padding: var(--space-3xl) 0;
}

.service-card {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-gradient-end);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-md);
    background: var(--bg-gradient-purple);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    color: var(--neutral-white);
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
}

.service-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.service-description {
    font-size: var(--text-sm);
    color: var(--neutral-600);
}

/* ==========================================================================
   LIVE SESSIONS - Gradient Background with Cards
   ========================================================================== */

.live-sessions-section {
    background: var(--bg-gradient-cosmic);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.live-sessions-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.live-session-card {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.live-session-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.live-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--error-red);
    color: var(--neutral-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* ==========================================================================
   ASTROLOGERS SECTION - Professional Grid
   ========================================================================== */

.astrologers-section {
    padding: var(--space-3xl) 0;
    background: var(--neutral-100);
}

.astrologer-card {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.astrologer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient-purple);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.astrologer-card:hover::before {
    transform: scaleX(1);
}

.astrologer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.astrologer-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-md);
    border: 4px solid var(--primary-gradient-end);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.astrologer-card:hover .astrologer-avatar {
    transform: scale(1.1);
    border-color: var(--secondary-gold);
}

.online-indicator {
    width: 12px;
    height: 12px;
    background: var(--success-green);
    border-radius: var(--radius-full);
    border: 2px solid var(--neutral-white);
    position: absolute;
    top: 5px;
    right: 5px;
}

.astrologer-name {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.astrologer-skills {
    font-size: var(--text-sm);
    color: var(--neutral-600);
    margin-bottom: var(--space-md);
}

.astrologer-rating {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--bg-gradient-gold);
    color: var(--neutral-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.action-buttons {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.btn-call,
.btn-chat {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--text-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-call {
    background: var(--success-green);
    color: var(--neutral-white);
}

.btn-call:hover {
    background: var(--success-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-chat {
    background: var(--accent-blue);
    color: var(--neutral-white);
}

.btn-chat:hover {
    background: var(--accent-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   STORIES SECTION - Instagram-style Cards
   ========================================================================== */

.stories-section {
    padding: var(--space-3xl) 0;
}

.story-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: var(--transition-base);
}

.story-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    z-index: 1;
}

.story-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl);
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    z-index: 2;
    color: var(--neutral-white);
}

.story-title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.story-views {
    font-size: var(--text-sm);
    opacity: 0.9;
}

/* ==========================================================================
   VIDEOS SECTION - YouTube-style Grid
   ========================================================================== */

.videos-section {
    background: var(--neutral-100);
    padding: var(--space-3xl) 0;
}

.video-card {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
    height: 100%;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    color: var(--error-red);
    transition: var(--transition-base);
}

.video-card:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.2);
}

.video-content {
    padding: var(--space-lg);
}

.video-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-description {
    font-size: var(--text-sm);
    color: var(--neutral-600);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .section-heading {
        font-size: var(--text-3xl);
    }

    .section-subtitle {
        font-size: var(--text-sm);
    }

    .banner-slider .item img {
        max-height: 300px;
    }

    .service-card {
        padding: var(--space-lg);
    }

    .action-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .section-heading {
        font-size: var(--text-2xl);
    }

    .banner-slider .owl-nav button {
        width: 40px;
        height: 40px;
    }
}