.hero-slider {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
}

.slider-container{
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    overflow: hidden;
}

.slider-slide{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}


.slider-slide.active{
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.slider-slide img {
   
    object-fit: cover;
    display: block;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ec4899, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title a {
    font-size: 0.9rem;
    background: linear-gradient(135deg, #ec4899, #a855f7);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    color: white;
}

.about-section {
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.about-section h2 {
    font-size: 1.5rem;
    color: #ec4899;
    margin-bottom: 1rem;
}

.about-section p {
    color: #4c1d95;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.playlist-card, .book-card, .blog-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.playlist-card:hover, .book-card:hover, .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(236,72,153,0.15);
}

.card-cover {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.card-cover img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-cover:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236,72,153,0.9), rgba(168,85,247,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
    overflow-y: auto;
}

.card-overlay p {
    color: white;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.6;
}

.card-cover:hover .card-overlay {
    opacity: 1;
}

.card-content {
    padding: 1rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e1b4b;
    margin-bottom: 0.25rem;
}

.card-meta {
    font-size: 0.75rem;
    color: #a855f7;
    margin-bottom: 0.5rem;
}

.emotions-badge {
    display: flex;
    gap: 0.25rem;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}

.emotion-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.btn-card {
    flex: 1;
    padding: 0.5rem;
    border-radius: 9999px;
    text-align: center;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary-card {
    background: linear-gradient(135deg, #ec4899, #a855f7);
    color: white;
}

.btn-primary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236,72,153,0.4);
}

.btn-outline-card {
    background: transparent;
    border: 1px solid #ec4899;
    color: #ec4899;
}

.btn-outline-card:hover {
    background: #ec4899;
    color: white;
}

.search-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(236,72,153,0.2);
}

.search-box i {
    color: #ec4899;
    font-size: 1.2rem;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
}

.search-box input:focus {
    outline: none;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px;
    margin-top: 0.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.search-results.active {
    display: block;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(236,72,153,0.1);
    transition: background 0.2s;
}

.search-item:hover {
    background: rgba(236,72,153,0.05);
}

.search-item img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.search-item-info h4 {
    font-size: 0.9rem;
    color: #1e1b4b;
    margin-bottom: 0.2rem;
}

.search-item-info p {
    font-size: 0.7rem;
    color: #a855f7;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .books-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.3rem;
    }
    
    .about-section {
        padding: 1.5rem;
    }
}


.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.about-card {
    background: rgba(255,255,255,0.7);
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(236,72,153,0.2);
}

.about-card:hover {
    transform: translateY(-4px);
    background: white;
    box-shadow: 0 8px 20px rgba(236,72,153,0.15);
}

.about-card i {
    font-size: 2rem;
    color: #ec4899;
    display: block;
    margin-bottom: 0.5rem;
}

.about-card strong {
    display: block;
    color: #1e1b4b;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.about-card span {
    display: block;
    color: #a855f7;
    font-size: 0.8rem;
}

.about-related {
    background: linear-gradient(135deg, rgba(236,72,153,0.1), rgba(168,85,247,0.1));
    border-radius: 20px;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-related i {
    font-size: 1.5rem;
    color: #ec4899;
}

.about-related p {
    flex: 1;
    color: #4c1d95;
    margin: 0;
}

.about-message {
    background: linear-gradient(135deg, #ec4899, #a855f7);
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-message i {
    font-size: 2rem;
    color: white;
}

.about-message p {
    flex: 1;
    color: white;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-section {
        padding: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-related, .about-message {
        flex-direction: column;
        text-align: center;
    }
}
