:root {
    /* Color Palette - Ramadan Creative Vibes */
    --midnight-blue: #0a1128;
    --royal-purple: #4c1d95;
    --warm-gold: #f59e0b;
    --emerald-teal: #14b8a6;
    --amber-glow: #fbbf24;
    --deep-emerald: #059669;
    --cream-beige: #fef3c7;
    --bg-gradient: linear-gradient(135deg, #0a1128 0%, #1e3a5f 50%, #4c1d95 100%);
    --card-gradient: linear-gradient(145deg, rgba(16, 185, 129, 0.1), rgba(139, 92, 246, 0.1));
    --text: #f1f5f9;
    --text-muted: #cbd5e1;
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ── Animated stars overlay ── */
.stars-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background: transparent;
}

.stars-overlay::before,
.stars-overlay::after,
.stars-overlay {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Layer 1: Small fixed stars */
.stars-overlay::before {
    background-image:
        radial-gradient(1px 1px at 10% 10%, #fff, transparent),
        radial-gradient(1px 1px at 20% 40%, #fff, transparent),
        radial-gradient(1px 1px at 35% 85%, #fff, transparent),
        radial-gradient(1px 1px at 50% 30%, #fff, transparent),
        radial-gradient(1px 1px at 65% 70%, #fff, transparent),
        radial-gradient(1px 1px at 80% 20%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 90% 60%, #fff, transparent);
    background-size: 250px 250px;
    opacity: 0.3;
    animation: twinkle-slow 15s infinite ease-in-out;
}

/* Layer 2: Medium twinkling stars */
.stars-overlay::after {
    background-image:
        radial-gradient(1.5px 1.5px at 15% 25%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 40% 15%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 60% 45%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 85% 35%, #fff, transparent),
        radial-gradient(2px 2px at 30% 75%, #fff, transparent),
        radial-gradient(2px 2px at 70% 85%, #fff, transparent);
    background-size: 350px 350px;
    opacity: 0.5;
    animation: twinkle-med 8s infinite ease-in-out;
}

/* Layer 3: Sharp "sparkling" stars */
.stars-overlay {
    background-image:
        radial-gradient(1px 1px at 10% 10%, #fff 0%, rgba(255, 255, 255, 0.8) 20%, transparent 100%),
        radial-gradient(1.5px 1.5px at 90% 90%, #fff 0%, rgba(255, 255, 255, 0.8) 20%, transparent 100%),
        radial-gradient(1px 1px at 45% 35%, #fff 0%, rgba(255, 255, 255, 0.8) 20%, transparent 100%),
        radial-gradient(1.5px 1.5px at 75% 15%, #fff 0%, rgba(255, 255, 255, 0.8) 20%, transparent 100%);
    background-size: 450px 450px;
    opacity: 0.4;
    animation: sparkle-fast 1.5s infinite ease-in-out;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

@keyframes twinkle-slow {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes twinkle-med {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes sparkle-fast {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 1;
    }
}

.container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
}

header {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeIn 1s ease-out;
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
    padding-bottom: 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.art-header {
    font-size: 3rem;
    margin-bottom: -1rem;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
    from {
        text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
    }

    to {
        text-shadow: 0 0 25px rgba(251, 191, 36, 0.8), 0 0 50px rgba(251, 191, 36, 0.2);
    }
}

h1 {
    font-family: 'Readex Pro', sans-serif;
    color: var(--amber-glow);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

h2 {
    font-family: 'Readex Pro', sans-serif;
    font-size: 1.6rem;
    color: var(--emerald-teal);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(20, 184, 166, 0.3);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subtitle {
    color: var(--cream-beige);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.card {
    background: var(--card-gradient);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.2);
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.time-box {
    background: rgba(10, 17, 40, 0.6);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    min-width: 80px;
    text-align: center;
}

.time-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--amber-glow);
    line-height: 1;
    display: block;
    font-family: 'Readex Pro', sans-serif;
}

.time-label {
    font-size: 0.85rem;
    color: var(--cream-beige);
    text-transform: uppercase;
    margin-top: 0.5rem;
    display: block;
}

.status-text {
    text-align: center;
    margin-top: 1rem;
    color: var(--amber-glow);
    font-weight: 600;
    font-size: 1.25rem;
}

.btn {
    background: linear-gradient(135deg, var(--emerald-teal), var(--deep-emerald));
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s;
    width: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-outline {
    background: rgba(20, 184, 166, 0.1);
    border: 2px solid var(--emerald-teal);
    color: #fff;
    margin-top: 1rem;
}

.share-buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    margin-top: 1.5rem;
    width: 100%;
}

.btn-share {
    flex: 1;
    white-space: nowrap;
    font-size: 1rem;
    padding: 0.8rem 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.checklist-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.checklist-item input {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    margin-right: 1.2rem;
    border: 2px solid var(--emerald-teal);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}

.checklist-item input:checked {
    background: var(--emerald-teal);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
}

.checklist-label {
    flex-grow: 1;
    font-size: 1.15rem;
    color: var(--text);
}

.checklist-item input:checked+.checklist-label {
    color: var(--emerald-teal);
    text-decoration: line-through;
    opacity: 0.8;
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-top: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald-teal), var(--amber-glow));
    width: 0%;
    transition: width 0.8s;
}

.progress-text {
    text-align: right;
    font-size: 0.95rem;
    color: var(--cream-beige);
    margin-top: 0.5rem;
}

.dua-card {
    background: rgba(10, 17, 40, 0.4);
    border-left: 5px solid var(--amber-glow);
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 0 16px 16px 0;
    transition: all 0.3s;
}

.arabic-text {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    color: var(--amber-glow);
    text-align: right;
    direction: rtl;
    margin-bottom: 0.5rem;
    line-height: 1.8;
    white-space: pre-wrap;
}

.translation {
    color: var(--cream-beige);
    font-size: 0.9rem;
}

.badge {
    display: inline-block;
    background: rgba(251, 191, 36, 0.15);
    color: var(--amber-glow);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
    text-transform: uppercase;
}

.dedication-footer {
    position: relative;
    background: radial-gradient(circle at top, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(20, 184, 166, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(20, 184, 166, 0.05);
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: 28px;
    margin-top: 3rem;
    overflow: hidden;
    backdrop-filter: blur(20px);
}



.dedication {
    margin-bottom: 2rem;
}

.dedication p[data-i18n="footerMemory"] {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.4) !important;
}

.dedication h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(to bottom, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0.2rem 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

#dynamic-youssef-dua.dua-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    max-width: 600px;
    margin: 1.5rem auto;
    backdrop-filter: blur(10px);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Ornamental Divider */
#dynamic-youssef-dua::before {
    content: '۞';
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--emerald-teal);
    opacity: 0.5;
}

.sadaqah-message {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    background: rgba(255, 255, 255, 0.03);
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
}

.footer-arabic-text {
    font-family: 'Amiri', serif;
    font-size: 1.25rem;
    color: var(--amber-glow);
    display: block;
    margin-top: 0.5rem;
}

.app-bottom-info {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--emerald-teal);
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--midnight-blue);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--emerald-teal);
    max-width: 90%;
    width: 450px;
    text-align: center;
}

.confetti-p {
    position: fixed;
    z-index: 10000;
    width: 10px;
    height: 10px;
    pointer-events: none;
}

@media (max-width: 600px) {
    .container {
        padding: 1rem 0.5rem;
    }

    .card {
        padding: 1.5rem 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .countdown-display {
        gap: 0.25rem;
    }

    .time-box {
        flex: 1;
        min-width: 0;
        padding: 0.6rem 0.2rem;
    }

    .time-value {
        font-size: 1.4rem;
    }

    .time-label {
        font-size: 0.6rem;
    }

    .btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        white-space: normal;
        min-height: auto;
        word-wrap: break-word;
    }

    .tasbeeh-controls {
        grid-template-columns: 1fr;
    }
}

/* ── Language Toggle Button ── */
.lang-toggle-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 999;
    background: rgba(20, 184, 166, 0.12);
    border: 1.5px solid var(--emerald-teal);
    color: var(--emerald-teal);
    padding: 0.4rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', 'Amiri', sans-serif;
    backdrop-filter: blur(8px);
}

.lang-toggle-btn:hover {
    background: rgba(20, 184, 166, 0.25);
    transform: translateY(-1px);
}

/* ── About Toggle Button ── */
.about-toggle-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 999;
    background: rgba(20, 184, 166, 0.12);
    border: 1.5px solid var(--emerald-teal);
    color: var(--emerald-teal);
    padding: 0.4rem 0.6rem;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-toggle-btn:hover {
    background: rgba(20, 184, 166, 0.25);
    transform: translateY(-1px);
}

/* ── RTL (Arabic) Support ── */
[dir="rtl"] .lang-toggle-btn {
    right: auto;
    left: 15px;
}

[dir="rtl"] .about-toggle-btn {
    left: auto;
    right: 15px;
}

[dir="rtl"] .dua-card {
    border-left: none;
    border-right: 5px solid var(--amber-glow);
    border-radius: 16px 0 0 16px;
}

[dir="rtl"] .checklist-item input {
    margin-right: 0;
    margin-left: 1.2rem;
}

[dir="rtl"] .checklist-label {
    text-align: right;
}

[dir="rtl"] .progress-text {
    text-align: left;
}

[dir="rtl"] .share-buttons {
    direction: rtl;
}

[dir="rtl"] h2 {
    text-align: right;
    justify-content: flex-start;
}

[dir="rtl"] h1,
[dir="rtl"] h3 {
    text-align: center;
    justify-content: center;
}

/* ── Tasbeeh Counter ── */
.tasbeeh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tasbeeh-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.control-group select {
    background: rgba(10, 17, 40, 0.6);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--text);
    padding: 0.8rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
}

.tasbeeh-display {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.1s;
}

.tasbeeh-display:active {
    transform: scale(0.95);
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.35s;
    transform-origin: 50% 50%;
}

.tasbeeh-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    pointer-events: none;
}

.tasbeeh-count {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--amber-glow);
    font-family: 'Readex Pro', sans-serif;
    line-height: 1;
}

.tasbeeh-active-phrase {
    font-family: 'Amiri', serif;
    font-size: 0.9rem;
    color: var(--emerald-teal);
    margin-top: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px;
}

.tasbeeh-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tasbeeh-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-style: italic;
}

[dir="rtl"] .tasbeeh-display .tasbeeh-count {
    direction: ltr;
}

/* ── Collapsible Dua List ── */
.dua-card--hidden {
    display: none;
}

.dua-card--visible-extra {
    display: block;
    animation: fadeSlideIn 0.35s ease-out both;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dua-toggle-btn {
    display: block;
    margin: 0.5rem auto 1rem;
    width: auto;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
    background: rgba(20, 184, 166, 0.08);
    border: 2px solid rgba(20, 184, 166, 0.5);
    color: var(--emerald-teal);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.dua-toggle-btn:hover {
    background: rgba(20, 184, 166, 0.18);
    border-color: var(--emerald-teal);
    transform: translateY(-2px);
}

/* ── Dua Carousel ── */
.dua-carousel {
    position: relative;
    overflow: hidden;
    margin: 1rem -2rem;
    /* bleed into card padding */
    padding: 1rem 2rem;
}

.dua-carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    align-items: stretch;
}

.dua-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    display: flex;
}

.dua-slide-inner {
    background: var(--card-bg, rgba(10, 17, 40, 0.6));
    border: 1px solid var(--card-border, rgba(251, 191, 36, 0.2));
    border-radius: 20px;
    padding: 1.5rem 1.2rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Watercolor Blob Backgrounds */
.dua-slide-inner::before,
.dua-slide-inner::after {
    content: '';
    position: absolute;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.dua-slide-inner::before {
    top: -20%;
    left: -10%;
    width: 70%;
    height: 70%;
    background: var(--blob1);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blobFloat 8s ease-in-out infinite alternate;
}

.dua-slide-inner::after {
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: var(--blob2);
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    animation: blobFloat 10s ease-in-out infinite alternate-reverse;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

.slide-counter {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.dua-badge-row {
    margin-bottom: 1.5rem;
    z-index: 1;
    display: none;
    /* Hid the original badge row to make text the focus, but kept it in dom */
}

.dua-arabic-main {
    font-family: 'Amiri', serif;
    font-size: 2.2rem;
    color: var(--amber-glow);
    text-align: center;
    direction: rtl;
    line-height: 1.8;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    white-space: pre-wrap;
}

.dua-english-main {
    font-size: 1.05rem;
    color: var(--text);
    text-align: center;
    margin-bottom: 2rem;
    z-index: 1;
    opacity: 0.9;
}

.slide-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    z-index: 1;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.slide-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
}

.slide-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.slide-btn-icon {
    font-size: 1.1rem;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.carousel-nav-btn {
    background: rgba(20, 184, 166, 0.1);
    border: none;
    color: var(--emerald-teal);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}

.carousel-nav-btn:hover:not(:disabled) {
    background: var(--emerald-teal);
    color: #fff;
    transform: scale(1.1);
}

.carousel-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-counter {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

@media (max-width: 600px) {
    .dua-carousel {
        margin: 1rem -1rem;
        padding: 0 0;
    }

    .dua-slide-inner {
        padding: 1.5rem 1rem;
    }

    .dua-arabic-main {
        font-size: 1.8rem;
    }

    .slide-btn-label {
        display: none;
        /* icon only on very small screens if needed, or tight text */
    }

    .slide-btn {
        padding: 0.6rem 0.4rem;
    }

    .slide-btn-label {
        font-size: 0.75rem;
        display: inline;
    }
}

/* ── Night Badge UI ── */
.night-badge-ui {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--amber-glow);
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[dir="rtl"] .night-badge-ui {
    text-align: right;
}