/* ═══════════════════════════════════════════════════════════
   Accmaa Premium — Header · Hero · Dashboards
   ═══════════════════════════════════════════════════════════ */

:root {
    --premium-navy: #061f3d;
    --premium-deep: #0a1628;
    --premium-gold: #D4AF37;
    --premium-gold-soft: #f5e6a8;
    --glass: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.45);
    --topbar-h-premium: 76px;
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Premium Topbar ─── */
body.premium-ui { --topbar-h: var(--topbar-h-premium); }

.topbar-premium {
    background: transparent !important;
    border-bottom: 1px solid transparent;
    transition: background 0.45s var(--ease-smooth), box-shadow 0.45s, border-color 0.45s, height 0.35s;
    overflow: visible;
}
.topbar-premium .topbar-glow {
    position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.06), transparent);
    transition: opacity 0.5s;
}
.topbar-premium.is-scrolled {
    background: var(--glass) !important;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom-color: rgba(10, 54, 105, 0.08);
    box-shadow: 0 8px 32px rgba(10, 54, 105, 0.08);
}
body.guest-mode .topbar-premium.is-scrolled,
body.marketing-header .topbar-premium.is-scrolled {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.topbar-premium.is-scrolled .topbar-glow { opacity: 1; }
.topbar-premium.is-scrolled .topbar-brand-name { font-size: 0.98rem; }
.topbar-premium.is-scrolled .topbar-logo.brand-logo--official { height: 46px; }

.topbar-brand-link {
    position: relative;
    gap: 12px !important;
    padding: 6px 10px 6px 6px;
    border-radius: 14px;
    transition: background 0.25s;
}
.topbar-brand-link:hover { background: rgba(212, 175, 55, 0.1); }

.brand-logo-wrap {
    position: relative;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #0d4a8a);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(10, 54, 105, 0.25);
    overflow: hidden;
}
.brand-logo-wrap--official {
    width: auto; height: auto; min-height: 0;
    background: transparent; box-shadow: none;
    border-radius: 0; overflow: visible;
}
.brand-logo-wrap--official::after { display: none; }
.brand-logo-wrap--official img { height: 54px; max-width: 168px; }

.topbar-brand-text-wrap--with-official-logo .topbar-brand-name { display: none; }
.topbar-brand-text-wrap--with-official-logo .topbar-tagline {
    font-size: 0.68rem; max-width: 220px; line-height: 1.35;
}

.brand-logo-wrap::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15));
}
.brand-logo-wrap img { height: 32px; width: auto; position: relative; z-index: 1; }

.topbar-brand-name {
    background: linear-gradient(135deg, var(--primary), #1a5a9e);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.12rem !important;
    letter-spacing: -0.02em;
}
.topbar-tagline {
    font-size: 0.68rem !important;
    background: linear-gradient(90deg, var(--muted), var(--primary));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

.topbar-cta-pill {
    display: none;
    align-items: center; gap: 8px;
    padding: 10px 20px;
    border: none; border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), #c9a227);
    color: var(--primary);
    font-family: inherit; font-weight: 800; font-size: 0.82rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.45);
    position: relative; overflow: hidden;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
    white-space: nowrap;
}
/* هيدر واضح — نص داكن دائماً للقراءة */
body.guest-mode:not(.guest-in-app) .topbar-premium:not(.is-scrolled) {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom-color: rgba(10, 54, 105, 0.06);
}
body.guest-mode:not(.guest-in-app) .topbar-premium:not(.is-scrolled) .topbar-brand-name {
    background: linear-gradient(135deg, var(--primary), #1a5a9e);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary);
}
body.guest-mode:not(.guest-in-app) .topbar-premium:not(.is-scrolled) .topbar-tagline {
    background: none;
    -webkit-text-fill-color: var(--muted);
    color: var(--muted);
}
body.guest-mode:not(.guest-in-app) .topbar-premium:not(.is-scrolled) .mega-trigger,
body.guest-mode:not(.guest-in-app) .topbar-premium:not(.is-scrolled) .mega-flat-link {
    color: var(--primary);
}
body.guest-mode:not(.guest-in-app) .topbar-premium:not(.is-scrolled) .mega-trigger:hover,
body.guest-mode:not(.guest-in-app) .topbar-premium:not(.is-scrolled) .mega-flat-link:hover {
    background: var(--gold-light);
    color: var(--primary);
}
body.guest-mode:not(.guest-in-app) .topbar-premium:not(.is-scrolled) .topbar-icon-btn {
    color: var(--primary);
}
body.guest-mode:not(.guest-in-app) .topbar-premium:not(.is-scrolled) .breadcrumb,
body.guest-mode:not(.guest-in-app) .topbar-premium:not(.is-scrolled) .breadcrumb-home {
    color: var(--primary);
}
body.guest-mode:not(.guest-in-app) .topbar-premium:not(.is-scrolled) .user-bar-name {
    color: var(--primary);
}

.topbar-lang-slot { flex-shrink: 0; }

.topbar-journey-pill,
.topbar-menu-pill {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.topbar-cta-pill::before {
    content: '';
    position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    animation: shimmerBtn 3s ease-in-out infinite;
}
@keyframes shimmerBtn {
    0%, 100% { left: -100%; }
    50% { left: 140%; }
}
.topbar-cta-pill:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 28px rgba(212,175,55,0.55); }

.mega-trigger, .mega-flat-link {
    position: relative;
    border-radius: 12px !important;
}
.mega-trigger::after, .mega-flat-link::after {
    content: '';
    position: absolute; bottom: 4px; left: 50%; width: 0; height: 2px;
    background: var(--gold); border-radius: 2px;
    transition: width 0.3s var(--ease-smooth), left 0.3s;
}
.mega-trigger:hover::after, .mega-flat-link:hover::after { width: 60%; left: 20%; }

.topbar-icon-btn {
    border-radius: 12px !important;
    transition: transform 0.2s var(--ease-spring), background 0.2s !important;
}
.topbar-icon-btn:hover { transform: translateY(-2px); }

/* ─── Premium Guest Landing ─── */
.dash-landing { overflow-x: hidden; }

.hero-premium {
    position: relative;
    min-height: 88vh;
    display: block;
    padding: 0;
    background: #061f3d;
    overflow: hidden;
}

/* ─── Hero photo cinema (صور حقيقية بدل الخلفية الكحلية) ─── */
.hero-photo-cinema {
    min-height: clamp(520px, 88vh, 920px);
    display: flex;
    align-items: stretch;
}
.hero-photo-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-photo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    transform: scale(1);
}
.hero-photo-slide.is-active {
    opacity: 1;
    z-index: 1;
}
.hero-photo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: heroKenBurns 18s ease-in-out infinite alternate;
}
.hero-photo-slide:not(.is-active) img { animation: none; }
@keyframes heroKenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1.5%, -1%); }
}
.hero-photo-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(105deg, rgba(6,31,61,0.92) 0%, rgba(6,31,61,0.78) 38%, rgba(10,54,105,0.55) 62%, rgba(6,31,61,0.35) 100%),
        linear-gradient(180deg, transparent 55%, rgba(6,31,61,0.75) 100%);
}
.hero-premium-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 72px 56px 48px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
}
.hero-photo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-photo-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: min(100%, 380px);
}
.hero-photo-mini {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    border: 2px solid rgba(212,175,55,0.35);
    animation: heroMiniFloat 4s ease-in-out infinite;
    animation-delay: var(--mini-delay, 0s);
}
.hero-photo-mini:nth-child(2) { margin-top: 24px; }
.hero-photo-mini:nth-child(3) { margin-top: -16px; }
.hero-photo-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@keyframes heroMiniFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-premium-bg {
    position: absolute; inset: 0; pointer-events: none;
}
.hero-premium-mesh {
    position: absolute; inset: -50%;
    background:
        radial-gradient(ellipse 60% 50% at 20% 40%, rgba(10,54,105,0.9) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 80% 20%, rgba(212,175,55,0.12) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 60% 80%, rgba(96,165,250,0.08) 0%, transparent 45%);
    animation: meshPulse 12s ease-in-out infinite alternate;
}
@keyframes meshPulse {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.05) rotate(2deg); }
}
.hero-premium-grid {
    position: absolute; inset: 0;
    background-image: url('../images/pattern-dots.svg');
    opacity: 0.5;
    mask-image: linear-gradient(180deg, white 30%, transparent 90%);
}
.hero-premium-particles span {
    position: absolute;
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--gold); opacity: 0.4;
    animation: particleFloat 8s ease-in-out infinite;
}
.hero-premium-particles span:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.hero-premium-particles span:nth-child(2) { top: 35%; left: 25%; animation-delay: -2s; width: 6px; height: 6px; }
.hero-premium-particles span:nth-child(3) { top: 60%; left: 8%; animation-delay: -4s; }
.hero-premium-particles span:nth-child(4) { top: 20%; right: 30%; animation-delay: -1s; }
.hero-premium-particles span:nth-child(5) { top: 70%; right: 15%; animation-delay: -3s; }
.hero-premium-particles span:nth-child(6) { top: 45%; right: 45%; animation-delay: -5s; opacity: 0.25; }
@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.3); opacity: 0.7; }
}

.hero-premium-content {
    position: relative; z-index: 2;
    animation: heroFadeUp 1s var(--ease-smooth) both;
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: none; }
}

.hero-premium-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--premium-gold-soft);
    font-size: 0.78rem; font-weight: 700;
    margin-bottom: 24px;
    animation: badgePulse 3s ease-in-out infinite;
}
.hero-premium-badge i { color: var(--gold); }
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.2); }
    50% { box-shadow: 0 0 0 8px rgba(212,175,55,0); }
}

.hero-premium h1 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.03em;
}
.hero-premium h1 .hero-line-accent {
    display: block;
    background: linear-gradient(135deg, var(--gold) 0%, #f5e6a8 50%, var(--gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShine 4s linear infinite;
}
@keyframes goldShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.hero-premium-sub {
    margin: 0 0 28px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.72);
    max-width: 520px;
}
.hero-premium-actions {
    display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px;
}
.hero-premium-actions .btn-gold {
    padding: 14px 28px;
    font-size: 0.95rem;
    box-shadow: 0 8px 32px rgba(212,175,55,0.35);
    animation: ctaGlow 2.5s ease-in-out infinite;
}
@keyframes ctaGlow {
    0%, 100% { box-shadow: 0 8px 32px rgba(212,175,55,0.35); }
    50% { box-shadow: 0 8px 40px rgba(212,175,55,0.55); }
}
.hero-premium-actions .btn-ghost-premium {
    padding: 14px 24px;
    border-radius: 12px;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-family: inherit; font-weight: 700; font-size: 0.9rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-spring);
}
.hero-premium-actions .btn-ghost-premium:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.hero-pillar-pills {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.hero-pillar-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem; font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s var(--ease-spring), background 0.25s, border-color 0.25s;
    animation: pillIn 0.6s var(--ease-smooth) both;
}
.hero-pillar-pill:nth-child(1) { animation-delay: 0.1s; }
.hero-pillar-pill:nth-child(2) { animation-delay: 0.2s; }
.hero-pillar-pill:nth-child(3) { animation-delay: 0.3s; }
.hero-pillar-pill:nth-child(4) { animation-delay: 0.4s; }
@keyframes pillIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}
.hero-pillar-pill:hover {
    transform: translateY(-3px) scale(1.03);
    background: rgba(255,255,255,0.1);
    border-color: var(--pillar-color, var(--gold));
}
.hero-pillar-pill i { color: var(--pillar-color, var(--gold)); }

/* Hero visual side */
.hero-premium-visual {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    min-height: 420px;
    animation: heroVisualIn 1.2s var(--ease-smooth) 0.2s both;
}
@keyframes heroVisualIn {
    from { opacity: 0; transform: scale(0.92) translateX(20px); }
    to { opacity: 1; transform: none; }
}
.hero-orbit-wrap {
    position: relative; width: 100%; max-width: 440px; aspect-ratio: 1;
}
.hero-orbit-wrap img.hero-orbit-svg {
    width: 100%; height: 100%;
    animation: orbitSpin 40s linear infinite;
}
@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hero-float-cards {
    position: absolute; inset: 0;
}
.hero-float-card {
    position: absolute;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
    display: flex; align-items: center; gap: 12px;
    font-size: 0.82rem; font-weight: 700; color: var(--primary);
    animation: cardFloat 6s ease-in-out infinite;
    backdrop-filter: blur(12px);
}
.hero-float-card i { font-size: 1.2rem; color: var(--gold); }
.hero-float-card:nth-child(1) { top: 8%; right: 0; animation-delay: 0s; }
.hero-float-card:nth-child(2) { bottom: 20%; right: -8%; animation-delay: -2s; }
.hero-float-card:nth-child(3) { top: 40%; left: -5%; animation-delay: -4s; }
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Stats ribbon */
.hero-stats-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: -40px 56px 0;
    position: relative; z-index: 10;
}
.hero-stat-premium {
    padding: 28px 24px;
    text-align: center;
    background: var(--white);
    border-right: 1px solid rgba(10,54,105,0.06);
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
    animation: statIn 0.7s var(--ease-smooth) both;
}
.hero-stat-premium:first-child { border-radius: 0 20px 20px 0; }
.hero-stat-premium:last-child { border-radius: 20px 0 0 20px; border-right: none; }
.hero-stat-premium:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(10,54,105,0.12); z-index: 1; }
.hero-stat-premium:nth-child(1) { animation-delay: 0.1s; }
.hero-stat-premium:nth-child(2) { animation-delay: 0.2s; }
.hero-stat-premium:nth-child(3) { animation-delay: 0.3s; }
.hero-stat-premium:nth-child(4) { animation-delay: 0.4s; }
@keyframes statIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}
.hero-stat-premium strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}
.hero-stat-premium span { font-size: 0.82rem; color: var(--muted); font-weight: 600; margin-top: 4px; display: block; }

/* Marquee ticker */
.marquee-strip {
    margin: 32px 0 0;
    padding: 14px 0;
    background: linear-gradient(90deg, var(--primary), #0d4a8a, var(--primary));
    background-size: 200% 100%;
    animation: marqueeBg 8s linear infinite;
    overflow: hidden;
    border-block: 1px solid rgba(212,175,55,0.2);
    position: relative;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeBg {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.marquee-track {
    display: flex; gap: 48px;
    width: max-content;
    animation: marqueeScroll 32s linear infinite;
    white-space: nowrap;
    will-change: transform;
}
[dir="rtl"] .marquee-track {
    animation-name: marqueeScrollRtl;
}
@keyframes marqueeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes marqueeScrollRtl {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(50%, 0, 0); }
}
.marquee-item {
    display: inline-flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem; font-weight: 700;
    flex-shrink: 0;
    border: none; background: transparent; cursor: pointer;
    font-family: inherit; padding: 4px 8px; border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}
.marquee-item:hover, .marquee-item:focus-visible {
    color: var(--gold);
    background: rgba(255,255,255,0.08);
    outline: none;
}
.marquee-item i { color: var(--gold); pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
    .marquee-strip, .marquee-track { animation: none !important; }
    .marquee-track { flex-wrap: wrap; width: 100%; justify-content: center; gap: 12px 24px; }
}

/* Premium CTA — replaces old cta-strip */
.cta-premium {
    margin: 48px 56px;
    padding: 56px 48px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, var(--premium-navy) 0%, var(--primary) 50%, #1a5a9e 100%);
    box-shadow: 0 24px 64px rgba(10,54,105,0.3);
}
.cta-premium::before {
    content: '';
    position: absolute; inset: 0;
    background: url('../images/pattern-dots.svg');
    opacity: 0.15;
}
.cta-premium-orbs {
    position: absolute; inset: 0; pointer-events: none;
}
.cta-premium-orbs span {
    position: absolute; border-radius: 50%;
    filter: blur(60px);
    animation: ctaOrb 8s ease-in-out infinite alternate;
}
.cta-premium-orbs span:nth-child(1) { width: 200px; height: 200px; background: rgba(212,175,55,0.25); top: -50px; right: 10%; }
.cta-premium-orbs span:nth-child(2) { width: 160px; height: 160px; background: rgba(96,165,250,0.15); bottom: -40px; left: 15%; animation-delay: -4s; }
@keyframes ctaOrb {
    0% { transform: scale(1); }
    100% { transform: scale(1.2) translate(10px, -10px); }
}
.cta-premium-inner { position: relative; z-index: 1; }
.cta-premium-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(212,175,55,0.2);
    border: 1px solid rgba(212,175,55,0.4);
    color: var(--premium-gold-soft);
    font-size: 0.78rem; font-weight: 700;
    margin-bottom: 16px;
}
.cta-premium h3 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.3;
    color: #D4AF37;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.cta-premium p {
    margin: 0 auto 28px;
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.7;
    color: #faf3dc;
    opacity: 1;
}
.cta-premium .btn-gold {
    padding: 16px 36px;
    font-size: 1rem;
    animation: ctaGlow 2.5s ease-in-out infinite;
}

/* Section reveal on scroll */
.reveal-section {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Premium pillar cards enhancement */
.pillar-card {
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s !important;
}
.pillar-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(10,54,105,0.15) !important;
}

/* ─── Member Dashboard Premium ─── */
.dash-member-premium { padding: 28px 32px 48px; }

.welcome-premium {
    position: relative;
    border-radius: 24px;
    padding: 36px 40px;
    margin-bottom: 28px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--premium-navy), var(--primary) 60%, #1a5a9e);
    box-shadow: 0 20px 56px rgba(10,54,105,0.25);
}
.welcome-premium-bg {
    position: absolute; inset: 0;
    background: url('../images/pattern-dots.svg');
    opacity: 0.12;
}
.welcome-premium-content { position: relative; z-index: 1; }
.welcome-premium-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 16px; flex-wrap: wrap; gap: 12px;
}
.welcome-premium h1 {
    margin: 0 0 8px;
    font-size: 1.85rem;
    font-weight: 800;
}
.welcome-premium p { margin: 0; opacity: 0.85; font-size: 0.95rem; max-width: 600px; line-height: 1.6; }

.progress-ring-premium {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: conic-gradient(var(--gold) calc(var(--pct) * 1%), rgba(255,255,255,0.15) 0);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    box-shadow: 0 0 0 4px rgba(212,175,55,0.2);
    animation: ringPulse 3s ease-in-out infinite;
}
.progress-ring-premium::before {
    content: '';
    position: absolute; inset: 6px;
    border-radius: 50%;
    background: var(--primary);
}
.progress-ring-premium span {
    position: relative; z-index: 1;
    font-size: 0.85rem; font-weight: 800; color: var(--gold);
}
@keyframes ringPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(212,175,55,0.2); }
    50% { box-shadow: 0 0 0 8px rgba(212,175,55,0.1); }
}

.member-grid-premium {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.panel-premium {
    background: var(--white);
    border-radius: 20px;
    padding: 24px 28px;
    border: 1px solid rgba(10,54,105,0.06);
    box-shadow: 0 8px 32px rgba(10,54,105,0.06);
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.panel-premium:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(10,54,105,0.1); }
.panel-premium h3 {
    margin: 0 0 16px;
    font-size: 1rem;
    color: var(--primary);
    display: flex; align-items: center; gap: 10px;
}
.panel-premium h3 i { color: var(--gold); }

.continue-premium {
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc, #eef4fa);
    border: 1px solid rgba(10,54,105,0.08);
}
.continue-premium h4 { margin: 0 0 12px; color: var(--primary); font-size: 1.05rem; }

.member-stats-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.member-stat-premium {
    padding: 22px 18px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid rgba(10,54,105,0.06);
    text-align: center;
    transition: transform 0.3s var(--ease-spring), border-color 0.3s;
    cursor: default;
}
.member-stat-premium:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--gold);
}
.member-stat-premium i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
}
.member-stat-premium strong {
    display: block;
    font-size: 1.6rem;
    color: var(--primary);
    line-height: 1;
}
.member-stat-premium span { font-size: 0.78rem; color: var(--muted); font-weight: 600; }

.quick-nav-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}
.quick-nav-card {
    padding: 20px 16px;
    border-radius: 16px;
    background: var(--white);
    border: 2px solid transparent;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-spring);
    box-shadow: 0 4px 16px rgba(10,54,105,0.05);
}
.quick-nav-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(10,54,105,0.12);
}
.quick-nav-card i {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
    transition: transform 0.3s var(--ease-spring);
}
.quick-nav-card:hover i { transform: scale(1.15); color: var(--gold); }
.quick-nav-card h4 { margin: 0; font-size: 0.82rem; color: var(--primary); }

/* ─── Admin Dashboard Premium ─── */
.dash-admin-premium { padding: 28px 32px 48px; }
.command-header-premium {
    position: relative;
    border-radius: 24px;
    padding: 36px 40px;
    margin-bottom: 28px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #041525, var(--premium-navy) 40%, var(--primary));
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 24px 64px rgba(6,31,61,0.4);
}
.command-header-premium::after {
    content: '';
    position: absolute; top: -50%; right: -10%;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.15), transparent 70%);
    animation: adminGlow 6s ease-in-out infinite alternate;
}
@keyframes adminGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 1; }
}
.command-crown-premium {
    width: 80px; height: 80px;
    border-radius: 20px;
    background: rgba(212,175,55,0.15);
    border: 2px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: var(--gold);
    animation: crownFloat 4s ease-in-out infinite;
    position: relative; z-index: 1;
}
@keyframes crownFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
}

.kpi-card-premium {
    background: var(--white);
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(10,54,105,0.06);
    display: flex; gap: 16px; align-items: flex-start;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
    animation: kpiIn 0.6s var(--ease-smooth) both;
}
.kpi-card-premium:nth-child(1) { animation-delay: 0.05s; }
.kpi-card-premium:nth-child(2) { animation-delay: 0.1s; }
.kpi-card-premium:nth-child(3) { animation-delay: 0.15s; }
.kpi-card-premium:nth-child(4) { animation-delay: 0.2s; }
.kpi-card-premium:nth-child(5) { animation-delay: 0.25s; }
@keyframes kpiIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
.kpi-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(10,54,105,0.12);
}

/* Section spacing inside premium landing */
.dash-landing .section-block { padding: 56px 56px; }
.dash-landing .platform-powers,
.dash-landing .platform-universe { padding: 56px; max-width: 1280px; margin: 0 auto; }

@media (max-width: 768px) {
    .dash-landing .section-block { padding: 40px 24px; }
    .dash-landing .platform-powers,
    .dash-landing .platform-universe { padding: 40px 24px; }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero-premium-inner { grid-template-columns: 1fr; padding: 48px 28px 32px; gap: 28px; }
    .hero-photo-strip { order: -1; }
    .hero-photo-mini-grid { width: min(100%, 320px); margin: 0 auto; }
    .hero-premium-visual { min-height: auto; order: -1; }
    .hero-stats-premium { margin: -24px 28px 0; grid-template-columns: repeat(2, 1fr); }
    .hero-stat-premium:first-child { border-radius: 0 16px 0 0; }
    .hero-stat-premium:nth-child(2) { border-radius: 16px 0 0 0; }
    .hero-stat-premium:nth-child(3) { border-radius: 0 0 16px 0; }
    .hero-stat-premium:last-child { border-radius: 0 0 0 16px; }
    .member-grid-premium { grid-template-columns: 1fr; }
    .member-stats-premium { grid-template-columns: repeat(2, 1fr); }
    .cta-premium { margin: 32px 28px; padding: 40px 28px; }
}
@media (max-width: 768px) {
    body.guest-mode .topbar-cta-pill { display: none; }
    .hero-stats-premium { margin: 0; border-radius: 0; }
    .hero-stat-premium { border-radius: 0 !important; }
    .hero-float-card { display: none; }
    .member-stats-premium { grid-template-columns: 1fr 1fr; }
}

/* ═══ Dashboard layout — pillar grouping & learning spotlight ═══ */
.pillar-card-rich { text-align: start; }
.pillar-card-rich .pillar-sub-links {
    display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 8px;
}
.pillar-sub-link {
    border: 1px solid rgba(10,54,105,0.12); background: #f8fafc;
    border-radius: 20px; padding: 5px 12px; font-size: 0.72rem;
    font-family: inherit; cursor: pointer; color: var(--primary);
    transition: all 0.2s;
}
.pillar-sub-link:hover { border-color: var(--gold); background: var(--gold-light); }

.learning-spotlight { background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); }
.spotlight-grid {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px;
}
.spotlight-courses, .spotlight-links-wrap {
    background: #fff; border-radius: 16px; padding: 20px;
    border: 1px solid #e8eef4; box-shadow: var(--shadow);
}
.spotlight-courses h4, .spotlight-links-wrap h4 {
    margin: 0 0 14px; font-size: 0.95rem; color: var(--primary);
}
.spotlight-course-list { display: flex; flex-direction: column; gap: 10px; }
.spotlight-course-card {
    display: block; width: 100%; text-align: start; padding: 14px 16px;
    border: 2px solid #e8eef4; border-radius: 12px; background: #fff;
    cursor: pointer; font-family: inherit; transition: all 0.22s;
}
.spotlight-course-card:hover { border-color: var(--gold); transform: translateX(-4px); }
.spotlight-course-tag {
    display: inline-block; font-size: 0.72rem; color: var(--gold);
    margin-bottom: 6px; font-weight: 700;
}
.spotlight-course-card strong { display: block; color: var(--primary); font-size: 0.92rem; }
.spotlight-course-card small { color: var(--muted); font-size: 0.78rem; }
.spotlight-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.spotlight-link {
    display: flex; align-items: center; gap: 8px; padding: 10px 12px;
    border: 1px solid #e8eef4; border-radius: 10px; background: #fafbfc;
    cursor: pointer; font-family: inherit; font-size: 0.82rem; color: var(--primary);
    transition: all 0.2s;
}
.spotlight-link:hover { border-color: var(--gold); background: #fffef8; }

.tools-strip-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px;
}
.tool-strip-card {
    position: relative; display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 20px 14px; border-radius: 14px;
    border: 2px solid #e8eef4; background: #fff; cursor: pointer;
    font-family: inherit; transition: all 0.25s;
}
.tool-strip-card:hover {
    border-color: var(--tool-color, var(--gold));
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(10,54,105,0.1);
}
.tool-strip-icon {
    width: 52px; height: 52px; border-radius: 14px; margin-bottom: 10px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.tool-strip-icon i { font-size: 1.35rem; position: relative; z-index: 1; color: #fff; }
.tool-strip-card strong { font-size: 0.85rem; color: var(--primary); }
.tool-strip-card small { font-size: 0.72rem; color: var(--muted); margin-top: 4px; }

.pillar-explore-stack { display: flex; flex-direction: column; gap: 28px; }
.pillar-explore-block {
    background: #fff; border-radius: 18px; padding: 24px 26px;
    border: 1px solid #e8eef4; border-right: 4px solid var(--pillar-color, var(--primary));
    box-shadow: var(--shadow);
}
.pillar-explore-head {
    display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.pillar-explore-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: rgba(10,54,105,0.08);
    color: var(--pillar-color); display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.pillar-explore-head h3 { margin: 0 0 4px; color: var(--primary); font-size: 1.1rem; }
.pillar-explore-head p { margin: 0; font-size: 0.85rem; color: var(--muted); flex: 1; min-width: 200px; }
.pillar-explore-enter { margin-right: auto; }
.pillar-explore-modules {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px;
    margin-bottom: 14px;
}
.pillar-mod-tile {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px;
    border: 2px solid #e8eef4; border-radius: 12px; background: #fafbfc;
    cursor: pointer; font-family: inherit; text-align: start; transition: all 0.22s;
}
.pillar-mod-tile:hover { border-color: var(--tile-accent); background: #fff; transform: translateX(-3px); }
.pillar-mod-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    background: rgba(10,54,105,0.06);
    color: var(--tile-accent); display: flex; align-items: center; justify-content: center;
}
.pillar-mod-body { flex: 1; min-width: 0; }
.pillar-mod-body strong { display: block; font-size: 0.88rem; color: var(--primary); }
.pillar-mod-body small { display: block; font-size: 0.72rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.pillar-mod-meta { font-size: 0.68rem; color: var(--gold); font-weight: 700; }
.pillar-mod-arrow { color: var(--muted); font-size: 0.75rem; }
.pillar-explore-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pillar-link-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
    border-radius: 20px; border: 1px solid #dde5ed; background: #fff;
    font-size: 0.78rem; font-family: inherit; cursor: pointer; color: var(--primary);
    transition: all 0.2s;
}
.pillar-link-chip:hover { border-color: var(--gold); background: var(--gold-light); }

.member-pillar-grid { display: flex; flex-direction: column; gap: 20px; }
.member-pillar-block {
    background: #fff; border-radius: 14px; padding: 18px 20px;
    border: 1px solid #e8eef4; border-right: 4px solid var(--pillar-color);
}
.member-pillar-block h3 {
    margin: 0 0 12px; font-size: 0.95rem; color: var(--primary);
    display: flex; align-items: center; gap: 8px;
}
.member-pillar-tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.member-pillar-tile {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
    border-radius: 10px; border: 1px solid #e8eef4; background: #f8fafc;
    cursor: pointer; font-family: inherit; font-size: 0.82rem; color: var(--primary);
    transition: all 0.2s;
}
.member-pillar-tile:hover { border-color: var(--gold); background: #fff; }

.hub-related-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hub-related-link {
    padding: 8px 14px; border-radius: 10px; border: 1px solid #e8eef4;
    background: #f8fafc; font-family: inherit; font-size: 0.82rem;
    cursor: pointer; color: var(--primary);
}
.hub-related-link:hover { border-color: var(--gold); }
.hub-topic-card small { display: block; font-size: 0.7rem; color: var(--muted); margin-top: 4px; }

@media (max-width: 900px) {
    .spotlight-grid { grid-template-columns: 1fr; }
    .pillar-explore-modules { grid-template-columns: 1fr; }
    .spotlight-links { grid-template-columns: 1fr; }
    .arab-homeland-grid { grid-template-columns: 1fr !important; }
    .arab-countries-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ─── Arab Homeland Map (22 countries) ─── */
.arab-homeland-section {
    background: linear-gradient(165deg, #f8fafc 0%, #eef4fb 50%, #fffef8 100%);
    border-radius: 24px; padding: 28px 24px; margin: 0 0 8px;
    border: 1px solid rgba(10, 54, 105, 0.08);
}
.arab-homeland-grid {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: stretch;
}
.arab-map-panel {
    background: linear-gradient(145deg, var(--premium-navy), #0d4a8a);
    border-radius: 20px; padding: 28px 20px; color: #fff; text-align: center;
    position: relative; overflow: hidden;
}
.arab-map-visual {
    position: relative; width: 200px; height: 200px; margin: 0 auto 16px;
}
.arab-map-glow {
    position: absolute; inset: -20%; border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.25), transparent 70%);
    animation: arabGlow 4s ease-in-out infinite;
}
@keyframes arabGlow { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.arab-map-icon { font-size: 3.5rem; color: var(--premium-gold); position: relative; z-index: 2; margin-top: 50px; }
.arab-map-orbit {
    position: absolute; inset: 0; animation: arabOrbit 48s linear infinite;
}
@keyframes arabOrbit { to { transform: rotate(360deg); } }
.arab-map-dot {
    position: absolute; width: 28px; height: 28px; font-size: 0.95rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    top: 50%; left: 50%;
    transform: rotate(calc(var(--dot-i) * 16.36deg)) translateY(-95px) rotate(calc(var(--dot-i) * -16.36deg));
    animation: dotPulse 3s ease-in-out infinite;
    animation-delay: calc(var(--dot-i) * 0.12s);
}
@keyframes dotPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.4); } 50% { box-shadow: 0 0 0 6px rgba(212,175,55,0); } }
.arab-map-ring {
    position: absolute; inset: 8px; border: 1px dashed rgba(212,175,55,0.35);
    border-radius: 50%; animation: arabOrbit 60s linear infinite reverse;
}
.arab-map-ring-2 { inset: 24px; opacity: 0.5; animation-duration: 36s; }
.arab-map-stat strong { display: block; font-size: 2.2rem; color: var(--premium-gold); }
.arab-map-stat span { font-size: 0.85rem; opacity: 0.9; }
.arab-map-founded { font-size: 0.82rem; opacity: 0.88; margin: 12px 0 0; line-height: 1.5; }
.arab-countries-panel {
    background: #fff; border-radius: 20px; padding: 20px;
    border: 1px solid rgba(10, 54, 105, 0.08);
}
.arab-countries-panel h4 { margin: 0 0 8px; color: var(--primary); font-size: 1rem; }
.arab-index-note { font-size: 0.82rem; color: var(--muted); margin: 0 0 14px; }
.arab-countries-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px;
    max-height: 340px; overflow-y: auto;
}
.arab-country-chip {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    border-radius: 12px; border: 1px solid #e8eef4; background: #f8fafc;
    cursor: pointer; font-family: inherit; font-size: 0.8rem; color: var(--primary);
    transition: all 0.2s; text-align: right;
}
.arab-country-chip:hover { border-color: var(--gold); background: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(10,54,105,0.08); }
.arab-country-flag {
    font-size: 1.5rem; line-height: 1; flex-shrink: 0;
    width: 36px; height: 28px; display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.arab-country-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }

/* ─── Partners Marquee (universities + institutions) ─── */
.partners-section {
    padding: 32px 0 24px; margin-bottom: 8px;
}
.section-head-center { text-align: center; max-width: 720px; margin: 0 auto 24px; }
.partner-cat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.partner-cat-pill {
    font-size: 0.72rem; padding: 4px 12px; border-radius: 999px;
    background: rgba(10, 54, 105, 0.08); color: var(--primary); font-weight: 600;
}
.partners-marquee-wrap {
    overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    padding: 12px 0;
}
.partners-marquee-track {
    display: flex; gap: 20px; width: max-content;
}
.partners-marquee-wrap:hover .partners-marquee-track { animation-play-state: paused; }
.partner-chip {
    display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px;
    background: #fff; border-radius: 16px; border: 1px solid #e8eef4;
    box-shadow: 0 4px 16px rgba(10, 54, 105, 0.06); min-width: 200px;
    flex-shrink: 0; transition: transform 0.25s, box-shadow 0.25s;
}
.partner-chip:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(10, 54, 105, 0.12); }
.partner-chip-featured {
    border-color: var(--gold); background: linear-gradient(135deg, #fffef8, #fff);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.2);
}
.partner-avatar-wrap { position: relative; flex-shrink: 0; }
.partner-avatar {
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, var(--partner-color), color-mix(in srgb, var(--partner-color) 70%, #000));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; position: relative; z-index: 1;
}
.partner-trace {
    position: absolute; inset: -4px; border-radius: 18px;
    border: 2px solid transparent; border-top-color: var(--gold);
    animation: partnerTrace 2.5s linear infinite;
}
.partner-chip-featured .partner-trace { border-top-color: var(--premium-gold); animation-duration: 1.8s; }
@keyframes partnerTrace { to { transform: rotate(360deg); } }
.partner-meta strong { display: block; font-size: 0.82rem; color: var(--primary); line-height: 1.3; }
.partner-meta small { font-size: 0.68rem; color: var(--muted); }
.partners-accmaa-note {
    text-align: center; font-size: 0.85rem; color: var(--muted); margin: 16px 0 0;
}

/* ─── Icon thematic backgrounds (global — img layer) ─── */
.has-icon-bg {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.has-icon-bg .icon-bg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
    display: block;
}
.has-icon-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(145deg, rgba(0,0,0,0.08), rgba(0,0,0,0.02));
    border-radius: inherit; pointer-events: none; z-index: 1;
}
.has-icon-bg > i, .has-icon-bg .icon-bg-visual > i {
    position: relative; z-index: 2;
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ─── Card / menu thematic backgrounds (mobile theme style) ─── */
.has-card-bg {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.has-card-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center center;
    filter: saturate(1.12) contrast(1.05);
    transform: scale(1.02);
    pointer-events: none;
    transition: transform 0.45s ease, filter 0.35s ease;
}
.has-card-bg:hover::before {
    transform: scale(1.06);
    filter: saturate(1.2) contrast(1.08);
}
.has-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.has-card-bg > * { position: relative; z-index: 1; }

.pillar-card.has-card-bg::after,
.explore-card.has-card-bg::after,
.gift-card.has-card-bg::after,
.portal-mod-card.has-card-bg::after,
.pillar-mod-tile.has-card-bg::after {
    background: linear-gradient(to bottom, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.28) 52%, rgba(255,255,255,0.62) 100%);
}
.pillar-explore-block.has-card-bg::after {
    background: linear-gradient(135deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.35) 45%, rgba(255,255,255,0.65) 100%);
    border-radius: inherit;
}
.main-inner.has-card-bg::after {
    background: linear-gradient(to bottom, rgba(255,255,255,0.78) 0%, rgba(248,250,252,0.94) 100%);
}
.icon-btn.has-card-bg {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
}
.icon-btn.has-card-bg::after {
    background: linear-gradient(to bottom, rgba(10,54,105,0.15) 0%, rgba(10,54,105,0.72) 100%);
}
.icon-btn.has-card-bg .icon-btn-label {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.55);
    font-weight: 700;
}
.icon-btn.has-card-bg:hover::after,
.icon-btn.has-card-bg.active::after {
    background: linear-gradient(to bottom, rgba(212,175,55,0.25) 0%, rgba(10,54,105,0.65) 100%);
}
.sections-panel.has-card-bg::after {
    background: linear-gradient(to bottom, rgba(10,54,105,0.55) 0%, rgba(10,54,105,0.88) 100%);
}

.explore-card .icon-wrap.has-icon-bg,
.pillar-icon.has-icon-bg {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; margin: 0 auto 12px;
}
.explore-card .icon-wrap.has-icon-bg i { font-size: 1.4rem; }
.pillar-icon.has-icon-bg { margin-bottom: 14px; }
.pillar-icon.has-icon-bg i { font-size: 1.5rem; }

/* ─── Icon size variants (platform-wide) ─── */
.accmaa-icon-mini, .mega-icon-mini, .member-icon-mini, .notif-icon-mini {
    width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; vertical-align: middle;
}
.accmaa-icon-mini i, .mega-icon-mini i, .member-icon-mini i, .notif-icon-mini i { font-size: 0.75rem; }
.accmaa-icon-md, .tool-strip-icon, .power-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; margin: 0 auto 8px;
}
.accmaa-icon-md i, .tool-strip-icon i, .power-icon i { font-size: 1.1rem; }
.accmaa-icon-lg, .mega-head-icon, .pillar-explore-icon .accmaa-icon-lg {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; flex-shrink: 0;
}
.mega-trigger-icon { width: 26px; height: 26px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; position: relative; overflow: hidden; margin-left: 6px; }
.mega-trigger-icon i { font-size: 0.7rem; }
.pillar-sub-link { display: inline-flex; align-items: center; gap: 8px; }
.pillar-sub-link .accmaa-icon-mini { margin: 0; }
.pillar-mod-icon { flex-shrink: 0; }
.spotlight-link { display: flex; align-items: center; gap: 10px; }
.spotlight-link .accmaa-icon-mini { margin: 0; }
.pillar-link-chip { display: inline-flex; align-items: center; gap: 8px; }
.member-link { display: inline-flex; align-items: center; gap: 8px; }
.mega-link { display: flex; align-items: center; gap: 10px; }
.notif-item { display: flex; align-items: center; gap: 10px; }
.power-card .power-icon { margin: 0 auto 12px; }
.member-pillar-tile { display: inline-flex; align-items: center; gap: 8px; }
.member-pillar-block h3 { display: flex; align-items: center; gap: 8px; }

.universe-pill-icon, .course-thumb-icon {
    width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; margin-bottom: 8px;
}
.universe-pill { display: flex; flex-direction: column; align-items: center; }
.universe-pill-icon i, .course-thumb-icon i { font-size: 1rem; }

.arab-flags-marquee-wrap {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    margin: 0 0 10px;
    padding: 6px 0;
}
.arab-flags-marquee-top { margin-bottom: 4px; }
.arab-flags-marquee-bottom { margin-bottom: 18px; }
.arab-flags-marquee-track {
    display: flex; gap: 12px; width: max-content;
}
.arab-flags-marquee-fwd { animation: arabFlagsFwd 48s linear infinite; }
.arab-flags-marquee-rev { animation: arabFlagsRev 52s linear infinite; }
.arab-flags-marquee-wrap:hover .arab-flags-marquee-track { animation-play-state: paused; }
@keyframes arabFlagsFwd { to { transform: translateX(-50%); } }
@keyframes arabFlagsRev { to { transform: translateX(50%); } }
.arab-country-chip-marquee {
    flex-shrink: 0; min-width: 148px; pointer-events: none;
    background: #fff; box-shadow: 0 4px 12px rgba(10,54,105,0.08);
}
.arab-flag-img {
    width: 40px; height: 30px; object-fit: cover;
    border-radius: 5px; border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1); display: block;
}
.arab-map-flag { width: 22px !important; height: 16px !important; border-radius: 2px; }
.arab-map-dot {
    width: 34px !important; height: 34px !important;
    padding: 3px !important; overflow: hidden;
}
.arab-country-flag {
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: #fff; padding: 3px; border-radius: 6px;
    border: 1px solid #e2e8f0; box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* ─── Partners dual marquee ─── */
.partners-marquee-wrap-b { margin-top: 10px; }
.partners-marquee-track-a { animation: partnersScrollA 75s linear infinite; }
.partners-marquee-track-b { animation: partnersScrollB 85s linear infinite reverse; }
@keyframes partnersScrollA { to { transform: translateX(-33.333%); } }
@keyframes partnersScrollB { to { transform: translateX(33.333%); } }

/* ─── Responsive + tier badges (global) ─── */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img.brand-logo, .icon-bg-layer { max-width: 100%; height: auto; }
.main-wrap, .main-inner { max-width: 100%; box-sizing: border-box; }
.tools-strip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
    gap: 12px;
}
.hub-topic-icon { width: 44px; height: 44px; flex-shrink: 0; }
.hub-topic-body { flex: 1; min-width: 0; }
.hub-topic-go { font-size: 0.72rem; color: var(--gold); font-weight: 700; }
@media (max-width: 1024px) {
    .pillar-explore-modules { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
    .explore-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
}
@media (max-width: 768px) {
    .dash-landing, .dash-member-premium { padding: 16px 14px 32px; }
    .hero-premium-inner { padding: 32px 18px 24px; }
    .hero-photo-cinema { min-height: auto; }
    .tools-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pillar-explore-head { flex-direction: column; align-items: stretch; }
    .module-tabs { overflow-x: auto; flex-wrap: nowrap; }
}
@media (max-width: 480px) {
    .tools-strip-grid { grid-template-columns: 1fr; }
}

/* ═══ Instructors showcase (easyT-style) ═══ */
.instructors-showcase {
    position: relative;
    margin: 0;
    padding: 0 !important;
    overflow: hidden;
    scroll-margin-top: calc(var(--topbar-h, 76px) + 16px);
}
.instructors-showcase-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #061f3d 0%, #0a3669 45%, #0d2847 100%);
    z-index: 0;
}
.instructors-showcase-bg span {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    animation: instructorOrb 8s ease-in-out infinite;
}
.instructors-showcase-bg span:nth-child(1) {
    width: 280px; height: 280px;
    background: rgba(212, 175, 55, 0.4);
    top: -80px; right: 10%;
}
.instructors-showcase-bg span:nth-child(2) {
    width: 220px; height: 220px;
    background: rgba(99, 102, 241, 0.35);
    bottom: -60px; left: 5%;
    animation-delay: 2s;
}
.instructors-showcase-bg span:nth-child(3) {
    width: 180px; height: 180px;
    background: rgba(16, 185, 129, 0.3);
    top: 40%; left: 40%;
    animation-delay: 4s;
}
@keyframes instructorOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -16px) scale(1.08); }
}
.instructors-showcase-inner {
    position: relative;
    z-index: 1;
    padding: 52px 48px 56px;
    max-width: 1280px;
    margin: 0 auto;
}
.instructors-head .powers-eyebrow { color: var(--premium-gold, #D4AF37); }
.instructors-head h2 { color: #fff; font-size: clamp(1.35rem, 3vw, 1.85rem); }
.instructors-head p { color: rgba(255,255,255,0.78); }
.instructors-head .section-head { margin-bottom: 28px; }

.instructors-marquee-wrap {
    position: relative;
    overflow: hidden;
    margin: 0 -12px;
    padding: 8px 0 4px;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.instructors-grid-static {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 18px;
    margin-top: 8px;
}
.instructors-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: instructorsScroll 42s linear infinite;
    will-change: transform;
}
[dir="rtl"] .instructors-marquee-track {
    animation-name: instructorsScrollRtl;
}
.instructors-marquee-wrap:hover .instructors-marquee-track,
.instructors-marquee-wrap:focus-within .instructors-marquee-track {
    animation-play-state: paused;
}
@keyframes instructorsScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes instructorsScrollRtl {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(50%, 0, 0); }
}

.instructor-card {
    position: relative;
    flex: 0 0 min(340px, 88vw);
    padding: 24px 22px 20px;
    border-radius: 20px;
    background: linear-gradient(160deg, #fff 0%, #f8fafc 100%);
    border: 1px solid #e8eef4;
    box-shadow: 0 12px 40px rgba(10, 54, 105, 0.07);
    transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s, border-color 0.35s;
    overflow: hidden;
    isolation: isolate;
}
.instructor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(10, 54, 105, 0.12);
    border-color: color-mix(in srgb, var(--instructor-accent, var(--primary)) 35%, #e8eef4);
}
.instructor-card.is-selected {
    border-color: var(--gold);
    box-shadow: 0 16px 44px rgba(212, 175, 55, 0.18);
}
.instructor-card-glow {
    position: absolute;
    top: -40px;
    right: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--instructor-accent, var(--primary)) 22%, transparent) 0%, transparent 70%);
    pointer-events: none;
    animation: instructorGlow 4s ease-in-out infinite;
}
@keyframes instructorGlow {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.15); opacity: 1; }
}

.instructor-avatar-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
}
.instructor-avatar-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--instructor-accent, var(--primary)) 45%, transparent);
    animation: instructorRing 3s ease-in-out infinite;
}
@keyframes instructorRing {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.08); opacity: 1; }
}
.instructor-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, var(--instructor-accent, var(--primary)), color-mix(in srgb, var(--instructor-accent, var(--primary)) 65%, #000));
    box-shadow: 0 8px 24px color-mix(in srgb, var(--instructor-accent, var(--primary)) 35%, transparent);
    position: relative;
    z-index: 1;
    animation: instructorAvatarFloat 5s ease-in-out infinite;
}
@keyframes instructorAvatarFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
.instructor-badge-icon {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 28px !important;
    height: 28px !important;
    border-radius: 9px !important;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
    animation: iconBadgePulse 2.5s ease-in-out infinite;
}
@keyframes iconBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.instructor-quote {
    margin: 0 0 14px;
    padding: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--muted);
    text-align: center;
    border: none;
    font-style: normal;
}
.instructor-quote::before {
    content: '\201C';
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 0;
    vertical-align: -0.2em;
    margin-left: 4px;
}
.instructor-meta {
    text-align: center;
    margin-bottom: 10px;
}
.instructor-meta strong {
    display: block;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 4px;
}
.instructor-role {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.4;
}
.instructor-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    margin-bottom: 10px;
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 600;
}
.instructor-stats i { color: var(--gold); margin-left: 4px; }
.instructor-featured {
    margin: 0 0 12px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(10, 54, 105, 0.05);
    font-size: 0.76rem;
    color: var(--primary);
    text-align: center;
    line-height: 1.45;
}
.instructor-featured i { color: var(--gold); margin-left: 6px; }
.instructor-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.instructor-card-actions .btn { width: 100%; font-size: 0.76rem; padding: 8px 6px; }

@media (prefers-reduced-motion: reduce) {
    .instructors-marquee-track { animation: none !important; }
    .instructors-marquee-wrap { display: none; }
    .instructors-grid-static { display: grid; }
    .instructor-card-glow, .instructor-avatar-ring, .instructor-avatar, .instructor-badge-icon { animation: none !important; }
}

/* ═══ Icon motion & glow (dashboard + sidebar) ═══ */
body.premium-ui .has-icon-bg::before {
    content: '';
    position: absolute;
    inset: -20%;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), transparent 55%);
    z-index: 1;
    pointer-events: none;
    animation: iconShine 4s ease-in-out infinite;
}
@keyframes iconShine {
    0%, 100% { opacity: 0.5; transform: translate(0, 0); }
    50% { opacity: 1; transform: translate(4%, 4%); }
}

body.premium-ui .icon-btn .icon-bg-visual.has-icon-bg {
    animation: iconDockFloat 4s ease-in-out infinite;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
body.premium-ui .icon-btn:nth-child(3n+1) .icon-bg-visual { animation-delay: 0s; }
body.premium-ui .icon-btn:nth-child(3n+2) .icon-bg-visual { animation-delay: 0.6s; }
body.premium-ui .icon-btn:nth-child(3n) .icon-bg-visual { animation-delay: 1.2s; }
@keyframes iconDockFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
body.premium-ui .icon-btn:hover .icon-bg-visual,
body.premium-ui .icon-btn.active .icon-bg-visual {
    animation: none;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 0 0 2px var(--gold), 0 8px 20px rgba(212,175,55,0.25);
}

body.premium-ui .tool-strip-icon.has-icon-bg,
body.premium-ui .pillar-icon.has-icon-bg,
body.premium-ui .explore-card .icon-wrap.has-icon-bg {
    animation: iconCardFloat 5s ease-in-out infinite;
    box-shadow: 0 6px 20px rgba(10, 54, 105, 0.15);
}
body.premium-ui .tool-strip-card:nth-child(odd) .tool-strip-icon { animation-delay: 0.3s; }
body.premium-ui .tool-strip-card:nth-child(even) .tool-strip-icon { animation-delay: 0.9s; }
@keyframes iconCardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}
body.premium-ui .tool-strip-card:hover .tool-strip-icon,
body.premium-ui .pillar-card:hover .pillar-icon,
body.premium-ui .explore-card:hover .icon-wrap {
    animation: none;
    transform: scale(1.08) translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    body.premium-ui .has-icon-bg::before,
    body.premium-ui .icon-btn .icon-bg-visual,
    body.premium-ui .tool-strip-icon,
    body.premium-ui .pillar-icon,
    body.premium-ui .explore-card .icon-wrap { animation: none !important; }
}

@media (max-width: 768px) {
    .instructors-showcase-inner { padding: 40px 20px 44px; }
    .instructors-marquee-wrap { display: none; }
    .instructors-grid-static { display: grid; }
    .instructor-card { flex: none; width: 100%; }
    .instructor-card-actions { grid-template-columns: 1fr; }
    .hero-premium-actions { flex-wrap: wrap; }
}

/* ═══ Pillar hub — بطاقات بصورة خلفية ═══ */
.dash-zone--primary {
    margin-top: 0;
    padding-top: 8px;
}
.section-head--pillars {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 28px;
}
.pillar-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    max-width: 1280px;
    margin: 0 auto;
}
.pillar-grid-premium .pillar-hub-card:nth-child(5) {
    grid-column: 1 / span 2;
    max-width: calc(50% - 11px);
}
.pillar-hub-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(10,54,105,0.08);
    box-shadow: 0 14px 40px rgba(10,54,105,0.09);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.32s, box-shadow 0.32s, border-color 0.32s;
}
.pillar-hub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(10,54,105,0.14);
    border-color: var(--pillar-color, var(--gold));
}
.pillar-hub-banner {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pillar-color, #0A3669), #061f3d);
}
.pillar-hub-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}
.pillar-hub-card:hover .pillar-hub-banner-img { transform: scale(1.06); }
.pillar-hub-banner-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,31,61,0.72) 0%, rgba(6,31,61,0.15) 55%, rgba(6,31,61,0.05) 100%);
    pointer-events: none;
}
.pillar-hub-banner-icon {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.pillar-hub-body {
    padding: 18px 18px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pillar-hub-body h3 {
    margin: 0 0 6px;
    color: var(--primary);
    font-size: 1.05rem;
}
.pillar-hub-body > p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
    flex: 1;
}
.pillar-hub-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #eef2f7;
}
.pillar-profile-btn {
    border: 1px solid var(--gold);
    background: #fffbeb;
    color: var(--primary);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.pillar-profile-btn:hover { background: var(--gold-light); }
.pillar-hub-enter {
    border: none;
    background: none;
    color: var(--pillar-color, var(--gold));
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: inherit;
    margin-right: auto;
}
.pillar-hub-enter:hover { text-decoration: underline; }
.cms-poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    max-height: 420px;
    overflow: auto;
}
@media (max-width: 1100px) {
    .pillar-grid-premium { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pillar-grid-premium .pillar-hub-card:nth-child(5) {
        grid-column: auto;
        max-width: none;
    }
}
@media (max-width: 640px) {
    .pillar-grid-premium { grid-template-columns: 1fr; }
}
