:root {
  --purple-dark: #6a0dad;
  --purple-mid: #8a2be2;
  --purple-light: #a45ee5;
  --pink-accent: #ff6b9e;
  --neon-blue: #00f5ff;
  --dark: #0f0f1a;
  --light: #f8f8ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

header {
  background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(10px);
  padding: 1.2rem 0;
  position: fixed;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-profile-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--light);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.user-profile-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-size: 14px;
}

.avatar-group {
  text-align: center;
  margin-bottom: 1.5rem;
}

.avatar-wrapper {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 120px;
}

.avatar-wrapper img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--pink-accent);
}

.avatar-edit {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--pink-accent);
  color: white;
  border-radius: 50%;
  padding: 6px;
  cursor: pointer;
  transition: 0.2s;
  width: 37px;
  height: 37px;
}

.avatar-edit:hover {
  background: var(--dark, #444);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;   /* Adjust based on your navbar height */
  width: auto;    /* Keeps aspect ratio */
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  margin-left: auto;
}

.nav-links li {
  margin-left: 1.8rem;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--purple-light),
    var(--pink-accent)
  );
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn {
  display: inline-block;
  background: linear-gradient(45deg, var(--purple-mid), var(--pink-accent));
  color: white;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(106, 13, 173, 0.6);
}

.user-profile-link {
  margin-left: 30px;
}

#logout-btn2 {
  text-align: center;
  margin-top: 1.5rem;
}

.dashboard {
  padding: 8rem 0 3rem;
  min-height: 100vh;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.dashboard-title {
  font-size: 2rem;
  background: linear-gradient(to right, var(--purple-light), white);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dashboard-stats {
  display: flex;
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  min-width: 180px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(
    to right,
    var(--purple-light),
    var(--pink-accent)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
}

/* .dashboard-sidebar {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  height: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.1);
} */

.dashboard-sidebar {
  position: fixed;                 /* make it fixed */
  top: 90px;                       /* small spacing from top */
  left: 20px;                      /* small spacing from left */
  height: calc(100vh - 100px);      /* full viewport height minus margin */
  width: 240px;                    /* fixed width */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow-y: auto;                /* scroll if content is taller */
  z-index: 1000;
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 0.8rem;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(138, 43, 226, 0.2);
  color: white;
}

.sidebar-nav a i {
  width: 20px;
  text-align: center;
}

.dashboard-main {
  margin-left: 280px; /* sidebar width (240px) + gap (40px) */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: calc(100vw - 500px); /* full width minus sidebar width and gap */
}

.section-title {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--purple-light);
}

.upload-area {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.info-icon {
  display: inline-block;
  margin-left: 6px;
  width: 15px;
  height: 15px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  background: #555;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  position: relative;
}

#info-block {
  background: #2d2d2d;
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  margin: 20px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
}

/* Tooltip text */
.tooltip-text {
  visibility: hidden;
  width: 250px;
  background: #222;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 8px;
  font-size: 12px;
  line-height: 1.4;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Show above the icon */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s;
}

/* Show tooltip on hover */
.info-icon:hover .tooltip-text,
.info-icon:focus .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Tooltip arrow */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: #222 transparent transparent transparent;
}

.upload-area:hover {
  border-color: var(--purple-light);
  background: rgba(138, 43, 226, 0.1);
}

.upload-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--purple-light);
}

.upload-text {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.clips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.clip-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.clip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(106, 13, 173, 0.3);
  border-color: rgba(138, 43, 226, 0.3);
}

.clip-thumbnail {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.clip-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.clip-card:hover .clip-thumbnail img {
  transform: scale(1.1);
}

.clip-info {
  padding: 1.2rem;
}

.clip-title {
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clip-stats {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.clip-actions {
  display: flex;
  gap: 0.8rem;
}

.action-btn {
  flex: 1;
  padding: 0.6rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}

.edit-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light);
}

.edit-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.delete-btn {
  background: rgba(255, 107, 158, 0.1);
  color: var(--pink-accent);
}

.delete-btn:hover {
  background: rgba(255, 107, 158, 0.2);
}

.earnings-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.earnings-table th,
.earnings-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.earnings-table th {
  color: var(--purple-light);
  font-weight: 600;
}

.earnings-table tr:last-child td {
  border-bottom: none;
}

.earnings-table tr:hover {
  background: rgba(138, 43, 226, 0.1);
}

.status-pending {
  color: #ffa500;
}

.status-paid {
  color: #00ff00;
}

.withdraw-btn {
  margin-top: 2rem;
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

footer {
  background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(10px);
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  background: linear-gradient(
    to right,
    var(--purple-light),
    var(--pink-accent)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--purple-light);
  transform: translateX(5px);
}

.footer-links a i {
  font-size: 0.8rem;
}

.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: linear-gradient(45deg, var(--purple-mid), var(--pink-accent));
  transform: translateY(-5px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.user-profile-link.mobile {
  display: none;
  margin-left: 0;
}

@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-stats {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .dashboard {
    padding: 6rem 0 2rem;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .user-profile-link {
    display: none;
    margin-left: 0;
  }

  .user-profile-link.mobile {
    display: flex;
    margin-bottom: 1.5rem;
  }

  .clips-grid {
    grid-template-columns: 1fr;
  }
}

.mobile-menu-btn {
  display: none;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-stats {
    flex-wrap: wrap;
  }

  .stat-card {
    min-width: calc(50% - 0.75rem);
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .dashboard {
    padding: 6rem 0 2rem;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .dashboard-title {
    font-size: 1.8rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .dashboard-stats {
    width: 100%;
    gap: 1rem;
  }

  .stat-card {
    min-width: 100%;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .dashboard-sidebar {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    z-index: 90;
    transition: left 0.3s ease;
    overflow-y: auto;
  }

  .sidebar-open .dashboard-sidebar {
    left: 0;
  }

  .sidebar-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 80;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .sidebar-open .sidebar-overlay {
    opacity: 1;
    pointer-events: all;
  }

  .upload-area {
    padding: 2rem 1rem;
  }

  .upload-icon {
    font-size: 2.5rem;
  }

  .upload-text {
    font-size: 1rem;
  }

  .form-control {
    padding: 0.8rem;
  }

  .clips-grid {
    grid-template-columns: 1fr;
  }

  .clip-thumbnail {
    height: 140px;
  }

  .earnings-table {
    overflow-x: auto;
    white-space: nowrap;
  }

  .action-btn {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .mobile-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
  }

  .mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
  }
}

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

  .dashboard-title {
    font-size: 1.5rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-value {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .dashboard-main {
    padding: 1.5rem;
    margin-left: 0;
    width: 100%;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .upload-area {
    padding: 1.5rem 1rem;
  }

  .upload-icon {
    font-size: 2rem;
  }

  .upload-text {
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .clip-info {
    padding: 1rem;
  }

  .clip-title {
    font-size: 0.95rem;
  }

  .clip-stats {
    font-size: 0.75rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-column {
    margin-bottom: 1.5rem;
  }
}

/* Headings inside form */
.upload-form h2 {
  color: var(--purple-light);
  text-align: center;
  margin-bottom: 2rem;
}

/* Form Groups */
.upload-form .form-group {
  margin-bottom: 1.5rem;
}

/* Labels */
.upload-form label {
  display: block;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Inputs and Selects */
.upload-form input.form-control,
.upload-form textarea.form-control,
.upload-form select.form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
}

.upload-form input.form-control:focus,
.upload-form textarea.form-control:focus,
.upload-form select.form-control:focus {
  box-shadow: 0 0 0 2px var(--purple-light);
}

.upload-form option {
  background-color: #222;
  color: #fff;
}

/* ToolTip */
.tooltip-text code {
  background: #333;
  padding: 2px 4px;
  border-radius: 4px;
  color: #ffcc00;
}

/* Form Notes **/
.form-note {
  color: #aaa;
  font-size: 0.85rem;
  font-style: italic;
}

.form-note code {
  background: #333;
  padding: 2px 4px;
  border-radius: 4px;
  color: #ffcc00;
}

#form-note-icon {
  color: #ffcc00;
}

/* Button */
.upload-form .btn {
  background: var(--purple-light);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.upload-form .btn:hover {
  background: var(--pink-accent);
}

/* Responsive */
@media screen and (max-width: 600px) {
  .upload-form input,
  .upload-form textarea,
  .upload-form select {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }
}

.settings-form {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  margin: 0 auto;
}

.settings-form .form-group {
  margin-bottom: 1.5rem;
}

.settings-form label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple-light);
  margin-bottom: 0.5rem;
}

.settings-form .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease, background 0.3s ease;
}

.settings-form .form-control:focus {
  border: 1px solid var(--purple-light);
  background: rgba(255, 255, 255, 0.08);
}

.settings-form button[type="submit"] {
  background: var(--purple-light);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-size: 1rem;
  cursor: pointer;
}

.settings-form button[type="submit"]:hover {
  background: #8a4cf3;
}

.settings-auth-container {
  display: flex;
  justify-content: space-between;
}

#delete-account {
  margin-top: 1.5rem;
  text-align: center;
  background: rgba(255, 107, 158, 0.1);
  color: var(--pink-accent);
}

@media (max-width: 600px) {
  .settings-form {
    padding: 1.5rem;
  }
}

.custom-dropdown {
  position: relative;
  width: 100%;
  font-family: inherit;
  user-select: none;
}

.dropdown-selected {
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dropdown-selected::after {
  content: "▾";
  float: right;
  font-size: 1rem;
  color: #aaa;
  margin-left: 8px;
}

.dropdown-options {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: rgba(20, 20, 30, 0.95); /* darker and more solid */
  backdrop-filter: blur(6px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
  z-index: 10;
  overflow: hidden;
  animation: fadeIn 0.25s ease;
}

.dropdown-option {
  padding: 0.75rem 1rem;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s ease;
}

.dropdown-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

@media screen and (max-width: 768px) {
  .earnings-table-container {
    padding: 1rem;
  }

  .earnings-table th,
  .earnings-table td {
    padding: 0.8rem;
    font-size: 0.88rem;
  }

  .withdraw-btn {
    font-size: 0.95rem;
    padding: 0.9rem;
  }
}

.earnings-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.summary-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  flex: 1 1 240px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.summary-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.summary-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--purple-light);
  margin-bottom: 0.5rem;
}

.summary-item p {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

/* Edit Section Styles */
.edit-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.edit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.edit-thumbnail-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.thumbnail-preview-container {
    position: relative;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid rgba(255,255,255,0.1);
}

#thumbnail-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-upload-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    display: flex;
    justify-content: center;
}

.thumbnail-upload-btn {
    background: rgba(255,255,255,0.9);
    color: var(--dark);
    border: none;
    transition: all 0.3s ease;
}

.thumbnail-upload-btn:hover {
    background: white;
    transform: translateY(-2px);
}

.thumbnail-tips {
    background: rgba(138, 43, 226, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.thumbnail-tips h4 {
    color: var(--purple-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.thumbnail-tips ul {
    padding-left: 1.5rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.thumbnail-tips li {
    margin-bottom: 0.5rem;
}

.edit-form-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.edit-form-card {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control option {
  background-color: #222;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--purple-light);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.character-count {
    text-align: right;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.3rem;
}

.tags-input-container {
    position: relative;
}

.tags-display {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag-pill {
    background: rgba(138, 43, 226, 0.2);
    color: var(--purple-light);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-pill .remove-tag {
    cursor: pointer;
    color: var(--pink-accent);
}

.form-hint {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.3rem;
}

/* Container for visibility options */
.visibility-options {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Individual radio option */
.radio-option {
  position: relative;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  background: #1f1f1f;
  color: #ccc;
  flex: 1 1 calc(50% - 1rem); /* 2 items per row on mobile */
  transition: all 0.3s ease;
  min-width: 140px;
  text-align: center;
  justify-content: center;
}

/* Hide native radio */
.radio-option input[type="radio"] {
  display: none;
}

/* Label styling inside each option */
.radio-label {
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Icon color */
.radio-label i {
  color: #888;
  font-size: 1.1rem;
}

/* Active state */
.radio-option.selected {
  border: 2px solid var(--purple-dark);
  background-color: #2a2a2a;
  color: #fff;
}

.radio-option.selected .radio-label i {
  color: var(--purple-dark);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .edit-container {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-preview-container {
        max-width: 600px;
    }
    .visibility-options {
      flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .edit-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .edit-form-card {
        padding: 1.5rem;
    }
    .visibility-options {
      flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .edit-container {
        gap: 1.5rem;
    }
    
    .edit-footer {
        flex-direction: column;
    }
    
    .edit-footer .btn {
        width: 100%;
    }
    
    .form-control {
        padding: 0.8rem;
    }
    .visibility-options {
      flex-wrap: wrap;
    }
}

.edit-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 1.5rem;
}

/* Thumbnail Upload Box */
.thumbnail-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    background: transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.thumbnail-upload-box:hover {
    border-color: var(--purple-mid);
    background: transparent;
}

.thumbnail-upload-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    object-fit: cover;
    background: #ddd;
}

/* Thumbnail button */
.thumbnail-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

/* Hide preview by default */
#upload-thumbnail-preview {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    object-fit: cover;
    background: #ddd;
    display: none; /* start hidden */
    transition: opacity 0.3s ease;
}

#upload-thumbnail-preview.show {
    display: block;
    opacity: 1;
}

/* Mobile Styling */
@media (max-width: 600px) {
    .thumbnail-upload-box {
        padding: 0.8rem;
    }

    .thumbnail-btn {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
}

/* 2fa Input */
.twofa-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2b2d42;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.twofa-container h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--purple-mid);
}

.twofa-desc {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 15px;
}

.twofa-container input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #fff;
}

.twofa-container code {
  background: #222;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--purple-mid);
  font-weight: bold;
}

.btn-primary {
  background: var(--purple-mid);
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #6b2ca0;
}

.btn-danger {
  background: #e63946;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  transition: 0.3s;
}

.btn-danger:hover {
  background: #c82333;
}

.twofa-status {
  color: var(--purple-mid);
  font-weight: bold;
  margin-bottom: 10px;
}

/* Shared modal styles (same as disable modal) */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-box {
  background: #1e1e2d;
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  text-align: center;
}

.modal-box h2 {
  font-size: 20px;
  margin-bottom: 15px;
}

.secret-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2b2d42;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 15px;
  margin-top: 15px;
}

.secret-box span {
  font-family: monospace;
  font-size: 14px;
  word-break: break-all;
}

.icon-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.icon-btn:hover {
  color: #9f7aea;
}

.modal-box input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
  margin-bottom: 15px;
  margin-top: 15px;
}

#verifyRow input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  margin-bottom: 15px;
  text-align: center;
  font-size: 16px;
}

.modal-actions {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 15px;
}

.modal-actions .icon-btn {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  border-radius: 12px;
  transition: background 0.3s, transform 0.2s;
}

@media (max-width: 768px) {
  #setupText {
    font-size: 14px;
  }
}

/* Success (Confirm) */
.modal-actions .btn-success {
  background: #6b46c1; /* purple theme */
  color: #fff;
}

.modal-actions .btn-success:hover {
  background: #805ad5;
  transform: translateY(-2px);
}

/* Cancel */
.modal-actions .btn-secondary {
  background: #2d2d3a;
  color: #fff;
}

.modal-actions .btn-secondary:hover {
  background: #444;
  transform: translateY(-2px);
}

/* Withdraw Amount */
.custom-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.custom-modal .modal-content {
  background: var(--dark);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  color: var(--light);
  animation: fadeInUp 0.3s ease;
}

.custom-modal .modal-icon {
  font-size: 3rem;
  color: var(--purple-light);
  margin-bottom: 1rem;
}

.custom-modal input {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 8px;
  border: none;
  outline: none;
  width: 100%;
  background: var(--input-bg);
  color: var(--text-light);
  text-align: center;
  font-size: 1rem;
}

.modal-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.modal-actions button {
  flex: 1;
  padding: 0.7rem;
  border-radius: 10px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-success {
  background: var(--purple-light);
  color: #fff;
}

.btn-success:hover {
  background: var(--purple-dark);
}

.btn-danger {
  background: #ff4d4d;
  color: #fff;
}

.btn-danger:hover {
  background: #e60000;
}

@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* --- Earnings Section Responsive --- */
/* Earnings table wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

/* Ensure tbody is scrollable only */
#earnings-section .earnings-table {
  width: 100%;
  border-collapse: collapse;
}

#earnings-section .earnings-table thead {
  background: var(--card-bg);
  position: sticky;
  top: 0;
  z-index: 2;
}

#earnings-section .earnings-table th,
#earnings-section .earnings-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap; /* keep data in one line */
  font-size: 0.9rem;
}

#earnings-section .earnings-table {
  display: block;
  max-height: 300px; /* adjust height */
  overflow-y: auto;  /* scroll vertically */
  overflow-x: auto;  /* allow horizontal scroll on small screens */
}

#earnings-section .earnings-table thead,
#earnings-section .earnings-table tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

@media (max-width: 768px) {
  #earnings-section .earnings-table td {
    font-size: 0.7rem;
  }
}

/* Chart Canvas */
.chart-container {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;   /* allow horizontal scroll if needed */
}

.chart-container canvas {
  width: 100% !important;   /* scale with parent */
  max-width: 100%;
  height: auto !important;  /* keep aspect ratio */
}

/* Leaderboard Styles */
.leaderboard-section {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 20px;
  border-radius: 20px;
  margin-top: 25px;
}

.leaderboard-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--purple-light);
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1a1a;
  padding: 12px 18px;
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.leaderboard-item:hover {
  transform: scale(1.02);
  background: #222;
}

.leaderboard-rank {
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 12px;
}

.leaderboard-name {
  flex: 1;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leaderboard-score {
  font-size: 1rem;
  font-weight: bold;
  color: #a855f7;
}

/* Special styles for Top 3 */
.leaderboard-item.top-1 .leaderboard-rank { color: gold; }
.leaderboard-item.top-2 .leaderboard-rank { color: silver; }
.leaderboard-item.top-3 .leaderboard-rank { color: #cd7f32; }

/* Responsive - shrink fonts + padding but keep row layout */
@media(max-width: 600px) {
  .leaderboard-title {
    font-size: 1.3rem;
  }

  .leaderboard-item {
    padding: 8px 12px;
  }

  .leaderboard-rank {
    font-size: 1rem;
    margin-right: 8px;
  }

  .leaderboard-name {
    font-size: 0.9rem;
  }

  .leaderboard-score {
    font-size: 0.9rem;
  }
}

/* === Achievements Styles === */
/* 🔥 Achievement styles */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.achievement-card {
  padding: 16px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.achievement-locked {
  background: #222;
  color: #888;
  opacity: 0.6;
  border: 2px dashed #444;
}

.achievement-unlocked {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  color: #fff;
  box-shadow: 0 0 15px rgba(142, 45, 226, 0.8), 0 0 30px rgba(74, 0, 224, 0.6);
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 10px rgba(142, 45, 226, 0.8); }
  to   { box-shadow: 0 0 25px rgba(74, 0, 224, 1); }
}

/* Achievements Section */
.achievements-section {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  color: #fff;
}

.achievements-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 20px;
  color: var(--purple-light);
}

#achievementsSection {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(223px, 1fr));
  gap: 16px;
}

.achievement-card {
  position: relative;
  padding: 18px;
  border-radius: 15px;
  background: #1a1a1a;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.achievement-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.achievement-card h3 {
  margin-top: 12px;
  font-size: 1.1rem;
  font-weight: bold;
}

.achievement-card p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Unlocked Achievements */
.achievement-unlocked {
  background: linear-gradient(135deg, #9333ea, #a855f7, #c084fc);
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.achievement-unlocked i {
  font-size: 2rem;
  color: gold;
}

/* Locked Achievements */
.achievement-locked {
  background: #222;
  opacity: 0.6;
  filter: grayscale(80%);
  position: relative;
}

.achievement-locked::after {
  content: "\f023"; /* FontAwesome lock icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 1.2rem;
  color: #bbb;
}

.achievement-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin: 8px 0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.achievement-card.unlocked {
  background-color: #a261d9;
  color: white;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.achievement-card.locked {
  background: #2d2d2d;
  color: #aaa;
  opacity: 0.5;
  filter: blur(0.4px);
}

.achievement-card.unlocked .achievement-icon {
  font-size: 32px;
  margin-right: 12px;
  background: linear-gradient(270deg,#ff007a, #a600ff, #5900ff, #007bff, #00d4ff, #00ff95, #aaff00);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rgbFlow 8s ease infinite;
}

.achievement-card.locked .achievement-icon {
  font-size: 32px;
  margin-right: 12px;
  color: #777; /* static muted color */
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}

@keyframes rgbFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Active Claim Button --- */
.claim-btn {
  background: linear-gradient(135deg, #ff6a00, #ee0979, #8e2de2, #4a00e0);
  background-size: 300% 300%;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.4s ease-in-out;
  animation: gradientFlow 6s ease infinite;
  margin-top: 6px;
}

.claim-btn:hover:not(:disabled) {
  transform: scale(1.08);
  box-shadow: 0 6px 25px rgba(255, 0, 150, 0.7);
}

.claim-btn:active:not(:disabled) {
  transform: scale(0.96);
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Claimed Button State --- */
.claim-btn.claimed {
  background: #d3d3d3;
  color: #555;
  cursor: not-allowed;
  box-shadow: none;
  animation: none;
  font-weight: 600;
  opacity: 0.85;
}

/* Tada Animation */
#tada-animation {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 4rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
}

.tada {
  animation: tadaEffect 1s ease forwards;
}

@keyframes tadaEffect {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  20%  { transform: translate(-50%, -50%) scale(1.2) rotate(-10deg); opacity: 1; }
  40%  { transform: translate(-50%, -50%) scale(1) rotate(10deg); }
  60%  { transform: translate(-50%, -50%) scale(1.1) rotate(-8deg); }
  80%  { transform: translate(-50%, -50%) scale(1) rotate(8deg); }
  100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0; }
}

/* Change Password Modal */
/* Modal Overlay */
.password-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
}

/* Modal Box */
.password-modal-content {
  background: var(--dark-bg, #1e1e2f);
  color: white;
  padding: 25px;
  border-radius: 15px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.password-modal-content h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

/* Close Button */
.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #aaa;
  transition: color 0.2s;
}
.close-modal:hover { color: white; }

/* Input Group */
.input-group {
  display: flex;
  align-items: center;
  background: #2c2c3c;
  border-radius: 10px;
  padding: 10px;
  margin: 10px 0;
}
.input-group i {
  margin-right: 10px;
  color: #888;
}
.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 0.95rem;
}

#changePasswordBtn {
  margin-top: 10px;
}

.cancel-withdraw {
  background: rgba(255, 107, 158, 0.1);
  color: var(--pink-accent);
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* === 🔔 Announcement Modal === */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #1e1e2f; /* dark background */
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: fadeInUp 0.3s ease;
  color: #f5f5f5;
}

.modal-content h3 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 2px solid #2c2c3f;
  padding-bottom: 0.5rem;
}

/* ❌ Close button */
.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #aaa;
  transition: 0.2s;
}
.close-btn:hover {
  color: #fff;
  transform: scale(1.1);
}

/* 📢 Notices */
.notice {
  background: #2a2a40;
  border-left: 4px solid #6c63ff;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: background 0.3s;
}
.notice:hover {
  background: #33334d;
}

.notice h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #e2e2ff;
}

.notice p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.4;
}

.notice small {
  font-size: 0.8rem;
  color: #888;
}

/* 🔔 Bell Icon wrapper */
.announcement-wrapper {
  margin-left: auto;
  position: relative;
  cursor: pointer;
}

.announcement-wrapper i {
  font-size: 1.4rem;
  color: #eee;
  transition: color 0.3s;
}

.announcement-wrapper i:hover {
  color: #6c63ff;
}

/* 🔴 Red dot */
.dot {
  position: absolute;
  top: 0;
  right: -2px;
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
}

/* ✨ Animation */
@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}