/* Aura 50 - Premium VIP Celebrity Index UI
   Fonts: Fraunces (display serif), Manrope (sans body), JetBrains Mono (numeric)
   Theme: Midnight, Amethyst, and Hollywood Gold
*/

:root {
  /* The VIP Color Palette */
  --bg: #09040F;               /* Deep Midnight */
  --surface: #1A0B26;          /* Rich Amethyst (Cards & Panels) */
  --surface-alt: #261136;      /* Lighter Amethyst */
  --surface-hover: #2F1545;    
  --border: rgba(212, 175, 55, 0.2);       /* Soft gold borders */
  --border-strong: rgba(212, 175, 55, 0.4);/* Strong gold borders */
  
  --text: #FBFBFB;             /* Starlight White */
  --text-dim: #A89CB8;         /* Soft Purple-Gray for readable secondary text */
  --text-mute: #6C5A80;        /* Muted Purple for labels */
  
   --up: #00c676;               /* Classic Index Green (Rising Score) */
  --up-soft: rgba(0, 198, 118, 0.12);
  
  --down: #E81C4F;             /* Red Carpet Crimson (Falling Score) */
  --down-soft: rgba(232, 28, 79, 0.12);
  --gold: #D4AF37;
  
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px rgba(212, 175, 55, 0.15); /* Gold glow instead of green */
  
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* VIP Spotlight Background Effect */
body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 80% -100px, rgba(138, 43, 226, 0.12), transparent 60%), /* Subtle purple top-right */
    radial-gradient(900px 500px at -100px 200px, rgba(212, 175, 55, 0.08), transparent 60%), /* Subtle gold left */
    var(--bg);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.serif { font-family: 'Fraunces', 'Times New Roman', serif; letter-spacing: -0.02em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* ============= NAV ============= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 4, 15, 0.85); /* Deep midnight blur */
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  text-decoration: none;
}
.logo-img {
  height: 28px; 
  width: auto;
  display: block; 
}
.logo-text { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.logo-text b { color: var(--gold); font-weight: 500; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text-dim); font-size: 14px; font-weight: 500;
  position: relative; padding: 6px 0; transition: color .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-mobile-btn { display: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn {
    display: grid; place-items: center; width: 40px; height: 40px;
    border-radius: 10px; border: 1px solid var(--border); color: var(--text);
  }
  .nav-links.open {
    display: flex; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(26, 11, 38, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border); padding: 8px 16px 16px;
  }
  .nav-links.open a { padding: 14px 6px; border-bottom: 1px solid var(--border); }
  .nav-links.open a.active::after { display: none; }
  .nav-links.open a.active { color:var(--gold) ;}
}

/* ============= HERO ============= */
.hero { padding: 72px 0 40px; position: relative; }
@media (max-width: 640px) { .hero { padding: 44px 0 24px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(212, 175, 55, 0.05); /* Gold tint */
  color: var(--text-dim); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow .dot { 
    width: 6px; height: 6px; border-radius: 50%; 
    background: var(--gold); box-shadow: 0 0 12px var(--gold); 
    animation: pulse 2s ease-in-out infinite; 
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--gold); font-weight: 300; }
.hero-tagline { color: var(--text-dim); font-size: clamp(16px, 2vw, 20px); max-width: 620px; margin-bottom: 44px; }

.hero-index {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(212,175,55,0.05), rgba(212,175,55,0)); /* Gold top lighting */
  padding: 28px 32px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}
.hero-index > div { padding: 4px 24px; border-left: 1px solid var(--border); }
.hero-index > div:first-child { border-left: none; padding-left: 0; }
.hero-index .label { color: var(--text-dim); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.hero-index .val { font-size: clamp(28px, 4vw, 44px); font-weight: 500; letter-spacing: -0.03em; }
.hero-index .sub { font-size: 13px; color: var(--text-mute); margin-top: 4px; }

@media (max-width: 720px) {
  .hero-index { grid-template-columns: 1fr 1fr; padding: 20px; }
  .hero-index > div { padding: 10px 0; border-left: none; border-top: 1px solid var(--border); }
  .hero-index > div:nth-child(1), .hero-index > div:nth-child(2) { border-top: none; padding-top: 0; }
  .hero-index > div:nth-child(2) { padding-left: 16px; border-left: 1px solid var(--border); }
  .hero-index > div:nth-child(4) { padding-left: 16px; border-left: 1px solid var(--border); }
}

/* ============= SECTIONS ============= */
.section { padding: 72px 0; border-top: 1px solid var(--border); }
@media (max-width: 640px) { .section { padding: 48px 0; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section-title { font-family: 'Fraunces', serif; font-size: clamp(24px, 4vw, 42px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
.section-title em { font-style: italic; color: var(--gold); font-weight: 300; }
.section-sub { margin-top: 8px; max-width: 460px; color: var(--text-dim); font-size: 14px; }
.section-link { color: var(--text-dim); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; white-space: nowrap; }
.section-link:hover { color: var(--gold); }
.section-link svg { transition: transform .2s; }
.section-link:hover svg { transform: translateX(3px); }

/* ============= MOVER CARDS ============= */
.movers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .movers { grid-template-columns: 1fr; } }

.movers-col h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.movers-col h3::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.movers-col.gainers h3::before { background: var(--up); box-shadow: 0 0 10px var(--up); }
.movers-col.losers h3::before { background: var(--down); box-shadow: 0 0 10px var(--down); }

.mover-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  margin-bottom: 10px;
}
/* ============= MOVER CARD GLOW ============= */
.mover-card:hover { transform: translateY(-2px); border-color: var(--border-strong); background: var(--surface-alt); }


.mover-avatar { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 14px; flex-shrink: 0; background: #000; }
.mover-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mover-info { flex: 1; min-width: 0; }
.mover-name { font-weight: 500; font-size: 15px; letter-spacing: -0.01em; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mover-cat { font-size: 11px; color: var(--text-mute); letter-spacing: 0.08em; text-transform: uppercase; }
.mover-score { text-align: right; }
.mover-score .val { font-family: 'JetBrains Mono', monospace; font-size: 17px; font-weight: 500; line-height: 1; }
.mover-score .chg { font-family: 'JetBrains Mono', monospace; font-size: 12px; margin-top: 4px; display: block; }
.chg.up { color: var(--up); }
.chg.down { color: var(--down); }
.chg.flat { color: var(--text-mute); } /* Fades the 0.0 scores into the background */

/* ============= UPDATES / NEWS ============= */
.updates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .updates-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .updates-grid { grid-template-columns: 1fr; } }

.update-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.update-card:hover { 
  transform: translateY(-4px); 
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow); /* Adds a subtle gold glow when hovering over news */
}

/* Updated Media Container based on your bottom styles */
.update-media { 
  aspect-ratio: 16 / 10; 
  position: relative; 
  overflow: visible; 
  border-bottom: 1px solid var(--border); 
}
.news-banner {
  width: 100%;
  height: 100%;
  background-size: cover; 
  background-position: center top;
  border-radius: 12px 12px 0 0;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.update-card:hover .news-banner {
  transform: scale(1.05);
}

.update-media .badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 10px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500;
  backdrop-filter: blur(8px); border: 1px solid var(--border-strong);
}
.badge.up { background: var(--up-soft); color: var(--up); border-color: rgba(212, 175, 55, 0.4); }
.badge.down { background: var(--down-soft); color: var(--down); border-color: rgba(232, 28, 79, 0.4); }

.update-body {
  padding: 10px;
  margin-top: 0 !important;
}
.curr {
  font-weight: bold;
}

/* Force the avatar to stay a small circle in the corner */
.update-media img.celeb-avatar {
  position: absolute !important;
  bottom: -16px !important;
  right: 16px !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid var(--surface) !important; /* Matches the rich purple background */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5) !important;
  z-index: 10 !important;
}

.lb-empty { text-align: center; padding: 60px 20px; color: var(--text-mute); font-size: 14px; }


/* ============= TABLE LAYOUT ============= */
.lb-table {
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    border-collapse: collapse;
}
.lb-person {
    display: flex;
    align-items: center;
    gap: 6px; 
}
.lb-avatar {
    width: 40px !important; 
    min-width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    border-radius: 4px;
}
.lb-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
.lb-table th, .lb-table td {
    padding: 8px 4px !important; 
}

@media (min-width: 721px) {
    .lb-table {
        max-width: 750px !important; 
    }
    .lb-person {
        flex-direction: row; 
        align-items: center; 
        gap: 15px !important;
    }
    .lb-avatar {
        width: 80px !important;
        min-width: 80px !important;
        height: 80px !important;
    }
    .lb-table th, .lb-table td {
        padding: 16px !important; 
    }
    .lb-name { font-size: 25px; }
    .lb-score { font-size: 25px; }
    .lb-trend svg {
        width: 25px; 
        height: 25px; 
        display: inline-block;
        vertical-align: middle; 
    }
    .lb-change {
        font-size: 25px; 
        font-weight: 500; 
    }
}


/* ============= PROFILE PAGE ============= */
.profile-hero {
  display: grid; grid-template-columns: 320px 1fr; gap: 48px;
  padding: 60px 0 40px; align-items: end;
}
@media (max-width: 820px) {
  .profile-hero { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 24px; }
}
.profile-photo {
  width: 320px; height: 320px; max-width: 100%;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-cat { color: var(--gold); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 14px; }
.profile-name { font-family: 'Fraunces', serif; font-size: clamp(40px, 6vw, 68px); font-weight: 400; letter-spacing: -0.03em; line-height: 1; margin-bottom: 20px; }
.profile-stats { display: flex; gap: 40px; margin-bottom: 24px; flex-wrap: wrap; }
.profile-stat .label { font-size: 11px; color: var(--text-mute); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.profile-stat .val { font-family: 'JetBrains Mono', monospace; font-size: 36px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.profile-stat .chg { font-family: 'JetBrains Mono', monospace; font-size: 14px; margin-top: 4px; }
.profile-bio { color: var(--text-dim); font-size: 16px; max-width: 620px; line-height: 1.65; }
/* ============= RELATED PERSONALITIES ============= */
.related-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 16px; 
}

@media (max-width: 720px) { 
    .related-grid { grid-template-columns: repeat(2, 1fr); } 
}

.rel-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--surface); /* Rich Amethyst to match VIP theme */
  transition: transform .25s, border-color .25s, background .25s;
}

.rel-card:hover { 
    transform: translateY(-3px); 
    border-color: var(--border-strong); 
    background: var(--surface-alt); 
}

.rel-avatar { 
    width: 56px; 
    height: 56px; 
    border-radius: 14px; 
    overflow: hidden; 
    border: 1px solid var(--border); 
    margin-bottom: 14px; 
}

.rel-avatar img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.rel-name { 
    font-weight: 500; 
    font-size: 15px; 
    margin-bottom: 4px; 
    color: var(--text);
}

.rel-score { 
    font-family: 'JetBrains Mono', monospace; 
    font-size: 14px; 
    color: var(--text-dim); 
}

.timeline { padding: 40px 0 0; }
.timeline-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.timeline-item:last-child { border-bottom: none; }
.timeline-date { flex-shrink: 0; width: 100px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-mute); letter-spacing: -0.02em; }
.timeline-body { flex: 1; }
.timeline-body .h { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 400; margin-bottom: 6px; }
.timeline-body .m { color: var(--text-dim); font-size: 14px; }
.timeline-delta { font-family: 'JetBrains Mono', monospace; font-size: 14px; padding-top: 3px; }


/* ============= ABOUT ============= */
.about-hero { padding: 80px 0 40px; }
@media (max-width: 640px) { .about-hero { padding: 48px 0 20px; } }
.about-title { font-family: 'Fraunces', serif; font-size: clamp(48px, 8vw, 96px); font-weight: 400; letter-spacing: -0.03em; line-height: 0.98; margin-bottom: 24px; max-width: 900px; }
.about-title em { font-style: italic; color: var(--gold); font-weight: 300; }
.about-lede { color: var(--text-dim); font-size: clamp(18px, 2.2vw, 22px); max-width: 720px; line-height: 1.55; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 0; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--surface);
}
.about-block h3 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 14px; }
.about-block h3 em { color: var(--gold); font-style: italic; font-weight: 300; }
.about-block p { color: var(--text-dim); font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.about-block ul { color: var(--text-dim); font-size: 15px; padding-left: 20px; }
.about-block ul li { margin-bottom: 8px; }
.about-block ul li::marker { color: var(--gold); }

.disclaimer {
  border: 1px dashed rgba(232, 28, 79, 0.4);
  border-radius: var(--radius);
  padding: 22px 24px; 
  background: rgba(232, 28, 79, 0.05); /* Slight crimson tint */
  color: var(--text-dim); font-size: 14px; line-height: 1.65;
  margin: 32px 0 60px;
}
.disclaimer strong { color: var(--down); font-weight: 500; letter-spacing: 0.02em; }

/* ============= FOOTER ============= */
.footer { border-top: 1px solid var(--border); padding: 48px 0 32px; margin-top: 60px; background: rgba(0,0,0,0.3); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-brand p { color: var(--text-mute); font-size: 13px; margin-top: 12px; max-width: 320px; line-height: 1.6; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-dim); font-size: 14px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; color: var(--text-mute); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; flex-wrap: wrap; gap: 10px; }

/* ============= ANIMATIONS ============= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .06s; }
.reveal-delay-2 { transition-delay: .12s; }
.reveal-delay-3 { transition-delay: .18s; }
.reveal-delay-4 { transition-delay: .24s; }

::selection { background: var(--up); color: var(--bg); }

/* ============= TICKER ============= */
.ticker {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.4); overflow: hidden; padding: 12px 0;
}
.ticker-track { display: inline-flex; animation: ticker 60s linear infinite; white-space: nowrap; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; padding: 0 24px; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--text-dim); }
.ticker-item .n { color: var(--text); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============= UTILITY ============= */
.hide-mobile {}
@media (max-width: 640px) { .hide-mobile { display: none; } }

/* UPI Container */
.upi-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface); /* Updated to match theme */
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text);
}

.copy-btn {
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
    transition: color 0.2s ease;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

.copy-btn:hover {
    color: var(--gold); /* Changes to gold on hover */
}
/* ============= VIP SEARCH BAR ============= */
.lb-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap; /* Keeps it neat on mobile */
}

/* Style the wrapper to look like the input box */
.lb-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--surface); /* Rich Amethyst */
    border: 1px solid var(--border); /* Soft gold border */
    border-radius: var(--radius);
    padding: 10px 16px;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

/* Add the VIP Gold Glow when the user clicks inside */
.lb-search:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    background-color: var(--surface-hover);
}

/* Style the magnifying glass icon */
.lb-search svg {
    color: var(--text-mute); 
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Strip the default styles from the actual input */
.lb-search input {
    background: transparent;
    border: none;
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    width: 100%;
    outline: none;
}

.lb-search input::placeholder {
    color: var(--text-mute);
}
/* --- AURA SHARE CARD STYLING --- */

/* Ensures the template is hidden but still accessible for capture */
.hidden-capture-container {
    position: absolute;
    left: -9999px; /* Off-screen */
    top: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

.aura-card-ui {
    width: 380px; /* Optimal sharing width */
    background: #111; /* Dark UI Matching aura50 */
    color: #fff;
    border: 2px solid var(--gold); /* Your gold color variable */
    border-radius: 12px;
    font-family: 'Poppins', sans-serif; /* Example font */
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* Header: Rank and Label */
.card-header {
    background: rgba(212, 175, 55, 0.1); /* Gold tint */
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gold);
}

.index-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #aaa; }
.rank-badge { font-size: 10px; font-weight: 800; color: var(--gold); }

/* Body: Photo and Headline */
.card-body { padding: 15px; text-align: center; }
.photo-wrapper img { width: 100%; height: auto; border-radius: 8px; border: 1px solid #333; }
.card-headline { font-size: 16px; font-weight: 600; line-height: 1.4; color: #fff; }

/* Footer: Score Change and Branding */
.card-footer { padding: 10px 15px; border-top: 1px solid #333; background: #181818; }
.score-display { display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.score-display .label { font-size: 10px; color: #aaa; margin-right: 10px; }
.card-footer .score-value { font-size: 28px; font-weight: 800; color: #2ecc71;margin-bottom:15px; /* Green for +ve, set dynamic via JS */ }

.brand-display { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #333; padding-top: 5px; }
.site-url { font-size: 12px; font-weight: 600; color: var(--gold); }
.card-logo { height: 20px; width: auto; }
