@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap");

:root {
  /* New Black/Dark Theme Color Palette */
  --bg-primary: #0d0d0d; /* Very Dark Background */
  --bg-secondary: #1a1a1a; /* Dark Background */
  --bg-container: rgba(20, 20, 20, 0.95); /* Semi-transparent Dark */
  --bg-card: rgba(31, 31, 31, 0.8); /* Card Background with dark tint */

  /* Text Colors */
  --text-primary: #f2f2f2; /* Light Gray */
  --text-secondary: #cccccc; /* Medium Light Gray */
  --text-muted: #999999; /* Medium Gray */

  /* Heading Colors */
  --heading-h1: #ffffff; /* White */
  --heading-h2: #fcda19; /* Accent Gold/Yellow */
  --heading-h3: #e6e6e6; /* Light Gray */

  /* Accent & Brand Colors */
  --gradient-start: #fcda19; /* Primary Gold/Yellow */
  --gradient-middle: #fcda19; /* Primary Gold/Yellow */
  --gradient-end: #fcda19; /* Primary Gold/Yellow */
  --accent-pink: #fcda19; /* Primary Gold/Yellow */
  --accent-purple: #fcda19; /* Primary Gold/Yellow */
  --accent-blue: #666666; /* Medium Gray */

  /* Button Colors */
  --btn-primary-start: #fcda19; /* Primary Gold/Yellow */
  --btn-primary-end: #fcda19; /* Primary Gold/Yellow */
  --btn-primary-shadow: rgba(252, 218, 25, 0.4); /* Gold/Yellow Shadow */
  --btn-primary-text: #000000; /* Black text for gold buttons */

  --btn-secondary-start: #333333; /* Dark Gray */
  --btn-secondary-end: #404040; /* Medium Dark Gray */
  --btn-secondary-shadow: rgba(51, 51, 51, 0.4); /* Dark Gray Shadow */
  --btn-secondary-text: #ffffff; /* White text for dark buttons */

  --btn-success-start: #fcda19; /* Primary Gold/Yellow */
  --btn-success-end: #fcda19; /* Primary Gold/Yellow */
  --btn-success-shadow: rgba(252, 218, 25, 0.4); /* Gold/Yellow Shadow */
  --btn-success-text: #000000; /* Black text */

  --btn-warning-start: #fcda19; /* Accent Gold/Yellow */
  --btn-warning-end: #fcda19; /* Accent Gold/Yellow */
  --btn-warning-shadow: rgba(252, 218, 25, 0.4); /* Gold/Yellow Shadow */
  --btn-warning-text: #000000; /* Black text */

  /* Borders & Effects */
  --border-subtle: rgba(255, 255, 255, 0.1); /* Subtle White */
  --border-soft: rgba(255, 255, 255, 0.2); /* Soft White */
  --highlight-bg: rgba(31, 31, 31, 0.6); /* Dark Gray Tint */
  --highlight-purple: rgba(252, 218, 25, 0.2); /* Gold/Yellow Tint */
  --shimmer: rgba(255, 255, 255, 0.2); /* White Shimmer */
  --ripple: rgba(255, 255, 255, 0.3); /* White Ripple */

  /* Legacy variables for compatibility */
  --primary-color: #fcda19;
  --bg-dark: var(--bg-primary);
  --bg-darker: var(--bg-secondary);
  --bg-darkest: #000000;
  --text-light: var(--text-primary);
  --text-pale: var(--text-secondary);
  --border-color: var(--border-subtle);
  --hover-color: rgba(255, 255, 255, 0.1);
  --success-color: #fcda19;
  --danger-color: #dc3545;
  --warning-color: #fcda19;
  --accent-blue: var(--accent-blue);
  --accent-purple: #fcda19;
  --sidebar-width: 250px;
  --sidebar-collapsed-width: 60px;

  /* Glow effects */
  --glow-primary: 0 0 20px var(--btn-primary-shadow);
  --glow-blue: 0 0 20px rgba(102, 102, 102, 0.3);
  --glow-navy: 0 0 30px rgba(13, 13, 13, 0.8);
  --glow-yellow: 0 0 20px rgba(252, 218, 25, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Playfair Display", serif;
}

body {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(31, 31, 31, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(252, 218, 25, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(31, 31, 31, 0.2) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: var(--bg-container);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
  box-shadow: var(--glow-navy);
}

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

/* Hamburger Menu */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.hamburger-menu:hover {
  background-color: var(--hover-color);
  box-shadow: var(--glow-blue);
}

.hamburger-menu span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Logo */
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  flex: 1;
  text-shadow: var(--glow-primary);
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(252, 218, 25, 0.3));
  transition: all 0.3s ease;
}

.logo:hover .logo-img {
  filter: drop-shadow(0 0 15px rgba(252, 218, 25, 0.5));
  transform: scale(1.02);
}

/* User Dropdown */
.user-dropdown {
  position: relative;
}

.user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}

.user-dropdown-toggle:hover {
  background-color: var(--hover-color);
  border-color: #fcda19;
  box-shadow: 0 0 20px rgba(252, 218, 25, 0.4);
}

.username {
  font-weight: 500;
  color: var(--text-primary);
}

.dropdown-arrow {
  transition: transform 0.3s;
  color: var(--text-muted);
}

.user-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-container);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--glow-blue);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 1060;
  margin-top: 0.5rem;
}

.user-dropdown.active .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s;
  border-radius: 4px;
  margin: 0.25rem;
}

.dropdown-item:hover {
  background-color: var(--hover-color);
  color: #fcda19;
  box-shadow: 0 0 20px rgba(252, 218, 25, 0.4);
}

.dropdown-item.logout {
  color: var(--btn-secondary-start);
}

.dropdown-item.logout:hover {
  background-color: rgba(51, 51, 51, 0.3);
}

.dropdown-divider {
  height: 1px;
  background-color: var(--border-subtle);
  margin: 0.5rem 0;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-family: inherit;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--shimmer);
  transition: left 0.5s;
  z-index: 1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: #fcda19;
  color: #000000;
  box-shadow: 0 4px 15px var(--btn-primary-shadow);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--btn-primary-shadow);
  background: #e6c516;
}

.btn-secondary {
  background: #333333;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(51, 51, 51, 0.4);
  font-weight: 600;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(51, 51, 51, 0.4);
  background: #404040;
}

.btn-success {
  background: #fcda19;
  color: #000000;
  box-shadow: 0 4px 15px var(--btn-success-shadow);
  font-weight: 700;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--btn-success-shadow);
  background: #e6c516;
}

.btn-warning {
  background: #fcda19;
  color: #000000;
  box-shadow: 0 4px 15px var(--btn-warning-shadow);
  font-weight: 700;
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--btn-warning-shadow);
  background: #e6c516;
}

.btn-outline {
  background: transparent;
  color: #fcda19;
  border: 2px solid #fcda19;
  box-shadow: 0 0 10px rgba(252, 218, 25, 0.2);
}

.btn-outline:hover {
  background: #fcda19;
  color: #000000;
  box-shadow: 0 0 20px rgba(252, 218, 25, 0.4);
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(135deg, var(--btn-secondary-start), var(--btn-secondary-end));
  color: white;
  box-shadow: 0 4px 15px rgba(51, 51, 51, 0.4);
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #fcda19;
  box-shadow: 0 0 0 2px rgba(252, 218, 25, 0.2);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

/* Cards */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--glow-blue);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--btn-primary-shadow), var(--glow-blue);
  border-color: #fcda19;
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.card-text {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fcda19;
  text-shadow: 0 0 10px rgba(252, 218, 25, 0.5);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-container) 0%, var(--bg-card) 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, var(--highlight-bg) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fcda19;
  text-shadow: 0 0 20px rgba(252, 218, 25, 0.5);
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

/* Search Bar */
.search-bar {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--glow-blue);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 1rem;
}

.search-input:focus {
  outline: none;
}

.search-input::placeholder {
  color: var(--text-muted);
}

/* Categories */
.categories-section {
  padding: 4rem 0;
  background: var(--highlight-bg);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--heading-h2);
}

.category-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  transition: all 0.3s;
}

.category-card:hover {
  border-color: #fcda19;
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(252, 218, 25, 0.4);
}

.category-icon {
  font-size: 3rem;
  color: #fcda19;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 20px rgba(252, 218, 25, 0.4));
}

.category-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.category-count {
  color: var(--text-muted);
}

/* Listings */
.listings-section {
  padding: 4rem 0;
  background: var(--bg-container);
}

.listing-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
}

.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--btn-primary-shadow), var(--glow-blue);
  border-color: #fcda19;
}

.listing-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.listing-content {
  padding: 1.5rem;
}

.listing-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.listing-category {
  color: var(--accent-blue);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.listing-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.listing-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fcda19;
  text-shadow: 0 0 10px rgba(252, 218, 25, 0.5);
}

.listing-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sidebar */
.sidebar {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--glow-blue);
}

.sidebar-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--heading-h2);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--glow-blue);
}

/* Admin Dashboard */
.dashboard {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  min-height: 100vh;
  transition: grid-template-columns 0.3s ease;
}

.dashboard-sidebar {
  background: var(--bg-container);
  backdrop-filter: blur(15px);
  border-right: 1px solid var(--border-subtle);
  padding: 0;
  display: flex;
  flex-direction: column;
  width: var(--sidebar-width);
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-navy);
}

.dashboard-sidebar.collapsed {
  width: var(--sidebar-collapsed-width);
  --sidebar-width: var(--sidebar-collapsed-width);
}

.dashboard-sidebar.collapsed + .dashboard-content {
  margin-left: 0;
}

.sidebar-header {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.sidebar-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fcda19;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  backdrop-filter: blur(5px);
}

.sidebar-toggle:hover {
  background: #fcda19;
  color: #000000;
  border-color: #fcda19;
  box-shadow: 0 0 20px rgba(252, 218, 25, 0.4);
}

.dashboard-sidebar.collapsed .logo {
  opacity: 0;
  visibility: hidden;
}

.dashboard-content {
  padding: 2rem;
  transition: margin-left 0.3s ease;
  background: var(--highlight-bg);
}

.dashboard-nav {
  list-style: none;
  padding: 1rem 0;
  flex: 1;
}

.dashboard-nav li {
  margin-bottom: 0.25rem;
}

.dashboard-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s;
  margin: 0 0.5rem;
  position: relative;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
  background: #fcda19;
  color: #000000;
  box-shadow: 0 0 20px var(--btn-primary-shadow);
}

.nav-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.nav-text {
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.dashboard-sidebar.collapsed .nav-text {
  opacity: 0;
  visibility: hidden;
}

.dashboard-sidebar.collapsed .dashboard-nav a {
  justify-content: center;
  padding: 0.75rem;
}

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.user-info {
  text-align: center;
}

.logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.dashboard-sidebar.collapsed .user-info .text-muted,
.dashboard-sidebar.collapsed .user-info .text-primary {
  display: none;
}

.dashboard-sidebar.collapsed .logout-btn .nav-text {
  display: none;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  text-align: center;
  box-shadow: var(--glow-blue);
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--btn-primary-shadow);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fcda19;
  text-shadow: 0 0 10px rgba(252, 218, 25, 0.5);
}

.stat-label {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Tables */
.table-container {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--glow-blue);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.table th {
  background: var(--bg-container);
  font-weight: 600;
  color: var(--heading-h2);
}

.table tr:hover {
  background: var(--hover-color);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s;
  background: var(--bg-card);
  backdrop-filter: blur(5px);
}

.pagination a:hover {
  background: #fcda19;
  color: #000000;
  box-shadow: 0 0 20px rgba(252, 218, 25, 0.4);
}

.pagination .current {
  background: #fcda19;
  color: #000000;
  box-shadow: 0 0 20px rgba(252, 218, 25, 0.4);
}

/* Sidebar Navigation */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background: var(--bg-container);
  backdrop-filter: blur(15px);
  border-right: 1px solid var(--border-subtle);
  z-index: 1045;
  transform: translateX(-100%);
  transition: transform 0.3s;
  overflow-y: auto;
  box-shadow: var(--glow-navy);
}

.sidebar-nav.active {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-header h3 {
  color: var(--heading-h2);
  margin: 0;
}

.sidebar-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.sidebar-close:hover {
  background-color: var(--hover-color);
  color: #fcda19;
}

.sidebar-content {
  padding: 1rem 0;
}

.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu-item {
  margin-bottom: 0.25rem;
}

.sidebar-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s;
}

.sidebar-menu-link:hover {
  background-color: var(--hover-color);
  color: #fcda19;
  box-shadow: inset 4px 0 0 #fcda19;
}

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

.category-icon-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fcda19;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 0 20px var(--btn-primary-shadow);
}

.menu-arrow {
  margin-left: auto;
  color: var(--text-muted);
}

/* Subheader */
.subheader {
  background: var(--bg-container);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  margin-top: 80px;
  position: relative;
  z-index: 1030;
  box-shadow: var(--glow-navy);
}

.category-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
}

.category-nav-item {
  position: relative;
}

.category-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 5px;
  transition: all 0.3s;
  font-weight: 500;
}

.category-nav-link:hover {
  color: #fcda19;
  background: var(--hover-color);
  box-shadow: 0 0 20px rgba(252, 218, 25, 0.4);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 800px;
  background: var(--bg-container);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--glow-blue);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s;
  z-index: 1035;
}

.category-nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
  padding: 2rem;
  max-width: 100%;
  overflow: hidden;
}

.mega-menu-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 100%;
}

.mega-menu-column h4 {
  color: var(--heading-h2);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.mega-menu-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-menu-column li {
  margin-bottom: 0.5rem;
}

.mega-menu-column a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}

.mega-menu-column a:hover {
  color: #fcda19;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, var(--bg-container));
  padding: 3rem 0 2rem;
}

.slide-content {
  max-width: 600px;
}

.slide-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.slide-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.slide-cta {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 2rem;
  background: var(--bg-container);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-nav:hover {
  background: #fcda19;
  color: #000000;
  border-color: #fcda19;
  box-shadow: 0 0 20px rgba(252, 218, 25, 0.4);
}

.slider-prev {
  right: 6rem;
}

.slider-next {
  right: 2rem;
}

/* Slider Indicators */
.slider-indicators {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.slider-dot {
  width: 40px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active,
.slider-dot:hover {
  background: #fcda19;
  box-shadow: 0 0 20px rgba(252, 218, 25, 0.4);
}

/* Featured Categories Section */
.featured-categories-section {
  padding: 4rem 0;
  background: var(--highlight-bg);
}

.section-title-left {
  font-size: 2rem;
  font-weight: 600;
  color: var(--heading-h2);
  margin-bottom: 2rem;
  text-align: left;
}

.featured-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Featured Categories Section - 4 Column Layout */
.featured-categories-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.featured-category-card {
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid var(--border-subtle);
}

.featured-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--btn-primary-shadow), var(--glow-blue);
  border-color: #fcda19;
}

.category-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.category-placeholder {
  width: 100%;
  height: 100%;
  background: #fcda19;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-placeholder span {
  font-size: 4rem;
  font-weight: 700;
  color: #000000;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, var(--bg-container));
  padding: 2rem 1.5rem 1.5rem;
}

.category-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.category-count {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Trending Section Slider */
.trending-section {
  padding: 4rem 0;
  background: var(--bg-container);
}

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

.trending-nav {
  display: flex;
  gap: 0.5rem;
}

.trending-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(5px);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trending-nav-btn:hover {
  background: #fcda19;
  color: #000000;
  border-color: #fcda19;
  box-shadow: 0 0 20px rgba(252, 218, 25, 0.4);
}

.trending-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.trending-slider {
  overflow: hidden;
  border-radius: 12px;
}

.trending-slider-container {
  overflow: hidden;
}

.trending-slider-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  gap: 1.5rem;
}

.trending-card {
  flex: 0 0 calc(25% - 1.125rem);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.trending-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--btn-primary-shadow), var(--glow-blue);
  border-color: #fcda19;
}

.trending-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.trending-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.trending-card:hover .trending-image img {
  transform: scale(1.05);
}

.trending-price {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #fcda19;
  color: #000000;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 20px var(--btn-primary-shadow);
}

/* Favorite Button */
.favorite-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  color: #999;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.favorite-btn:hover {
  background: rgba(255, 255, 255, 1);
  color: #fcda19;
  transform: scale(1.1);
}

.favorite-btn.favorited {
  color: #fcda19;
  background: rgba(255, 255, 255, 1);
}

.trending-content {
  padding: 1.5rem;
}

.trending-category {
  color: var(--accent-blue);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.trending-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trending-views {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Mission Section */
.mission-section {
  padding: 5rem 0;
  background: var(--highlight-bg);
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-h2);
  margin-bottom: 2rem;
}

.mission-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fcda19;
  text-shadow: 0 0 10px rgba(252, 218, 25, 0.5);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.mission-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

/* Alert Styles */
.alert {
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  backdrop-filter: blur(5px);
}

.alert-success {
  background: rgba(252, 218, 25, 0.2);
  border: 1px solid #fcda19;
  color: #fcda19;
}

.alert-danger {
  background: rgba(51, 51, 51, 0.3);
  border: 1px solid var(--btn-secondary-start);
  color: var(--btn-secondary-start);
}

/* Badge Styles */
.badge {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success {
  background: #fcda19;
  color: #000000;
}

.badge-secondary {
  background: var(--text-muted);
  color: var(--bg-primary);
}

/* Button Sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Utilities */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 1rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mb-5 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
.mt-5 {
  margin-top: 2rem;
}

.p-1 {
  padding: 0.25rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 1rem;
}
.p-4 {
  padding: 1.5rem;
}
.p-5 {
  padding: 2rem;
}

.d-flex {
  display: flex;
}
.justify-between {
  justify-content: space-between;
}
.align-center {
  align-items: center;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}

.text-primary {
  color: #fcda19;
}
.text-muted {
  color: var(--text-muted);
}
.text-success {
  color: #fcda19;
}
.text-danger {
  color: var(--danger-color);
}

.bg-primary {
  background-color: #fcda19;
}
.bg-dark {
  background-color: var(--bg-primary);
}
.bg-darker {
  background-color: var(--bg-secondary);
}

/* New class for profile form grid layout */
.profile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .featured-categories-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .trending-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (max-width: 768px) {
  .mega-menu {
    width: 95vw;
    max-width: none;
    left: 2.5%;
    transform: none;
  }

  .category-nav-item:hover .mega-menu {
    transform: none;
  }

  .mega-menu-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
  }

  .slider-prev {
    right: 5rem;
  }

  .slider-next {
    right: 1rem;
  }

  .slider-indicators {
    left: 1rem;
  }

  .header-content {
    gap: 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .user-menu .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .subheader {
    margin-top: 70px;
  }

  .category-nav {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.5rem;
  }

  .hero-slider {
    height: 300px;
  }

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

  .slide-description {
    font-size: 1rem;
  }

  .mission-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .featured-categories-grid,
  .trending-grid {
    grid-template-columns: 1fr;
  }

  .featured-categories-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .trending-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .trending-nav {
    align-self: flex-end;
  }

  .trending-card {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .category-card-image {
    height: 200px;
  }

  .profile-form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .dashboard-sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    z-index: 1000;
    transition: left 0.3s ease;
  }

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

  .dashboard-sidebar.collapsed {
    width: 250px;
  }
}

@media (max-width: 480px) {
  .mega-menu {
    width: 100vw;
    left: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .slider-prev {
    right: 4rem;
  }

  .slider-next {
    right: 0.5rem;
  }

  .sidebar-nav {
    width: 280px;
  }

  .slide-content {
    padding: 0 1rem;
  }

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

  .mission-title {
    font-size: 2rem;
  }

  .section-title-left {
    font-size: 1.5rem;
  }

  .featured-categories-grid-4 {
    grid-template-columns: 1fr;
  }

  .trending-card {
    flex: 0 0 100%;
  }

  .trending-slider-wrapper {
    gap: 1rem;
  }

  .category-card-image {
    height: 180px;
  }
}

/* Import category-specific styles */
@import url("category-styles.css");

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

.slide-up {
  animation: slideUp 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--border-subtle);
  border-top-color: #fcda19;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Error States */
.error {
  color: var(--danger-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-control.error {
  border-color: var(--danger-color);
}

/* Success States */
.success {
  color: #10b981;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-control.success {
  border-color: #10b981;
}

/* Focus States */
.focus-visible {
  outline: 2px solid #fcda19;
  outline-offset: 2px;
}

/* Disabled States */
.disabled,
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Print Styles */
@media print {
  .header,
  .sidebar-nav,
  .sidebar-overlay {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .card {
    border: 1px solid #ccc;
    box-shadow: none;
  }
}

/* Legal Pages Styles */
.legal-page {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  min-height: 100vh;
  padding-top: 160px; /* Account for fixed header */
}

.legal-header {
  text-align: center;
  padding: 4rem 0 2rem;
  background: var(--bg-container);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.legal-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--heading-h2);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(252, 218, 25, 0.3);
}

.legal-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.legal-section {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.legal-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--heading-h2);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-pink);
}

.legal-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--heading-h3);
  margin: 2rem 0 1rem;
}

.legal-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.legal-section ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-section strong {
  color: var(--text-primary);
  font-weight: 600;
}

.contact-info {
  background: var(--highlight-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-pink);
  margin-top: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* About Page Styles */
.about-page {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* Hero Section */
.about-hero {
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(252, 218, 25, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.about-hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.luxury-hustle {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero-subtitle {
  font-size: 1.8rem;
  color: var(--accent-pink);
  font-weight: 600;
  margin-bottom: 2rem;
  font-style: italic;
}

.about-hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Mission Section */
.about-mission {
  padding: 6rem 0;
  background: var(--bg-container);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-h2);
  margin-bottom: 2rem;
}

.mission-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.mission-quote {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--bg-card);
  border-left: 4px solid var(--accent-pink);
  border-radius: 8px;
}

.mission-quote blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  margin: 0;
  font-weight: 500;
}

.mission-visual {
  position: relative;
}

.mission-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mission-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Values Section */
.about-values {
  padding: 6rem 0;
  background: var(--highlight-bg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(252, 218, 25, 0.2);
  border-color: var(--accent-pink);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #000;
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--heading-h3);
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Stats Section */
.about-stats {
  padding: 6rem 0;
  background: var(--bg-container);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-pink);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(252, 218, 25, 0.3);
}

.stat-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.stat-description {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Categories Section */
.about-categories {
  padding: 6rem 0;
  background: var(--highlight-bg);
}

.categories-showcase {
  display: grid;
  gap: 3rem;
}

.category-showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.category-showcase-item:nth-child(even) {
  direction: rtl;
}

.category-showcase-item:nth-child(even) .category-content {
  direction: ltr;
}

.category-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.category-content {
  padding: 2rem;
}

.category-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--heading-h3);
  margin-bottom: 1rem;
}

.category-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

/* CTA Section */
.about-cta {
  padding: 6rem 0;
  background: var(--bg-container);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-h2);
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Legal Pages Responsive Design */
@media (max-width: 1024px) {
  .mission-grid,
  .category-showcase-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .category-showcase-item:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .legal-page {
    padding-top: 140px;
  }

  .about-page {
    padding-top: 140px;
  }

  .legal-header {
    padding: 2rem 0 1rem;
  }

  .legal-header h1 {
    font-size: 2rem;
  }

  .legal-content {
    padding: 2rem 1rem;
  }

  .legal-section {
    padding: 1.5rem;
  }

  .about-hero {
    padding: 4rem 0 3rem;
  }

  .about-hero-title {
    font-size: 2.5rem;
  }

  .about-hero-subtitle {
    font-size: 1.3rem;
  }

  .about-mission,
  .about-values,
  .about-stats,
  .about-categories,
  .about-cta {
    padding: 4rem 0;
  }

  .section-title,
  .mission-content h2,
  .cta-content h2 {
    font-size: 2rem;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .legal-header h1 {
    font-size: 1.5rem;
  }

  .about-hero-title {
    font-size: 2rem;
  }

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

  .stat-number {
    font-size: 2.5rem;
  }

  .category-content {
    padding: 1.5rem;
  }
}
