/* MOBILE-FIX-VERSION-4 */
/* ============================================
   ISLAMIC COMPREHENSIVE HUB PORTAL LAYOUT
   ============================================ */

/* Global Variable Synchronization */
:root {
    --brand-dark-gradient: radial-gradient(circle at 50% 30%, #0b331e 0%, #061e12 50%, #030f09 100%);
    --islamic-emerald: #061e12;
    --islamic-tint-light: rgba(11, 51, 30, 0.04);
    --gold-primary: #DFB743;
    --gold-glow-tint: rgba(223, 183, 67, 0.15);
    --gold-premium-bright: #FFF0B8;
    --text-white-clean: #FFFFFF;
    --text-muted-gray: rgba(255, 255, 255, 0.7);
    --editorial-dark-text: #1a2a20;
    --card-border-line: rgba(223, 183, 67, 0.15);
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.06);
}

/* Base Body Framework */
.islamic-hub-portal-wrapper {
    background-color: #fafdfb;
    padding: 60px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #333333;
    overflow: hidden;
}

.portal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ============================================
   STRUCTURAL GRID
   ============================================ */
.portal-main-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.portal-core-content-stream {
    flex: 1;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.portal-monetized-sidebar {
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ============================================
   AD SPACES
   ============================================ */
.portal-ad-wrapper,
.sidebar-ad-card-wrapper {
    width: 100%;
    background: #f2f6f3;
    border: 1px dashed rgba(6, 30, 18, 0.12);
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.ad-label {
    position: absolute;
    top: -8px;
    left: 15px;
    background: #061e12;
    color: #DFB743;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ad-placeholder-slot {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #666666;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.sidebar-ad-box-300 {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #777777;
}

.sidebar-ad-box-skyscraper {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #777777;
}

.sticky-ad-track {
    position: sticky;
    top: 30px;
}

/* ============================================
   CORE MODULES
   ============================================ */
.portal-section {
    background: #FFFFFF;
    border: 1px solid rgba(6, 30, 18, 0.05);
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow-premium);
}

.section-bg-tint {
    background: linear-gradient(180deg, #FFFFFF 0%, #f6fbf8 100%);
    border-left: 4px solid var(--islamic-emerald);
}

.portal-section-title {
    font-family: 'Marcellus', serif;
    font-size: 1.6rem;
    color: #061e12;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.gold-icon {
    color: var(--gold-primary);
}

.portal-section-subtitle {
    font-size: 0.95rem;
    color: #666666;
    margin: 0;
}

.section-title-axis {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(6, 30, 18, 0.06);
    padding-bottom: 18px;
    margin-bottom: 25px;
    gap: 15px;
}

.portal-view-all {
    font-size: 0.85rem;
    font-weight: 700;
    color: #061e12;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
    white-space: nowrap;
}

.portal-view-all:hover {
    color: var(--gold-primary);
}

/* ============================================
   MODULE 1: PRAYER METRICS
   ============================================ */
.prayer-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.portal-dropdown-filter {
    padding: 10px 24px;
    border-radius: 6px;
    border: 1px solid rgba(6, 30, 18, 0.15);
    background: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 600;
    color: #061e12;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
}

.portal-dropdown-filter:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(223, 183, 67, 0.1);
}

.date-ribbon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.date-card {
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.date-card.hijri {
    background: #061e12;
}

.date-card.hijri .date-caption {
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.date-card.hijri .date-val {
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 700;
}

.date-card.gregorian {
    background: #f2f6f3;
    border: 1px solid rgba(6, 30, 18, 0.05);
}

.date-card.gregorian .date-caption {
    color: #666666;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.date-card.gregorian .date-val {
    color: #061e12;
    font-size: 1.15rem;
    font-weight: 700;
}

.prayer-clocks-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.clock-node {
    background: #FFFFFF;
    border: 1px solid rgba(6, 30, 18, 0.08);
    border-radius: 8px;
    padding: 16px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.4s ease;
}

.clock-node .clock-label {
    font-size: 1.3rem;
    color: #061e12;
    font-weight: 700;
}

.clock-node .clock-label .en-label {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    color: #777777;
    font-weight: 500;
    margin-top: 2px;
}

.clock-node .clock-time {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111111;
}

.clock-node.passed {
    opacity: 0.55;
    background: #fdfdfd;
}

.clock-node.active-now {
    border-color: var(--gold-primary);
    background: linear-gradient(180deg, #fffdf7 0%, #fffbf0 100%);
    box-shadow: 0 10px 25px rgba(223, 183, 67, 0.15);
    position: relative;
    transform: translateY(-4px);
}

.clock-node.active-now .clock-label {
    color: #826207;
}

.clock-node.active-now .clock-time {
    color: var(--gold-primary);
    font-size: 1.05rem;
}

.pulse-indicator-ring {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: #27ae60;
    border-radius: 50%;
}

/* ============================================
   MODULE 2: QURAN INTERACTIVE
   ============================================ */
.quran-interactive-showcase {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
}

.verse-day-card {
    background: var(--brand-dark-gradient);
    border-radius: 10px;
    padding: 30px;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(3, 15, 9, 0.3);
}

.card-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold-primary);
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.arabic-verse {
    font-size: 2.2rem;
    color: var(--gold-premium-bright);
    line-height: 1.5;
    text-align: right;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.translation-verse {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
    font-style: italic;
}

.audio-mini-player {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.play-btn-round {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-primary);
    border: none;
    color: #061e12;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.play-btn-round:hover {
    transform: scale(1.08);
}

.wave-visualizer-mock {
    display: flex;
    gap: 3px;
    align-items: center;
}

.wave-visualizer-mock span {
    width: 3px;
    height: 12px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
}

.wave-visualizer-mock span:nth-child(2) {
    height: 20px;
    background: var(--gold-primary);
}

.wave-visualizer-mock span:nth-child(3) {
    height: 15px;
}

.reciter-name {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-left: auto;
}

.surah-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.surah-link-node {
    background: #f8faf9;
    border: 1px solid rgba(6, 30, 18, 0.05);
    border-radius: 8px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.surah-num {
    width: 32px;
    height: 32px;
    background: rgba(6, 30, 18, 0.05);
    color: #061e12;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
}

.surah-meta {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.surah-meta .s-en {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111111;
}

.surah-meta .s-ar {
    font-size: 1.4rem;
    color: #061e12;
    font-weight: 700;
}

.surah-link-node:hover {
    background: #FFFFFF;
    border-color: var(--gold-primary);
    box-shadow: 0 8px 20px rgba(6, 30, 18, 0.05);
    transform: translateX(4px);
}

/* ============================================
   MODULE 3: HADITH BOOKS
   ============================================ */
.hadith-books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hadith-book-card {
    background: #FFFFFF;
    border: 1px solid rgba(6, 30, 18, 0.06);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.book-cover-mock {
    height: 100px;
    width: 75px;
    margin: 0 auto 15px auto;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.book-cover-mock.bukhari {
    background: linear-gradient(135deg, #8a1f1f, #4a1010);
    border-right: 4px solid var(--gold-primary);
}

.book-cover-mock.muslim {
    background: linear-gradient(135deg, #1f5e8a, #10344a);
    border-right: 4px solid var(--gold-primary);
}

.book-cover-mock.tirmidhi {
    background: linear-gradient(135deg, #1f8a55, #104a2e);
    border-right: 4px solid var(--gold-primary);
}

.hadith-book-card h3 {
    font-size: 1rem;
    color: #111111;
    margin: 0 0 6px 0;
    font-weight: 700;
}

.hadith-book-card p {
    font-size: 0.8rem;
    color: #666666;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.hadith-count-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #826207;
    background: #fffbf0;
    padding: 4px 12px;
    border-radius: 30px;
    border: 1px solid rgba(223, 183, 67, 0.2);
}

.hadith-book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.05);
}

/* ============================================
   MODULE 4: NEWS
   ============================================ */
.live-pulse-badge {
    background: rgba(231, 76, 60, 0.08);
    color: #e74c3c;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #e74c3c;
    border-radius: 50%;
    animation: alertPulse 1.5s infinite;
}

@keyframes alertPulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.editorial-news-masonry-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: start;
}

.news-card-featured {
    border-radius: 10px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(6, 30, 18, 0.05);
}

.news-img-wrapper {
    height: 240px;
    position: relative;
    background: #061e12;
}

.image-placeholder-art {
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background: linear-gradient(45deg, #0b331e, #DFB743);
}

.news-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold-primary);
    color: #061e12;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 0.8rem;
    color: #888888;
    display: block;
    margin-bottom: 10px;
}

.news-card-featured h2 {
    font-size: 1.4rem;
    color: #111111;
    margin: 0 0 12px 0;
    line-height: 1.3;
    font-weight: 700;
}

.news-card-featured p {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.news-read-more-btn {
    font-size: 0.85rem;
    font-weight: 700;
    color: #061e12;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-read-more-btn:hover {
    color: var(--gold-primary);
}

.secondary-news-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.news-card-row {
    display: flex;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 15px;
}

.news-card-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.row-img-thumb {
    width: 80px;
    height: 65px;
    border-radius: 6px;
    background: linear-gradient(135deg, #eef3f0, #c8dac2);
    flex-shrink: 0;
}

.row-content-block h3 {
    font-size: 0.95rem;
    color: #111111;
    margin: 4px 0 0 0;
    line-height: 1.3;
    font-weight: 600;
}

/* ============================================
   MODULE 5: VIDEOS
   ============================================ */
.media-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.video-media-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.video-thumbnail-box {
    height: 130px;
    background: linear-gradient(135deg, #1a3a2a, #0b1e15);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-overlay-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid #FFFFFF;
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    padding-left: 2px;
    transition: all 0.3s;
}

.video-media-card:hover .play-overlay-icon {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #061e12;
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
}

.video-meta-details {
    padding: 14px;
}

.speaker-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 6px;
}

.video-meta-details h4 {
    font-size: 0.85rem;
    color: #111111;
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
}

/* ============================================
   MODULE 6: DIRECTORY
   ============================================ */
.directory-cards-axis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 25px;
}

.directory-node {
    background: #FFFFFF;
    border: 1px solid rgba(6, 30, 18, 0.06);
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dir-icon-shell {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f2f6f3;
    color: #061e12;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.directory-node h4 {
    font-size: 0.95rem;
    color: #111111;
    margin: 0 0 4px 0;
    font-weight: 700;
}

.directory-node p {
    font-size: 0.75rem;
    color: #777777;
    margin: 0;
    line-height: 1.3;
}

.directory-node:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-premium);
    transform: translateY(-3px);
}

.directory-node:hover .dir-icon-shell {
    background: #061e12;
    color: var(--gold-primary);
}

/* ============================================
   MODULE 7: 99 NAMES
   ============================================ */
.overflow-hidden-node {
    overflow: hidden;
}

.text-center-node {
    text-align: center;
    margin-bottom: 25px;
}

.names-infinite-track-wrapper {
    width: 100%;
    position: relative;
    padding: 5px 0;
}

.names-flex-track {
    display: flex;
    gap: 15px;
    width: max-content;
    animation: linearMarqueeScroll 25s linear infinite;
}

@keyframes linearMarqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-30%); }
}

.name-pill {
    background: #FFFFFF;
    border: 1px solid rgba(223, 183, 67, 0.2);
    padding: 8px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.name-pill .ar-pill {
    font-size: 1.3rem;
    font-weight: 700;
    color: #061e12;
}

.name-pill .en-pill {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666666;
    letter-spacing: 0.5px;
}

/* ============================================
   SIDEBAR WIDGETS
   ============================================ */
.sidebar-widget-card {
    background: #FFFFFF;
    border: 1px solid rgba(6, 30, 18, 0.05);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow-premium);
}

.widget-heading-title {
    font-family: 'Marcellus', serif;
    font-size: 1.15rem;
    color: #061e12;
    margin: 0 0 20px 0;
    font-weight: 600;
    border-bottom: 2px solid var(--gold-primary);
    padding-bottom: 8px;
    display: inline-block;
}

.reciters-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reciter-row-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reciter-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #eef3f0;
    flex-shrink: 0;
    background-size: cover;
    border: 1px solid rgba(6, 30, 18, 0.1);
}

.reciter-info-block h5 {
    font-size: 0.9rem;
    color: #111111;
    margin: 0 0 2px 0;
    font-weight: 700;
}

.reciter-info-block p {
    font-size: 0.75rem;
    color: #777777;
    margin: 0;
}

.upcoming-dates-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.upcoming-dates-list li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.event-badge-gold {
    width: 54px;
    height: 44px;
    background: #061e12;
    color: var(--gold-primary);
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    flex-shrink: 0;
    padding: 2px;
}

.event-details h6 {
    font-size: 0.88rem;
    color: #111111;
    margin: 0 0 2px 0;
    font-weight: 700;
}

.event-details p {
    font-size: 0.75rem;
    color: #666666;
    margin: 0;
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero-banner-premium {
    background: radial-gradient(circle at 50% 30%, #0b331e 0%, #061e12 50%, #030f09 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    min-height: 800px;
    display: flex;
    align-items: center;
}

.webflow-islamic-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(223, 183, 67, 0.12) 1.2px, transparent 1.2px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}

.custom-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    z-index: 2;
    position: relative;
}

.hero-top-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 90px;
}

.hero-text-block {
    flex: 1;
    max-width: 520px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(223, 183, 67, 0.06);
    color: #DFB743;
    padding: 8px 20px;
    border-radius: 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(223, 183, 67, 0.15);
}

.hero-text-block h1 {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 4.2rem;
    color: #FFFFFF;
    line-height: 1.05;
    margin-bottom: 15px;
}

.hero-text-block h1 .gold-text {
    background: linear-gradient(135deg, #FFF0B8 0%, #DFB743 50%, #9A771C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Marcellus', serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 35px;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.btn-premium-gold {
    background: linear-gradient(135deg, #DFB743 0%, #BFA038 100%);
    color: #04140c !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(223, 183, 67, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-premium-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(223, 183, 67, 0.4);
}

.btn-premium-outline {
    background: transparent;
    color: #FFFFFF !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 32px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-premium-outline:hover {
    border-color: #DFB743;
    color: #DFB743 !important;
    background: rgba(223, 183, 67, 0.05);
}

/* ============================================
   SACRED HEARTS
   ============================================ */
.sacred-hearts-container {
    display: flex;
    gap: 50px;
    justify-content: flex-end;
    align-items: center;
    flex: 1.2;
}

.sacred-heart-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.heart-shape {
    position: relative;
    width: 200px;
    height: 185px;
    background: radial-gradient(circle, rgba(223, 183, 67, 0.12) 0%, rgba(6, 30, 18, 0.5) 100%);
    border: 3px solid #DFB743;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    border-bottom-right-radius: 16px;
    box-shadow: 0 25px 55px rgba(0,0,0,0.5), inset -3px -3px 15px rgba(223, 183, 67, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.heart-shape::before,
.heart-shape::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(223, 183, 67, 0.12) 0%, rgba(6, 30, 18, 0.5) 100%);
    border: 3px solid #DFB743;
    border-radius: 50%;
}

.heart-shape::before {
    top: -100px;
    left: 0;
    border-bottom: none;
    border-right: none;
}

.heart-shape::after {
    top: 0;
    left: -100px;
    border-bottom: none;
    border-top: none;
}

.heart-glow-pulse {
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    animation: glowBreathing 4s infinite ease-in-out;
}

@keyframes glowBreathing {
    0%, 100% { box-shadow: 0 0 15px rgba(223, 183, 67, 0.2); }
    50% { box-shadow: 0 0 45px rgba(223, 183, 67, 0.65); }
}

.sacred-arabicText {
    font-family: 'Amiri', serif;
    font-size: 3.8rem;
    color: #FFF0B8;
    transform: rotate(-45deg);
    z-index: 5;
    font-weight: 700;
    text-shadow: 0 0 25px rgba(223, 183, 67, 0.9), 0 5px 15px rgba(0,0,0,0.6);
}

.heart-caption {
    font-family: 'Marcellus', serif;
    font-size: 1.1rem;
    color: #DFB743;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    margin-top: 25px;
}

.heart-tilt-left {
    animation: subtleTiltLeft 6s infinite ease-in-out;
}

.heart-tilt-right {
    animation: subtleTiltRight 6s infinite ease-in-out;
}

@keyframes subtleTiltLeft {
    0%, 100% { transform: scale(1) rotate(-2deg); }
    50% { transform: scale(1.04) rotate(2deg); }
}

@keyframes subtleTiltRight {
    0%, 100% { transform: scale(1) rotate(2deg); }
    50% { transform: scale(1.04) rotate(-2deg); }
}

/* ============================================
   PILLARS
   ============================================ */
.hero-bottom-pillars {
    width: 100%;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
}

.pillar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.pillar-item:nth-child(1) {
    justify-self: start;
    width: max-content;
}

.pillar-item:nth-child(5) {
    justify-self: end;
    width: max-content;
}

.pillar-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 240, 184, 0.12) 0%, rgba(223, 183, 67, 0.02) 100%);
    border: 2px solid rgba(223, 183, 67, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #DFB743;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: background 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: background, border-color, color, box-shadow;
}

.pillar-meta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    width: 100%;
}

.pillar-arabic {
    font-family: 'Amiri', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #DFB743;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    line-height: 1.2;
}

.pillar-label {
    color: #FFFFFF;
    font-family: 'Marcellus', serif;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    opacity: 0.85;
    line-height: 1.2;
}

.pillar-number {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 900;
    color: #DFB743;
    background: rgba(223, 183, 67, 0.08);
    padding: 3px 16px;
    border-radius: 50px;
    border: 1px solid rgba(223, 183, 67, 0.25);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.pillar-item:hover {
    transform: scale(1.1) translateY(-8px);
}

.pillar-item:hover .pillar-circle {
    background: linear-gradient(135deg, #FFF0B8 0%, #DFB743 100%) !important;
    color: #04140c !important;
    border-color: #FFF0B8 !important;
    box-shadow: 0 20px 45px rgba(223, 183, 67, 0.45) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1199px) {
    .portal-main-grid {
        flex-direction: column;
    }
    .portal-core-content-stream {
        max-width: 100%;
    }
    .portal-monetized-sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .sidebar-ad-card-wrapper {
        display: none;
    }
}

@media (max-width: 1140px) {
    .hero-text-block h1 {
        font-size: 3.4rem;
    }
    .heart-shape {
        width: 150px;
        height: 140px;
    }
    .heart-shape::before,
    .heart-shape::after {
        width: 150px;
        height: 150px;
    }
    .heart-shape::before {
        top: -75px;
    }
    .heart-shape::after {
        left: -75px;
    }
    .sacred-arabicText {
        font-size: 2.8rem;
    }
    .pillar-circle {
        width: 95px;
        height: 95px;
        font-size: 2.4rem;
    }
}

@media (max-width: 991px) {
    .hero-top-split {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .hero-cta {
        justify-content: center;
    }
    .sacred-hearts-container {
        justify-content: center;
        width: 100%;
    }
    .pillar-item:nth-child(1),
    .pillar-item:nth-child(5) {
        justify-self: center;
    }
}

@media (max-width: 767px) {
    .portal-monetized-sidebar {
        grid-template-columns: 1fr;
    }
    .date-ribbon-grid {
        grid-template-columns: 1fr;
    }
    .prayer-clocks-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .quran-interactive-showcase {
        grid-template-columns: 1fr;
    }
    .hadith-books-grid {
        grid-template-columns: 1fr;
    }
    .editorial-news-masonry-grid {
        grid-template-columns: 1fr;
    }
    .media-video-grid {
        grid-template-columns: 1fr;
    }
    .directory-cards-axis {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .hero-banner-premium {
        min-height: auto;
        padding: 50px 0 40px;
        overflow: visible;
    }
    .hero-top-split {
        margin-bottom: 40px;
        gap: 30px;
    }
    .hero-text-block h1 {
        font-size: 2.2rem;
    }
    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 22px;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .btn-premium-gold,
    .btn-premium-outline {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Sacred hearts: the 1140px breakpoint (150px circles, rotated to a
       diamond) is still far too wide for phones — shrink much further
       and tighten the gap so the two shapes don't overlap/merge. */
    .sacred-hearts-container {
        gap: 22px;
        margin-top: 32px;
    }
    .heart-shape {
        width: 112px;
        height: 98px;
    }
    .heart-shape::before,
    .heart-shape::after {
        width: 112px;
        height: 112px;
    }
    .heart-shape::before { top: -56px; }
    .heart-shape::after { left: -56px; }
    .sacred-arabicText {
        font-size: 1.85rem;
    }
    .heart-caption {
        font-size: 0.9rem;
        margin-top: 14px;
    }

    /* Pillars: switch to flex-wrap so an incomplete last row (Sawm, Hajj)
       centers itself instead of sitting left-aligned under columns 1-2
       of a 3-column grid. */
    .pillars-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 26px 10px;
    }
    .pillar-item,
    .pillar-item:nth-child(1),
    .pillar-item:nth-child(5) {
        justify-self: unset;
        width: 30%;
        min-width: 0;
    }
    .pillar-circle {
        width: 72px;
        height: 72px;
        font-size: 1.7rem;
    }
    .pillar-arabic { font-size: 1rem; }
    .pillar-label { font-size: 0.8rem; }
    .pillar-number { font-size: 0.75rem; padding: 2px 12px; }
}

@media (max-width: 380px) {
    .heart-shape {
        width: 92px;
        height: 80px;
    }
    .heart-shape::before,
    .heart-shape::after {
        width: 92px;
        height: 92px;
    }
    .heart-shape::before { top: -46px; }
    .heart-shape::after { left: -46px; }
    .sacred-arabicText { font-size: 1.5rem; }
    .pillars-grid { gap: 22px 6px; }
    .pillar-item { width: 30%; }
    .pillar-circle { width: 62px; height: 62px; font-size: 1.4rem; }
    .pillar-arabic { font-size: 0.85rem; }
    .pillar-label { font-size: 0.72rem; }
    .pillar-number { font-size: 0.68rem; padding: 2px 9px; }
}





/* ============================================
   ASMA SECTIONS - ISLAMIC PEOPLE THEME
   ============================================ */

/* Container Box with Islamic Theme */
.names-portal-card-frame {
    width: 100% !important;
    position: relative;
    background: #0D1B2A;
    border-radius: 0;
    padding: 40px 20px;
    box-shadow: none;
    box-sizing: border-box !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== GOLD GRADIENT TOP & BOTTOM ===== */
.premium-allah-card {
    background: linear-gradient(180deg, #9c8741 0%, #1B5E20 40%, #675a2e 100%);
    border-top: 3px solid #F5D76E;
    border-bottom: 3px solid #F5D76E;
    position: relative;
}

/* Gold Shiny Gradient Overlay - Top */
.premium-allah-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #F5D76E, #D4AF37, #F5D76E, transparent);
    z-index: 10;
    animation: goldShimmerTop 3s ease-in-out infinite;
}

/* Gold Shiny Gradient Overlay - Bottom */
.premium-allah-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #F5D76E, #D4AF37, #F5D76E, transparent);
    z-index: 10;
    animation: goldShimmerBottom 3s ease-in-out infinite;
}

.premium-nabi-card {
        background: linear-gradient(180deg, #66592d 0%, #761a2b 40%, #3c3212 100%);
    border-top: 3px solid #F5D76E;
    border-bottom: 3px solid #F5D76E;
    position: relative;
}

/* Gold Shiny Gradient Overlay - Top */
.premium-nabi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #F5D76E, #D4AF37, #F5D76E, transparent);
    z-index: 10;
    animation: goldShimmerTop 3.5s ease-in-out infinite;
}

/* Gold Shiny Gradient Overlay - Bottom */
.premium-nabi-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #F5D76E, #D4AF37, #F5D76E, transparent);
    z-index: 10;
    animation: goldShimmerBottom 3.5s ease-in-out infinite;
}

/* Gold Shimmer Animations */
@keyframes goldShimmerTop {
    0% { 
        background: linear-gradient(90deg, transparent, #F5D76E, #D4AF37, #F5D76E, transparent);
        opacity: 0.5;
    }
    50% { 
        background: linear-gradient(90deg, transparent, #FFF0B8, #F5D76E, #FFF0B8, transparent);
        opacity: 1;
    }
    100% { 
        background: linear-gradient(90deg, transparent, #F5D76E, #D4AF37, #F5D76E, transparent);
        opacity: 0.5;
    }
}

@keyframes goldShimmerBottom {
    0% { 
        background: linear-gradient(90deg, transparent, #F5D76E, #D4AF37, #F5D76E, transparent);
        opacity: 0.5;
    }
    50% { 
        background: linear-gradient(90deg, transparent, #FFF0B8, #F5D76E, #FFF0B8, transparent);
        opacity: 1;
    }
    100% { 
        background: linear-gradient(90deg, transparent, #F5D76E, #D4AF37, #F5D76E, transparent);
        opacity: 0.5;
    }
}

.names-portal-card-frame:hover {
    transform: none;
    box-shadow: none;
}

/* Title Design Layout */
.portal-section-title-fixed {
    font-size: 2rem;
    font-weight: 700;
    color: #F5D76E;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Playfair Display', serif;
    text-align: center;
    flex-wrap: wrap;
}

.portal-section-title-fixed .title-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
}

/* Icon Badges */
.icon-badge-gold,
.icon-badge-maroon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.icon-badge-gold {
    background: linear-gradient(135deg, #F5D76E, #D4AF37);
    color: #0D1B2A;
}

.icon-badge-maroon {
    background: linear-gradient(135deg, #8B1A2B, #6D1A2A);
    color: #F5D76E;
    border: 2px solid #F5D76E;
}

/* Infinite Loop Window */
.names-infinite-track-wrapper {
    overflow: hidden !important;
    width: 100% !important;
    display: flex;
    white-space: nowrap;
    position: relative;
    padding: 10px 0;
}

.names-infinite-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #0D1B2A, transparent);
    width: 80px;
    content: "";
    height: 100%;
    position: absolute;
    z-index: 5;
    pointer-events: none;
}

.names-infinite-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #0D1B2A, transparent);
    width: 80px;
    content: "";
    height: 100%;
    position: absolute;
    z-index: 5;
    pointer-events: none;
}

/* ===== SCROLL ANIMATIONS ===== */
.names-flex-track {
    display: flex;
    gap: 18px;
    width: max-content;
    will-change: transform;
    padding: 10px 0;
}

/* ===== DIRECTION CHANGES ===== */

/* Allah Names - Left to Right */
.track-allah {
    animation: scrollNamesLeftToRight 250s linear infinite;
}

/* Prophet Names - Right to Left */
.track-nabi {
    animation: scrollNamesRightToLeft 250s linear infinite;
}

.names-infinite-track-wrapper:hover .names-flex-track {
    animation-play-state: paused;
}

/* Keyframes */
@keyframes scrollNamesLeftToRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@keyframes scrollNamesRightToLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Name Pills - Islamic Theme */
.name-pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(245, 215, 110, 0.15);
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.name-pill:hover {
    background: rgba(255,255,255,0.1);
    border-color: #F5D76E;
    transform: translateY(-3px) scale(1.02);
}

/* Gold Shimmer Effect */
.gold-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(245, 215, 110, 0.15), transparent);
    transform: skewX(-25deg);
}

.names-infinite-track-wrapper:hover .gold-shimmer::after {
    animation: shinyFlash 3s infinite;
}

.names-infinite-track-wrapper:hover .emerald-shimmer::after {
    animation: shinyFlash 3.5s infinite;
}

/* Text Styles */
.name-pill .ar-pill {
    font-size: 1.6rem;
    font-weight: 700;
    color: #F5D76E;
    font-family: 'Noto Naskh Arabic', serif;  /* ← Font changed */
    line-height: 1.6;
    letter-spacing: 0.5px;
}














.name-pill .en-pill {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Prophet Names - Maroon Theme */
.name-pill.pill-maroon .ar-pill {
    color: #F5D76E;
}

.name-pill.pill-maroon {
    background: rgba(139, 26, 43, 0.2);
    border-color: rgba(139, 26, 43, 0.3);
}

.name-pill.pill-maroon:hover {
    background: rgba(139, 26, 43, 0.35);
    border-color: #F5D76E;
}

.premium-allah-card .name-pill {
    border-bottom: 2px solid rgba(245, 215, 110, 0.15);
}

.premium-nabi-card .name-pill {
    border-bottom: 2px solid rgba(245, 215, 110, 0.1);
}

@keyframes shinyFlash {
    0% { left: -100%; }
    100% { left: 150%; }
}

/* Separator */
.sacred-separator-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px 20px;
    background: #0D1B2A;
}

.separator-line {
    flex: 1;
    height: 1px;
    max-width: 200px;
}

.left-line {
    background: linear-gradient(to right, transparent, #F5D76E);
}

.right-line {
    background: linear-gradient(to left, transparent, #F5D76E);
}

.separator-crest {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #F5D76E;
    font-size: 1.2rem;
}

.star-left, .star-right {
    font-size: 0.9rem;
    opacity: 0.6;
}

.crest-center-art {
    font-size: 1.8rem;
    animation: pulseCrest 3s ease-in-out infinite;
}

@keyframes pulseCrest {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .portal-section-title-fixed {
        font-size: 1.4rem;
        gap: 10px;
    }
    .portal-section-title-fixed .title-subtitle {
        font-size: 0.8rem;
        display: block;
        width: 100%;
        text-align: center;
    }
    .icon-badge-gold,
    .icon-badge-maroon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .name-pill {
        padding: 6px 16px;
        gap: 8px;
    }
    .name-pill .ar-pill {
        font-size: 1rem;
    }
    .name-pill .en-pill {
        font-size: 0.65rem;
    }
    .names-flex-track {
        gap: 12px;
    }
    .track-allah {
        animation-duration: 300s;
    }
    .track-nabi {
        animation-duration: 300s;
    }
    .separator-crest {
        gap: 10px;
        font-size: 1rem;
    }
    .crest-center-art {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .portal-section-title-fixed {
        font-size: 1.1rem;
    }
    .name-pill {
        padding: 4px 12px;
        gap: 5px;
    }
    .name-pill .ar-pill {
        font-size: 0.8rem;
    }
    .name-pill .en-pill {
        font-size: 0.55rem;
    }
    .names-flex-track {
        gap: 8px;
    }
    .track-allah {
        animation-duration: 350s;
    }
    .track-nabi {
        animation-duration: 350s;
    }
}















