/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  /* Dark Mode Colors (Default) */
  --black: #000000;
  --brand-900: #111111;
  --brand-800: #1a1a1a;
  --brand-700: #333333;
  --brand-600: #4d4d4d;
  --brand-500: #666666;
  --brand-400: #808080;
  --brand-300: #999999;
  --brand-200: #cccccc;
  --brand-100: #e6e6e6;
  --brand-50: #f5f5f5;

  /* Accent Colors (Golden/Yellow) */
  --accent-900: #b8860b; /* Dark goldenrod */
  --accent-800: #ffc107; /* Amber */
  --accent-700: #ffd700; /* Gold */
  --accent-600: #ffdc33; /* Bright gold */
  --accent-500: #ffe066; /* Light gold */
  --accent-400: #ffe680; /* Lighter gold */
  --accent-300: #ffeb99; /* Pale gold */
  --accent-200: #fff0b3; /* Very pale gold */
  --accent-100: #fff5cc; /* Nearly white gold */
  --accent-50: #fffae6; /* Faint gold */

  /* Additional yellows for specific uses */
  --yellow-500: #eab308; /* Yellow 500 */
  --yellow-600: #f59e0b; /* Amber 500 */

  /* Alert color */
  --alert-red: #e73b2b;
}

/* Light Mode Colors (Stripe-inspired) */
body.light-mode {
  /* Light Mode Background Colors - Light blueish grays */
  --black: #ffffff;
  --brand-900: #f8f9fa; /* Very light gray with blue tint */
  --brand-800: #f1f3f5; /* Light gray */
  --brand-700: #e9ecef; /* Medium light gray */
  --brand-600: #dee2e6; /* Medium gray */
  --brand-500: #adb5bd; /* Text gray */
  --brand-400: #6c757d; /* Medium text */
  --brand-300: #495057; /* Dark text */
  --brand-200: #343a40; /* Darker text */
  --brand-100: #212529; /* Primary text */
  --brand-50: #000000; /* Black text */

  /* Light Mode Accent Colors - Keep golden theme but adjust for light mode */
  --accent-900: #b8860b; /* Keep dark goldenrod for contrast */
  --accent-800: #d4a017; /* Darker gold for light backgrounds */
  --accent-700: #b8860b; /* Medium gold */
  --accent-600: #996b0b; /* Darker gold for better contrast */
  --accent-500: #7a5509; /* Dark gold for text on light */
  --accent-400: #b8860b; /* Medium gold */
  --accent-300: #d4a017; /* Light gold */
  --accent-200: #e6cc33; /* Lighter gold */
  --accent-100: #f0d952; /* Very light gold */
  --accent-50: #f7e870; /* Pale gold */

  /* Light mode alert color */
  --alert-red: #dc3545;
}

/* Light Mode Specific Overrides */
body.light-mode {
  /* Override hardcoded backgrounds */
  background-color: var(--brand-900) !important;
  color: var(--brand-50) !important;
}

body.light-mode #toolbar {
  background-color: var(--brand-900) !important;
  border-color: var(--brand-800) !important;
}

/* Light mode gradients */
body.light-mode .activity-card-live {
  background: linear-gradient(135deg, #ffeaea 0%, #ffffff 100%) !important;
  border-color: #f87171 !important;
}

body.light-mode .activity-card-live:hover {
  border-color: #dc2626 !important;
  background: linear-gradient(135deg, #fed7d7 0%, #fff5f5 100%) !important;
}

body.light-mode .activity-card-new {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%) !important;
  border-color: #93c5fd !important;
}

body.light-mode .activity-card-new:hover {
  border-color: #2563eb !important;
  background: linear-gradient(135deg, #dbeafe 0%, #f8fafc 100%) !important;
}

body.light-mode .activity-card-joined,
body.light-mode .activity-card-purchase {
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%) !important;
  border-color: #fbbf24 !important;
}

body.light-mode .activity-card-joined:hover,
body.light-mode .activity-card-purchase:hover {
  border-color: #eab308 !important;
  background: linear-gradient(135deg, #fef3c7 0%, #fffef7 100%) !important;
}

/* Light mode dropdown and menu backgrounds */
body.light-mode [data-dropdown-target="menu"] {
  background-color: rgba(248, 249, 250, 0.95) !important;
  border-color: var(--brand-600) !important;
  backdrop-filter: blur(20px);
}

body.light-mode .bg-black\/95 {
  background-color: rgba(248, 249, 250, 0.95) !important;
}

/* Light mode category slider fade */
body.light-mode .category-slider-container::after {
  background: linear-gradient(
    to left,
    var(--brand-900) 0%,
    transparent 100%
  ) !important;
}

body.light-mode .category-slider-container.scrolled::before {
  background: linear-gradient(
    to right,
    var(--brand-900) 0%,
    transparent 100%
  ) !important;
}

/* Light mode flash notifications */
body.light-mode .flash-notification {
  background-color: var(--brand-800) !important;
  color: var(--brand-50) !important;
  border: 1px solid var(--brand-700);
}

body.light-mode .flash-notification.alert {
  background-color: var(--alert-red) !important;
  color: white !important;
}

/* Light mode scrollbar */
body.light-mode * {
  scrollbar-color: var(--brand-600) var(--brand-800);
}

body.light-mode *::-webkit-scrollbar-track {
  background: var(--brand-800);
}

body.light-mode *::-webkit-scrollbar-thumb {
  background: var(--brand-600);
  border: 1px solid var(--brand-700);
}

body.light-mode *::-webkit-scrollbar-thumb:hover {
  background: var(--brand-500);
  border-color: var(--accent-600);
}

body.light-mode *::-webkit-scrollbar-thumb:active {
  background: var(--brand-400);
}

body.light-mode *::-webkit-scrollbar-corner {
  background: var(--brand-800);
}

/* Light mode specific inline style overrides */
body.light-mode
  [style*="background: linear-gradient(135deg, rgba(26, 26, 0, 0.8)"] {
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.8) 0%,
    rgba(241, 243, 245, 0.8) 100%
  ) !important;
}

/* Override hover states that use hardcoded text-white */
body.light-mode .hover\:text-white:hover {
  color: var(--brand-50) !important;
}

/* Override toolbar and key elements */
body.light-mode main {
  background-color: var(--brand-900) !important;
}

/* Specific overrides for discovery page elements */
body.light-mode .bg-brand-900\/50 {
  background-color: rgba(248, 249, 250, 0.7) !important;
}

body.light-mode .bg-brand-900\/40 {
  background-color: rgba(248, 249, 250, 0.6) !important;
}

/* Override any remaining black backgrounds */
body.light-mode .bg-black\/50 {
  background-color: rgba(248, 249, 250, 0.7) !important;
}

body.light-mode .bg-black\/40 {
  background-color: rgba(248, 249, 250, 0.6) !important;
}

body.light-mode .bg-black\/30 {
  background-color: rgba(248, 249, 250, 0.5) !important;
}

body.light-mode .bg-black\/20 {
  background-color: rgba(248, 249, 250, 0.4) !important;
}

body.light-mode .bg-black\/10 {
  background-color: rgba(248, 249, 250, 0.3) !important;
}

/* Profile Card Light Mode Fixes */
/* Hide image-based background effects in light mode */
body.light-mode .profile-card-bg-effect {
  display: none !important;
}

/* Light mode profile card styling */
body.light-mode .profile-card-container {
  background: #fff !important;
  border: 2px solid var(--brand-700) !important;
}

body.light-mode .profile-card-container:hover {
  border-color: var(--accent-600) !important;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.15) !important;
}

/* Fix text contrast in light mode */
body.light-mode .text-brand-50 {
  color: var(--brand-100) !important;
}

/* Ensure all text is visible in light mode */
body.light-mode .bg-accent-500 {
  background-color: var(--accent-600) !important;
  color: var(--brand-50) !important;
}

body.light-mode .bg-accent-500:hover {
  background-color: var(--accent-700) !important;
}

/* Light mode gradient effects for profile cards */
body.light-mode .profile-initials-bg {
  background: linear-gradient(
    135deg,
    var(--accent-600) 0%,
    var(--accent-800) 100%
  ) !important;
  color: var(--brand-50) !important;
}

/* Override any remaining white text */
body.light-mode .text-white {
  color: var(--brand-100) !important;
}

/* Follow button fixes for light mode */
body.light-mode .follow-button-following {
  background-color: var(--brand-700) !important;
  color: var(--brand-100) !important;
  border-color: var(--brand-600) !important;
}

body.light-mode .follow-button-following:hover {
  background-color: var(--brand-600) !important;
}

body.light-mode .follow-button-follow {
  background-color: var(--accent-600) !important;
  color: var(--brand-50) !important;
}

body.light-mode .follow-button-follow:hover {
  background-color: var(--accent-700) !important;
}

/* Comprehensive text color fixes for light mode */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
  color: var(--brand-100) !important;
}

body.light-mode p,
body.light-mode span,
body.light-mode div {
  color: inherit;
}

/* Input field fixes for light mode */
body.light-mode input,
body.light-mode textarea,
body.light-mode select {
  background-color: var(--brand-800) !important;
  color: var(--brand-100) !important;
  border-color: var(--brand-700) !important;
}

body.light-mode input:focus,
body.light-mode textarea:focus,
body.light-mode select:focus {
  border-color: var(--accent-600) !important;
}

/* Label fixes for light mode */
body.light-mode label {
  color: var(--brand-100) !important;
}

/* Link hover fixes */
body.light-mode .hover\:text-white:hover {
  color: var(--brand-100) !important;
}

/* Button text fixes */
body.light-mode button {
  color: inherit;
}

/* Notification fixes */
body.light-mode .notification-title {
  color: var(--brand-100) !important;
}

/* Search placeholder text */
body.light-mode .placeholder-brand-400::placeholder {
  color: var(--brand-500) !important;
}

/* Override any hardcoded black text that would be invisible */
body.light-mode .text-black {
  color: var(--brand-100) !important;
}

/* Bottom Navigation Light Mode Fixes */
body.light-mode .bottom-nav {
  background-color: rgba(248, 249, 250, 0.95) !important;
  border-color: var(--brand-600) !important;
  backdrop-filter: blur(20px);
}

body.light-mode .bottom-nav-drawer {
  background-color: var(--brand-900) !important;
  border-color: var(--brand-700) !important;
}

body.light-mode .bottom-nav-overlay {
  background-color: rgba(248, 249, 250, 0.75) !important;
}

/* Bottom nav button styling */
body.light-mode .upgrade-button {
  background-color: var(--accent-600) !important;
  color: var(--brand-50) !important;
}

body.light-mode .upgrade-button:hover {
  background-color: var(--accent-700) !important;
}

/* Sign in/out buttons in drawer */
body.light-mode .auth-button {
  background-color: var(--brand-800) !important;
  color: var(--brand-100) !important;
  border-color: var(--brand-700) !important;
}

body.light-mode .auth-button:hover {
  background-color: var(--brand-700) !important;
}

body.light-mode .get-started-button {
  background-color: var(--accent-600) !important;
  color: var(--brand-50) !important;
}

body.light-mode .get-started-button:hover {
  background-color: var(--accent-700) !important;
}

/* Product Sales Page Light Mode Fixes */
/* Hide image-based background effects in light mode */
body.light-mode .product-bg-effect,
body.light-mode .product-bg-effect-pricing {
  display: none !important;
}

/* Light mode product page backgrounds */
body.light-mode .product-bg-image,
body.light-mode .product-bg-image-pricing {
  display: none !important;
}

/* Light mode gradient overlays */
body.light-mode .product-gradient-overlay {
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.9) 0%,
    rgba(241, 243, 245, 0.95) 100%
  ) !important;
}

body.light-mode .product-gradient-overlay-pricing {
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.8) 0%,
    rgba(241, 243, 245, 0.9) 100%
  ) !important;
}

body.light-mode .product-slide-overlay {
  background: linear-gradient(
    to top,
    rgba(248, 249, 250, 0.6) 0%,
    transparent 50%,
    transparent 100%
  ) !important;
}

/* Light mode sticky bar */
body.light-mode .product-sticky-bar {
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.95) 0%,
    rgba(241, 243, 245, 0.95) 100%
  ) !important;
  border-color: var(--brand-600) !important;
}

/* Product page specific light mode effects */
body.light-mode .carousel-slide {
  border-color: var(--brand-700) !important;
}

body.light-mode .carousel-slide:hover {
  border-color: var(--accent-600) !important;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.15) !important;
}

body.light-mode .carousel-slide.scale-110 {
  border-color: var(--accent-600) !important;
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.2) !important;
}

/* Light mode video overlay */
body.light-mode .video-overlay .bg-brand-900\/70 {
  background-color: rgba(248, 249, 250, 0.85) !important;
}

/* Product pricing card light mode */
body.light-mode .pricing-card {
  background-color: var(--brand-900) !important;
  border-color: var(--brand-700) !important;
}

/* Navigation arrows light mode */
body.light-mode .carousel-nav-button {
  background-color: rgba(248, 249, 250, 0.9) !important;
  color: var(--brand-100) !important;
  border: 1px solid var(--brand-600);
}

body.light-mode .carousel-nav-button:hover {
  background-color: rgba(248, 249, 250, 1) !important;
  border-color: var(--accent-600);
}

/* Better contrast for light mode elements */
body.light-mode .bg-brand-900\/50 {
  background-color: rgba(248, 249, 250, 0.8) !important;
}

body.light-mode .bg-brand-900\/10 {
  background-color: rgba(248, 249, 250, 0.3) !important;
}

/* Light mode border improvements */
body.light-mode [style*="border-top: 1px solid rgba(255,255,255,0.05)"] {
  border-top: 1px solid rgba(173, 181, 189, 0.2) !important;
}

/* Profile Page Light Mode Fixes */
/* Hide image-based background effects in light mode */
body.light-mode .profile-bg-effect,
body.light-mode .profile-header-bg-effect {
  display: none !important;
}

/* Light mode profile background images */
body.light-mode .profile-bg-image,
body.light-mode .profile-header-bg-image {
  display: none !important;
}

/* Light mode profile background container */
body.light-mode .profile-bg-container {
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.9) 0%,
    rgba(241, 243, 245, 0.95) 100%
  ) !important;
}

.profile-featured-image {
  position: relative;
  opacity: 0.5;
}

/* Light mode profile featured image - add white gradient overlay */
body.light-mode .profile-featured-image {
  position: relative;
  opacity: 0.1;
}

body.light-mode .profile-featured-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.7) 0%,
    rgba(241, 243, 245, 0.8) 100%
  );
  pointer-events: none;
}

/* Light mode gradient overlays */
body.light-mode .profile-gradient-overlay {
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.8) 0%,
    rgba(241, 243, 245, 0.9) 100%
  ) !important;
}

body.light-mode .profile-header-gradient-overlay {
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.8) 0%,
    rgba(241, 243, 245, 0.9) 100%
  ) !important;
}

body.light-mode .profile-main-overlay {
  background: linear-gradient(
    to bottom,
    rgba(248, 249, 250, 0.1) 0%,
    rgba(248, 249, 250, 0.6) 50%,
    rgba(248, 249, 250, 0.9) 100%
  ) !important;
}

/* Light mode profile header card */
body.light-mode .profile-header-card {
  background-color: rgba(248, 249, 250, 0.95) !important;
  border: 1px solid rgba(173, 181, 189, 0.3) !important;
  backdrop-filter: blur(20px);
}

body.light-mode #profile-header {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 10px 40px -10px rgba(0, 0, 0, 0.2),
    0 20px 60px -20px rgba(234, 179, 8, 0.02),
    inset 0 0 0 2px rgb(29 28 22 / 0%);
}

/* Light mode true fans sidebar */
body.light-mode .true-fans-sidebar {
  background-color: var(--brand-900) !important;
  border-color: var(--brand-700) !important;
}

body.light-mode .true-fans-sidebar .tooltip {
  background-color: var(--brand-800) !important;
  border: 1px solid var(--brand-700) !important;
}

/* Profile page text fixes */
body.light-mode .profile-bg-container + div {
  color: var(--brand-100) !important;
}

/* Profile social badges light mode */
body.light-mode .profile-social-badge {
  background-color: var(--brand-800) !important;
  border: 1px solid var(--brand-700) !important;
}

body.light-mode .profile-social-badge:hover {
  background-color: var(--brand-700) !important;
  border-color: var(--accent-600) !important;
}

/* Profile fans counter light mode */
body.light-mode .profile-fans-counter {
  background-color: var(--brand-800) !important;
  border: 1px solid var(--brand-700) !important;
}

* {
  font-kerning: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-variant-ligatures: common-ligatures contextual;
}

button {
  cursor: pointer;
}

.badge-font {
  font-family: "Be Vietnam Pro", cursive;
}

/* Sidebar Collapse Styles */
.sidebar-collapsed {
  width: 80px !important;
  overflow-x: hidden;
}

.sidebar-collapsed .sidebar-text {
  opacity: 0;
  pointer-events: none;
  display: none;
}

.sidebar-collapsed .flex.items-center.space-x-4 {
  justify-content: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.sidebar-collapsed .brand-logo {
  justify-content: center;
}

.sidebar-collapsed .sidebar-text {
  display: none;
}

/* Remove spacing when collapsed */
.sidebar-collapsed .brand-logo {
  space-x: 0;
}

/* Main content layout */
.main-content {
  width: 100%;
  margin: 0 auto;
}

.container {
  width: calc(100% - 260px);
}

@media (min-width: 1024px) {
  .main-content {
    width: calc(100% - 260px);
  }
}

/* Main content adjustment when sidebar is collapsed */
@media (min-width: 1024px) {
  .main-content-collapsed {
    width: calc(100% - 80px) !important;
  }
}

/* Sticky bottom bar positioning */
@media (min-width: 1024px) {
}

/* Prevent horizontal overflow on main areas */
.content-container {
  overflow-x: hidden;
}

/* Sidebar specific scrollbar */
#sidebar nav {
  overflow-x: visible;
  overflow-y: auto;
}

/* Ensure sidebar container doesn't clip tooltips */
#sidebar {
  overflow: visible;
}

/* Ensure main container doesn't clip tooltips */
main {
  overflow-x: hidden;
  overflow-y: visible;
}

.search-widget {
  width: 360px;
  max-width: 360px;
}

@media (max-width: 768px) {
  .search-widget {
    max-width: 100%;
    width: 90%;
  }
}

/* Sidebar Active Link Styles */
.sidebar-link {
  position: relative;
  overflow: visible;
}

.sidebar-link.active::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 80%;
  background-color: var(--accent-900);
  border-radius: 0 12px 12px 0;
  box-shadow: 3px -3px 0 0 var(--black), 3px 3px 0 0 var(--black);
}

/* Ensure the pseudo-element doesn't get clipped */
#sidebar nav,
#public-sidebar nav {
  overflow-x: visible;
}

/* Icon color for sidebar links */
.sidebar-link svg {
  color: var(--brand-400);
  transition: color 0.2s ease;
}

.sidebar-link:hover svg,
.sidebar-link.active svg {
  color: var(--accent-900);
}

/* Special case for upgrade button */
.sidebar-link.upgrade-button svg {
  color: var(--black);
}

.sidebar-link.upgrade-button:hover svg {
  color: var(--black);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .sidebar-link.active::before {
    left: -2px;
    width: 8px;
    height: 70%;
    box-shadow: 3px -3px 0 0 var(--black), 3px 3px 0 0 var(--black);
  }
}

/* Tooltip Styles */
.sidebar-tooltip {
  position: fixed;
  background-color: var(--brand-900);
  color: white;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 9999;
  margin-left: -10px;
}

/* Only show tooltips on hover when sidebar is collapsed */
.sidebar-collapsed [data-tooltip]:hover .sidebar-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Ensure icons don't shrink */
.sidebar-collapsed svg {
  flex-shrink: 0;
}

/* Position tooltips relative to their parent link */
.sidebar-collapsed [data-tooltip] {
  position: relative;
}

/* Hide tooltips by default */
.sidebar-collapsed .sidebar-tooltip {
  opacity: 0;
  visibility: hidden;
}

/* Adjust logo spacing when collapsed */
.sidebar-collapsed .brand-logo.flex {
  gap: 0;
}

html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    system-ui, sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  font-synthesis: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading {
  font-family: "Literata", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-rendering: optimizeLegibility;
}

.brand-title {
  font-family: "Sarabun", cursive;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.brand-logo {
  font-family: "Sarabun", cursive;
  font-weight: 900;
  letter-spacing: -0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p,
.body-text {
  letter-spacing: -0.005em;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

button,
.button {
  letter-spacing: -0.01em;
  font-weight: 500;
  text-rendering: optimizeLegibility;
}

nav a {
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
}

/* Enhanced font rendering for specific elements */
input,
textarea,
select {
  font-family: inherit;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-black {
  background-color: var(--black);
}

.bg-brand-900 {
  background-color: var(--brand-900);
}

.bg-brand-800 {
  background-color: var(--brand-800);
}

.bg-brand-700 {
  background-color: var(--brand-700);
}

.bg-brand-600 {
  background-color: var(--brand-600);
}

.bg-brand-500 {
  background-color: var(--brand-500);
}

.bg-brand-400 {
  background-color: var(--brand-400);
}

.bg-brand-300 {
  background-color: var(--brand-300);
}

.bg-brand-200 {
  background-color: var(--brand-200);
}

.bg-brand-100 {
  background-color: var(--brand-100);
}

.bg-brand-50 {
  background-color: var(--brand-50);
}

.text-brand-900 {
  color: var(--brand-900);
}

.text-brand-800 {
  color: var(--brand-800);
}

.text-brand-700 {
  color: var(--brand-700);
}

.text-brand-600 {
  color: var(--brand-600);
}

.text-brand-500 {
  color: var(--brand-500);
}

.text-brand-400 {
  color: var(--brand-400);
}

.text-brand-300 {
  color: var(--brand-300);
}

.text-brand-200 {
  color: var(--brand-200);
}

.text-brand-100 {
  color: var(--brand-100);
}

.text-brand-50 {
  color: var(--brand-50);
}

.border-brand-900 {
  border-color: var(--brand-900);
}

.border-brand-800 {
  border-color: var(--brand-800);
}

.border-brand-700 {
  border-color: var(--brand-700);
}

.border-brand-600 {
  border-color: var(--brand-600);
}

.border-brand-500 {
  border-color: var(--brand-500);
}

.border-brand-400 {
  border-color: var(--brand-400);
}

.border-brand-300 {
  border-color: var(--brand-300);
}

.border-brand-200 {
  border-color: var(--brand-200);
}

.border-brand-100 {
  border-color: var(--brand-100);
}

.border-brand-50 {
  border-color: var(--brand-50);
}

.bg-accent-900 {
  background-color: var(--accent-900);
}

.bg-accent-800 {
  background-color: var(--accent-800);
}

.bg-accent-700 {
  background-color: var(--accent-700);
}

.bg-accent-600 {
  background-color: var(--accent-600);
}

.bg-accent-500 {
  background-color: var(--accent-500);
}

.bg-accent-400 {
  background-color: var(--accent-400);
}

.bg-accent-300 {
  background-color: var(--accent-300);
}

.bg-accent-200 {
  background-color: var(--accent-200);
}

.bg-accent-100 {
  background-color: var(--accent-100);
}

.bg-accent-50 {
  background-color: var(--accent-50);
}

.text-accent-900 {
  color: var(--accent-900);
}

.text-accent-800 {
  color: var(--accent-800);
}

.text-accent-700 {
  color: var(--accent-700);
}

.text-accent-600 {
  color: var(--accent-600);
}

.text-accent-500 {
  color: var(--accent-500);
}

.text-accent-400 {
  color: var(--accent-400);
}

.text-accent-300 {
  color: var(--accent-300);
}

.text-accent-200 {
  color: var(--accent-200);
}

.text-accent-100 {
  color: var(--accent-100);
}

.text-accent-50 {
  color: var(--accent-50);
}

.border-accent-900 {
  border-color: var(--accent-900);
}

.border-accent-800 {
  border-color: var(--accent-800);
}

.border-accent-700 {
  border-color: var(--accent-700);
}

.border-accent-600 {
  border-color: var(--accent-600);
}

.border-accent-500 {
  border-color: var(--accent-500);
}

.border-accent-400 {
  border-color: var(--accent-400);
}

.border-accent-300 {
  border-color: var(--accent-300);
}

.border-accent-200 {
  border-color: var(--accent-200);
}

.border-accent-100 {
  border-color: var(--accent-100);
}

.border-accent-50 {
  border-color: var(--accent-50);
}

.ring-brand-900 {
  --tw-ring-color: var(--brand-900);
}

.ring-brand-800 {
  --tw-ring-color: var(--brand-800);
}

.ring-brand-700 {
  --tw-ring-color: var(--brand-700);
}

.ring-brand-600 {
  --tw-ring-color: var(--brand-600);
}

.ring-brand-500 {
  --tw-ring-color: var(--brand-500);
}

.ring-accent-900 {
  --tw-ring-color: var(--accent-900);
}

.ring-accent-800 {
  --tw-ring-color: var(--accent-800);
}

/* Hover states for brand colors */
.hover\:bg-brand-900:hover {
  background-color: var(--brand-900);
}

.hover\:bg-brand-800:hover {
  background-color: var(--brand-800);
}

.hover\:bg-brand-700:hover {
  background-color: var(--brand-700);
}

.hover\:bg-brand-600:hover {
  background-color: var(--brand-600);
}

.hover\:bg-brand-500:hover {
  background-color: var(--brand-500);
}

.hover\:bg-brand-400:hover {
  background-color: var(--brand-400);
}

.hover\:bg-brand-300:hover {
  background-color: var(--brand-300);
}

.hover\:bg-brand-200:hover {
  background-color: var(--brand-200);
}

.hover\:bg-brand-100:hover {
  background-color: var(--brand-100);
}

.hover\:bg-brand-50:hover {
  background-color: var(--brand-50);
}

.hover\:text-brand-900:hover {
  color: var(--brand-900);
}

.hover\:text-brand-800:hover {
  color: var(--brand-800);
}

.hover\:text-brand-700:hover {
  color: var(--brand-700);
}

.hover\:text-brand-600:hover {
  color: var(--brand-600);
}

.hover\:text-brand-500:hover {
  color: var(--brand-500);
}

.hover\:text-brand-400:hover {
  color: var(--brand-400);
}

.hover\:text-brand-300:hover {
  color: var(--brand-300);
}

.hover\:text-brand-200:hover {
  color: var(--brand-200);
}

.hover\:text-brand-100:hover {
  color: var(--brand-100);
}

.hover\:text-brand-50:hover {
  color: var(--brand-50);
}

.hover\:border-brand-900:hover {
  border-color: var(--brand-900);
}

.hover\:border-brand-800:hover {
  border-color: var(--brand-800);
}

.hover\:border-brand-700:hover {
  border-color: var(--brand-700);
}

.hover\:border-brand-600:hover {
  border-color: var(--brand-600);
}

.hover\:border-brand-500:hover {
  border-color: var(--brand-500);
}

.hover\:border-brand-400:hover {
  border-color: var(--brand-400);
}

.hover\:border-brand-300:hover {
  border-color: var(--brand-300);
}

.hover\:border-brand-200:hover {
  border-color: var(--brand-200);
}

.hover\:border-brand-100:hover {
  border-color: var(--brand-100);
}

.hover\:border-brand-50:hover {
  border-color: var(--brand-50);
}

/* Hover states for accent colors */
.hover\:bg-accent-900:hover {
  background-color: var(--accent-900);
}

.hover\:bg-accent-800:hover {
  background-color: var(--accent-800);
}

.hover\:bg-accent-700:hover {
  background-color: var(--accent-700);
}

.hover\:bg-accent-600:hover {
  background-color: var(--accent-600);
}

.hover\:bg-accent-500:hover {
  background-color: var(--accent-500);
}

.hover\:bg-accent-400:hover {
  background-color: var(--accent-400);
}

.hover\:bg-accent-300:hover {
  background-color: var(--accent-300);
}

.hover\:bg-accent-200:hover {
  background-color: var(--accent-200);
}

.hover\:bg-accent-100:hover {
  background-color: var(--accent-100);
}

.hover\:bg-accent-50:hover {
  background-color: var(--accent-50);
}

.hover\:text-accent-900:hover {
  color: var(--accent-900);
}

.hover\:text-accent-800:hover {
  color: var(--accent-800);
}

.hover\:text-accent-700:hover {
  color: var(--accent-700);
}

.hover\:text-accent-600:hover {
  color: var(--accent-600);
}

.hover\:text-accent-500:hover {
  color: var(--accent-500);
}

.hover\:text-accent-400:hover {
  color: var(--accent-400);
}

.hover\:text-accent-300:hover {
  color: var(--accent-300);
}

.hover\:text-accent-200:hover {
  color: var(--accent-200);
}

.hover\:text-accent-100:hover {
  color: var(--accent-100);
}

.hover\:text-accent-50:hover {
  color: var(--accent-50);
}

.hover\:border-accent-900:hover {
  border-color: var(--accent-900);
}

.hover\:border-accent-800:hover {
  border-color: var(--accent-800);
}

.hover\:border-accent-700:hover {
  border-color: var(--accent-700);
}

.hover\:border-accent-600:hover {
  border-color: var(--accent-600);
}

.hover\:border-accent-500:hover {
  border-color: var(--accent-500);
}

.hover\:border-accent-400:hover {
  border-color: var(--accent-400);
}

.hover\:border-accent-300:hover {
  border-color: var(--accent-300);
}

.hover\:border-accent-200:hover {
  border-color: var(--accent-200);
}

.hover\:border-accent-100:hover {
  border-color: var(--accent-100);
}

.hover\:border-accent-50:hover {
  border-color: var(--accent-50);
}

/* Active states for brand colors */
.active\:bg-brand-900:active {
  background-color: var(--brand-900);
}

.active\:bg-brand-800:active {
  background-color: var(--brand-800);
}

.active\:bg-brand-700:active {
  background-color: var(--brand-700);
}

.active\:bg-brand-600:active {
  background-color: var(--brand-600);
}

.active\:bg-brand-500:active {
  background-color: var(--brand-500);
}

.active\:bg-brand-400:active {
  background-color: var(--brand-400);
}

.active\:bg-brand-300:active {
  background-color: var(--brand-300);
}

.active\:bg-brand-200:active {
  background-color: var(--brand-200);
}

.active\:bg-brand-100:active {
  background-color: var(--brand-100);
}

.active\:bg-brand-50:active {
  background-color: var(--brand-50);
}

.active\:text-brand-900:active {
  color: var(--brand-900);
}

.active\:text-brand-800:active {
  color: var(--brand-800);
}

.active\:text-brand-700:active {
  color: var(--brand-700);
}

.active\:text-brand-600:active {
  color: var(--brand-600);
}

.active\:text-brand-500:active {
  color: var(--brand-500);
}

.active\:text-brand-400:active {
  color: var(--brand-400);
}

.active\:text-brand-300:active {
  color: var(--brand-300);
}

.active\:text-brand-200:active {
  color: var(--brand-200);
}

.active\:text-brand-100:active {
  color: var(--brand-100);
}

.active\:text-brand-50:active {
  color: var(--brand-50);
}

.active\:border-brand-900:active {
  border-color: var(--brand-900);
}

.active\:border-brand-800:active {
  border-color: var(--brand-800);
}

.active\:border-brand-700:active {
  border-color: var(--brand-700);
}

.active\:border-brand-600:active {
  border-color: var(--brand-600);
}

.active\:border-brand-500:active {
  border-color: var(--brand-500);
}

.active\:border-brand-400:active {
  border-color: var(--brand-400);
}

.active\:border-brand-300:active {
  border-color: var(--brand-300);
}

.active\:border-brand-200:active {
  border-color: var(--brand-200);
}

.active\:border-brand-100:active {
  border-color: var(--brand-100);
}

.active\:border-brand-50:active {
  border-color: var(--brand-50);
}

/* Active states for accent colors */
.active\:bg-accent-900:active {
  background-color: var(--accent-900);
}

.active\:bg-accent-800:active {
  background-color: var(--accent-800);
}

.active\:bg-accent-700:active {
  background-color: var(--accent-700);
}

.active\:bg-accent-600:active {
  background-color: var(--accent-600);
}

.active\:bg-accent-500:active {
  background-color: var(--accent-500);
}

.active\:bg-accent-400:active {
  background-color: var(--accent-400);
}

.active\:bg-accent-300:active {
  background-color: var(--accent-300);
}

.active\:bg-accent-200:active {
  background-color: var(--accent-200);
}

.active\:bg-accent-100:active {
  background-color: var(--accent-100);
}

.active\:bg-accent-50:active {
  background-color: var(--accent-50);
}

.active\:text-accent-900:active {
  color: var(--accent-900);
}

.active\:text-accent-800:active {
  color: var(--accent-800);
}

.active\:text-accent-700:active {
  color: var(--accent-700);
}

.active\:text-accent-600:active {
  color: var(--accent-600);
}

.active\:text-accent-500:active {
  color: var(--accent-500);
}

.active\:text-accent-400:active {
  color: var(--accent-400);
}

.active\:text-accent-300:active {
  color: var(--accent-300);
}

.active\:text-accent-200:active {
  color: var(--accent-200);
}

.active\:text-accent-100:active {
  color: var(--accent-100);
}

.active\:text-accent-50:active {
  color: var(--accent-50);
}

.active\:border-accent-900:active {
  border-color: var(--accent-900);
}

.active\:border-accent-800:active {
  border-color: var(--accent-800);
}

.active\:border-accent-700:active {
  border-color: var(--accent-700);
}

.active\:border-accent-600:active {
  border-color: var(--accent-600);
}

.active\:border-accent-500:active {
  border-color: var(--accent-500);
}

.active\:border-accent-400:active {
  border-color: var(--accent-400);
}

.active\:border-accent-300:active {
  border-color: var(--accent-300);
}

.active\:border-accent-200:active {
  border-color: var(--accent-200);
}

.active\:border-accent-100:active {
  border-color: var(--accent-100);
}

.active\:border-accent-50:active {
  border-color: var(--accent-50);
}

/* Focus states for brand colors */
.focus\:bg-brand-900:focus {
  background-color: #111111;
}

.focus\:bg-brand-800:focus {
  background-color: #1a1a1a;
}

.focus\:bg-brand-700:focus {
  background-color: #333333;
}

.focus\:bg-brand-600:focus {
  background-color: #4d4d4d;
}

.focus\:bg-brand-500:focus {
  background-color: #666666;
}

.focus\:bg-brand-400:focus {
  background-color: #808080;
}

.focus\:bg-brand-300:focus {
  background-color: #999999;
}

.focus\:bg-brand-200:focus {
  background-color: #cccccc;
}

.focus\:bg-brand-100:focus {
  background-color: #e6e6e6;
}

.focus\:bg-brand-50:focus {
  background-color: #f5f5f5;
}

.focus\:text-brand-900:focus {
  color: var(--brand-900);
}

.focus\:text-brand-800:focus {
  color: var(--brand-800);
}

.focus\:text-brand-700:focus {
  color: var(--brand-700);
}

.focus\:text-brand-600:focus {
  color: var(--brand-600);
}

.focus\:text-brand-500:focus {
  color: var(--brand-500);
}

.focus\:text-brand-400:focus {
  color: var(--brand-400);
}

.focus\:text-brand-300:focus {
  color: var(--brand-300);
}

.focus\:text-brand-200:focus {
  color: var(--brand-200);
}

.focus\:text-brand-100:focus {
  color: var(--brand-100);
}

.focus\:text-brand-50:focus {
  color: var(--brand-50);
}

.focus\:border-brand-900:focus {
  border-color: var(--brand-900);
}

.focus\:border-brand-800:focus {
  border-color: var(--brand-800);
}

.focus\:border-brand-700:focus {
  border-color: var(--brand-700);
}

.focus\:border-brand-600:focus {
  border-color: var(--brand-600);
}

.focus\:border-brand-500:focus {
  border-color: var(--brand-500);
}

.focus\:border-brand-400:focus {
  border-color: var(--brand-400);
}

.focus\:border-brand-300:focus {
  border-color: var(--brand-300);
}

.focus\:border-brand-200:focus {
  border-color: var(--brand-200);
}

.focus\:border-brand-100:focus {
  border-color: var(--brand-100);
}

.focus\:border-brand-50:focus {
  border-color: var(--brand-50);
}

/* Focus states for accent colors */
.focus\:bg-accent-900:focus {
  background-color: var(--accent-900);
}

.focus\:bg-accent-800:focus {
  background-color: var(--accent-800);
}

.focus\:bg-accent-700:focus {
  background-color: var(--accent-700);
}

.focus\:bg-accent-600:focus {
  background-color: var(--accent-600);
}

.focus\:bg-accent-500:focus {
  background-color: var(--accent-500);
}

.focus\:bg-accent-400:focus {
  background-color: var(--accent-400);
}

.focus\:bg-accent-300:focus {
  background-color: var(--accent-300);
}

.focus\:bg-accent-200:focus {
  background-color: var(--accent-200);
}

.focus\:bg-accent-100:focus {
  background-color: var(--accent-100);
}

.focus\:bg-accent-50:focus {
  background-color: var(--accent-50);
}

.focus\:text-accent-900:focus {
  color: var(--accent-900);
}

.focus\:text-accent-800:focus {
  color: var(--accent-800);
}

.focus\:text-accent-700:focus {
  color: var(--accent-700);
}

.focus\:text-accent-600:focus {
  color: var(--accent-600);
}

.focus\:text-accent-500:focus {
  color: var(--accent-500);
}

.focus\:text-accent-400:focus {
  color: var(--accent-400);
}

.focus\:text-accent-300:focus {
  color: var(--accent-300);
}

.focus\:text-accent-200:focus {
  color: var(--accent-200);
}

.focus\:text-accent-100:focus {
  color: var(--accent-100);
}

.focus\:text-accent-50:focus {
  color: var(--accent-50);
}

.focus\:border-accent-900:focus {
  border-color: var(--accent-900);
}

.focus\:border-accent-800:focus {
  border-color: var(--accent-800);
}

.focus\:border-accent-700:focus {
  border-color: var(--accent-700);
}

.focus\:border-accent-600:focus {
  border-color: var(--accent-600);
}

.focus\:border-accent-500:focus {
  border-color: var(--accent-500);
}

.focus\:border-accent-400:focus {
  border-color: var(--accent-400);
}

.focus\:border-accent-300:focus {
  border-color: var(--accent-300);
}

.focus\:border-accent-200:focus {
  border-color: var(--accent-200);
}

.focus\:border-accent-100:focus {
  border-color: var(--accent-100);
}

.focus\:border-accent-50:focus {
  border-color: var(--accent-50);
}

.ring-accent-700 {
  --tw-ring-color: var(--accent-700);
}

.ring-accent-600 {
  --tw-ring-color: var(--accent-600);
}

.ring-accent-500 {
  --tw-ring-color: var(--accent-500);
}

.fill-brand-900 {
  fill: var(--brand-900);
}

.fill-brand-800 {
  fill: var(--brand-800);
}

.fill-brand-700 {
  fill: var(--brand-700);
}

.fill-accent-900 {
  fill: var(--accent-900);
}

.fill-accent-800 {
  fill: var(--accent-800);
}

.fill-accent-700 {
  fill: var(--accent-700);
}

.stroke-brand-900 {
  stroke: var(--brand-900);
}

.stroke-brand-800 {
  stroke: var(--brand-800);
}

.stroke-brand-700 {
  stroke: var(--brand-700);
}

.stroke-accent-900 {
  stroke: var(--accent-900);
}

.stroke-accent-800 {
  stroke: var(--accent-800);
}

.stroke-accent-700 {
  stroke: var(--accent-700);
}

.placeholder-brand-900::placeholder {
  color: var(--brand-900);
}

.placeholder-brand-800::placeholder {
  color: var(--brand-800);
}

.placeholder-brand-700::placeholder {
  color: var(--brand-700);
}

.placeholder-brand-500::placeholder {
  color: var(--brand-500);
}

.placeholder-accent-900::placeholder {
  color: var(--accent-900);
}

.placeholder-accent-800::placeholder {
  color: var(--accent-800);
}

.placeholder-accent-700::placeholder {
  color: var(--accent-700);
}

.decoration-brand-900 {
  text-decoration-color: var(--brand-900);
}

.decoration-brand-800 {
  text-decoration-color: var(--brand-800);
}

.decoration-brand-700 {
  text-decoration-color: var(--brand-700);
}

.decoration-accent-900 {
  text-decoration-color: var(--accent-900);
}

.decoration-accent-800 {
  text-decoration-color: var(--accent-800);
}

.decoration-accent-700 {
  text-decoration-color: var(--accent-700);
}

.shadow-brand {
  --tw-shadow-color: var(--black);
  --tw-shadow: var(--tw-shadow-colored);
}

.shadow-accent {
  --tw-shadow-color: var(--accent-700);
  --tw-shadow: var(--tw-shadow-colored);
}

.outline-brand-900 {
  outline-color: var(--brand-900);
}

.outline-brand-800 {
  outline-color: var(--brand-800);
}

.outline-brand-700 {
  outline-color: var(--brand-700);
}

.outline-accent-900 {
  outline-color: var(--accent-900);
}

.outline-accent-800 {
  outline-color: var(--accent-800);
}

.outline-accent-700 {
  outline-color: var(--accent-700);
}

:where(.divide-brand-900 > :not(:last-child)) {
  border-color: var(--brand-900);
}

:where(.divide-brand-800 > :not(:last-child)) {
  border-color: var(--brand-800);
}

:where(.divide-brand-700 > :not(:last-child)) {
  border-color: var(--brand-700);
}

:where(.divide-brand-600 > :not(:last-child)) {
  border-color: var(--brand-600);
}

.flash-notification {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  background-color: #000;
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

  max-width: 400px;
  min-width: 300px;

  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.flash-notification-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.flash-notification-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.flash-notification-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.flash-notification.notice {
  background-color: #000;
}

.flash-notification.alert {
  background-color: var(--alert-red);
}

.flash-enter {
  opacity: 0;
  transform: translateX(-50%) translateY(20px) scale(0.95);
}

.flash-enter-active {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.flash-leave {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.flash-leave-active {
  opacity: 0;
  transform: translateX(-50%) translateY(-20px) scale(0.95);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--brand-700) var(--black);
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: var(--black);
  border-radius: 6px;
}

*::-webkit-scrollbar-thumb {
  background: var(--brand-700);
  border-radius: 6px;
  border: 1px solid var(--brand-800);
  transition: all 0.2s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--brand-600);
  border-color: var(--accent-700);
}

*::-webkit-scrollbar-thumb:active {
  background: var(--brand-500);
}

*::-webkit-scrollbar-corner {
  background: var(--black);
}

/* Notification container custom styling */
.notifications-container {
  background: var(--black);
  border: 2px solid var(--brand-800);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3),
    0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

/* Smooth scrolling for better UX */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Ensure body has proper overflow handling */
body {
  overflow-x: hidden;
}

/* Enhanced notification container styling */
.notifications-container {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Fans Grid Styles */
.fans-preview-grid {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 8px;
  width: 100%;
  aspect-ratio: 4/1;
  padding: 20px;
  background: linear-gradient(
    135deg,
    rgba(31, 41, 55, 0.3) 0%,
    rgba(17, 24, 39, 0.3) 100%
  );
  border-radius: 12px;
  border: 1px solid rgba(75, 85, 99, 0.3);
}

/* Compact Fans Grid for Profile */
.fans-compact-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 5/1;
  padding: 16px;
  background: linear-gradient(
    135deg,
    rgba(31, 41, 55, 0.2) 0%,
    rgba(17, 24, 39, 0.2) 100%
  );
  border-radius: 8px;
  border: 1px solid rgba(75, 85, 99, 0.2);
}

.fan-avatar-compact,
.fan-avatar-empty-compact {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.fan-avatar-compact:hover {
  transform: scale(1.15);
  z-index: 10;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  border: 2px solid var(--yellow-500);
}

.fan-avatar-empty-compact {
  opacity: 0.3;
  transition: opacity 0.2s ease;
}

.fan-avatar-empty-compact:hover {
  opacity: 0.6;
  transform: scale(1.1);
}

/* Full Width Fans Grid for Creator Profile */
.fans-full-width-grid {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(
    135deg,
    rgba(31, 41, 55, 0.15) 0%,
    rgba(17, 24, 39, 0.15) 100%
  );
  border-radius: 12px;
  border: 1px solid rgba(75, 85, 99, 0.2);
}

.fan-avatar-full,
.fan-avatar-empty-full {
  width: 100%;
  height: 100%;
  min-width: 32px;
  min-height: 32px;
  max-width: 48px;
  max-height: 48px;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  margin: 0 auto;
}

.fan-avatar-full:hover {
  transform: scale(1.15);
  z-index: 10;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  border: 2px solid var(--yellow-500);
}

.fan-avatar-empty-full {
  opacity: 0.25;
  transition: opacity 0.2s ease;
}

.fan-avatar-empty-full:hover {
  opacity: 0.5;
  transform: scale(1.1);
}

/* Responsive adjustments for full width grid */
@media (max-width: 1280px) {
  .fans-full-width-grid {
    grid-template-columns: repeat(14, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 1024px) {
  .fans-full-width-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 8px;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .fans-full-width-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 6px;
    padding: 16px;
  }

  .fan-avatar-full,
  .fan-avatar-empty-full {
    min-width: 28px;
    min-height: 28px;
    max-width: 40px;
    max-height: 40px;
  }
}

@media (max-width: 640px) {
  .fans-full-width-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 4px;
    padding: 12px;
  }

  .fan-avatar-full,
  .fan-avatar-empty-full {
    min-width: 24px;
    min-height: 24px;
    max-width: 36px;
    max-height: 36px;
  }
}

.fan-avatar,
.fan-avatar-empty {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.fan-avatar:hover {
  transform: scale(1.2);
  z-index: 10;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  border: 2px solid var(--yellow-500);
}

.fan-avatar-empty {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.fan-avatar-empty:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

/* Modal Styles */
.fans-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 16px;
  height: 100%;
  overflow-y: auto;
  animation: fadeInUp 0.5s ease-out;
  padding-right: 20px;
}

.modal-fan-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  animation: slideInScale 0.6s ease-out;
  animation-fill-mode: both;
}

.modal-fan-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(234, 179, 8, 0.5);
  border: 3px solid var(--yellow-500);
}

.modal-fan-avatar:nth-child(odd) {
  animation-delay: 0.1s;
}

.modal-fan-avatar:nth-child(even) {
  animation-delay: 0.2s;
}

.modal-fan-avatar:nth-child(3n) {
  animation-delay: 0.3s;
}

/* Fan info tooltip */
.fan-avatar::after,
.modal-fan-avatar::after {
  content: attr(title);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.fan-avatar:hover::after,
.modal-fan-avatar:hover::after {
  opacity: 1;
}

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

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

@keyframes modalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(10px);
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Modal animation classes */
.modal-entering {
  animation: modalFadeIn 0.4s ease-out;
}

.modal-entering .bg-gray-900 {
  animation: modalSlideIn 0.4s ease-out;
}

.modal-exiting {
  animation: modalFadeIn 0.3s ease-in reverse;
}

.modal-exiting .bg-gray-900 {
  animation: modalSlideIn 0.3s ease-in reverse;
}

/* Categories Slider Fade Effect */
.category-slider-container {
  position: relative;
}

.category-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 25px;
  pointer-events: none;
  z-index: 10;
  right: 0;
  background: linear-gradient(to left, var(--black) 0%, transparent 100%);
}

/* Left fade only shows when scrolled */
.category-slider-container.scrolled::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 25px;
  pointer-events: none;
  z-index: 10;
  left: 0;
  background: linear-gradient(to right, var(--black) 0%, transparent 100%);
}

/* Mobile adjustments for fade effect */
@media (max-width: 640px) {
  .category-slider-container::after {
    width: 20px;
  }

  .category-slider-container.scrolled::before {
    width: 20px;
  }
}

/* Scrollbar Hide Utility */
.scrollbar-hide {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .fans-preview-grid {
    grid-template-columns: repeat(15, 1fr);
    grid-template-rows: repeat(7, 1fr);
    aspect-ratio: 3/1.4;
  }
}

@media (max-width: 768px) {
  .fans-preview-grid {
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    aspect-ratio: 1/1;
    gap: 6px;
    padding: 15px;
  }

  .fans-modal-grid {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 12px;
  }

  .modal-fan-avatar {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .fans-preview-grid {
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 4px;
    padding: 10px;
  }

  .fans-modal-grid {
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 10px;
  }

  .modal-fan-avatar {
    width: 50px;
    height: 50px;
  }
}

/* Activity Item Simple Animation */
[data-activity-rotator-target="item"] {
  transition: opacity 0.1s ease;
}

/* Video Player Controls */
.slider {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.slider::-webkit-slider-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: rgba(107, 114, 128, 0.3);
  border-radius: 4px;
  border: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--yellow-500);
  cursor: pointer;
  border: 2px solid #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slider::-webkit-slider-thumb:hover {
  background: var(--yellow-600);
  transform: scale(1.1);
}

.slider::-moz-range-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: rgba(107, 114, 128, 0.3);
  border-radius: 4px;
  border: none;
}

.slider::-moz-range-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--yellow-500);
  cursor: pointer;
  border: 2px solid #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slider::-moz-range-thumb:hover {
  background: var(--yellow-600);
  transform: scale(1.1);
}

/* Vertical Volume Slider */
.vertical-slider {
  writing-mode: bt-lr;
  -webkit-appearance: slider-vertical;
}

.vertical-slider::-webkit-slider-track {
  width: 8px;
  height: 100%;
  background: rgba(107, 114, 128, 0.3);
  border-radius: 4px;
}

.vertical-slider::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow-500);
  border: 2px solid #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  -webkit-appearance: none;
  appearance: none;
}

.vertical-slider::-webkit-slider-thumb:hover {
  background: var(--yellow-600);
  transform: scale(1.1);
}

.vertical-slider::-moz-range-track {
  width: 8px;
  height: 100%;
  background: rgba(107, 114, 128, 0.3);
  border-radius: 4px;
  border: none;
}

.vertical-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow-500);
  border: 2px solid #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Timeline Slider */
.timeline-slider {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  height: 8px;
  border-radius: 4px;
}

.timeline-slider::-webkit-slider-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: rgba(107, 114, 128, 0.4);
  border-radius: 4px;
  border: none;
}

.timeline-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--yellow-500);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  margin-top: -4px;
}

.timeline-slider::-webkit-slider-thumb:hover {
  background: var(--yellow-600);
  transform: scale(1.2);
  border-color: #fff;
}

.timeline-slider::-moz-range-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: rgba(107, 114, 128, 0.4);
  border-radius: 4px;
  border: none;
}

.timeline-slider::-moz-range-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--yellow-500);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.timeline-slider::-moz-range-thumb:hover {
  background: var(--yellow-600);
  transform: scale(1.2);
}

/* Timeline Progress Fill */
.timeline-slider::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    var(--yellow-500) 0%,
    var(--yellow-500) var(--progress, 0%),
    rgba(107, 114, 128, 0.4) var(--progress, 0%),
    rgba(107, 114, 128, 0.4) 100%
  );
}

#profile-header {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(0, 0, 0, 0.65);
  border: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 10px 40px -10px rgba(0, 0, 0, 0.3),
    0 20px 60px -20px rgba(234, 179, 8, 0.05),
    inset 0 0 0 2px rgba(29, 28, 22, 1);
  transition: all 0.3s ease;
}

#profile-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(234, 179, 8, 0.3) 20%,
    rgba(234, 179, 8, 0.1) 50%,
    transparent
  );
  opacity: 0.5;
}

#profile-header .absolute.inset-0.z-0 {
  mask-image: radial-gradient(ellipse at top left, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(
    ellipse at top left,
    black 0%,
    transparent 70%
  );
}
/* Ensure full width container respects the main content boundaries */
.main-content .full-width-container {
  width: 100%;
}

/* Custom Video Player Styles */
.custom-video-controls {
  transition: opacity 0.3s ease;
}

.custom-video-controls.opacity-0 {
  cursor: none;
}

/* Video player backdrop blur effect */
.video-backdrop-blur {
  transition: all 0.3s ease;
}

/* Large UI buttons for video player */
.video-control-button {
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
}

.video-control-button:hover {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.25);
}

.video-control-button:active {
  transform: scale(0.95);
}

/* Video clips scrollbar styling */
.clips-container::-webkit-scrollbar {
  height: 6px;
}

.clips-container::-webkit-scrollbar-track {
  background: var(--brand-900);
  border-radius: 3px;
}

.clips-container::-webkit-scrollbar-thumb {
  background: var(--brand-700);
  border-radius: 3px;
}

.clips-container::-webkit-scrollbar-thumb:hover {
  background: var(--brand-600);
}

/* Active clip styling */
[data-controller="clip-player"].border-accent-800 {
  border-color: var(--accent-800) !important;
}

[data-controller="clip-player"].border-accent-800:hover {
  --tw-ring-opacity: 0;
}

input#product_price {
  width: 400px;
}

/*mobile*/
@media (max-width: 640px) {
  input#product_price {
    width: 100%;
    margin: 0 auto;
  }
}

/* #profilepage {
  height: calc(100vh - 60px);
} */

/* mobile */
@media (max-width: 640px) {
  #profilepage {
    height: auto;
  }
}

/* True Fans Sidebar Light Mode */
.light-mode .true-fans-sidebar {
  background-color: var(--brand-50) !important;
  border-left-color: var(--brand-200) !important;
}

.light-mode .true-fans-sidebar h3 {
  color: var(--brand-100) !important;
}

.light-mode .true-fans-sidebar .tooltip {
  background-color: var(--brand-100) !important;
  color: var(--brand-900) !important;
  border-color: var(--brand-300) !important;
}

.light-mode .true-fans-sidebar .tooltip p {
  color: var(--brand-200) !important;
}

.light-mode .true-fans-sidebar .tooltip .text-brand-400 {
  color: var(--brand-200) !important;
}

/* Profile Background Image Light Mode Enhancements */
.light-mode .profile-bg-effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.9) 100%
  );
  z-index: 1;
}

.light-mode .profile-header-bg-effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.8) 100%
  );
  z-index: 1;
}

/* Ensure content appears above overlay */
.light-mode .profile-bg-effect > *:not(::after),
.light-mode .profile-header-bg-effect > *:not(::after) {
  position: relative;
  z-index: 2;
}

/* Main Scrollbar Light Mode */
.light-mode ::-webkit-scrollbar {
  width: 12px;
}

.light-mode ::-webkit-scrollbar-track {
  background: var(--brand-100);
  border-radius: 6px;
}

.light-mode ::-webkit-scrollbar-thumb {
  background: var(--brand-300);
  border-radius: 6px;
  border: 2px solid var(--brand-100);
}

.light-mode ::-webkit-scrollbar-thumb:hover {
  background: var(--brand-400);
}

.light-mode ::-webkit-scrollbar-corner {
  background: var(--brand-100);
}

/* Fix text color for accent background elements in light mode */
.light-mode .bg-accent-500.text-black,
.light-mode .bg-accent-500 .text-black {
  color: white !important;
}

/* Make bg-brand-900 white in light mode */
.light-mode .bg-brand-900 {
  background-color: white !important;
}

/* Fix text-accent-900 to use accent color in light mode */
.light-mode .text-accent-900 {
  color: var(--accent-900) !important;
}

.light-mode .text-accent-800 {
  color: var(--accent-800) !important;
}

.light-mode .text-accent-500 {
  color: var(--accent-500) !important;
}

/* Bottom Navigation Enhanced Glass Effects */
/* Dark mode - make overlay darker while keeping glass effect */
.bottom-nav {
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Light mode - add glass effect */
.light-mode .bottom-nav {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
}

/* Bottom nav drawer enhancements */
.bottom-nav-drawer {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.light-mode .bottom-nav-drawer {
  background-color: rgba(255, 255, 255, 0.95) !important;
  border-left-color: rgba(0, 0, 0, 0.1) !important;
}

/* Bottom nav overlay enhancements */
.bottom-nav-overlay {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.light-mode .bottom-nav-overlay {
  background-color: rgba(255, 255, 255, 0.8) !important;
}

/* Theme Toggle Button Active States */
.theme-btn {
  color: var(--brand-400);
  border: 2px solid transparent;
}

.theme-btn:hover {
  color: var(--brand-200);
}

.theme-btn[data-active] {
  background-color: var(--brand-700) !important;
  color: var(--brand-50) !important;
  border-color: var(--brand-600);
}

.theme-btn[data-active]:hover {
  background-color: var(--brand-600) !important;
  color: var(--brand-50) !important;
}
