/* Header & Navigation */
.header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: var(--transition);
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-image {
  height: 45px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--elite-yellow), var(--light-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.mobile-menu-toggle span {
  width: 32px;
  height: 3px;
  background: var(--elite-yellow);
  border-radius: 10px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--elite-yellow);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--elite-yellow);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Dropdown Menu Styles */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: var(--transition);
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  min-width: 220px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 1000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  list-style: none;
  margin-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-secondary);
  transition: var(--transition);
  font-weight: 500;
}

.nav-dropdown-menu a:hover {
  background: var(--bg-hover);
  color: var(--elite-yellow);
  padding-left: 1.5rem;
}

.nav-dropdown-menu a::after {
  display: none;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0.5rem 0;
}

/* User Card Component */
.user-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.user-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  width: 100%;
}

.user-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow);
  border-color: var(--primary-navy);
}

.user-card-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: var(--bg-tertiary);
}

.user-card-online {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 12px;
  height: 12px;
  background: var(--success);
  border-radius: 50%;
  border: 2px solid var(--bg-secondary);
  box-shadow: 0 0 10px var(--success);
}

.user-card-content {
  padding: 1.5rem;
}

.user-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.user-card-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.user-card-info > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.user-card-bio {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.user-card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.user-card-tag {
  padding: 4px 10px;
  background: var(--dark-navy);
  border: 1px solid var(--primary-navy);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--text-primary);
  white-space: nowrap;
}

.user-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.user-card-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  align-items: center;
  flex-wrap: wrap;
}

.user-card-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* VIP Card Styling - Golden Border & Premium Effects */
.user-card-vip {
  border: 3px solid transparent;
  background: linear-gradient(var(--bg-secondary), var(--bg-secondary))
      padding-box,
    linear-gradient(135deg, #ffd700, #ffa500, #ffd700) border-box;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), 0 0 40px rgba(255, 165, 0, 0.2);
  position: relative;
}

.user-card-vip::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, #ffd700, #ffa500, #ffd700);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.1;
  animation: vip-glow 3s ease-in-out infinite;
}

@keyframes vip-glow {
  0%,
  100% {
    opacity: 0.1;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  }
  50% {
    opacity: 0.2;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  }
}

.user-card-vip:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5), 0 0 60px rgba(255, 165, 0, 0.3),
    0 15px 50px var(--shadow);
  border-color: transparent;
}

/* VIP Badge Premium Styling */
.vip-badge-premium {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #000;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  z-index: 10;
  animation: vip-badge-pulse 2s ease-in-out infinite;
}

@keyframes vip-badge-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.vip-badge-premium .vip-crown {
  font-size: 1rem;
  animation: vip-crown-rotate 3s linear infinite;
}

@keyframes vip-crown-rotate {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

/* VIP Card Name Styling */
.user-card-vip .user-card-name {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* Sidebar Filter */
.sidebar {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.filter-group {
  margin-bottom: 2.5rem;
}

.filter-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.filter-checkbox input[type="checkbox"],
.filter-checkbox input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--elite-yellow);
}

.filter-checkbox label {
  cursor: pointer;
  color: var(--text-secondary);
}

.filter-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

/* Chat Interface */
.chat-container {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2rem;
  height: calc(100vh - 150px);
  margin: 2rem 0;
}

.chat-sidebar {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chat-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.chat-list {
  flex: 1;
  overflow-y: auto;
}

.chat-item {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chat-item:hover {
  background: var(--bg-tertiary);
}

.chat-item.active {
  background: var(--bg-tertiary);
  border-left: 3px solid var(--primary-red);
}

.chat-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-item-content {
  flex: 1;
}

.chat-item-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.chat-item-message {
  font-size: 0.875rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-unread {
  background: var(--primary-navy);
  color: white;
  padding: 4px 8px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.chat-main {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chat-messages {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  display: flex;
  gap: 1rem;
  max-width: 70%;
}

.message.sent {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.message-content {
  background: var(--bg-tertiary);
  padding: 1rem 1.5rem;
  border-radius: 16px;
}

.message.sent .message-content {
  background: linear-gradient(135deg, var(--primary-navy), var(--dark-navy));
}

.message-text {
  margin-bottom: 0.5rem;
}

.message-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chat-input-container {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 1rem;
}

.chat-input {
  flex: 1;
  padding: 12px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  color: var(--text-primary);
  resize: none;
}

.chat-send-btn {
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary-navy), var(--dark-navy));
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.chat-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow);
}

/* Profile Page */
.profile-header {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  margin: 2rem 0;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.profile-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--elite-yellow);
  box-shadow: 0 8px 30px var(--shadow);
  flex-shrink: 0;
}

.profile-info {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.profile-username {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  align-items: center;
}

.profile-meta > span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.profile-bio {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.profile-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-link {
  padding: 10px 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.social-link:hover {
  border-color: var(--elite-yellow);
  transform: translateY(-2px);
  color: var(--elite-yellow);
}

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 2rem 0;
}

.stat {
  text-align: center;
  flex-shrink: 0;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--elite-yellow);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Stat Like Button */
.stat-like-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  text-decoration: none;
  display: inline-block;
}

.stat-like-btn:hover {
  transform: translateY(-4px);
}

.stat-like-btn .stat-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.stat-like-btn .like-icon {
  font-size: 2rem;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}

.stat-like-btn:hover .like-icon,
.stat-like-btn.liked .like-icon {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.2);
}

.stat-like-btn.liked .like-icon {
  animation: pulse 0.5s ease;
}

.profile-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.profile-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
}

.profile-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px var(--shadow);
}

/* Profile Actions - Like Button */
.profile-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-like {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 28px;
  background: var(--bg-tertiary);
  border: 2px solid var(--elite-yellow);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-like:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--shadow);
}

.btn-like.liked {
  background: linear-gradient(135deg, var(--elite-yellow), var(--light-yellow));
  border-color: var(--elite-yellow);
  color: var(--bg-black);
}

.like-icon {
  font-weight: 700;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.btn-like.liked .like-icon {
  animation: pulse 0.5s ease;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

.like-count {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Comments Section */
.profile-comments-section {
  background: var(--bg-secondary);
}

.comment-form {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.comment-input {
  width: 100%;
  min-height: 100px;
  padding: 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  transition: var(--transition);
}

.comment-input:focus {
  outline: none;
  border-color: var(--elite-yellow);
  background: var(--bg-black);
}

.comment-char-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-tertiary);
  border-radius: 12px;
  transition: var(--transition);
}

.comment-item:hover {
  background: var(--bg-hover);
}

.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-navy);
  flex-shrink: 0;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.comment-username {
  font-weight: 600;
  color: var(--elite-yellow);
  text-decoration: none;
  transition: var(--transition);
}

.comment-username:hover {
  color: var(--light-red);
}

.comment-time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.comment-content {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.btn-delete-comment {
  padding: 4px 12px;
  background: transparent;
  border: 1px solid var(--error);
  border-radius: 6px;
  color: var(--error);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-delete-comment:hover {
  background: var(--error);
  color: white;
}

.no-comments {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 1rem;
  font-style: italic;
}

/* Ad Spaces */
.ad-space {
  background: var(--bg-tertiary);
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);
  margin: 1rem 0;
  font-size: 0.875rem;
}

.ad-space-top {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-space-sidebar {
  height: 250px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--elite-yellow);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--elite-yellow);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
}

/* Countries Grid */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.country-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.country-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-navy);
  box-shadow: 0 10px 30px var(--shadow);
}

.country-flag {
  font-size: 4rem;
  line-height: 1;
}

.country-info {
  width: 100%;
}

.country-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.country-count {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

/* Mobile Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Navbar extra styles */
.nav-vip-link {
  background: linear-gradient(135deg, #ffd700, #ffa500) !important;
  color: #000 !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  border-radius: 16px;
  padding: 0.4rem 0.8rem !important;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.25);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-vip-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(255, 215, 0, 0.4);
  color: #000 !important;
}

.nav-vip-link::after {
  display: none !important;
}

/* Swipe/Match Navigation Link */
.nav-match-link {
  background: linear-gradient(135deg, var(--primary-navy), var(--dark-navy)) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  border-radius: 16px;
  padding: 0.4rem 0.8rem !important;
  box-shadow: 0 2px 8px rgba(220, 20, 60, 0.25);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-match-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(0, 31, 63, 0.4);
  color: #fff !important;
}

.nav-match-link::after {
  display: none !important;
}

/* Bottom Navigation Bar */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--bottom-nav-height);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  max-width: 100%;
  padding: 0 10px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  text-decoration: none;
  color: var(--text-muted);
  transition: var(--transition);
  padding: 8px;
  position: relative;
  min-width: 48px;
  min-height: 48px;
}

.bottom-nav-item.active {
  color: var(--primary-red);
}

.bottom-nav-item:hover {
  color: var(--light-red);
}

.bottom-nav-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.bottom-nav-label {
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
}

.bottom-nav-badge {
  position: absolute;
  top: 5px;
  right: 50%;
  transform: translateX(10px);
  background: var(--primary-red);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

/* Sidebar Mobile Toggle */
.sidebar-mobile-toggle {
  display: none;
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 20px);
  right: 20px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--shadow);
  z-index: 998;
  transition: var(--transition);
}

.sidebar-mobile-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px var(--shadow);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  /* Show hamburger on tablet */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Hide desktop nav links, show them in mobile menu */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 80px 0 20px;
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 1000;
    list-style: none;
  }

  .nav-links.mobile-open {
    right: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  }

  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links > li > a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
  }

  .nav-links > li > a::after {
    display: none;
  }

  .nav-links > li > a:hover {
    background: var(--bg-tertiary);
    color: var(--primary-red);
    padding-left: 2rem;
  }

  /* Mobile dropdown (accordion style) */
  .nav-dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown.active .nav-dropdown-menu {
    max-height: 500px;
  }

  .nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu a {
    padding: 0.875rem 2.5rem;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-dropdown-menu a:hover {
    padding-left: 3rem;
  }

  .dropdown-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Show bottom navigation */
  .bottom-nav {
    display: block;
  }

  /* Adjust body padding for bottom nav */
  body {
    padding-bottom: var(--bottom-nav-height);
  }

  /* Show sidebar toggle button */
  .sidebar-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile sidebar */
  .sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    border: none;
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 1001;
    padding: 90px 1.5rem 1.5rem;
  }

  .sidebar.mobile-open {
    left: 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
  }

  .sidebar-close-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
  }

  .sidebar-close-btn:hover {
    color: var(--primary-red);
  }

  .filter-actions .btn {
    width: 100%;
  }

  /* Chat mobile adjustments */
  .chat-container {
    grid-template-columns: 1fr;
    height: calc(
      100vh - var(--header-height) - var(--bottom-nav-height) - 40px
    );
  }

  .chat-sidebar {
    display: none;
  }

  .chat-sidebar.mobile-visible {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1001;
    border-radius: 0;
  }

  /* Profile mobile adjustments */
  .profile-header {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    margin: 1rem 0;
    align-items: center;
    gap: 1.5rem;
  }

  .profile-avatar {
    width: 150px;
    height: 150px;
    border-width: 3px;
  }

  .profile-info {
    width: 100%;
  }

  .profile-username {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .profile-meta {
    justify-content: center;
    gap: 1rem;
    font-size: 0.85rem;
    flex-direction: column;
  }

  .profile-meta > span {
    width: 100%;
    justify-content: center;
  }

  .profile-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
  }

  .profile-social-links {
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
  }

  .social-link {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .profile-stats {
    gap: 1.5rem;
    padding: 1.5rem 0;
    justify-content: center;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .profile-photos {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
  }

  .profile-photo {
    height: 180px;
    border-radius: 8px;
  }

  /* User cards mobile */
  .user-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .user-card {
    border-radius: 12px;
  }

  .user-card-image {
    height: 220px;
  }

  .user-card-content {
    padding: 1rem;
  }

  .user-card-name {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .user-card-info {
    font-size: 0.8rem;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .user-card-info > span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .user-card-bio {
    font-size: 0.8rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-bottom: 0.75rem;
  }

  .user-card-tags {
    gap: 0.4rem;
    margin-bottom: 0.75rem;
  }

  .user-card-tag {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .user-card-footer {
    padding-top: 0.75rem;
    gap: 0.5rem;
  }

  .user-card-stats {
    font-size: 0.75rem;
    gap: 1rem;
    width: 100%;
  }

  .user-card-vip {
    font-size: 0.7rem;
    padding: 3px 10px;
  }

  .user-card-online {
    width: 10px;
    height: 10px;
  }

  /* Header mobile height */
  .header {
    padding: 0.75rem 0;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .logo-image {
    height: 35px;
  }

  /* Form mobile */
  .form-control {
    padding: 12px 14px;
    font-size: 16px; /* Prevent zoom on iOS */
  }

  /* Countries grid mobile */
  .countries-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }

  .country-card {
    padding: 1.5rem 1rem;
  }

  .country-flag {
    font-size: 3rem;
  }
}

/* Small mobile (< 375px) */
@media (max-width: 374px) {
  .nav-links {
    width: 100%;
    max-width: 100vw;
  }

  .sidebar {
    width: 100%;
    max-width: 100vw;
  }

  .bottom-nav-label {
    display: none;
  }

  .user-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog Pages Responsive */
.blog-layout {
  display: flex;
  gap: 2rem;
}

.blog-sidebar {
  width: 250px;
  flex-shrink: 0;
}

.blog-content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  /* Stack blog sidebar on mobile */
  .blog-layout {
    flex-direction: column;
    gap: 1.5rem;
  }

  .blog-sidebar {
    width: 100%;
    order: 2; /* Sidebar mobilde content'in altında */
  }

  .blog-sidebar .card {
    position: static !important; /* Sticky kaldır mobile'da */
  }

  .blog-content {
    order: 1;
  }

  /* Blog post grid responsive */
  .blog-content > div[style*="grid"] {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  /* Single column on smaller mobile */
  .blog-content > div[style*="grid"] {
    grid-template-columns: 1fr !important;
  }
}

/* Admin Layout */
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 260px;
  background: var(--bg-secondary);
  padding: 2rem 1rem;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  top: 0;
  left: 0;
  z-index: 100;
}
.admin-sidebar h2 {
  margin-bottom: 2rem;
  color: #6366f1;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0 0.5rem;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.admin-nav a {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}
.admin-nav a:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}
.admin-nav a.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  border: none;
}
.admin-nav a.active:hover {
  color: white;
}
.admin-nav a.sub-link {
  padding-left: 2.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.admin-nav a.sub-link:hover {
  color: var(--text-primary);
}
.admin-nav a.sub-link.active {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  box-shadow: none;
}
.admin-nav a.sub-link.active:hover {
  color: #6366f1;
}
.admin-content {
  flex: 1;
  padding: 2rem;
  background: #0a0a0a;
  margin-left: 260px;
}

/* Responsive Admin */
@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .admin-sidebar.active {
    transform: translateX(0);
  }
  .admin-content {
    margin-left: 0;
  }
}
