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

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&family=Montserrat:wght@300;400;500;600;700&family=Lora:wght@400;500;600;700&family=Merriweather:wght@300;400;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Poppins:wght@400;600;800&family=Montserrat:wght@400;600;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Montserrat:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');


:root {
  --primary-color: #ec4899;
  --primary-light: #f472b6;
  --primary-dark: #db2777;
  --secondary-color: #ff1493;
  --accent-color: #ff69b4;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --error-color: #f44336;
  --info-color: #2196f3;

  --background-primary: #ffffff;
  --background-secondary: #fafafa;
  --background-tertiary: #f5f5f5;
  --background-dark: #1a1a1a;

  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --text-light: #cccccc;

  --border-color: #e0e0e0;
  --border-light: #f0f0f0;
  --border-dark: #d0d0d0;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

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

  --primary-gradient: linear-gradient(45deg, #6366f1, #8b5cf6);
  --secondary-gradient: linear-gradient(145deg, #ffffff, #f8fafc);
  --text-gradient: linear-gradient(90deg, #1e293b, #334155);
  --hover-gradient: linear-gradient(90deg, #6366f1, #8b5cf6);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px -4px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--background-secondary);
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, #fdf7fd 0%, #fef7ff 25%, #fff0f8 50%, #fdf7fd 75%, #fef7ff 100%);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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


.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  height: 60px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 20px;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo i {
  margin-right: 8px;
  font-size: 18px;
  animation: heartbeat 2s infinite;
  filter: drop-shadow(0 0 8px rgba(233, 30, 99, 0.3));
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-slow);
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 13px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  background: rgba(233, 30, 99, 0.1);
  color: var(--primary-color);
}

.nav-link i {
  margin-right: 6px;
  font-size: 16px;
}

.nav-link .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--primary-color);
  color: white;
  border-radius: var(--radius-full);
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  border: 2px solid white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}


.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-md);
  background: transparent;
  z-index: 1001;
  position: relative;
  transition: all 0.3s ease;
}

.bar {
  width: 22px;
  height: 2px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 1px;
}

.nav-toggle.active {
  background: rgba(233, 30, 99, 0.1);
}

.nav-toggle.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}


.main-content {
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 0 20px;
  min-height: calc(100vh - 80px);
}


.main-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.main-content-area {
  min-width: 0;
}

.right-sidebar {
  position: sticky;
  top: 80px;
  height: fit-content;
}


.desktop-only {
  display: block;
}


.create-post-card {
  background: var(--background-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.create-post-header {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
}

.create-post-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  margin-right: 12px;
  object-fit: cover;
}

.create-post-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.create-post-form {
  padding: 20px;
}

.create-post-textarea {
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  color: var(--text-primary);
  background: transparent;
  min-height: 80px;
  margin-bottom: 15px;
}

.create-post-textarea::placeholder {
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 15px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: "Inter", sans-serif;
  transition: var(--transition);
  background: var(--background-primary);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-control-file {
  display: none;
}

.file-upload-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--background-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.file-upload-label:hover {
  background: var(--border-light);
}

.file-upload-label i {
  margin-right: 6px;
}

.image-preview {
  max-width: 200px;
  border-radius: var(--radius-md);
  margin-top: 10px;
}

.create-post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--border-light);
}

.post-options {
  display: flex;
  gap: 20px;
}

.post-option {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.post-option:hover {
  color: var(--primary-color);
}

.post-option i {
  margin-right: 6px;
}

.btn-post {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Inter", sans-serif;
}

.btn-post:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}


.posts-feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-card {
  background: var(--background-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.post-card:hover {
  border-color: var(--border-color);
  box-shadow: var(--shadow-md);
}

.post-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 20px 0;
}

.post-user {
  display: flex;
  align-items: flex-start;
  flex: 1;
}

.post-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  margin-right: 12px;
  object-fit: cover;
}

.post-user-info {
  flex: 1;
  min-width: 0;
}

.post-user-name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.post-user-name a {
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  transition: text-decoration 0.2s ease;
}

.post-user-name a:hover {
  color: var(--primary-color);
}

.badge-developer {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 600;
}

.badge-verified {
  color: #1da1f2;
  font-size: 14px;
}

.badge-warning {
  color: var(--warning-color);
  font-size: 14px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.post-username {
  font-weight: 400;
}

.post-time {
  font-weight: 400;
}

.post-menu {
  position: relative;
}

.post-menu-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.post-menu-btn:hover {
  background: var(--background-tertiary);
  color: var(--text-secondary);
}

.post-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 150px;
  z-index: 100;
  display: none;
}

.post-menu-dropdown button {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
}

.post-menu-dropdown button:hover {
  background: var(--background-tertiary);
}

.post-menu-dropdown button i {
  margin-right: 8px;
  width: 16px;
}

.post-recipient {
  margin: 12px 20px;
  padding: 8px 12px;
  background: rgba(233, 30, 99, 0.1);
  border-radius: var(--radius-md);
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 500;
}

.post-content {
  padding: 0 20px 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  word-wrap: break-word;
  font-family: "Lora", serif;
}

.post-media {
  margin-bottom: 16px;
}

.post-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  cursor: pointer;
  transition: var(--transition);
}

.post-image:hover {
  opacity: 0.95;
}

.post-actions {
  display: flex;
  align-items: center;
  padding: 8px 20px 16px;
  border-top: 1px solid var(--border-light);
  gap: 4px;
}

.post-action {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: var(--transition);
  font-size: 13px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
}

.post-action:hover {
  background: var(--background-tertiary);
}

.like-btn:hover {
  color: #e91e63;
  background: rgba(233, 30, 99, 0.1);
}

.like-btn.liked {
  color: #e91e63;
}

.like-btn.liked i {
  animation: heartPulse 0.6s ease;
}

@keyframes heartPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.share-btn:hover {
  color: #e91e63;
  background: rgba(23, 191, 99, 0.1);
}


.empty-feed {
  text-align: center;
  padding: 60px 20px;
  background: var(--background-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.empty-feed-icon {
  font-size: 48px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.empty-feed h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.empty-feed p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
}


.sidebar-card {
  background: var(--background-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
}


.profile-card-header {
  display: flex;
  align-items: center;
  padding: 20px;
}

.profile-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  margin-right: 12px;
  object-fit: cover;
}

.profile-card-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.profile-card-info p {
  font-size: 13px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
}

.profile-card-stats {
  display: flex;
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  font-family: "Inter", sans-serif;
}


.suggestions-list {
  padding: 0;
}

.suggestion-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  transition: var(--transition);
}

.suggestion-item:hover {
  background: var(--background-tertiary);
}

.suggestion-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  margin-right: 12px;
  object-fit: cover;
}

.suggestion-info {
  flex: 1;
  min-width: 0;
}

.suggestion-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Poppins", sans-serif;
}

.suggestion-username {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
  font-family: "Inter", sans-serif;
}

.suggestion-bio {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
  font-family: "Inter", sans-serif;
}

.btn-follow {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
}

.btn-follow:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.btn-follow.following {
  background: var(--background-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.view-all-link {
  display: block;
  padding: 12px 20px;
  text-align: center;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-top: 1px solid var(--border-light);
  transition: var(--transition);
  font-family: "Inter", sans-serif;
}

.view-all-link:hover {
  background: var(--background-tertiary);
}


.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.dashboard-stat {
  background: var(--background-primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.dashboard-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
}

.dashboard-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.dashboard-stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-family: "Poppins", sans-serif;
  display: block;
}

.dashboard-stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Inter", sans-serif;
}


.card {
  background: var(--background-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.card h1,
.card h2,
.card h3 {
  padding: 20px 24px 16px;
  margin: 0;
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
}

.card h1 {
  font-size: 24px;
  font-weight: 700;
}

.card h2 {
  font-size: 20px;
  font-weight: 700;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
}

.card p {
  padding: 0 24px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
}


.grid {
  display: grid;
  gap: 20px;
}

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


.admin-dashboard {
  --admin-bg: var(--background-secondary);
  --admin-surface: var(--background-primary);
  --admin-surface-alt: #fafbff;
  --admin-text: var(--text-primary);
  --admin-muted: var(--text-secondary);
  --admin-border: var(--border-color);
  --admin-accent: var(--primary-color);
  --admin-accent-weak: rgba(236, 72, 153, 0.08);
  --admin-shadow: var(--shadow-sm);
}

.admin-dashboard .main-content {
  max-width: 1200px;
  margin: 80px auto 40px;
  padding: 0 16px;
}

.admin-dashboard .card {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  box-shadow: var(--admin-shadow);
  overflow: hidden;
}

.admin-dashboard .card h1,
.admin-dashboard .card h2,
.admin-dashboard .card h3 {
  padding: 16px 20px;
  margin: 0;
}

.admin-dashboard .card > p {
  padding: 0 20px 16px;
  color: var(--admin-muted);
}

.admin-dashboard .dashboard-stats {
  gap: 16px;
}

.admin-dashboard .dashboard-stat {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 16px;
  position: relative;
}

.admin-dashboard .dashboard-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--admin-accent-weak), transparent);
  opacity: 0.6;
  pointer-events: none;
}

.admin-dashboard .dashboard-stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--admin-text);
}

.admin-dashboard .dashboard-stat-label {
  font-size: 12px;
  color: var(--admin-muted);
}


.admin-dashboard .table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-dashboard .table thead th {
  position: sticky;
  top: 0;
  background: var(--admin-surface-alt);
  z-index: 1;
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
  color: var(--admin-muted);
  border-bottom: 1px solid var(--admin-border);
}

.admin-dashboard .table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--admin-border);
  color: var(--admin-text);
}

.admin-dashboard .table tr:hover {
  background: var(--admin-accent-weak);
}

.admin-dashboard .table-responsive {
  overflow: auto;
  max-height: 600px;
}


.admin-dashboard .badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.admin-dashboard .badge.success { background: #e8f5e9; color: #2e7d32; }
.admin-dashboard .badge.warning { background: #fff8e1; color: #ef6c00; }
.admin-dashboard .badge.danger { background: #ffebee; color: #c62828; }
.admin-dashboard .badge.secondary { background: #eef2ff; color: #4f46e5; }


.admin-dashboard .btn { border-radius: 10px; padding: 8px 12px; }
.admin-dashboard .btn.btn-sm { padding: 6px 10px; font-size: 13px; }
.admin-dashboard .btn.btn-success { background: #2e7d32; color: #fff; border: 0; }
.admin-dashboard .btn.btn-danger { background: #c62828; color: #fff; border: 0; }
.admin-dashboard .btn.btn-secondary { background: #111827; color: #fff; border: 0; }
.admin-dashboard .btn:hover { opacity: 0.92; }


.admin-dashboard .search-box { position: relative; }
.admin-dashboard .search-box input {
  width: 100%;
  padding: 12px 40px 12px 40px;
  border-radius: 999px;
  border: 1px solid var(--admin-border);
  outline: none;
}
.admin-dashboard .search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--admin-muted); }


.admin-dashboard .dropdown-menu {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.admin-dashboard .dropdown-item { padding: 10px 14px; font-size: 14px; }
.admin-dashboard .dropdown-item:hover { background: var(--admin-accent-weak); color: var(--admin-accent); }


.admin-dashboard .report-item { border: 1px solid var(--admin-border); background: var(--admin-surface); }


@media (max-width: 768px) {
  .admin-dashboard .grid-2 { grid-template-columns: 1fr; }
  .admin-dashboard .table thead th, .admin-dashboard .table tbody td { padding: 10px; }
}

.table-responsive {
  overflow-x: auto;
  padding: 0 24px 24px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Inter", sans-serif;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.table th {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--background-secondary);
}

.table td {
  font-size: 14px;
  color: var(--text-primary);
}

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


.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  z-index: 100;
  display: none;
  
}


@media (max-width: 768px) {
  .dropdown-menu {
    position: fixed !important;
    top: auto !important;
    bottom: 60px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    min-width: auto !important;
    max-width: calc(100% - 20px) !important;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    background: var(--background-primary);
    display: none;
    overflow: auto;
    z-index: 1050 !important;
  }
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--background-tertiary);
  color: var(--primary-color);
}

.dropdown-item i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
}


.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Inter", sans-serif;
}


.visitors-list {
  padding: 0 24px 24px;
}

.visitor-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.visitor-item:last-child {
  border-bottom: none;
}

.visitor-item:hover {
  background: var(--background-tertiary);
  margin: 0 -16px;
  padding: 16px;
  border-radius: var(--radius-md);
}

.visitor-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  margin-right: 16px;
  object-fit: cover;
  border: 2px solid var(--border-light);
}

.visitor-info {
  flex: 1;
  min-width: 0;
}

.visitor-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}

.visitor-username {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-family: "Inter", sans-serif;
}

.visitor-time {
  font-size: 12px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
}

.verified {
  color: #1da1f2;
  font-size: 14px;
}

.warning {
  color: var(--warning-color);
  font-size: 14px;
}


.profile-layout {
  max-width: 1000px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.profile-header-section {
  background: var(--background-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.profile-cover {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light), var(--secondary-color));
  position: relative;
  overflow: hidden;
}

.profile-cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) skewX(-15deg);
  }
  100% {
    transform: translateX(100%) skewX(-15deg);
  }
}

.profile-main-info {
  padding: 0 30px 30px;
  position: relative;
}

.profile-avatar-section {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: -60px;
  margin-bottom: 20px;
}

.profile-avatar-container {
  position: relative;
}

.profile-main-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  border: 4px solid white;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.avatar-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  font-size: 12px;
}

.developer-badge {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
}

.profile-basic-info {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.profile-name {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
}

.verified-badge {
  color: #1da1f2;
  font-size: 20px;
}

.warning-badge {
  color: var(--warning-color);
  font-size: 20px;
}

.profile-username {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-family: "Inter", sans-serif;
}

.profile-bio {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  max-width: 600px;
}

.profile-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
}

.profile-link:hover {
  text-decoration: underline;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 20px 0;
  padding: 20px;
  background: var(--background-secondary);
  border-radius: var(--radius-lg);
}

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

.stat-item .stat-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
  font-family: "Poppins", sans-serif;
}

.stat-item .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Inter", sans-serif;
}

.profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-action {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: none;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
}

.btn-follow {
  background: var(--primary-color);
  color: white;
}

.btn-follow.following {
  background: var(--background-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-message {
  background: var(--background-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-lovers {
  background: linear-gradient(45deg, #ff69b4, #ff1493);
  color: white;
}

.btn-edit {
  background: var(--background-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-more {
  background: var(--background-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
}

.btn-action:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}


.profile-content {
  background: var(--background-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.content-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
}

.tab-btn {
  flex: 1;
  padding: 16px;
  border: none;
  background: none;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  font-family: "Inter", sans-serif;
}

.tab-btn.active {
  color: var(--primary-color);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
}

.tab-btn:hover {
  background: var(--background-tertiary);
}

.tab-content {
  display: none;
  padding: 20px;
}

.tab-content.active {
  display: block;
}


.profile-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.profile-post-item {
  background: var(--background-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.profile-post-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.profile-post-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.profile-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: var(--transition);
}

.profile-post-image:hover {
  transform: scale(1.05);
}

.profile-post-text {
  padding: 20px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--background-secondary), var(--background-tertiary));
}

.profile-post-content {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  text-align: center;
  font-family: "Inter", sans-serif;
}

.profile-post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.profile-post-item:hover .profile-post-overlay {
  opacity: 1;
}

.profile-post-stats {
  color: white;
  font-weight: 600;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}

.profile-post-caption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
  font-family: "Inter", sans-serif;
}

.profile-post-actions {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  justify-content: center;
  border-top: 1px solid var(--border-light);
  gap: 8px;
}

.profile-posts-grid > .profile-post-item:last-child {
  margin-bottom: 80px !important;
}

.profile-post-action {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: var(--transition);
  font-size: 12px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
}

.profile-post-action:hover {
  background: var(--background-tertiary);
}

.profile-post-action.liked {
  color: var(--primary-color);
}

.profile-post-action.delete-btn:hover {
  color: var(--error-color);
  background: rgba(244, 67, 54, 0.1);
}

.profile-post-time {
  padding: 8px 16px;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  font-family: "Inter", sans-serif;
}


.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.media-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.media-item:hover {
  transform: scale(1.02);
}

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

.media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.media-item:hover .media-overlay {
  opacity: 1;
}

.media-stats {
  color: white;
  font-weight: 600;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}


.empty-content {
  text-align: center;
  padding: 60px 20px;
}

.empty-icon {
  font-size: 48px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.empty-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.empty-content p {
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
}


.messages-container {
  display: grid;
  grid-template-columns: 350px 1fr;
  height: calc(100vh - 80px);
  margin-top: 80px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--background-primary);
  margin-left: 20px;
  margin-right: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-md);
}

.conversations-panel {
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  background: var(--background-secondary);
}

.conversations-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  background: var(--background-primary);
}

.conversations-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  margin: 0;
}

.conversations-list {
  flex: 1;
  overflow-y: auto;
}

.message-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-light);
}

.message-item:hover {
  background: var(--background-tertiary);
}

.message-item.active {
  background: rgba(233, 30, 99, 0.1);
  border-right: 3px solid var(--primary-color);
}

.message-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 16px;
  object-fit: cover;
  border: 2px solid var(--border-light);
}

.message-content {
  flex: 1;
  min-width: 0;
}

.message-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.message-preview {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Inter", sans-serif;
}

.message-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.message-time {
  font-size: 11px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
}

.message-unread {
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}

.chat-panel {
  display: flex;
  flex-direction: column;
  background: var(--background-primary);
  height: calc(100vh - 80px);
  overflow: hidden;
}

.chat-container {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(135deg, #fdf7fd 0%, #fef7ff 100%);
  padding-bottom: 80px; 
}

.chat-header {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  background: var(--background-secondary);
}

.chat-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 16px;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.chat-header-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.chat-header-info p {
  font-size: 13px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
}

.chat-container {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(135deg, #fdf7fd 0%, #fef7ff 100%);
}

.chat-message {
  display: flex;
  margin-bottom: 12px;
}

.chat-message.sent {
  justify-content: flex-end;
}

.chat-message.received {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  position: relative;
  font-family: "Inter", sans-serif;
  line-height: 1.4;
}

.chat-message:last-child .chat-bubble {
  margin-bottom: 40px; 
}

.chat-message.sent .chat-bubble {
  background: var(--primary-color);
  color: white;
  border-bottom-right-radius: var(--radius-sm);
}

.chat-message.received .chat-bubble {
  background: var(--background-primary);
  color: var(--text-primary);
  border-bottom-left-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.chat-time {
  font-size: 11px;
  opacity: 0.7;
  margin-top: 6px;
  font-family: "Inter", sans-serif;
}

.chat-input-container {
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--background-primary);
  position: fixed;
  bottom: 0;
  left: 350px;
  right: 0;
  padding: 12px 24px;
  z-index: 100;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.chat-container {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(135deg, #fdf7fd 0%, #fef7ff 100%);
  padding-bottom: 80px; 
}

@media (max-width: 768px) {
  .chat-input-container {
    left: 0;
  }
  .messages-container {
    grid-template-columns: 1fr;
  }
  .chat-container {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
    height: calc(100vh - 160px - env(safe-area-inset-bottom)); 
    overflow-y: auto;
  }
  
  .messages-container.no-chat-selected .conversations-panel {
    display: block;
  }
  .messages-container.no-chat-selected .chat-panel {
    display: none;
  }
  
  .messages-container.chat-selected .chat-panel {
    display: block;
  }
  .messages-container.chat-selected .conversations-panel {
    display: none;
  }
}

.chat-input-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  resize: none;
  max-height: 120px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  transition: var(--transition);
  background: var(--background-secondary);
}

.chat-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
  background: var(--background-primary);
}

.chat-send-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.chat-send-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}


.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    opacity: 1;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transition: var(--transition);
    border: none;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .image-modal-close {
        top: -40px;
        right: 0;
    }
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: none;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  justify-content: center;
  font-family: "Inter", sans-serif;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--background-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--border-light);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}


.alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-success {
  background: rgba(76, 175, 80, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.alert-error {
  background: rgba(244, 67, 54, 0.1);
  color: var(--error-color);
  border: 1px solid rgba(244, 67, 54, 0.2);
}

.alert-warning {
  background: rgba(255, 152, 0, 0.1);
  color: var(--warning-color);
  border: 1px solid rgba(255, 152, 0, 0.2);
}

.alert-info {
  background: rgba(33, 150, 243, 0.1);
  color: var(--info-color);
  border: 1px solid rgba(33, 150, 243, 0.2);
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}

.fade-out {
  animation: fadeOut 0.3s ease-out;
}

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

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


@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .desktop-only {
    display: none;
  }

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

  .dashboard-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    padding: 20px 0;
    gap: 8px;
    z-index: 999;
    height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .main-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
    margin-top: 76px;
  }

  .main-content {
    padding: 0 16px;
    margin-top: 76px;
  }

  .desktop-only {
    display: none !important;
  }

  .profile-layout {
    padding: 0 16px;
    margin-top: 76px;
  }

  .profile-avatar-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .profile-main-avatar {
    width: 100px;
    height: 100px;
  }

  .profile-name {
    font-size: 24px;
  }

  .profile-actions {
    justify-content: center;
  }

  .profile-posts-grid {
    grid-template-columns: 1fr;
  }

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

  .messages-container {
    grid-template-columns: 1fr;
    margin: 76px 16px 0;
    height: calc(100vh - 92px);
  }

  .conversations-panel {
    display: none;
  }


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

  .dashboard-stat {
    padding: 20px;
  }

  .dashboard-stat-number {
    font-size: 24px;
  }

  .profile-main-info {
    padding: 0 20px 20px;
  }

  .profile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .btn-action {
    padding: 8px 16px;
    font-size: 12px;
  }

  .create-post-form {
    padding: 16px;
  }

  .create-post-header {
    padding: 16px;
  }

  .post-header {
    padding: 12px 16px 0;
  }

  .post-content {
    padding: 0 16px 12px;
  }

  .post-actions {
    padding: 8px 16px 12px;
  }

  .chat-container {
    padding: 16px;
  }

  .chat-header {
    padding: 16px 20px;
  }

  .chat-input-container {
    padding: 16px 20px;
  }
}

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

  .profile-main-info {
    padding: 0 16px 16px;
  }

  .profile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
  }


  .btn-action {
    padding: 6px 12px;
    font-size: 11px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dashboard-stat {
    padding: 16px;
  }

  .dashboard-stat-number {
    font-size: 20px;
  }

  .create-post-form {
    padding: 12px;
  }

  .create-post-header {
    padding: 12px;
  }

  .post-header {
    padding: 8px 12px 0;
  }

  .post-content {
    padding: 0 12px 8px;
  }

  .post-actions {
    padding: 6px 12px 8px;
  }

  .chat-container {
    padding: 12px;
  }

  .chat-header {
    padding: 12px 16px;
  }

  .chat-input-container {
    padding: 12px 16px;
  }

  .chat-bubble {
    max-width: 85%;
    padding: 10px 12px;
  }
}


.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-primary {
  color: var(--primary-color);
}
.text-muted {
  color: var(--text-muted);
}
.text-success {
  color: var(--success-color);
}
.text-warning {
  color: var(--warning-color);
}
.text-error {
  color: var(--error-color);
}

.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-flex {
  display: flex;
}
.d-grid {
  display: grid;
}

.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 8px;
}
.mb-2 {
  margin-bottom: 16px;
}
.mb-3 {
  margin-bottom: 24px;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 8px;
}
.mt-2 {
  margin-top: 16px;
}
.mt-3 {
  margin-top: 24px;
}


::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--background-tertiary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}


::selection {
  background: rgba(233, 30, 99, 0.2);
  color: var(--text-primary);
}


*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}


.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(233, 30, 99, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

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


.floating-hearts {
  display: none;
}

.floating-hearts::before,
.floating-hearts::after {
  display: none;
}

@keyframes floatHearts {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}


.search-page {
  max-width: 800px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.search-container {
  background: var(--background-primary);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.search-header {
  text-align: center;
  margin-bottom: 30px;
}

.search-header h1 {

  font-weight: 800;
  font-size: 28px;
    color: #ff1493;
  margin-bottom: 8px;
   font-family: 'Dancing Script', cursive;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 700px) {
  .profile-post-action .action-text {
    display: none !important;
  }
  .profile-post-action .like-count {
    display: inline !important;
  }
}
.search-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  font-family: "Inter", sans-serif;
}

.search-form-wrapper {
  margin-bottom: 30px;
}

.search-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-input-container {
  flex: 1;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}

.search-input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 16px;
  font-family: "Inter", sans-serif;
  transition: var(--transition);
  background: var(--background-secondary);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
  background: var(--background-primary);
}

.search-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.search-clear:hover {
  background: var(--background-tertiary);
  color: var(--text-secondary);
}

.search-submit-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
}

.search-submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.search-results-section {
  margin-bottom: 40px;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 0 4px;
}

.results-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}


.results-count {
  font-size: 14px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  background: var(--background-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.no-results-icon {
  font-size: 48px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.no-results h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.no-results p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
}

.users-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.user-card {
  background: var(--background-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.user-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.user-avatar-section {
  position: relative;
  margin-bottom: 16px;
  display: inline-block;
}

.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--border-light);
  transition: var(--transition);
}

.user-card:hover .user-avatar {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.user-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  font-size: 10px;
}

.user-info {
  margin-bottom: 20px;
}

.search-page .user-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.search-page .user-name {
  display: block;
  justify-content: center;
}

.search-page .user-username {
  margin: 0;
}

.search-page .user-bio {
  margin: 0;
}

.user-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.verified-icon {
  color: #1da1f2;
  font-size: 16px;
}

.warning-icon {
  color: var(--warning-color);
  font-size: 16px;
}

.user-username {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
}

.user-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  font-family: "Inter", sans-serif;
}

.user-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--background-tertiary);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.suggestions-section {
  margin-bottom: 40px;
}

.suggestions-header {
  text-align: center;
  margin-bottom: 30px;
}

.suggestions-header h2 {
  font-size: 20px; 
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px; 
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.search-container {
  margin-bottom: 40px; 
}

.search-results-header h3 {
  font-family: 'Poppins', sans-serif; 
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.posts-container article.post-card {
  margin-bottom: 24px; 
}

.suggestions-header p {
  color: var(--text-muted);
  font-size: 16px;
  font-family: "Inter", sans-serif;
}

.search-empty-state {
  text-align: center;
  padding: 80px 20px;
  background: var(--background-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.empty-state-icon {
  font-size: 64px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.search-empty-state h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.search-empty-state p {
  color: var(--text-muted);
  font-size: 16px;
  font-family: "Inter", sans-serif;
}


.notifications-container {
  max-width: 800px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.notifications-headerr {
  margin-bottom: 24px;
  padding: 0 4px;
  align-content: center;
  text-align: center !important;
}

.notifications-headerr h1 {
  font-size: 2.2em !important;
  font-weight: 900 !important;
  color: #ff1493;
  font-family: 'Dancing Script', cursive;
  display: flex;
  align-items: center;
  justify-content: center !important;
  gap: 12px;
  text-align: center !important;
}



.unread-banner {
  background: rgba(233, 30, 99, 0.1);
  border: 1px solid rgba(233, 30, 99, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 500;
  font-family: "Inter", sans-serif;
}

.empty-notifications {
  text-align: center;
  padding: 80px 20px;
  background: var(--background-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.empty-notifications .empty-icon {
  font-size: 64px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.empty-notifications h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.empty-notifications p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
}

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

.notification-card {
  background: var(--background-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: center;
}

.notification-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.notification-card.unread {
  border-left: 4px solid var(--primary-color);
  background: rgba(233, 30, 99, 0.02);
}

.unread-indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

.notification-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
}

.notification-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notification-system-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-message {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: "Inter", sans-serif;
  display: block;
}

.notification-type-icon {
  font-size: 14px;
  margin-left: 4px;
}


.notification-time {
  font-size: 12px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
}


.notifications-toolbar { margin: 8px 0 14px; text-align: right; }

@media (max-width: 700px) {
  .notification-card { padding: 12px; gap: 12px; }
  .notification-avatar { width: 40px; height: 40px; }
  .notification-message { font-size: 14px; }
  .notifications-toolbar { margin-top: 10px; }
}

.notification-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-accept-lover {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Inter", sans-serif;
}

.btn-accept-lover:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-reject-lover {
  background: var(--background-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Inter", sans-serif;
}

.btn-reject-lover:hover {
  background: var(--border-light);
  color: var(--text-primary);
}

.btn-accept {
  background: var(--success-color);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Inter", sans-serif;
}

.btn-accept:hover {
  background: #45a049;
  transform: translateY(-1px);
}

.btn-reject {
  background: var(--background-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Inter", sans-serif;
}

.btn-reject:hover {
  background: var(--border-light);
  color: var(--text-primary);
}


.form-container {
  max-width: 500px;
  margin: 0 auto;
  background: var(--background-primary);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.form-container::before {
  display: none !important;
  content: none !important;
  background: none !important;
  height: 0 !important;
  animation: none !important;
}


.nav-profile-dropdown {
  position: relative;
}

.nav-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: none;
  background: var(--background-tertiary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.nav-profile-btn:hover {
  background: var(--border-light);
}

.nav-profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--border-light);
}

.nav-profile-name {
  color: var(--text-primary);
  font-weight: 600;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-profile-arrow {
  color: var(--text-muted);
  font-size: 12px;
  transition: var(--transition);
}

.nav-profile-arrow.rotated {
  transform: rotate(180deg);
}

.nav-profile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 280px;
  z-index: 1000;
  display: none;
  overflow: hidden;
  margin-top: 8px;
}

.nav-profile-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  background: var(--background-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-profile-menu-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.nav-profile-info {
  flex: 1;
  min-width: 0;
}

.nav-profile-menu-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}

.developer-badge-small {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}

.verified-small {
  color: #1da1f2;
  font-size: 14px;
}

.nav-profile-menu-username {
  font-size: 13px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
}

.nav-profile-menu-items {
  padding: 8px 0;
}

.nav-profile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
}

.nav-profile-menu-item:hover {
  background: var(--background-tertiary);
  color: var(--primary-color);
}

.nav-profile-menu-item i {
  width: 16px;
  text-align: center;
  color: var(--text-muted);
}

.nav-profile-menu-item:hover i {
  color: var(--primary-color);
}

.developer-menu-item {
  background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-left: 3px solid transparent;
  border-image: linear-gradient(45deg, #667eea, #764ba2) 1;
}

.developer-badge-menu {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  margin-left: auto;
}

.nav-menu-divider {
  height: 1px;
  background: var(--border-light);
  margin: 8px 0;
}

.logout-item {
  color: var(--error-color) !important;
}

.logout-item:hover {
  background: rgba(244, 67, 54, 0.1) !important;
  color: var(--error-color) !important;
}

.logout-item i {
  color: var(--error-color) !important;
}


.nav-link-developer {
  background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border: 1px solid rgba(102, 126, 234, 0.2);
  position: relative;
}

.nav-link-developer:hover {
  background: linear-gradient(45deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
  border-color: rgba(102, 126, 234, 0.4);
}

.developer-badge-nav {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  margin-left: 4px;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
  }
  to {
    box-shadow: 0 0 10px rgba(118, 75, 162, 0.8);
  }
}


@media (max-width: 1200px) {
  .main-layout {
    grid-template-columns: 1fr 300px;
    gap: 24px;
  }

  .right-sidebar {
    width: 300px;
  }
}

@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .desktop-only {
    display: none !important;
  }

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

  .dashboard-stats {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }

  .users-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
  }

  .messages-container {
    grid-template-columns: 300px 1fr;
    margin: 80px 20px 0;
  }

  .nav-profile-name {
    display: none;
  }

  .nav-profile-menu {
    min-width: 260px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    text-align: left;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
    padding: 20px 0;
    gap: 8px;
    z-index: 999;
    height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-link {
    padding: 12px 20px;
    margin: 0 20px;
    border-radius: var(--radius-md);
    justify-content: flex-start;
  }

  .nav-link span {
    display: block;
  }

  .nav-profile-dropdown {
    width: 100%;
    margin: 0 20px;
  }

  .nav-profile-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    background: var(--background-primary);
    border: 1px solid var(--border-light);
  }

  .nav-profile-name {
    display: block;
    max-width: none;
  }

  .nav-profile-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
    border: 1px solid var(--border-light);
  }

  .main-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
    margin-top: 76px;
  }

  .main-content {
    padding: 0 16px;
    margin-top: 76px;
  }

  .profile-layout {
    padding: 0 16px;
    margin-top: 76px;
  }

  .profile-avatar-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-top: -40px;
  }

  .profile-main-avatar {
    width: 100px;
    height: 100px;
  }

  .profile-name {
    font-size: 24px;
    justify-content: center;
  }

  .profile-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .profile-posts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .messages-container {
    grid-template-columns: 1fr;
    margin: 76px 16px 0;
    height: calc(100vh - 92px);
  }

  .conversations-panel {
    display: none;
  }
  
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .dashboard-stat {
    padding: 20px;
  }

  .dashboard-stat-number {
    font-size: 24px;
  }

  .profile-main-info {
    padding: 0 20px 20px;
  }

  .profile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .btn-action {
    padding: 8px 16px;
    font-size: 12px;
  }

  .create-post-form {
    padding: 16px;
  }

  .create-post-header {
    padding: 16px;
  }

  .post-header {
    padding: 12px 16px 0;
  }

  .post-content {
    padding: 0 16px 12px;
  }

  .post-actions {
    padding: 8px 16px 12px;
  }

  .chat-container {
    padding: 16px;
  }

  .chat-header {
    padding: 16px 20px;
  }

  .chat-input-container {
    padding: 16px 20px;
  }
}

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

  .nav-logo a {
    font-size: 18px;
  }

  .profile-main-info {
    padding: 0 16px 16px;
  }

  .profile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .btn-action {
    padding: 6px 12px;
    font-size: 11px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dashboard-stat {
    padding: 16px;
  }

  .dashboard-stat-number {
    font-size: 20px;
  }

  .create-post-form {
    padding: 12px;
  }

  .create-post-header {
    padding: 12px;
  }

  .post-header {
    padding: 8px 12px 0;
  }

  .post-content {
    padding: 0 12px 8px;
  }

  .post-actions {
    padding: 6px 12px 8px;
  }

  .chat-container {
    padding: 12px;
  }

  .chat-header {
    padding: 12px 16px;
  }

  .chat-input-container {
    padding: 12px 16px;
  }

  .chat-bubble {
    max-width: 85%;
    padding: 10px 12px;
  }

  .search-container {
    padding: 16px;
  }

  .search-header h1 {
    font-size: 24px;
  }

  .search-subtitle {
    font-size: 14px;
  }

  .notification-card {
    padding: 12px;
  }

  .form-container {
    padding: 20px;
  }

  .form-container h1 {
    font-size: 24px;
  }

  .user-card {
    padding: 20px;
  }

  .user-avatar {
    width: 60px;
    height: 60px;
  }

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

  .user-actions {
    flex-direction: column;
  }

  .visitor-avatar {
    width: 40px;
    height: 40px;
  }

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


@media print {
  .navbar,
  .nav-toggle,
  .floating-hearts,
  .btn,
  .post-actions,
  .profile-actions,
  .chat-input-container,
  .sidebar-card {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .main-content,
  .main-layout {
    margin-top: 0 !important;
    padding: 0 !important;
  }

  .card,
  .post-card,
  .profile-header-section {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
}


@media (prefers-contrast: high) {
  :root {
    --border-color: #000000;
    --border-light: #333333;
    --text-muted: #000000;
    --background-tertiary: #ffffff;
  }

  .btn-primary {
    background: #000000;
    border: 2px solid #000000;
  }

  .nav-link:hover {
    background: #000000;
    color: #ffffff;
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-hearts::before,
  .floating-hearts::after {
    animation: none;
  }

  .heartbeat,
  .pulse,
  .shimmer,
  .glow {
    animation: none;
  }
}


.nav-link:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.post-action:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}


.chat-container::-webkit-scrollbar,
.conversations-list::-webkit-scrollbar,
.nav-menu::-webkit-scrollbar {
  width: 8px;
}

.chat-container::-webkit-scrollbar-track,
.conversations-list::-webkit-scrollbar-track,
.nav-menu::-webkit-scrollbar-track {
  background: var(--background-tertiary);
  border-radius: 4px;
}

.chat-container::-webkit-scrollbar-thumb,
.conversations-list::-webkit-scrollbar-thumb,
.nav-menu::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.chat-container::-webkit-scrollbar-thumb:hover,
.conversations-list::-webkit-scrollbar-thumb:hover,
.nav-menu::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}


.skeleton {
  background: linear-gradient(
    90deg,
    var(--background-tertiary) 25%,
    var(--border-light) 50%,
    var(--background-tertiary) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-text {
  height: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
}

.skeleton-button {
  height: 36px;
  border-radius: var(--radius-full);
  width: 100px;
}


.error-state {
  text-align: center;
  padding: 60px 20px;
  background: rgba(244, 67, 54, 0.05);
  border: 1px solid rgba(244, 67, 54, 0.2);
  border-radius: var(--radius-lg);
  color: var(--error-color);
}

.error-state .error-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.error-state h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: "Poppins", sans-serif;
}

.error-state p {
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
}


.success-state {
  text-align: center;
  padding: 60px 20px;
  background: rgba(76, 175, 80, 0.05);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: var(--radius-lg);
  color: var(--success-color);
}

.success-state .success-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.success-state h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: "Poppins", sans-serif;
}

.success-state p {
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
}


@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    text-align: left;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
    padding: 20px 0;
    gap: 8px;
    z-index: 999;
    height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }
}


.post-content {
  padding: 0 20px 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  word-wrap: break-word;
  font-family: "Lora", serif;
  margin-bottom: 1px !important;
}

.profile-post-content {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  text-align: center;
  font-family: "Lora", serif;
}


.btn-action {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  min-width: 120px;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-follow {
  background: var(--primary-color);
  color: white;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.btn-follow:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(233, 30, 99, 0.3);
}

.btn-follow.following {
  background: var(--background-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-message {
  background: var(--background-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-weight: 600;
}

.btn-message:hover {
  background: var(--background-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}


.profile-layout {
  max-width: 1000px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.profile-header-section {
  background: var(--background-primary);
  border-radius: var(--radius-xl);
  overflow: visible !important; 
  margin-bottom: 25px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.profile-cover {
  height: 220px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light), var(--secondary-color));
  position: relative;
  overflow: hidden;
}

.profile-main-info {
  padding: 0 35px 35px;
  position: relative;
}

.profile-avatar-section {
  display: flex;
  align-items: flex-end;
  gap: 25px;
  margin-top: -70px;
  margin-bottom: 25px;
}

.profile-basic-info {
  flex: 1;
  min-width: 0; 
  word-break: break-word; 
}

.profile-name {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.5px;
  word-break: break-word; 
}

.profile-username {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 15px;
  font-family: "Inter", sans-serif;
  word-break: break-word; 
}

.profile-bio {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--text-primary);
  font-family: "Lora", serif;
  max-width: 600px; 
  word-wrap: break-word; 
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 25px 0;
  padding: 25px;
  background: var(--background-secondary);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.profile-stats-grid a {
  text-decoration: none !important;
  color: inherit;
}

.profile-stats-grid a:hover {
  text-decoration: none !important;
  color: var(--primary-color);
}

.stat-item .stat-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
  font-family: "Poppins", sans-serif;
}

.stat-item .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: "Inter", sans-serif;
}


.profile-content {
  background: var(--background-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.content-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
}

.tab-btn {
  flex: 1;
  padding: 18px;
  border: none;
  background: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tab-btn.active {
  color: var(--primary-color);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-color);
}

.tab-content {
  display: none;
  padding: 25px;
}

.tab-content.active {
  display: block;
}


.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.media-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.media-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

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

.media-item:hover .media-image {
  transform: scale(1.1);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  padding: 15px;
}

.media-item:hover .media-overlay {
  opacity: 1;
}

.media-stats {
  color: white;
  font-weight: 600;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 10px;
}

.media-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.media-action {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.media-action:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.media-action.liked {
  background: rgba(233, 30, 99, 0.6);
}


.message-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-family: "Montserrat", sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
}

.message-badge-verified {
  color: #1da1f2;
  font-size: 14px;
}

.message-badge-developer {
  display: inline-block;
  background: #7c3aed;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 8px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.2;
  letter-spacing: 0.5px;
  position: relative;
  top: 0;
}


.profile-style-1 .profile-header-section {
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(255, 154, 158, 0.5);
}

.profile-style-1 .profile-name {
  font-family: 'Pacifico', cursive;
  color: #d81e5b;
  text-shadow: 1px 1px 3px rgba(255, 154, 158, 0.7);
}

.profile-style-1 .profile-username {
  color: #ad1457;
  font-weight: 700;
}

.profile-style-1 .profile-link {
  color: #d81e5b;
  text-shadow: 0 0 2px rgba(255, 154, 158, 0.3);
}

.profile-style-1 .profile-link:hover {
  color: #ad1457;
  text-shadow: 0 0 3px rgba(255, 154, 158, 0.5);
}


.profile-style-2 .profile-header-section {
    position: relative;
    background: linear-gradient(135deg, var(--info-color), #1565c0); 
    background-size: 200% 200%;
    padding: 3.5rem 2.5rem; 
    border-radius: 25px; 
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(33, 150, 243, 0.4); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: gradientMove 15s ease infinite; 
}

.profile-style-2 .profile-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: shimmer 8s infinite; 
}

.profile-style-2 .profile-header-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5C15 5 5 15 5 30C5 45 15 55 30 55C45 55 55 45 55 30C55 15 45 5 30 5ZM30 50C18 50 10 42 10 30C10 18 18 10 30 10C42 10 50 18 50 30C50 42 42 50 30 50Z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
    opacity: 0.5;
    animation: patternFloat 20s linear infinite; 
}

.profile-style-2 .profile-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem; 
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4); 
    animation: slideUp 0.8s ease forwards; 
    letter-spacing: 1px; 
    position: relative;
    display: inline-block;
}

.profile-style-2 .profile-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0; 
    height: 3px;
    background: #ffffff;
    animation: lineGrow 1.5s ease-out forwards 0.8s; 
}

.profile-style-2 .profile-username {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem; 
    color: rgba(255,255,255,0.95); 
    margin-bottom: 1.5rem; 
    animation: slideUp 0.8s ease forwards 0.2s; 
    opacity: 0;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); 
}

.profile-style-2 .profile-link {
    display: inline-block;
    padding: 1rem 2rem; 
    background: rgba(255,255,255,0.2); 
    color: #ffffff; 
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 600; 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.8s ease forwards 0.4s; 
    opacity: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    position: relative;
    overflow: hidden;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2); 
}

.profile-style-2 .profile-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transition: 0.5s;
}

.profile-style-2 .profile-link:hover {
    background: rgba(255,255,255,0.3); 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.5);
}


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

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes patternFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, 10px); }
}

@keyframes lineGrow {
    to { width: 100%; }
}

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


@media (max-width: 1200px) {
    .profile-style-2 .profile-header-section {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .profile-style-2 .profile-header-section {
        padding: 2.5rem 1.8rem;
        border-radius: 20px;
        background-size: 150% 150%;
    }

    .profile-style-2 .profile-name {
        font-size: 2.2rem;
    }

    .profile-style-2 .profile-username {
        font-size: 1.1rem;
    }

    .profile-style-2 .profile-link {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .profile-style-2 .profile-header-section {
        padding: 2rem 1.2rem;
        border-radius: 15px;
        background-size: 120% 120%;
    }

    .profile-style-2 .profile-name {
        font-size: 2rem;
    }

    .profile-style-2 .profile-username {
        font-size: 1rem;
    }

    .profile-style-2 .profile-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

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


@media (max-width: 1200px) {
    .profile-style-2 .profile-header-section {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .profile-style-2 .profile-header-section {
        padding: 2.5rem 1.8rem;
        border-radius: 20px;
        background-size: 150% 150%;
    }

    .profile-style-2 .profile-name {
        font-size: 2.2rem;
    }

    .profile-style-2 .profile-username {
        font-size: 1.1rem;
    }

    .profile-style-2 .profile-link {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .profile-style-2 .profile-header-section {
        padding: 2rem 1.2rem;
        border-radius: 15px;
        background-size: 120% 120%;
    }

    .profile-style-2 .profile-name {
        font-size: 2rem;
    }

    .profile-style-2 .profile-username {
        font-size: 1rem;
    }

    .profile-style-2 .profile-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}


.lover-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transform-style: preserve-3d;
}

.lover-link:hover {
    color: #ff1493;
}


.profile-style-3 .profile-header-section {
  background: linear-gradient(135deg, #ff69b4, #ff1493);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
 
}



.profile-style-3 .profile-name {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(255, 20, 147, 0.5);
  font-family: 'Montserrat', sans-serif;
}

.profile-style-3 .profile-username {
  font-family: 'Dancing Script', cursive;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 8px;
  text-shadow: 0 1px 5px rgba(255, 20, 147, 0.3);
  animation: textGlow 4s ease-in-out infinite;
  letter-spacing: 1px;
}

.profile-style-3 .profile-bio {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: left !important;
  text-shadow: 0 1px 3px rgba(255, 20, 147, 0.2);
  animation: textGlow 5s ease-in-out infinite;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  display: block;
  box-sizing: border-box;
}

.profile-style-3 .profile-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.profile-style-3 .profile-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

.profile-style-3 .profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  position: relative;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.profile-style-3 .profile-stats-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(255, 105, 180, 0.2), rgba(255, 20, 147, 0.2));
  border-radius: 15px;
  z-index: -1;
}

.profile-style-3 .stat-item {
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: itemFloat 3s ease-in-out infinite;
}

.profile-style-3 .stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.profile-style-3 .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 105, 180, 0.2);
}

.profile-style-3 .stat-item:hover::before {
  transform: translateX(100%);
}

.profile-style-3 .stat-item .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  text-shadow: 0 2px 5px rgba(255, 20, 147, 0.3);
  position: relative;
  display: inline-block;
  animation: numberCount 1s ease-out;
}

.profile-style-3 .stat-item .stat-number::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 105, 180, 0.3), rgba(255, 20, 147, 0.3));
  filter: blur(10px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-style-3 .stat-item:hover .stat-number::before {
  opacity: 1;
}

.profile-style-3 .stat-item .stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.profile-style-3 .stat-item .stat-label::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(45deg, #ff69b4, #ff1493);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.profile-style-3 .stat-item:hover .stat-label::before {
  transform: scaleX(1);
  transform-origin: left;
}

@keyframes linkGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); }
}

@media (max-width: 1200px) {
  .profile-style-3 .profile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .profile-style-3 .profile-name {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .profile-style-3 .profile-header-section {
    padding: 30px 15px;
  }
  
  .profile-style-3 .profile-name {
    font-size: 2rem;
    text-align: center;
  }
  
  .profile-style-3 .profile-username {
    font-size: 1.1rem;
    text-align: center;
  }
  
  .profile-style-3 .profile-bio {
    font-size: 1rem;
    text-align: center !important;
    margin: 0 auto;
    max-width: 90%;
  }
  
  .profile-style-3 .profile-link {
    display: block;
    text-align: center;
    margin: 10px auto;
    max-width: 200px;
  }
  
  .profile-style-3 .stat-item {
    padding: 12px;
  }
  
  .profile-style-3 .stat-item .stat-number {
    font-size: 1.8rem;
  }
  
  .profile-style-3 .stat-item .stat-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .profile-style-3 .profile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 15px;
  }
  
  .profile-style-3 .profile-name {
    font-size: 1.8rem;
  }
  
  .profile-style-3 .profile-username {
    font-size: 1rem;
  }
  
  .profile-style-3 .profile-bio {
    font-size: 0.95rem;
    max-width: 100%;
  }
  
  .profile-style-3 .stat-item {
    padding: 10px;
  }
  
  .profile-style-3 .stat-item .stat-number {
    font-size: 1.6rem;
  }
  
  .profile-style-3 .stat-item .stat-label {
    font-size: 0.75rem;
  }
}


.profile-style-4 .profile-header-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 20px 5px #ff00ff, 0 0 30px 10px #00ffff;
  border: 2px solid #ff00ff;
  position: relative;
  overflow: hidden;
  color: #00ffff;
}

.profile-style-4 .profile-bio {
  color: #00ffff;
  text-shadow: 0 0 8px #ff00ff;
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

.profile-style-4 .profile-link {
  color: #00ffff;
  text-shadow: 0 0 8px #ff00ff, 0 0 15px #00ffff;
  border: 1px solid #ff00ff;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}


@media (max-width: 768px) {
  .profile-avatar-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-top: -40px;
  }

  .profile-avatar-container {
    margin: 0 auto;
  }

  .profile-main-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto; 
  }

  .profile-basic-info {
    text-align: center;
    width: 100%;
  }

  .profile-name {
    justify-content: center;
    font-size: 24px;
    margin: 0 auto;
  }

  .profile-username {
    font-size: 16px;
    margin: 0 auto;
  }

  .profile-link {
    display: inline-block;
    margin: 0 auto 10px auto;
  }

  .profile-bio {
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .profile-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
}


@media (max-width: 480px) {
  .profile-main-info {
    padding: 0 20px 20px;
  }

  .profile-avatar-section {
    margin-top: -30px;
  }

  .profile-main-avatar {
    width: 80px;
    height: 80px;
  }

  .profile-name {
    font-size: 20px;
  }

  .profile-username {
    font-size: 14px;
  }

  .profile-bio {
    font-size: 13px;
  }
}


@media (max-width: 768px) {
  .post-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-light);
  }
}



  .post-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: var(--background-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    width: 100%;
  }

  .post-action i {
    font-size: 18px;
  }

  .post-action.liked {
    background: rgba(233, 30, 99, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
  }

  .post-action:hover {
    background: var(--background-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
  }

  .post-action span {
    display: inline-block;
    min-width: 20px;
    text-align: center;
  }


@media (max-width: 480px) {
  .post-actions {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 10px;
  }

  .post-action {
    padding: 8px;
    font-size: 13px;
  }

  .post-action i {
    font-size: 16px;
  }
}


@media (max-width: 768px) {
  .profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px;
    margin: 20px 0;
    padding: 16px;
    background: var(--background-secondary);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
  }

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

  .stat-item .stat-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    font-family: "Montserrat", sans-serif;
  }

  .stat-item .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: "Inter", sans-serif;
  }
}

@media (max-width: 480px) {
  .profile-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); 
    gap: 12px;
    padding: 12px;
  }

  .stat-item .stat-number {
    font-size: 18px;
  }

  .stat-item .stat-label {
    font-size: 11px;
  }
}


.profile-style-4 .profile-stats-grid {
  background: rgba(0, 255, 255, 0.05); 
  border: 1px solid rgba(0, 255, 255, 0.2); 
  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.3), 0 0 10px rgba(255, 0, 255, 0.3); 
  border-radius: var(--radius-lg); 
  padding: 25px;
  gap: 25px;
  margin: 25px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
}

.profile-style-4 .stat-item .stat-number {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #00ffff; 
  text-shadow: 0 0 8px #00ffff, 0 0 12px #00ffff; 
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.profile-style-4 .stat-item .stat-number:hover {
  color: #ffffff; 
  text-shadow: 0 0 10px #ffffff, 0 0 15px #ffffff; 
}

.profile-style-4 .stat-item .stat-label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px; 
  color: #ff00ff; 
  text-shadow: 0 0 5px rgba(255, 0, 255, 0.5); 
}


@media (max-width: 768px) {
  .profile-style-4 .profile-stats-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px;
    padding: 16px;
    margin: 20px 0;
  }
}

@media (max-width: 480px) {
  .profile-style-4 .profile-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); 
    gap: 12px;
    padding: 12px;
  }

  .profile-style-4 .stat-item .stat-number {
    font-size: 20px;
  }

  .profile-style-4 .stat-item .stat-label {
    font-size: 11px;
    letter-spacing: 0.8px;
  }
}


.profile-style-4 .btn-action {
  font-family: "Montserrat", sans-serif; 
  font-weight: 700; 
  letter-spacing: 0.8px; 
  text-transform: uppercase; 
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.3); 
  transition: all 0.3s ease; 
  border: 1px solid transparent; 
}

.profile-style-4 .btn-action:hover {
  transform: translateY(-3px); 
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5), 0 0 20px rgba(255, 0, 255, 0.5); 
}

.profile-style-4 .btn-follow {
  background: linear-gradient(45deg, #00ffff, #00ccff); 
  color: #1a1a1a; 
  border-color: #00ffff; 
}

.profile-style-4 .btn-follow:hover {
  background: linear-gradient(45deg, #33ffff, #33ddff); 
  color: #000000;
  border-color: #33ffff;
}

.profile-style-4 .btn-follow.following {
  background: rgba(255, 0, 255, 0.1); 
  color: #ff00ff; 
  border-color: #ff00ff; 
  box-shadow: 0 0 8px rgba(255, 0, 255, 0.3); 
}

.profile-style-4 .btn-follow.following:hover {
  background: rgba(255, 0, 255, 0.2); 
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.5); 
}

.profile-style-4 .btn-message {
  background: rgba(255, 0, 255, 0.1); 
  color: #ff00ff; 
  border-color: #ff00ff; 
  box-shadow: 0 0 8px rgba(255, 0, 255, 0.3); 
}

.profile-style-4 .btn-message:hover {
  background: rgba(255, 0, 255, 0.2); 
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.5); 
}

.profile-style-4 .btn-more {
  background: rgba(0, 255, 255, 0.1); 
  color: #00ffff; 
  border-color: #00ffff; 
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.3); 
}

.profile-style-4 .btn-more:hover {
  background: rgba(0, 255, 255, 0.2); 
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5); 
}


@media (max-width: 768px) {
  .profile-style-4 .btn-action {
    padding: 10px 16px;
    font-size: 12px;
    gap: 6px;
  }

  .profile-style-4 .btn-more {
    width: 36px;
    height: 36px;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .profile-style-4 .btn-action {
    padding: 8px 12px;
    font-size: 11px;
    gap: 4px;
  }

  .profile-style-4 .btn-more {
    width: 32px;
    height: 32px;
    padding: 0;
  }
}


.profile-style-4 .search-page .user-card {
  background: rgba(10, 10, 10, 0.8); 
  border: 1px solid rgba(0, 255, 255, 0.2); 
  border-radius: var(--radius-lg); 
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3); 
  transition: all 0.3s ease;
}

.profile-style-4 .search-page .user-card:hover {
  transform: translateY(-5px); 
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5), 0 0 20px rgba(255, 0, 255, 0.5); 
  border-color: #ff00ff; 
}

.profile-style-4 .search-page .user-avatar {
  border: 3px solid #ff00ff; 
  transition: all 0.3s ease;
}

.profile-style-4 .search-page .user-card:hover .user-avatar {
  border-color: #00ffff; 
  transform: scale(1.1); 
}

.profile-style-4 .search-page .user-badge {
  border: 2px solid #1a1a1a; 
}

.profile-style-4 .search-page .user-name {
  font-family: "Montserrat", sans-serif; 
  font-size: 18px;
  font-weight: 700;
  color: #00ffff; 
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5); 
}

.profile-style-4 .search-page .verified-icon,
.profile-style-4 .search-page .warning-icon {
  color: #ff00ff; 
}

.profile-style-4 .search-page .user-username {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7); 
}

.profile-style-4 .search-page .user-bio {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: rgba(0, 255, 255, 0.8); 
}

.profile-style-4 .search-page .btn-follow {
  background: linear-gradient(45deg, #ff00ff, #cc00cc); 
  color: #1a1a1a; 
  border: 1px solid #ff00ff; 
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 0 8px rgba(255, 0, 255, 0.3);
}

.profile-style-4 .search-page .btn-follow:hover {
  background: linear-gradient(45deg, #ff33ff, #dd33dd); 
  border-color: #ff33ff;
  color: #000000;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.profile-style-4 .search-page .btn-outline {
  background: rgba(0, 255, 255, 0.1); 
  color: #00ffff; 
  border: 1px solid #00ffff; 
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

.profile-style-4 .search-page .btn-outline:hover {
  background: rgba(0, 255, 255, 0.2); 
  border-color: #ff00ff; 
  color: #ff00ff; 
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}


@media (max-width: 768px) {
  .profile-style-4 .search-page .user-card {
    padding: 20px;
  }
  .profile-style-4 .search-page .user-avatar {
    width: 70px;
    height: 70px;
  }
  .profile-style-4 .search-page .user-name {
    font-size: 16px;
  }
  .profile-style-4 .search-page .user-username {
    font-size: 12px;
  }
  .profile-style-4 .search-page .user-bio {
    font-size: 12px;
  }
  .profile-style-4 .search-page .btn-action {
    padding: 8px 16px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .profile-style-4 .search-page .user-card {
    padding: 16px;
  }
  .profile-style-4 .search-page .user-avatar {
    width: 60px;
    height: 60px;
  }
  .profile-style-4 .search-page .user-name {
    font-size: 14px;
  }
  .profile-style-4 .search-page .user-username {
    font-size: 11px;
  }
  .profile-style-4 .search-page .user-bio {
    font-size: 11px;
  }
  .profile-style-4 .search-page .btn-action {
    padding: 6px 12px;
    font-size: 10px;
  }
}
.profile-bio, .profile-style-4 .profile-bio {
  display: block;
  overflow: visible;
  text-overflow: unset;
  max-height: none;
  white-space: normal;
}


@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}


.lovers-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1),
                0 1px 8px rgba(0, 0, 0, 0.05);
    margin: 30px 0;
    position: relative;
    backdrop-filter: blur(10px);
}

.lovers-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        #ff6b6b, 
        #ff8e8e, 
        #ff6b6b, 
        #ff8e8e);
    background-size: 300% 100%;
    
}

.lovers-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, 
        rgba(255, 107, 107, 0.1), 
        transparent 70%);
    pointer-events: none;
}

.lovers-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
                0 1px 8px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 107, 107, 0.3);
}

.lovers-header {
    padding: 30px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lovers-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 70%);
    animation: shine 3s infinite;
}

.lovers-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: "Poppins", sans-serif;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.lovers-header h3 i {
    font-size: 28px;
    animation: heartbeat 2s infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    color: #fff;
}

.lovers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 15px;
    justify-content: center; 
}

.lovers-list::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0c16.569 0 30 13.431 30 30 0 16.569-13.431 30-30 30C13.431 60 0 46.569 0 30 0 13.431 13.431 0 30 0zm0 2C14.536 2 2 14.536 2 30s12.536 28 28 28 28-12.536 28-28S45.464 2 30 2z' fill='%23ff6b6b' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E"),
        radial-gradient(circle at center, rgba(255, 107, 107, 0.05), transparent 70%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0; 
    
}

.lover-item {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.lover-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lover-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.15),
                0 1px 8px rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.3);
}

.lover-item:hover::before {
    opacity: 1;
}

.lover-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.lover-link:hover {
    color: #ff6b6b;
}

.lover-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 4px solid #fff;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.2);
    position: relative;
}

.lover-avatar::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.lover-item:hover .lover-avatar {
    transform: scale(1.1) rotate(5deg);
    border-color: transparent;
}

.lover-item:hover .lover-avatar::after {
    opacity: 1;
}

.lover-name {
    font-size: 20px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.lover-username {
    font-size: 15px;
    color: #636e72;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    font-weight: 500;
}

.lover-username::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    transition: width 0.3s ease;
}

.lover-link:hover .lover-username {
    color: #ff6b6b;
}

.lover-link:hover .lover-username::after {
    width: 100%;
}

.lovers-info {
    padding: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 107, 107, 0.1);
    position: relative;
    overflow: hidden;
}

.lovers-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), transparent);
    pointer-events: none;
}

.lovers-duration {
    font-size: 24px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 10px;
    font-family: "Poppins", sans-serif;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.lovers-duration::before,
.lovers-duration::after {
    content: '❤';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #ff6b6b;
    opacity: 0.7;
    animation: heartbeat 2s infinite;
}

.lovers-duration::before {
    left: -35px;
}

.lovers-duration::after {
    right: -35px;
}

.lovers-date {
    font-size: 15px;
    color: #636e72;
    margin: 0;
    font-style: italic;
    font-weight: 500;
}

.lover-actions {
    padding: 25px;
    text-align: center;
    border-top: 1px solid rgba(255, 107, 107, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.lover-btn-secondary {
    background: #fff;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "Inter", sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.lover-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.lover-btn-secondary:hover {
    background: #ff6b6b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.lover-btn-secondary:hover::before {
    transform: translateX(100%);
}

.lover-btn-secondary i {
    font-size: 18px;
    transition: transform 0.4s ease;
}

.lover-btn-secondary:hover i {
    transform: rotate(180deg);
}


@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes heartbeat {
    0% {
        transform: translateY(-50%) scale(1);
    }
    14% {
        transform: translateY(-50%) scale(1.3);
    }
    28% {
        transform: translateY(-50%) scale(1);
    }
    42% {
        transform: translateY(-50%) scale(1.3);
    }
    70% {
        transform: translateY(-50%) scale(1);
    }
}


@media (max-width: 768px) {
    .lovers-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        padding: 20px;
    }

    .lover-item {
        padding: 20px;
    }

    .lover-avatar {
        width: 100px;
        height: 100px;
    }

    .lover-name {
        font-size: 18px;
    }

    .lover-username {
        font-size: 14px;
    }

    .lovers-duration {
        font-size: 20px;
    }

    .lovers-duration::before,
    .lovers-duration::after {
        font-size: 16px;
    }

    .lovers-duration::before {
        left: -25px;
    }

    .lovers-duration::after {
        right: -25px;
    }
}

@media (max-width: 480px) {
    .lovers-list {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    .lover-item {
        padding: 15px;
    }

    .lover-avatar {
        width: 90px;
        height: 90px;
    }

    .lover-name {
        font-size: 16px;
    }

    .lover-username {
        font-size: 13px;
    }

    .lovers-duration {
        font-size: 18px;
    }

    .lovers-duration::before,
    .lovers-duration::after {
        display: none;
    }

    .lover-btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
}


.lovers-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
    border-radius: 30px;
    border: 2px solid rgba(255, 107, 107, 0.2);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
                0 1px 8px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 107, 107, 0.1);
    margin: 40px 0;
    position: relative;
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.lovers-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, 
        #ff6b6b, 
        #ff8e8e, 
        #ff6b6b, 
        #ff8e8e,
        #ff6b6b);
    background-size: 400% 100%;
    
    z-index: 2;
}

.lovers-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at top right, rgba(255, 107, 107, 0.15), transparent 70%),
        radial-gradient(circle at bottom left, rgba(255, 107, 107, 0.1), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.lovers-card:hover {
    transform: translateY(-10px) scale(1.02) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2),
                0 1px 8px rgba(0, 0, 0, 0.1),
                0 0 0 2px rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.4);
}

.lovers-header {
    padding: 35px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
}

.lovers-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 70%);
    animation: shine 4s infinite;
    z-index: 1;
}

.lovers-header h3 {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: "Poppins", sans-serif;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    transform: translateZ(20px);
}

.lovers-header h3 i {
    font-size: 32px;
    animation: heartbeat 2s infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    color: #fff;
    transform: translateZ(30px);
}

.lovers-list {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    position: relative;
    transform-style: preserve-3d;
    justify-content: center;
}

.lovers-list::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0c16.569 0 30 13.431 30 30 0 16.569-13.431 30-30 30C13.431 60 0 46.569 0 30 0 13.431 13.431 0 30 0zm0 2C14.536 2 2 14.536 2 30s12.536 28 28 28 28-12.536 28-28S45.464 2 30 2z' fill='%23ff6b6b' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E"),
        radial-gradient(circle at center, rgba(255, 107, 107, 0.05), transparent 70%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
    animation: patternFloat 20s linear infinite;
}

.lover-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 40px;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 105, 180, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transform-style: preserve-3d;
    transform: translateZ(0);
    animation: itemFloat 5s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lover-item::before {
    content: '❤';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: rgba(255, 105, 180, 0.4);
    animation: floatHeart 4s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.6);
}

.lover-item::after {
    content: '❤';
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 28px;
    color: rgba(255, 105, 180, 0.4);
    animation: floatHeart 4s ease-in-out infinite reverse;
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.6);
}

.lover-item:hover {
    transform: translateY(-25px) scale(1.05) translateZ(30px) rotateX(10deg);
    box-shadow: 0 35px 70px rgba(255, 105, 180, 0.4),
                0 1px 8px rgba(255, 105, 180, 0.3);
    border-color: rgba(255, 105, 180, 0.5);
}

.lover-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transform-style: preserve-3d;
}

.lover-link:hover {
    color: #ff1493;
}

.lover-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 30px;
    object-fit: cover;
    border: 6px solid #fff;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.4);
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(40px);
    animation: avatarPulse 4s ease-in-out infinite;
}

.lover-avatar::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    transform: translateZ(-20px);
    animation: borderGlow 3s ease-in-out infinite;
}

.lover-item:hover .lover-avatar {
    transform: scale(1.2) rotate(12deg) translateZ(60px);
    border-color: transparent;
}

.lover-item:hover .lover-avatar::after {
    opacity: 1;
}

.lover-name {
    font-size: 32px;
    font-weight: 800;
    color: #ff1493;
    margin-bottom: 15px;
    font-family: "Montserrat", sans-serif;
    transition: all 0.6s ease;
    letter-spacing: 1px;
    transform: translateZ(30px);
    text-shadow: 0 4px 8px rgba(255, 105, 180, 0.3);
    animation: nameGlow 3s ease-in-out infinite;
}

.lover-username {
    font-size: 20px;
    color: #ff69b4;
    transition: all 0.6s ease;
    position: relative;
    display: inline-block;
    font-weight: 600;
    transform: translateZ(25px);
    font-family: "Poppins", sans-serif;
    letter-spacing: 0.5px;
}

.lover-username::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #ff1493);
    transition: width 0.6s ease;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 105, 180, 0.4);
}

.lover-link:hover .lover-username {
    color: #ff1493;
    transform: translateZ(35px) scale(1.1);
}

.lover-link:hover .lover-username::after {
    width: 100%;
}

.lovers-info {
    padding: 45px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-top: 2px solid rgba(255, 105, 180, 0.3);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.lovers-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(255, 105, 180, 0.1), transparent),
        radial-gradient(circle at center, rgba(255, 105, 180, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: infoGlow 4s ease-in-out infinite;
}

.lovers-duration {
    font-size: 36px;
    font-weight: 800;
    color: #ff1493;
    margin-bottom: 15px;
    font-family: "Dancing Script", cursive;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    transform: translateZ(30px);
    text-shadow: 0 4px 8px rgba(255, 105, 180, 0.3);
    animation: durationGlow 3s ease-in-out infinite;
}

.lovers-duration::before,
.lovers-duration::after {
    content: '❤';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: #ff69b4;
    opacity: 0.9;
    animation: heartbeat 2s infinite;
    filter: drop-shadow(0 4px 8px rgba(255, 105, 180, 0.4));
}

.lovers-duration::before {
    left: -60px;
}

.lovers-duration::after {
    right: -60px;
}

.lovers-date {
    font-size: 20px;
    color: #ff69b4;
    margin: 0;
    font-style: italic;
    font-weight: 600;
    transform: translateZ(25px);
    font-family: "Poppins", sans-serif;
    letter-spacing: 0.5px;
    animation: dateGlow 3s ease-in-out infinite;
}

.lover-actions {
    padding: 40px;
    text-align: center;
    border-top: 2px solid rgba(255, 105, 180, 0.3);
    background: rgba(255, 255, 255, 0.95);
    transform-style: preserve-3d;
}

.lover-btn-secondary {
    background: #fff;
    color: #ff69b4;
    border: 4px solid #ff69b4;
    padding: 20px 40px;
    border-radius: 60px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "Montserrat", sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    transform: translateZ(30px);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(255, 105, 180, 0.2);
}

.lover-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 105, 180, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 1s ease;
}

.lover-btn-secondary:hover {
    background: #ff69b4;
    color: #fff;
    transform: translateY(-10px) translateZ(40px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.5);
    border-color: transparent;
}

.lover-btn-secondary:hover::before {
    transform: translateX(100%);
}

.lover-btn-secondary i {
    font-size: 24px;
    transition: transform 0.6s ease;
}

.lover-btn-secondary:hover i {
    transform: rotate(360deg) scale(1.3);
}


@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

@keyframes headerGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 105, 180, 0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 105, 180, 0.5);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow: 0 4px 20px rgba(255, 255, 255, 0.5);
    }
}

@keyframes patternFloat {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

@keyframes itemFloat {
    0%, 100% {
        transform: translateY(0) translateZ(0);
    }
    50% {
        transform: translateY(-10px) translateZ(20px);
    }
}

@keyframes avatarPulse {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(255, 105, 180, 0.4);
    }
    50% {
        box-shadow: 0 20px 60px rgba(255, 105, 180, 0.6);
    }
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 105, 180, 0.6);
    }
}

@keyframes nameGlow {
    0%, 100% {
        text-shadow: 0 4px 8px rgba(255, 105, 180, 0.3);
    }
    50% {
        text-shadow: 0 4px 20px rgba(255, 105, 180, 0.5);
    }
}

@keyframes durationGlow {
    0%, 100% {
        text-shadow: 0 4px 8px rgba(255, 105, 180, 0.3);
    }
    50% {
        text-shadow: 0 4px 20px rgba(255, 105, 180, 0.5);
    }
}

@keyframes dateGlow {
    0%, 100% {
        text-shadow: 0 2px 4px rgba(255, 105, 180, 0.2);
    }
    50% {
        text-shadow: 0 2px 10px rgba(255, 105, 180, 0.4);
    }
}

@keyframes infoGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

@keyframes heartbeat {
    0% {
        transform: translateY(-50%) scale(1);
    }
    14% {
        transform: translateY(-50%) scale(1.4);
    }
    28% {
        transform: translateY(-50%) scale(1);
    }
    42% {
        transform: translateY(-50%) scale(1.4);
    }
    70% {
        transform: translateY(-50%) scale(1);
    }
}

@keyframes floatHeart {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-15px) rotate(15deg);
    }
}


@media (max-width: 1200px) {
    .lovers-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .lover-avatar {
        width: 160px;
        height: 160px;
    }
    
    .lover-name {
        font-size: 28px;
    }

    .lovers-duration {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .lovers-card {
        margin: 30px 0;
        border-radius: 30px;
    }

    .lovers-header {
        padding: 35px;
    }

    .lovers-header h3 {
        font-size: 28px;
    }

    .lovers-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        padding: 30px;
    }

    .lover-item {
        padding: 30px;
    }

    .lover-avatar {
        width: 140px;
        height: 140px;
    }

    .lover-name {
        font-size: 24px;
    }

    .lover-username {
        font-size: 16px;
    }

    .lovers-duration {
        font-size: 28px;
    }

    .lovers-duration::before,
    .lovers-duration::after {
        font-size: 24px;
    }

    .lovers-duration::before {
        left: -45px;
    }

    .lovers-duration::after {
        right: -45px;
    }

    .lovers-date {
        font-size: 16px;
    }

    .lover-btn-secondary {
        padding: 16px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .lovers-card {
        margin: 20px 0;
        border-radius: 25px;
    }

    .lovers-header {
        padding: 25px;
    }

    .lovers-header h3 {
        font-size: 24px;
        gap: 15px;
    }

    .lovers-list {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px;
    }

    .lover-item {
        padding: 25px;
    }

    .lover-avatar {
        width: 120px;
        height: 120px;
    }

    .lover-name {
        font-size: 20px;
    }

    .lover-username {
        font-size: 14px;
    }

    .lovers-duration {
        font-size: 24px;
    }

    .lovers-duration::before,
    .lovers-duration::after {
        display: none;
    }

    .lovers-date {
        font-size: 14px;
    }

    .lover-btn-secondary {
        padding: 14px 28px;
        font-size: 14px;
    }
}


.lovers-card {
    background: linear-gradient(135deg, rgba(255, 192, 203, 0.1), rgba(255, 105, 180, 0.1));
    border: 2px solid rgba(255, 192, 203, 0.3);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
    animation: cardFloat 6s ease-in-out infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.lovers-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 192, 203, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 105, 180, 0.2) 0%, transparent 50%);
    z-index: 1;
    
}

.lovers-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5C15 5 5 15 5 30C5 45 15 55 30 55C45 55 55 45 55 30C55 15 45 5 30 5ZM30 50C18 50 10 42 10 30C10 18 18 10 30 10C42 10 50 18 50 30C50 42 42 50 30 50Z' fill='rgba(255,192,203,0.1)'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
    animation: patternFloat 10s linear infinite;
}

.lovers-card:hover {
    transform: translateY(-5px) rotateX(5deg) rotateY(5deg);
    box-shadow: 
        0 20px 40px rgba(255, 105, 180, 0.3),
        0 0 20px rgba(255, 192, 203, 0.4);
}

.lovers-header {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 192, 203, 0.2), rgba(255, 105, 180, 0.2));
    border-radius: 16px;
    overflow: hidden;
    z-index: 2;
}

.lovers-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.lovers-header h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #ff69b4;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
    position: relative;
    z-index: 2;
    animation: textGlow 2s ease-in-out infinite;
}

.lovers-header h3 i {
    color: #ff1493;
    margin-right: 10px;
    animation: heartbeat 1.5s ease-in-out infinite;
}


.lover-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 192, 203, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: itemFloat 4s ease-in-out infinite;
}

.lover-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 192, 203, 0.2), rgba(255, 105, 180, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lover-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 5C10 5 5 10 5 20C5 30 10 35 20 35C30 35 35 30 35 20C35 10 30 5 20 5ZM20 30C12 30 10 28 10 20C10 12 12 10 20 10C28 10 30 12 30 20C30 28 28 30 20 30Z' fill='rgba(255,192,203,0.1)'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.lover-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 30px rgba(255, 105, 180, 0.2),
        0 0 15px rgba(255, 192, 203, 0.3);
}

.lover-item:hover::before {
    opacity: 1;
}

.lover-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 2;
}

.lover-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.lover-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 192, 203, 0.3), rgba(255, 105, 180, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lover-item:hover .lover-avatar {
    transform: scale(1.1) rotate(5deg);
    border-color: #ff69b4;
    box-shadow: 
        0 8px 20px rgba(255, 105, 180, 0.4),
        0 0 10px rgba(255, 192, 203, 0.5);
}

.lover-item:hover .lover-avatar::after {
    opacity: 1;
}

.lover-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff1493;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(255, 105, 180, 0.2);
    animation: nameGlow 2s ease-in-out infinite;
}

.lover-username {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #ff69b4;
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
    animation: textGlow 2s ease-in-out infinite;
}

.lover-username::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff69b4, transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.lover-link:hover .lover-username {
    color: #ff1493;
}

.lover-link:hover .lover-username::after {
    transform: scaleX(1);
}


.badge-artist {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #1da1f2, #0d8ecf);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 8px;
    box-shadow: 0 2px 8px rgba(29, 161, 242, 0.3);
    animation: badgeGlow 2s ease-in-out infinite;
}

.badge-artist i {
    margin-right: 4px;
    font-size: 0.9rem;
}

.badge-developer {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 8px;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
}

.badge-developer i {
    margin-right: 4px;
    font-size: 0.9rem;
}


@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes headerGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 105, 180, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 105, 180, 0.5); }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 105, 180, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 105, 180, 0.8); }
}

@keyframes patternFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, 10px); }
}

@keyframes itemFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes avatarPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 2px 8px rgba(29, 161, 242, 0.3); }
    50% { box-shadow: 0 2px 12px rgba(29, 161, 242, 0.5); }
}

@keyframes nameGlow {
    0%, 100% { text-shadow: 0 2px 4px rgba(255, 105, 180, 0.2); }
    50% { text-shadow: 0 2px 8px rgba(255, 105, 180, 0.4); }
}


@media (max-width: 1200px) {
    .lovers-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .lover-avatar {
        width: 70px;
        height: 70px;
    }
    
    .lover-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .lovers-card {
        padding: 20px;
    }
    
    .lovers-header {
        padding: 15px;
    }
    
    .lovers-header h3 {
        font-size: 2rem;
    }
    
    .lovers-list {
        grid-template-columns: 1fr;
    }
    
    .lover-item {
        padding: 20px;
    }
    
    .lover-avatar {
        width: 60px;
        height: 60px;
    }
    
    .lover-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .lovers-card {
        padding: 15px;
    }
    
    .lovers-header {
        padding: 10px;
    }
    
    .lovers-header h3 {
        font-size: 1.8rem;
    }
    
    .lover-item {
        padding: 15px;
    }
    
    .lover-avatar {
        width: 50px;
        height: 50px;
    }
    
    .lover-name {
        font-size: 1rem;
    }
    
    .badge-artist,
    .badge-developer {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}


.profile-style-2 .profile-header-section {
    position: relative;
    background: linear-gradient(135deg, var(--info-color), #1565c0); 
    background-size: 200% 200%;
    padding: 3.5rem 2.5rem; 
    border-radius: 25px; 
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(33, 150, 243, 0.4); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: gradientMove 15s ease infinite; 
}

.profile-style-2 .profile-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: shimmer 8s infinite; 
}

.profile-style-2 .profile-header-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5C15 5 5 15 5 30C5 45 15 55 30 55C45 55 55 45 55 30C55 15 45 5 30 5ZM30 50C18 50 10 42 10 30C10 18 18 10 30 10C42 10 50 18 50 30C50 42 42 50 30 50Z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
    opacity: 0.5;
    animation: patternFloat 20s linear infinite; 
}

.profile-style-2 .profile-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem; 
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4); 
    animation: slideUp 0.8s ease forwards; 
    letter-spacing: 1px; 
    position: relative;
    display: inline-block;
}

.profile-style-2 .profile-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0; 
    height: 3px;
    background: #ffffff;
    animation: lineGrow 1.5s ease-out forwards 0.8s; 
}

.profile-style-2 .profile-username {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem; 
    color: rgba(255,255,255,0.95); 
    margin-bottom: 1.5rem; 
    animation: slideUp 0.8s ease forwards 0.2s; 
    opacity: 0;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); 
}

.profile-style-2 .profile-link {
    display: inline-block;
    padding: 1rem 2rem; 
    background: rgba(255,255,255,0.2); 
    color: #ffffff; 
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 600; 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.8s ease forwards 0.4s; 
    opacity: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    position: relative;
    overflow: hidden;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2); 
}

.profile-style-2 .profile-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transition: 0.5s;
}

.profile-style-2 .profile-link:hover {
    background: rgba(255,255,255,0.3); 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.5);
}


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

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes patternFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

@keyframes lineGrow {
    to { width: 100%; }
}

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


@media (max-width: 1200px) {
    .profile-style-2 .profile-header-section {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .profile-style-2 .profile-header-section {
        padding: 2.5rem 1.8rem;
        border-radius: 20px;
        background-size: 150% 150%;
    }

    .profile-style-2 .profile-name {
        font-size: 2.2rem;
    }

    .profile-style-2 .profile-username {
        font-size: 1.1rem;
    }

    .profile-style-2 .profile-link {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .profile-style-2 .profile-header-section {
        padding: 2rem 1.2rem;
        border-radius: 15px;
        background-size: 120% 120%;
    }

    .profile-style-2 .profile-name {
        font-size: 2rem;
    }

    .profile-style-2 .profile-username {
        font-size: 1rem;
    }

    .profile-style-2 .profile-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

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


@media (max-width: 768px) {
    .profile-style-2 .profile-header-section {
        padding: 2.5rem 1.8rem;
        border-radius: 20px;
        background-size: 150% 150%;
    }

    .profile-style-2 .profile-name {
        font-size: 2.2rem;
    }

    .profile-style-2 .profile-username {
        font-size: 1.1rem;
    }

    .profile-style-2 .profile-link {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .profile-style-2 .profile-header-section {
        padding: 2rem 1.2rem;
        border-radius: 15px;
        background-size: 120% 120%;
    }

    .profile-style-2 .profile-name {
        font-size: 2rem;
    }

    .profile-style-2 .profile-username {
        font-size: 1rem;
    }

    .profile-style-2 .profile-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

.profile-style-2 .profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 25px;
  margin: 25px 0;
  padding: 25px;
  background: rgba(33, 150, 243, 0.08); 
  border-radius: var(--radius-lg);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05), 0 0 15px rgba(33, 150, 243, 0.2); 
}

.profile-style-2 .stat-item {
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1); 
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(33, 150, 243, 0.2); 
}

.profile-style-2 .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(33, 150, 243, 0.3); 
  background: rgba(255, 255, 255, 0.2); 
}

.profile-style-2 .stat-item .stat-number {
  font-size: 24px;
  font-weight: 800;
  color: #fff; 
  display: block;
  font-family: "Montserrat", sans-serif;
  text-shadow: 0 0 8px rgba(33, 150, 243, 0.4); 
}

.profile-style-2 .stat-item .stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9); 
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: "Inter", sans-serif;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.2); 
}

.profile-style-2 .btn-action {
    font-family: "Montserrat", sans-serif; 
    font-weight: 700; 
    letter-spacing: 0.8px; 
    text-transform: uppercase; 
    box-shadow: 0 0 8px rgba(33, 150, 243, 0.3); 
    transition: all 0.3s ease; 
    border: 1px solid transparent; 
}

.profile-style-2 .btn-action:hover {
  transform: translateY(-3px); 
  box-shadow: 0 0 15px rgba(33, 150, 243, 0.5), 0 0 20px rgba(21, 101, 192, 0.5); 
}

.profile-style-2 .btn-follow {
  background: linear-gradient(45deg, var(--info-color), #1565c0); 
  color: white; 
  border-color: var(--info-color); 
}

.profile-style-2 .btn-follow:hover {
  background: linear-gradient(45deg, #64b5f6, #42a5f5); 
  color: white;
  border-color: #64b5f6;
}

.profile-style-2 .btn-follow.following {
  background: rgba(255, 255, 255, 0.1); 
  color: white; 
  border-color: rgba(255, 255, 255, 0.5); 
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3); 
}

.profile-style-2 .btn-follow.following:hover {
  background: rgba(255, 255, 255, 0.2); 
  color: white;
  border-color: white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); 
}

.profile-style-2 .btn-message {
  background: rgba(255, 255, 255, 0.1); 
  color: white; 
  border-color: rgba(255, 255, 255, 0.5); 
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3); 
}

.profile-style-2 .btn-message:hover {
  background: rgba(255, 255, 255, 0.2); 
  color: white;
  border-color: white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); 
}

.profile-style-2 .btn-more {
  background: rgba(255, 255, 255, 0.1); 
  color: white; 
  border-color: rgba(255, 255, 255, 0.5); 
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3); 
}

.profile-style-2 .btn-more:hover {
  background: rgba(255, 255, 255, 0.2); 
  color: white;
  border-color: white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); 
}


@media (max-width: 768px) {
  .profile-style-2 .profile-stats-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px;
    padding: 16px;
    margin: 20px 0;
  }

  .profile-style-2 .btn-action {
    padding: 10px 16px;
    font-size: 12px;
    gap: 6px;
  }

  .profile-style-2 .btn-more {
    width: 36px;
    height: 36px;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .profile-style-2 .profile-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); 
    gap: 12px;
    padding: 12px;
  }

  .profile-style-2 .stat-item .stat-number {
    font-size: 20px;
  }

  .profile-style-2 .stat-item .stat-label {
    font-size: 11px;
    letter-spacing: 0.8px;
  }

  .profile-style-2 .btn-action {
    padding: 8px 12px;
    font-size: 11px;
    gap: 4px;
  }

  .profile-style-2 .btn-more {
    width: 32px;
    height: 32px;
    padding: 0;
  }
}

.lovers-card {
    background: var(--background-primary);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}



.lover-item {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.lover-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.lover-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lover-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 10px 0 5px;
    text-align: center;
}

.lover-username {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-align: center;
}

.lovers-duration {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 5px 0;
    text-align: center;
}

.lover-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}


@media (max-width: 768px) {
    .lovers-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        padding: 10px;
    }

    .lover-item {
        padding: 15px;
    }

    .lover-avatar {
        width: 90px;
        height: 90px;
    }

    .lover-name {
        font-size: 1.1rem;
    }

    .lover-username {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .lovers-list {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }

    .lover-item {
        padding: 20px;
    }

    .lover-avatar {
        width: 120px;
        height: 120px;
        border-width: 4px;
    }

    .lover-name {
        font-size: 1.2rem;
        margin-top: 15px;
    }

    .lover-username {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .lovers-duration {
        font-size: 0.85rem;
        margin: 8px 0;
    }

    .lover-actions {
        margin-top: 15px;
    }
}


footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
    padding: 1.5rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

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

footer .flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    footer .flex {
        flex-direction: row;
    }
}

footer .text-center {
    text-align: center;
}

footer .text-gray-600 {
    color: #4b5563;
    font-size: 0.875rem;
}

footer .space-x-4 > * + * {
    margin-left: 1rem;
}

footer a {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #1f2937;
}


.alert {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 50;
    animation: slideIn 0.3s ease-out;
}

.alert-success {
    background-color: #10b981;
    color: white;
}

.alert-error {
    background-color: #ef4444;
    color: white;
}

.alert-info {
    background-color: #3b82f6;
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


.follow-btn {
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 2px 4px rgba(236, 72, 153, 0.2);
}

.follow-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(236, 72, 153, 0.3);
    background: var(--hover-gradient);
}

.follow-btn.following {
    background: #fdf2f8;
    color: #be185d;
    border: 1px solid #fbcfe8;
}

.follow-btn.following:hover {
    background: #fce7f3;
    color: #db2777;
    border-color: #f9a8d4;
}


.btn-follow {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(236, 72, 153, 0.2);
}

.btn-follow:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(236, 72, 153, 0.3);
    background: var(--hover-gradient);
}

.btn-follow.following {
    background: #fdf2f8;
    color: #be185d;
    border: 1px solid #fbcfe8;
}

.btn-follow.following:hover {
    background: #fce7f3;
    color: #db2777;
    border-color: #f9a8d4;
}


.private-account-message {
    background: var(--background-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 30px 25px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.private-account-message .private-icon {
    font-size: 48px;
    color: var(--text-muted);
}

.private-account-message h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: "Montserrat", sans-serif;
}

.private-account-message p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    font-family: "Inter", sans-serif;
}

.private-account-message .btn-action.btn-follow {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 15px rgba(236, 72, 153, 0.3);
    transition: var(--transition);
    min-width: 180px;
}

.private-account-message .btn-action.btn-follow:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.5);
    transform: translateY(-3px);
}


.user-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--background-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.user-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--primary-light);
    transition: var(--transition);
}

.user-item:hover .user-avatar {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    transition: var(--transition);
}

.user-name:hover {
    color: var(--primary-color);
}

.user-username {
    font-size: 14px;
    color: var(--text-muted);
    font-family: "Inter", sans-serif;
}

.user-actions {
    display: flex;
    gap: 8px;
}

.follow-btn {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "Inter", sans-serif;
    background: var(--primary-color);
    color: white;
}

.follow-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
}

.follow-btn.following {
    background: var(--background-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.follow-btn.following:hover {
    background: var(--background-tertiary);
    color: var(--error-color);
    border-color: var(--error-color);
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
}


.nav-switch-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: 30px;
    background: linear-gradient(45deg, #ec4899, #db2777);
    color: white;
    box-shadow: 0 6px 12px rgba(236, 72, 153, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 16px;
    text-decoration: none;
    text-align: center;
}

.nav-switch-btn:hover {
    background: linear-gradient(45deg, #db2777, #ec4899);
    box-shadow: 0 8px 16px rgba(219, 39, 119, 0.6);
    transform: translateY(-2px);
}


.nav-switch-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-top: 32px; 
  cursor: pointer;
  user-select: none;
}

.nav-switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.nav-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: 0.4s;
}

.nav-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background: linear-gradient(45deg, #ec4899, #db2777);
  border-radius: 50%;
  transition: 0.4s;
}

.nav-switch-toggle input:checked + .nav-slider {
  background-color: #db2777;
}

.nav-switch-toggle input:checked + .nav-slider:before {
  transform: translateX(26px);
}


.heading-dancing-script {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 16px;
  text-align: center;
}

.empty-state-icon {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.empty-state-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
}

.empty-state-text {
    font-size: 14px;
    color: var(--text-muted);
    font-family: "Inter", sans-serif;
}


.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 300px;
    max-width: 400px;
    animation: slideIn 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.toast.success {
    border-left-color: var(--success-color);
}

.toast.error {
    border-left-color: var(--error-color);
}

.toast.info {
    border-left-color: var(--info-color);
}

.toast.warning {
    border-left-color: var(--warning-color);
}

.toast-icon {
    font-size: 20px;
}

.toast.success .toast-icon {
    color: var(--success-color);
}

.toast.error .toast-icon {
    color: var(--error-color);
}

.toast.info .toast-icon {
    color: var(--info-color);
}

.toast.warning .toast-icon {
    color: var(--warning-color);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-family: "Poppins", sans-serif;
}

.toast-message {
    font-size: 14px;
    color: var(--text-muted);
    font-family: "Inter", sans-serif;
}

.toast-close {
    cursor: pointer;
    padding: 4px;
    color: var(--text-muted);
    transition: var(--transition);
}

.toast-close:hover {
    color: var(--text-primary);
}

.toast.hide {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}


@media (max-width: 768px) {
    .user-item {
        padding: 12px;
    }

    .user-avatar {
        width: 48px;
        height: 48px;
    }

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

    .user-username {
        font-size: 13px;
    }

    .follow-btn {
        padding: 6px 16px;
        font-size: 13px;
    }

    .toast {
        min-width: 280px;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .user-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .user-info {
        width: 100%;
    }

    .user-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .follow-btn {
        width: 100%;
        justify-content: center;
    }

    .toast {
        min-width: 260px;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
  .nav-menu {
    text-align: left !important;
    align-items: flex-start !important;
  }
  .nav-link {
    justify-content: flex-start !important;
    text-align: left !important;
  }
}


.media-grid .empty-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  text-align: center;
  width: 100%;
}
.media-grid .empty-icon {
  font-size: 56px;
  color: #e91e63;
  margin-bottom: 18px;
}
.media-grid .empty-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}
.media-grid .empty-content p {
  color: #888;
  font-size: 1rem;
}


.media-grid {
  min-height: 320px;
}
.media-grid .empty-content {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px !important;
  text-align: center;
  width: 100%;
  height: 100%;
}
.media-grid .empty-icon {
  font-size: 56px;
  color: #e91e63;
  margin-bottom: 18px;
}
.media-grid .empty-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}
.media-grid .empty-content p {
  color: #888;
  font-size: 1rem;
}

.tab-content#media-tab {
  position: relative;
  min-height: 320px;
}
.media-grid {
  min-height: 320px;
  height: 100%;
  position: relative;
}
.media-grid .empty-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  pointer-events: none;
}
.media-grid .empty-icon {
  font-size: 56px;
  color: #e91e63;
  margin-bottom: 18px;
}
.media-grid .empty-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}
.media-grid .empty-content p {
  color: #888;
  font-size: 1rem;
}

.media-grid .empty-icon {
  font-size: 56px;
  color: #bbb;
  margin-bottom: 18px;
}

.notifications-header {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.notifications-title {
  display: inline-block;
  font-family: 'Poppins', 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: #1a1a1a;
 
  padding: 0 18px;
  border-radius: 8px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-align: center;

  backdrop-filter: blur(2px);
}

.messages-list-title {
  font-family: 'Poppins', 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #e91e63;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}


.comment-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.comment-modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 420px;
  width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 0 0 12px 0;
  position: relative;
  display: flex;
  flex-direction: column;
}
.comment-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  background: none;
  border: none;
  font-size: 1.3em;
  color: #888;
  cursor: pointer;
  z-index: 2;
}
#commentsList {
  padding: 18px 18px 0 18px;
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 120px;
}
.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.comment-reply {
  margin-left: 38px;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 8px 8px 8px 0;
}
.comment-avatar img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eee;
}
.comment-body {
  flex: 1;
}
.comment-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1em;
  margin-bottom: 2px;
}
.comment-name {
  font-weight: 600;
  color: #222;
  text-decoration: none;
}
.verified-badge {
  color: #2196f3;
  margin-left: 2px;
  font-size: 1em;
}
.dev-badge {
  color: #bfa52f;
  margin-left: 2px;
  font-size: 1em;
}
.comment-time {
  color: #888;
  font-size: 0.92em;
  margin-left: 8px;
}
.comment-content {
  margin-bottom: 4px;
  word-break: break-word;
}
.comment-img img {
  margin-top: 4px;
  max-width: 120px;
  max-height: 120px;
  border-radius: 8px;
}
.comment-actions {
  margin-top: 2px;
}
.comment-actions button {
  background: none;
  border: none;
  color: #2196f3;
  font-size: 0.98em;
  cursor: pointer;
  padding: 0 4px;
  border-radius: 4px;
  transition: background 0.15s;
}
.comment-actions button:hover {
  background: #f0f7ff;
  
}
.comment-input-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 12px 0 0 0;
}
@media (max-width: 700px) {
  .main-content,
  .main-layout,
  .search-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  body.index-page .main-content,
  body.index-page .main-layout {
    margin-top: 16px !important;
  }
  body.notifications-page .main-content,
  body.notifications-page .main-layout,
  body.messages-page .main-content,
  body.messages-page .main-layout {
    margin-top: 0 !important;
  }
}

body.notifications-page .notifications-container,
body.messages-page .messages-container {
  margin-top: 0 !important;
}

@media (max-width: 700px) {
  .chat-input-container {
    padding-bottom: 64px !important; 
  }
}

body.notifications-page .notifications-container {
  margin-top: 76px !important; 
}
@media (max-width: 700px) {
  body.notifications-page .notifications-container {
    margin-top: 0 !important;
  }
}

.vn-panel {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  padding: 14px;
  margin: 10px 0 12px 0;
  max-width: 100%;
}

.vn-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1.02em;
  color: #e30613;
  font-family: inherit;
  font-weight: 700;
}

#vn-timer {
  margin-left: auto;
  font-size: 0.95em;
  font-family: inherit;
  font-weight: 700;
  color: #e30613;
  background: #f6f6f6;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e4e4e4;
}

.vn-progress-bar {
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 999px;
  margin: 8px 0 0 0;
  overflow: hidden;
}

.vn-progress {
  height: 100%;
  background: linear-gradient(90deg, #e30613, #ff4d4f);
  border-radius: 999px;
  width: 0%;
  transition: width 0.3s ease;
}

.vn-panel-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0;
}

.vn-btn {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #e9e9e9;
  font-size: 0.98em;
  font-weight: 700;
  background: #fff;
  color: #222;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  cursor: pointer;
  outline: none;
}

.vn-btn:hover, .vn-btn:focus {
  background: #f6f6f6;
  color: #111;
  border: 1px solid #dcdcdc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.vn-btn-stop {
  background: #e30613;
  color: #fff;
  border: 1px solid #d1000e;
}

.vn-btn-stop:hover, .vn-btn-stop:focus {
  background: #c10510;
  color: #fff;
  border: 1px solid #ab030e;
}
.vn-btn-close {
  background: #f3f3f3;
  color: #888;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 7px 18px;
  font-size: 1em;
  font-weight: 500;
  margin-top: 4px;
}

.vn-btn-close:hover, .vn-btn-close:focus {
  background: #e0e0e0;
  color: #b91d73;
}

#vn-preview {
  margin-top: 8px;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  max-width: 100%;
}

#vn-audio {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  background: none;
  outline: none;
  border: none;
}

.vn-panel {
  display: none;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(.4,0,.2,1), transform 0.25s cubic-bezier(.4,0,.2,1);
}
.vn-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.vn-panel-wrapper {
  transition: margin-bottom 0.25s cubic-bezier(.4,0,.2,1);
  margin-bottom: 0;
}
.vn-panel-wrapper.active {
  margin-bottom: 18px;
}

.btn-mic i {
  transition: transform 0.25s, opacity 0.18s;
}
.btn-mic .fa-times {
  transform: rotate(90deg) scale(1.1);
}
.btn-mic .fa-microphone {
  transform: rotate(0deg) scale(1);
}

.post-vn-audio {
  width: 100%;
  max-width: 100%;
  background: #fff7fb;
  border-radius: 8px;
  box-shadow: 0 1px 6px 0 rgba(249, 83, 198, 0.06);
  border: 1px solid #fbcfe8;
  padding: 12px 14px 10px 14px;
  margin-top: 10px;
}
.vn-audio-label {
  font-size: 0.97em;
  color: #b91d73;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-vn-audio audio {
  width: 100%;
  max-width: 100%;
  border-radius: 5px;
  background: #fff1fa;
  border: 1px solid #fbcfe8;
  outline: none;
  margin: 0 auto;
  display: block;
  height: 36px;
}
@media (max-width: 600px) {
  .post-vn-audio {
    padding: 8px 4px 6px 4px;
  }
}