@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    --dark-blue: #181a2a;
    --deep-blue: #14162b;
    --mid-blue: #23234d;
    --accent-blue: #2b2e4a;
    --dark-pink: #b30059;
    --deep-pink: #7a0040;
    --accent-pink: #ff4f9c;
    --soft-pink: #fbe4f0;
    --soft-gold: #ffe6b3;
    --text-light: #f5f5fa;
    --card-bg: #191a2f;
    --button-bg: linear-gradient(90deg, #b30059 0%, #2b2e4a 100%);
    --button-hover: linear-gradient(90deg, #ff4f9c 0%, #23234d 100%);
    --input-bg: #23234d;
    --input-border: #b30059;
    --shadow: 0 8px 32px 0 rgba(26,26,64,0.18);
    --shadow-light: 0 8px 32px 0 rgba(30,41,59,0.10);
}


body,
html {
    min-height: 100vh;
    height: 130%;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    transition: background 0.3s, color 0.3s;
    background: linear-gradient(135deg,
        #050616 0%,
        #05051a 30%,
        #05082a 55%,
        #0f0321 80%,
        #611335 100%
    );
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-light);
    min-height: 100vh;
    height: 100%;
    padding: 0 16px;
}

body.light {
  background: linear-gradient(135deg, #f7f7fa 0%, #e3e6f3 60%, #ffe3f3 80%, #fffbe9 100%);
  color: #23234d;
  transition: background 0.5s cubic-bezier(.4,2,.6,1), color 0.3s;
  min-height: 100vh;
  height: 120%;
  background-attachment: fixed;
  background-size: cover;
}

.theme-toggle {
  position: fixed;
  top: 68px; /* 24px + button height + spacing */
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  left: unset;
}


#themeButton {
    background: var(--button-bg);
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-light);
    border-radius: 120px;
    padding: 8px 18px;
    font-weight: 700;
    box-shadow: 0 2px 8px 0 rgba(43,46,74,0.10);
    transition: background 0.2s, color 0.2s;
    outline: none;
    border: 0px solid transparent;
}
#themeButton:hover, #themeButton:focus {
    background: var(--button-hover);
    color: var(--accent-pink);
    border: 2px solid var(--dark-pink);
}


.container {
    /* margin: 120px auto 40px auto; */
    background: rgba(25,26,47,0.98);
    color: var(--text-light);
    padding: 40px 32px 80px 32px;
    border-radius: 56px;
    max-width: 430px;
    width: 100%;
    box-shadow: 0 10px 32px 0 rgba(238, 238, 240, 0.22);
    text-align: center;
    border: 1.5px solid #23234d;
    backdrop-filter: blur(2px);
    position: relative; /* stays in flow */
    top: auto;
    left: auto;
    transform: none;
}

body.light .container {
    background: #fff;
    color: #23234d;
    box-shadow: var(--shadow-light);
}

.title {
    position: relative;
    overflow: hidden;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    padding-top : 0px;
    font-size: 2.1rem;
    font-weight: 1200;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(90deg, #b30059 10%, #ffb86b 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    filter: none;
    text-transform: none;
    padding: 0;
    transition: font-size 0.2s;
    text-shadow:
    0 0 0.1px #ffe6b3,   /* soft gold glow */
    0 0 10px #ff4f9c,  /* strong pink glow */
    0 0 4px #b30059;  /* deep pink outline */
}

.title::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
    transform: skewX(-25deg);
  /* animation: shine 4.0s infinite; */
}



@keyframes shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

@media (max-width: 600px) {
    .title {
        font-size: 1.2rem;
        padding: 0.12em 0;
    }
    .container {
        padding: 22px 8px 18px 8px;
        border-radius: 25px;
        max-width: 90vw;
    }
    .bg-toggle {
      top: 12px;
      right: 8px;
    }
    .theme-toggle {
      top: 48px;
      right: 8px;
    }
}

@media (max-width: 600px) {
  .title {
    font-size: 28px;
    line-height: 1.2;
  }
}


.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(90deg, #b30059 0%, #2b2e4a 100%);
    color: var(--text-light);
    font-weight: 700;
    border-radius: 18px;
    padding: 1rem 0;
    text-align: center;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px 0 rgba(179,0,89,0.10);
    font-size: 1.1rem;
    border: none;
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}
.file-label:hover, .file-label:focus {
    background: linear-gradient(90deg, #ff4f9c 0%, #23234d 100%);
    box-shadow: 0 4px 16px 0 rgba(179,0,89,0.18);
}
.file-label input[type="file"] {
    display: none;
}
.file-label::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="white" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="7" width="18" height="13" rx="2" stroke="%23b30059" fill="%232b2e4a"/><path d="M16 3v4M8 3v4M3 11h18" stroke="%23ff4f9c"/><circle cx="12" cy="14" r="3" stroke="%23ff4f9c"/></svg>') no-repeat center/contain;
    margin-right: 10px;
    vertical-align: middle;
}

body.light .file-label {
    background: var(--accent-blue);
    color: var(--accent-pink);
}
body.light .file-label:hover, body.light .file-label:focus {
    background: var(--accent-pink);
    color: var(--accent-blue);
}

.preview-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
}
#preview {
  max-width: 180px;
  max-height: 180px;
  border-radius: 16px;
  border: 3px solid #f5f5fa; /* matches --text-light (royal white) */
  box-shadow: 0 2px 12px 0 rgba(58,58,124,0.18);
  background: #fff;
  object-fit: cover;
}

.hidden {
    display: none !important;
}

#submitButton {
    width: 100%;
    background: var(--button-bg);
    color: #fff; /* Force white text */
    font-weight: 700;
    border: none;
    border-radius: 18px;
    padding: 1rem 0;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px 0 rgba(58,58,124,0.10);
    letter-spacing: 1px;
    outline: none;
        animation: pulse 2s infinite;

}
#submitButton:hover, #submitButton:focus {
    background: var(--button-hover);
    color: var(--accent-pink);
    box-shadow: 0 4px 16px 0 rgba(179,0,89,0.18);
}

body.light #submitButton {
    background: var(--accent-blue);
    color: var(--accent-pink);
}
body.light #submitButton:hover, body.light #submitButton:focus {
    background: var(--accent-pink);
    color: var(--accent-blue);
}

#loader {
    border: 6px solid var(--mid-blue);
    border-top: 6px solid var(--dark-pink);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
    margin: 1.5rem auto;
    display: block;
    background: transparent;
}

@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

.result {
  text-align: center;
  font-size: 1.25rem;
  color: var(--dark-pink);
  margin-bottom: 1.2rem;
  min-height: 24px;
  font-family: 'Montserrat', 'Inter', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-shadow:
    0 2px 8px rgba(179,0,89,0.14), /* increased shadow opacity */
    0 1px 0 #fff0fa,
    0 0 2px #b30059,
    0 0 4px #b30059,
    0 0 6px #b30059; /* stronger dark pink border effect */
  background: linear-gradient(90deg, #ff4f9c 0%, #ffe6b3 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.confidence-wrapper {
    margin-bottom: 1.2rem;
}
.confidence-bar {
    width: 100%;
    height: 14px;
    background: linear-gradient(90deg, #23234d 0%, #2b2e4a 60%, #ffe6b3 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px 0 rgba(179,0,89,0.08);
    border: 1.5px solid #b30059;
}
.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4f9c 0%, #ffe6b3 60%, #b30059 100%);
    width: 0;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 1px 6px 0 rgba(255,79,156,0.13);
    transition: width 0.6s cubic-bezier(.4,2,.6,1);
}

.celeb-card {
    background: linear-gradient(90deg, #23234d 0%, #181a2a 100%);
    border-radius: 18px;
    padding: 1.2rem 1rem;
    text-align: center;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 12px 0 rgba(179,0,89,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
}
#celebImage {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--text-light); /* royal white */
    object-fit: cover;
    margin-bottom: 0.9rem;
    background: #fff;
    box-shadow: 0 4px 18px 0 rgba(179,0,89,0.10);
}
.celeb-name {
    color: var(--text-light); /* royal white */
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.share-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.share-wrapper a {
    background: var(--button-bg);
    color: var(--text-light);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px 0 rgba(58,58,124,0.10);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.share-wrapper a:hover, .share-wrapper a:focus {
    background: var(--button-hover);
    color: var(--accent-pink);
}

body.light .share-wrapper a {
    background: var(--accent-blue);
    color: var(--accent-pink);
}
body.light .share-wrapper a:hover, body.light .share-wrapper a:focus {
    background: var(--accent-pink);
    color: var(--accent-blue);
}

main.container {
    margin: 0 auto;
    min-height: unset;
    box-shadow: var(--shadow);
}

.bmc-wrapper {
    margin-top: 18px;
    text-align: center;
}

.bmc-button img {
    border-radius: 8px;
    border: 2px solid var(--dark-pink);
    box-shadow: 0 2px 8px 0 rgba(179,0,89,0.10);
    transition: border 0.2s, transform 0.18s cubic-bezier(.4,2,.6,1);
}
.bmc-button img:hover {
    border: 2px solid var(--mid-blue);
    transform: translateY(-5px) scale(1.06); /* Moves up and slightly enlarges */
}
.contact-info {
    transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.18s;
    display: inline-flex;
    align-items: center;
}
.contact-info:hover, .contact-info:focus-within {
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 4px 16px 0 rgba(43,46,74,0.13);
}

.note {
    font-size: 13px;
    color: #b30059;
    text-align: center;
    margin-top: 14px;
    font-style: italic;
    letter-spacing: 0.1px;
}

/* Responsive toggles already included above */
.bg-switch-btn {
    background: linear-gradient(90deg, #b30059 0%, #2b2e4a 100%);
    color: #fff;
    border: none;
    border-radius: 120px;
    padding: 8px 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(43,46,74,0.10);
    transition: background 0.2s, color 0.2s, transform 0.18s;
    outline: none;
}
.bg-switch-btn:hover, .bg-switch-btn:focus {
    background: linear-gradient(90deg, #681539 0%, #23234d 100%);
    color: #ffe6b3;
    transform: translateY(-2px) scale(1.04);
}
body.alt-bg {
  /* Deep, layered, premium gradient */
  background: linear-gradient(135deg,
    #050616 0%,
    #05051a 30%,
    #05082a 55%,
    #0f0321 80%,
    #611335 100%
  );
  background-attachment: fixed;
  min-height: 100vh;
  height: 100%;
  transition: background 0.5s cubic-bezier(.4,2,.6,1);
  /* Remove image background for this mode */
  background-size: cover !important;
}

/* Optional: subtle light overlays for extra depth */
body.alt-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(65, 14, 36, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse at 20% 80%, rgba(255,230,179,0.07) 0%, transparent 80%);
}
body.alt-bg #bgVideo {
  display: none !important;
}
.celeb-stats h2 {
  color: var(--dark-pink);
}

#topCelebsList li,
#leastCelebsList li {
  font-family: 'Montserrat', 'Inter', 'Segoe UI', Arial, sans-serif;
  list-style: none !important;
  font-weight: 700;
  font-size: 0.89rem;
  color: #fff;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  text-fill-color: unset;
  /* Add dark pink border to letters */
  text-shadow:
    0 1px 0 #b30059,
    0 0 2px #b30059,
    0 0 4px #b30059;
}


.fancy-banner {
  position: relative; /* for shimmer */
  background: linear-gradient(90deg, 
    rgba(230, 210, 255, 0.95) 10%,      /* soft lavender gold */
    rgba(190, 60, 130, 0.95) 50%,      /* vivid purple-pink center */
    rgba(230, 210, 255, 0.95) 100%     /* soft lavender gold */
  );
  color: var(--dark-blue);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  line-height: 1.2;
  padding: 12px;
  border-radius: 18px;

  /* Multi-layer bright glows for lively depth */
  box-shadow:
    0 6px 20px rgba(190, 60, 130, 0.7),    /* purple-pink glow */
    inset 0 0 14px rgba(230, 210, 255, 0.6); /* soft lavender inner glow */

  /* Subtle textured overlay for richness */
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 80%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.12), transparent 80%);
  background-blend-mode: screen;
  overflow: hidden;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* Gentle shimmer animation */
.fancy-banner::before {
  content: "";
  position: absolute;
  top: 0; left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: shimmer 4s linear infinite;
  border-radius: 18px;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes shimmer {
  0% { left: -50%; }
  100% { left: 150%; }
}



/* .fancy-banner { */
  /* background: linear-gradient(90deg, #ffd700, #ff8c00, #ffd700); */
  /* color: #1a1a1a; */
  /* text-align: center; */
  /* padding: 12px; */
  /* font-family: 'Montserrat', sans-serif; */
  /* font-weight: 700; */
  /* font-size: 18px; */
  /* box-shadow: 0 2px 10px rgba(0,0,0,0.2); */
  /* border-radius: 16px; */
  /* margin-bottom: 20px; */
  /* line-height: 1.2; */
  /* height: 60px; */

/* } */


.fancy-banner .star {
  margin: 0 5px;
  font-size: 15px;
}

.fancy-banner .text {
  margin: 0 1px;

}

.fancy-banner .name {
  color: #fbe7b9;
  font-weight: 700;
  text-shadow: 0 0 1px #fff;
  letter-spacing: 0.04em;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.rank-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  max-width: 420px;
  margin: 0 auto;
}

.rank-number {
  font-weight: bold;
  min-width: 42px;
  text-align: left;
}

.rank-name {
  flex-grow: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score {
  text-align: right;
  min-width: 50px;
  font-weight: bold;
  color: #ff4f9c;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-box {
  background: #1e203c;
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 12px #ff4f9c;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.modal-box input {
  width: 80%;
  padding: 10px;
  margin: 12px 0;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.modal-actions button {
  flex: 1;
  padding: 10px;
  background: #ff4f9c;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.hidden {
  display: none !important;
}


@media (max-width: 600px) {
  .fancy-banner {
    font-size: 15px;
    padding: 10px 0;
  }
}

html, body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
}


#goalCountdown.countdown-text {
  margin-left: 12px;
  font-size: 12px;
  color: #181a2a; /* black text */
  font-weight: 600;
}

#monthlyGoalBanner {
  margin: 0 auto 20px auto;
  padding: 10px 20px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  border-radius: 20px;
}


.countdown-text {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #181a2a;
}

.result-section {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin-top: 30px;
  padding-bottom: 60px;
}

.result-section > * {
  margin-bottom: 24px;
}


.social-promo a {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #ff4f9c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.social-promo a:hover {
  color: #ffe6b3;
}

.insta-box-wrapper {
  text-align: center;
  margin-top: 12px;
}

.insta-box {
  display: inline-block;
  width: 145px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4); /* Exact Instagram gradient */
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-align: center;
  line-height: 40px;
  text-decoration: none;
  border: 2px solid var(--dark-pink);
  box-shadow: 0 2px 8px 0 rgba(179, 0, 89, 0.1);
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.18s;
}

.insta-box:hover {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 4px 16px 0 rgba(43,46,74,0.13);
}

footer {
  text-align: center;
  color: #b30059;
  font-size: 13px;
  margin: 24px 0 8px 0;
  background: #fce4ec; /* makes it visible */
  padding: 10px;
}

.modal {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,32,60,0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.modal.hidden {
  display: none;
}
.modal-content {
  background: #fff;
  color: #23234d;
  padding: 2.5em 2em 2em 2em;
  border-radius: 2em;
  box-shadow: 0 8px 32px #23234d77;
  min-width: 320px;
  max-width: 95vw;
  text-align: center;
}
.app-buttons {
  margin: 1.5em 0;
  display: flex;
  gap: 1em;
  justify-content: center;
}
.app-btn {
  padding: 0.7em 1.5em;
  border-radius: 1em;
  background: linear-gradient(90deg,#ff4f9c,#ffe6b3);
  color: #23234d;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 2px 8px #ff4f9c55;
  transition: transform 0.1s;
}
.app-btn:hover {
  transform: scale(1.08);
}
.close-btn {
  margin-top: 1em;
  padding: 0.5em 1.8em;
  border: none;
  background: #23234d;
  color: #ffe6b3;
  font-weight: bold;
  border-radius: 0.7em;
  font-size: 1.1em;
  cursor: pointer;
  box-shadow: 0 2px 8px #23234d22;
}
.close-btn:hover {
  background: #ff4f9c;
  color: #fff;
}

.app-badge-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 10px auto 0 auto;
}

.app-banner-title {
  font-family: 'Montserrat', 'Inter', Arial, sans-serif;
  color: #d00a66;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.app-badges {
  display: flex;
  gap: 9px;
  justify-content: center;
  align-items: center;
}

.app-badge-img {
  width: 120px;   /* Or whatever looks best for your layout */
  height: 30px;   /* Enforces same height */
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 2px 12px #0002;
  background: rgba(25,26,47,0.98);
  transition: box-shadow 0.13s, transform 0.13s;
  display: block;
}
.app-badge-img:hover {
  box-shadow: 0 2px 14px rgba(25,26,47,0.98);
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .app-badge-img {
    width: 125px;
    height: 38px;
  }
  .app-badges { gap: 7px; }
  .app-banner-title { font-size: 1rem; }
}

#userRanking {
  max-height: 340px;
  overflow-y: auto;
  background: rgba(40, 42, 80, 0.90);
  border-radius: 32px;
  box-shadow: 0 10px 30px 0 rgba(255, 255, 255, 0.55), 0 2.5px 8px 0 #0003;
  padding: 30px 26px 20px 26px;
  width: 80%;
  max-width: 420px;
  margin: 32px auto 38px auto;
  backdrop-filter: blur(5px);
  border: 1.5px solid #2b2e4a;
  transition: box-shadow 0.2s;
}

#userRanking h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 2px 10px #0004;
}

.celeb-list.top-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  background: rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 13px 18px 12px 18px;
  margin-bottom: 12px;
  color: #fff;
  box-shadow: 0 2px 7px 0 #23234d08;
  border: 1.5px solid #23234d22;
  font-size: 1.09rem;
  transition: background 0.15s, transform 0.15s;
}

.rank-entry:hover {
  background: rgba(255, 228, 248, 0.18);
  transform: translateY(-1.5px) scale(1.03);
  box-shadow: 0 3.5px 12px 0 #ff4f9c22;
}

.rank-number {
  font-weight: bold;
  color: #ffffff;
  min-width: 44px;
  font-size: 1.15em;
}

.rank-name {
  flex: 1 1 auto;
  text-align: left;
  padding-left: 10px;
  color: #fff;
  font-weight: 500;
}

.rank-score {
  font-weight: bold;
  color: accentPink;
  min-width: 70px;
  text-align: right;
  font-size: 1.16em;
  letter-spacing: 0.5px;
}

/* Nice scrollbars */
/* #userRanking::-webkit-scrollbar { */
  /* width: 8px; */
  /* background: #23234d; */
  /* border-radius: 10px; */
/* } */
/* #userRanking::-webkit-scrollbar-thumb { */
  /* background: #ff4f9c; */
  /* border-radius: 8px; */
/* } */
/* #userRanking { */
  /* scrollbar-width: thin; */
  /* scrollbar-color: #ffffff #23234d; */
/* } */


