/* Remove problematic RemixIcon override */
:where([class^="ri-"])::before {
    content: none;
}

/* Hero Section */
.hero-section {
    background: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
}

/* OTP Input */
.otp-input {
    width: 2.5rem;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.5rem;
    font-size: 1.25rem;
}
.otp-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Tier Card Hover */
.tier-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 20px -4px rgba(0, 0, 0, 0.15);
}

/* Shop and Article Pages */
.book-card:hover, .article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.book-card img {
    max-height: 200px;
    object-fit: cover;
}
textarea, .ql-editor {
    resize: vertical;
}

/* Dashboard Enhancements */
.section-content.hidden {
    display: none;
}
.toggle-section i.ri-arrow-down-s-line::before {
    content: "\eb33";
}
.toggle-section i.ri-arrow-up-s-line::before {
    content: "\eb30";
}

/* Quill Editor */
.ql-container {
    min-height: 200px;
    border-radius: 0.5rem;
}
.ql-toolbar {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    border-color: #d1d5db;
}
.ql-editor:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
.animate-slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease-out forwards;
}
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-slide-in {
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.6s ease-out forwards;
}
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-pulse-cta {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Testimonial and Dashboard Carousel */
.testimonial-card {
    display: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.testimonial-card.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}
.testimonial-card:not(.active) {
    opacity: 0;
    transform: translateX(20px);
}

/* Hover Scale for Cards */
.scale-102:hover {
    transform: scale(1.02);
}

/* Disabled Button */
button:disabled, a:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}