/* ============================================
   HOOKUPZ - Complete Stylesheet
   A Dating App for Nigeria
   ============================================ */

/* ---- CSS VARIABLES (Colors & Fonts) ---- */
:root {
  --primary: #E91E63;
  --primary-dark: #C2185B;
  --primary-light: #F8BBD0;
  --secondary: #9C27B0;
  --accent: #FF5722;
  --gold: #FFD700;
  --gold-dark: #FFA000;
  --dark: #1a1a2e;
  --dark-2: #16213e;
  --dark-3: #0f3460;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-dark: #333333;
  --bg-dark: #0a0a1a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #222244;
  --success: #4CAF50;
  --error: #f44336;
  --warning: #FF9800;
  --gradient-primary: linear-gradient(135deg, #E91E63, #9C27B0);
  --gradient-gold: linear-gradient(135deg, #FFD700, #FFA000);
  --gradient-dark: linear-gradient(135deg, #1a1a2e, #0f3460);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(233, 30, 99, 0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-full: 50%;
  --transition: all 0.3s ease;
}

/* ---- RESET & BASE ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- TOAST NOTIFICATIONS ---- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 28px;
  border-radius: var(--radius);
  color: white;
  font-weight: 600;
  z-index: 10000;
  transition: transform 0.3s ease;
  max-width: 90%;
  text-align: center;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast-success {
  background: var(--success);
}

.toast-error {
  background: var(--error);
}

.toast-info {
  background: var(--dark-3);
  border: 1px solid var(--primary);
}

/* ---- LOADING SPINNER ---- */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
  gap: 20px;
}

.loader {
  width: 50px;
  height: 50px;
  border: 4px solid var(--dark-2);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 600;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(233, 30, 99, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-gold {
  background: var(--gradient-gold);
  color: #333;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.btn-danger {
  background: var(--error);
  color: white;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
  font-size: 1.3rem;
}

/* ---- FORMS ---- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--dark-2);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-control::placeholder {
  color: #666;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

select.form-control option {
  background: var(--dark-2);
  color: var(--text-primary);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  border-bottom: 1px solid rgba(233, 30, 99, 0.2);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand .logo {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.navbar-brand .logo-icon {
  font-size: 2rem;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.75rem;
  font-weight: 600;
  position: relative;
}

.nav-link .nav-icon {
  font-size: 1.4rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(233, 30, 99, 0.1);
}

.nav-link .badge {
  position: absolute;
  top: 2px;
  right: 8px;
  background: var(--primary);
  color: white;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--primary);
  cursor: pointer;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background: rgba(10, 10, 26, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(233, 30, 99, 0.2);
  z-index: 1000;
  padding: 0;
}

.mobile-nav .navbar-nav {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 100%;
  align-items: center;
}

.mobile-nav .nav-link {
  padding: 6px 12px;
  font-size: 0.65rem;
}

/* ---- MAIN CONTENT ---- */
.main-content {
  margin-top: 70px;
  padding: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 100px;
}

/* ---- LANDING PAGE ---- */
.landing-hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(233, 30, 99, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(156, 39, 176, 0.15) 0%, transparent 50%);
  animation: heroFloat 15s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(5deg); }
  66% { transform: translate(-20px, 20px) rotate(-3deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-content .logo-large {
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  letter-spacing: 4px;
}

.hero-content .logo-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 20px;
}

.hero-content .tagline {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-weight: 300;
}

.hero-content .sub-tagline {
  font-size: 1.1rem;
  color: var(--primary-light);
  margin-bottom: 40px;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Features Section */
.features-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.section-title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 50px;
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  padding: 35px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(233, 30, 99, 0.3);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---- AUTH PAGES (Login/Signup) ---- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg-dark);
  position: relative;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(233, 30, 99, 0.1) 0%, transparent 70%);
}

.auth-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius);
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.auth-card .auth-logo {
  text-align: center;
  margin-bottom: 30px;
}

.auth-card .auth-logo .logo-text {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
}

.auth-card .auth-logo .logo-sub {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 5px;
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.auth-footer {
  text-align: center;
  margin-top: 25px;
  color: var(--text-secondary);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 25px 0;
  color: var(--text-secondary);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.password-toggle {
  position: relative;
}

.password-toggle .toggle-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.2rem;
}

/* ---- PROFILE SETUP ---- */
.setup-page {
  min-height: 100vh;
  padding: 30px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.setup-header {
  text-align: center;
  margin-bottom: 40px;
}

.setup-header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.setup-header p {
  color: var(--text-secondary);
}

.setup-progress {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.progress-step {
  width: 60px;
  height: 6px;
  background: var(--dark-2);
  border-radius: 3px;
  transition: var(--transition);
}

.progress-step.active {
  background: var(--gradient-primary);
}

.setup-section {
  display: none;
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.setup-section.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.setup-section h2 {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.setup-section .section-desc {
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 0.9rem;
}

.photo-upload-area {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.photo-slot {
  width: 120px;
  height: 120px;
  background: var(--dark-2);
  border: 2px dashed rgba(233, 30, 99, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.photo-slot:hover {
  border-color: var(--primary);
  background: rgba(233, 30, 99, 0.05);
}

.photo-slot.main {
  width: 150px;
  height: 150px;
  border-color: var(--primary);
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slot .upload-icon {
  font-size: 2rem;
  color: var(--text-secondary);
}

.photo-slot .remove-photo {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--error);
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interests-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interest-tag {
  padding: 8px 18px;
  background: var(--dark-2);
  border: 2px solid transparent;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  color: var(--text-secondary);
  user-select: none;
}

.interest-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.interest-tag.selected {
  background: rgba(233, 30, 99, 0.2);
  border-color: var(--primary);
  color: var(--primary);
}

.setup-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

/* ---- DASHBOARD (Browse Users) ---- */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.dashboard-header h1 {
  font-size: 1.8rem;
}

.dashboard-header h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Filters */
.filters-bar {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.filters-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text-secondary);
  font-weight: 600;
}

.filters-content {
  display: none;
  padding-top: 20px;
}

.filters-content.show {
  display: block;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: flex-end;
}

/* User Cards Grid */
.users-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.user-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  cursor: pointer;
}

.user-card:hover {
  transform: translateY(-5px);
  border-color: rgba(233, 30, 99, 0.3);
  box-shadow: var(--shadow-glow);
}

.user-card .card-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
}

.user-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.user-card:hover .card-image img {
  transform: scale(1.05);
}

.user-card .card-image .online-dot {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 14px;
  height: 14px;
  background: var(--success);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-card);
}

.user-card .card-image .premium-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gradient-gold);
  color: #333;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.user-card .card-image .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.user-card .card-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.user-card .card-location {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.user-card .card-location::before {
  content: '📍 ';
}

.user-card .card-body {
  padding: 15px;
}

.user-card .card-details {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.user-card .detail-tag {
  font-size: 0.8rem;
  padding: 4px 10px;
  background: var(--dark-2);
  border-radius: 20px;
  color: var(--text-secondary);
}

.user-card .card-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.user-card .card-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-like {
  background: var(--gradient-primary);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-like:hover {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(233, 30, 99, 0.5);
}

.btn-like.liked {
  background: var(--success);
}

.btn-pass {
  background: var(--dark-2);
  color: var(--text-secondary);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-pass:hover {
  background: var(--error);
  color: white;
}

.btn-view {
  background: var(--dark-3);
  color: var(--text-primary);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-view:hover {
  background: var(--primary);
}

/* ---- PROFILE VIEW ---- */
.profile-page {
  max-width: 800px;
  margin: 0 auto;
}

.profile-hero {
  position: relative;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 25px;
}

.profile-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero .profile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.profile-hero .profile-name {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.profile-hero .profile-tagline {
  color: var(--text-secondary);
  font-size: 1rem;
}

.profile-hero .profile-actions-top {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.info-card {
  background: var(--bg-card);
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--text-secondary);
}

.info-value {
  font-weight: 600;
}

.profile-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 25px;
}

.profile-photos-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.profile-photos-grid img:hover {
  transform: scale(1.02);
}

.profile-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.profile-interest-tag {
  padding: 6px 16px;
  background: rgba(233, 30, 99, 0.15);
  border: 1px solid rgba(233, 30, 99, 0.3);
  border-radius: 20px;
  color: var(--primary-light);
  font-size: 0.85rem;
}

.profile-action-bar {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-top: 20px;
  position: sticky;
  bottom: 80px;
}

/* ---- MATCHES PAGE ---- */
.matches-section {
  margin-bottom: 30px;
}

.matches-section h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
}

.match-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding-bottom: 15px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.match-card:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 30, 99, 0.3);
}

.match-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.match-card .match-name {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 10px;
  padding: 0 10px;
}

.match-card .match-location {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.match-card .match-time {
  font-size: 0.75rem;
  color: var(--primary);
  margin-top: 6px;
}

/* Likes received (blurred for free users) */
.like-card {
  position: relative;
}

.like-card.blurred img {
  filter: blur(15px);
}

.like-card .unlock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  gap: 10px;
}

.like-card .unlock-overlay .lock-icon {
  font-size: 2rem;
}

.like-card .unlock-overlay .unlock-text {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---- CHAT PAGE ---- */
.chat-container {
  max-width: 800px;
  margin: 0 auto;
  height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--bg-card);
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-header img {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.chat-header .chat-user-info h3 {
  font-size: 1rem;
}

.chat-header .chat-user-info .chat-status {
  font-size: 0.8rem;
  color: var(--success);
}

.chat-header .back-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 5px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: var(--dark-2);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message {
  max-width: 75%;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
}

.message.sent {
  align-self: flex-end;
  background: var(--gradient-primary);
  color: white;
  border-bottom-right-radius: 4px;
}

.message.received {
  align-self: flex-start;
  background: var(--bg-card);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.message .message-time {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
  text-align: right;
}

.message.received .message-time {
  color: var(--text-secondary);
}

.chat-input-area {
  display: flex;
  gap: 10px;
  padding: 15px;
  background: var(--bg-card);
  border-radius: 0 0 var(--radius) var(--radius);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input-area input {
  flex: 1;
  padding: 12px 18px;
  background: var(--dark-2);
  border: none;
  border-radius: 25px;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
}

.chat-input-area button {
  background: var(--gradient-primary);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-input-area button:hover {
  transform: scale(1.1);
}

/* ---- MY PROFILE / EDIT PROFILE ---- */
.my-profile-header {
  text-align: center;
  padding: 30px;
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 25px;
}

.my-profile-header .my-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 4px solid var(--primary);
  margin-bottom: 15px;
}

.my-profile-header h2 {
  font-size: 1.6rem;
  margin-bottom: 5px;
}

.my-profile-header .my-location {
  color: var(--text-secondary);
}

.edit-section {
  background: var(--bg-card);
  padding: 25px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.edit-section h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

/* ---- PREMIUM PAGE ---- */
.premium-hero {
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 30px;
}

.premium-hero .premium-icon {
  font-size: 4rem;
  margin-bottom: 15px;
}

.premium-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.premium-hero h1 span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.premium-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.premium-feature {
  background: var(--bg-card);
  padding: 25px;
  border-radius: var(--radius);
  display: flex;
  gap: 15px;
  align-items: flex-start;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.premium-feature .pf-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.premium-feature h4 {
  margin-bottom: 5px;
}

.premium-feature p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 35px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--gold);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: '⭐ BEST VALUE';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: #333;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 5px;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-card .price-period {
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 25px;
}

.pricing-card ul li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pricing-card ul li::before {
  content: '✅ ';
}

/* Comparison Table */
.comparison-table {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 15px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
  background: var(--dark-2);
  font-weight: 700;
}

.comparison-table td:first-child {
  text-align: left;
  color: var(--text-secondary);
}

.comparison-table .check {
  color: var(--success);
  font-size: 1.2rem;
}

.comparison-table .cross {
  color: var(--error);
  font-size: 1.2rem;
}

/* ---- EMPTY STATES ---- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state .empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 25px;
}

/* ---- IMAGE MODAL ---- */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.image-modal.show {
  display: flex;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.image-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* ---- DROPDOWN MENU ---- */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  min-width: 200px;
  z-index: 100;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  color: var(--text-primary);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  font-size: 0.95rem;
  text-align: left;
}

.dropdown-item:hover {
  background: rgba(233, 30, 99, 0.1);
  color: var(--primary);
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

/* ---- REPORT MODAL ---- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 5000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px;
  width: 100%;
  max-width: 500px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.modal .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ---- RESPONSIVE DESIGN ---- */
@media (max-width: 768px) {
  .navbar .navbar-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .main-content {
    padding: 15px;
    padding-bottom: 85px;
  }

  .hero-content .logo-large {
    font-size: 2.8rem;
  }

  .hero-content .tagline {
    font-size: 1.2rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .users-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }

  .user-card .card-image {
    height: 220px;
  }

  .user-card .card-name {
    font-size: 1rem;
  }

  .user-card .card-body {
    padding: 10px;
  }

  .user-card .card-details {
    display: none;
  }

  .user-card .card-bio {
    display: none;
  }

  .profile-hero {
    height: 300px;
  }

  .profile-hero .profile-name {
    font-size: 1.5rem;
  }

  .photo-slot {
    width: 90px;
    height: 90px;
  }

  .photo-slot.main {
    width: 110px;
    height: 110px;
  }

  .auth-card {
    padding: 25px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .pricing-card.featured {
    transform: none;
  }

  .chat-container {
    height: calc(100vh - 140px);
  }

  .matches-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
  }

  .filters-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .profile-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .premium-features {
    grid-template-columns: 1fr;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

/* ---- ANIMATIONS ---- */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: slideUp 0.5s ease forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-gold { color: var(--gold) !important; }
.text-muted { color: var(--text-secondary) !important; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.d-flex { display: flex; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none !important; }