/* ============================================
   TruequeSwap - Design System v2
   PHP Frontend Styles
   Colores: Azul, Amarillo, Blanco
   ============================================ */

/* ===== CSS Variables ===== */
:root {
  /* COLORES PRINCIPALES */
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  
  /* Amarillo - Acento */
  --yellow-50: #fefce8;
  --yellow-100: #fef9c3;
  --yellow-200: #fef08a;
  --yellow-300: #fde047;
  --yellow-400: #facc15;
  --yellow-500: #eab308;
  --yellow-600: #ca8a04;
  --yellow-700: #a16207;
  
  /* Blanco y grises */
  --white: #ffffff;
  --white-soft: #f8fafc;
  --white-warm: #fafaf9;
  
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Negros */
  --black: #000000;
  --black-soft: #0a0a0a;
  
  /* COLORES SEMÁNTICOS */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-glow: rgba(37, 99, 235, 0.4);
  
  --accent: #eab308;
  --accent-dark: #ca8a04;
  --accent-light: #facc15;
  --accent-glow: rgba(234, 179, 8, 0.4);
  
  --success: #10b981;
  --success-light: #d1fae5;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --info: #0ea5e9;
  --info-light: #e0f2fe;
  
  /* FONTS */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* TAMAÑOS */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* ESPACIADO */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* BORDES */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* SOMBRAS */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-card: 0 4px 24px -4px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
  
  /* TRANSICIONES */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white-soft);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

/* ===== Page Wrapper ===== */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  width: 100%;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.95) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 100%);
  color: white;
  box-shadow: 0 4px 15px var(--primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-accent {
  background: linear-gradient(135deg, var(--yellow-400) 0%, var(--yellow-500) 100%);
  color: var(--gray-900);
  box-shadow: 0 4px 15px var(--accent-glow);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 179, 8, 0.5);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 2px solid var(--blue-600);
}

.btn-outline:hover {
  background: var(--blue-600);
  color: white;
}

.btn-success {
  background: #10b981 !important;
  color: white !important;
  border-color: #10b981 !important;
}

.btn-success:hover {
  background: #059669 !important;
  border-color: #059669 !important;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ===== Inputs ===== */
.input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--gray-800);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-100);
}

.input::placeholder {
  color: var(--gray-400);
}

/* ===== Cards ===== */
.card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 24px -4px rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.15);
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.2);
}

.card-body {
  padding: var(--space-6);
}

/* ===== Hero Sections ===== */
.hero-section {
  position: relative;
  padding: 5rem 1.5rem 6rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(234, 179, 8, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #fbbf24;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.1;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 2rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Grid Layouts ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1.5rem;
}

/* ===== Item Card ===== */
.item-card {
  display: block;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.item-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.3);
}

.item-card:active {
  transform: translateY(-2px) scale(0.98);
}

.item-image {
  position: relative;
  aspect-ratio: 4/3;
  background: #f3f4f6;
  overflow: hidden;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.item-card:hover .item-image img {
  transform: scale(1.12);
}

.item-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

/* Verified Badges */
.verified-badge-mini {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #2563eb;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid white;
}

.verified-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.item-badge.new {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1f2937;
}

.item-badge.like_new {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.item-content {
  padding: 1.25rem;
}

.item-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item-category {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: #6b7280;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
}

.item-value {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 1rem 5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .items-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    padding: 1.5rem 1rem;
  }
}

/* header.php */
/* ===== Header Styles ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    width: 150px;
    height: 150px;
    border-radius: 16px;
    object-fit: contain;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    border-radius: 10px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    border-radius: 8px;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
    color: #0f172a;
}

.btn-block {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 0.5rem;
}

.user-menu {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    transition: transform 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-avatar:hover {
    transform: scale(1.08);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: all 0.2s ease;
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: #0f172a;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}
/* footer.php */
/* ===== Footer Styles ===== */
.site-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    padding: 4rem 1.5rem 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand .logo-img {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.footer-desc {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #fbbf24;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}  
/* ===== Legal Pages Styles (Terms, Privacy, Cookies) ===== */  
.legal-page { background: var(--white-soft); padding-bottom: 5rem; }  
.legal-hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); padding: 4rem 0; color: #fff; margin-bottom: 3rem; }
.legal-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; margin-bottom: 0.5rem; }  
.legal-hero p { color: rgba(255, 255, 255, 0.7); font-size: 1.125rem; margin: 0; }  
.legal-content { background: #fff; border-radius: 20px; padding: 3rem; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }  
.legal-content h2 { font-family: var(--font-display); font-size: 1.75rem; margin: 2rem 0 1rem; color: var(--gray-900); border-bottom: 1px solid var(--gray-200); padding-bottom: 0.5rem; }  
.legal-content h2:first-child { margin-top: 0; }  
.legal-content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; color: var(--gray-800); }  
.legal-content p, .legal-content li { color: var(--gray-600); line-height: 1.7; margin-bottom: 1rem; }  
.legal-content ul, .legal-content ol { margin-left: 1.5rem; margin-bottom: 1.5rem; }  
@media (max-width: 768px) { .legal-content { padding: 1.5rem; } } 
  
/* ===== Notifications Dropdown ===== */  
.notifications-dropdown { position: absolute; top: calc(100% + 10px); right: -60px; width: 320px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px); border-radius: 16px; box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2); border: 1px solid rgba(229, 231, 235, 0.8); z-index: 1050; overflow: hidden; }
.notif-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border-bottom: 1px solid #e5e7eb; background: #f8fafc; }
.notif-list { max-height: 350px; overflow-y: auto; }
.notif-item { display: block; padding: 1rem; border-bottom: 1px solid #f3f4f6; text-decoration: none; transition: background 0.2s ease; }
.notif-item:hover { background: #f1f5f9; }
.notif-item.unread { background: #eff6ff; }
.notif-title { font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; color: #1f2937; margin-bottom: 0.25rem; }
.notif-content { font-family: var(--font-body); font-size: 0.8125rem; color: #4b5563; margin-bottom: 0.5rem; }
.notif-time { font-family: var(--font-body); font-size: 0.75rem; color: #9ca3af; }
.notif-badge { position: absolute; top: -5px; right: -5px; background: #ef4444; color: white; font-size: 0.65rem; font-weight: bold; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid #0f172a; }
  
/* ===== Skeleton Loader ===== */
@keyframes shimmer { 0% { background-position: -468px 0; } 100% { background-position: 468px 0; } }
.skeleton-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid #e5e7eb; padding-bottom: 1.5rem; }
.skeleton-img { width: 100%; aspect-ratio: 4/3; background: #f3f4f6; background-image: linear-gradient(to right, #f3f4f6 0%, #e5e7eb 20%, #f3f4f6 40%, #f3f4f6 100%); background-repeat: no-repeat; background-size: 800px 100%; animation: shimmer 1.5s linear infinite; }
.skeleton-line { height: 16px; background: #f3f4f6; margin: 1rem 1.25rem 0.5rem; border-radius: 4px; background-image: linear-gradient(to right, #f3f4f6 0%, #e5e7eb 20%, #f3f4f6 40%, #f3f4f6 100%); background-repeat: no-repeat; background-size: 800px 100%; animation: shimmer 1.5s linear infinite; }
.skeleton-line.short { width: 60%; margin-top: 0.5rem; }
