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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.4;
  color: #333;
  background-color: #f5f5f5;
}

h1 {
  font-size: 20px;
}

/* Static Page Styles */
.static-content {
  background: var(--white);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-top: 20px;
}

.static-email {
  display: block;
  background: var(--primary-color);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 25px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.static-email:hover {
  background: #e55a8a;
  color: var(--white);
}

.static-content p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 16px;
  color: var(--text-color);
}

.static-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-top: 30px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .static-content {
    padding: 20px;
    margin: 15px;
    border-radius: 8px;
  }
  
  .static-email {
    font-size: 16px;
    padding: 12px 20px;
  }
  
  .static-content p {
    font-size: 15px;
  }
  
  .static-content h3 {
    font-size: 16px;
    margin-top: 25px;
  }
}
body.no-scroll {
  overflow: hidden;
}

:root {
  --primary-color: #ff6b9d;
  --secondary-color: #4ecdc4;
  --text-color: #333;
  --bg-color: #f5f5f5;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.header {
  background: var(--white);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-color);
  text-decoration: none;
}
.header .logo .logo-pink {
  background: linear-gradient(135deg, #ff6b9d, #ff8a65);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header .search-container {
  position: relative;
  flex: 1;
  max-width: 300px;
  margin: 0 20px;
}
.header .search-container .search-input {
  width: 100%;
  padding: 10px 45px 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  font-size: 14px;
  outline: none;
}
.header .search-container .search-input:focus {
  border-color: var(--primary-color);
}
.header .search-container .search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: #4ade80;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.header .search-container .search-btn:hover {
  background: #22c55e;
}
.header .header-search-btn {
  background: #4ade80;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  margin-left: auto;
}
.header .header-search-btn:hover {
  background: #22c55e;
}
.header .hamburger-icon {
  display: block;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

.sidebar {
  position: fixed;
  left: -280px;
  top: 0;
  width: 280px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 200;
  transition: left 0.3s ease;
  overflow-y: auto;
}

/* Sidebar scrollbar styling - auto-hide */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.sidebar:hover::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2) !important;
}
.sidebar.is-active {
  left: 0;
}
.sidebar .sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}
.sidebar .sidebar-header .logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-color);
  text-decoration: none;
}
.sidebar .sidebar-header .logo .logo-pink {
  background: linear-gradient(135deg, #ff6b9d, #ff8a65);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sidebar .sidebar-nav {
  padding: 20px 0;
}
.sidebar .sidebar-nav .nav-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--text-color);
  text-decoration: none;
  transition: background-color 0.2s;
}
.sidebar .sidebar-nav .nav-item:hover {
  background-color: #f8f8f8;
}
.sidebar .sidebar-nav .nav-item .nav-icon {
  margin-right: 12px;
  width: 20px;
  text-align: center;
}
.sidebar .sidebar-nav .sidebar-search-btn {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  margin: 10px 20px;
  background: #4ade80;
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s;
}
.sidebar .sidebar-nav .sidebar-search-btn:hover {
  background: #22c55e;
}
.sidebar .sidebar-nav .sidebar-search-btn .nav-icon {
  margin-right: 12px;
  width: 20px;
  text-align: center;
}
.sidebar .sidebar-models {
  border-top: 1px solid var(--border-color);
}
.sidebar .sidebar-models .models-title {
  padding: 15px 20px 10px;
  font-size: 14px;
  color: #666;
  font-weight: 600;
}
.sidebar .sidebar-models .model-item {
  display: flex;
  align-items: center;
  padding: 6px 20px;
  color: var(--text-color);
  text-decoration: none;
  transition: background-color 0.2s;
}
.sidebar .sidebar-models .model-item:hover {
  background-color: #f8f8f8;
}
.sidebar .sidebar-models .model-item .model-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
  background: linear-gradient(45deg, #ff6b9d, #ff8a65);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar .sidebar-models .model-item .model-avatar img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--white);
}
.sidebar .sidebar-models .model-item .model-name {
  font-size: 14px;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
  display: none;
}
.sidebar-overlay.is-active {
  display: block;
}

.main-content {
  padding: 20px 0;
  min-height: calc(100vh - 70px);
}

.search-form-container {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}
.search-form-container .search-form {
  position: relative;
  width: 100%;
  max-width: 500px;
}
.search-form-container .search-form .search-form-input {
  width: 100%;
  padding: 15px 60px 15px 20px;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  font-size: 16px;
  outline: none;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.search-form-container .search-form .search-form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 2px 12px rgba(255, 107, 157, 0.15);
}
.search-form-container .search-form .search-form-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: #4ade80;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.search-form-container .search-form .search-form-btn:hover {
  background: #22c55e;
}

.posts-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.post-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 600px;
}
.post-card .post-header {
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.post-card .post-header .post-author-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-card .post-header .post-author {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}
.post-card .post-header .post-author .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 12px;
  background: linear-gradient(45deg, #ff6b9d, #ff8a65);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card .post-header .post-author .author-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--white);
}
.post-card .post-header .post-author .author-name {
  font-weight: 600;
  font-size: 14px;
}
.post-card .post-header .share-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #666;
}
.post-card .post-images {
  position: relative;
  padding: 0 15px 15px 15px;
}
.post-card .post-images .image-grid {
  display: grid;
  gap: 2px;
  position: relative;
}
.post-card .post-images .image-grid.single {
  grid-template-columns: 1fr;
}

.post-card .post-images .image-grid.single .post-image {
  object-fit: cover;
  object-position: center center;
}
.post-card .post-images .image-grid.double {
  grid-template-columns: 1fr 1fr;
}

.post-card .post-images .image-grid.double .post-image {
  object-fit: cover;
  object-position: center center;
}
.post-card .post-images .image-grid.complex {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.post-card .post-images .image-grid.complex a:first-child {
  grid-row: 1/3;
}
.post-card .post-images .image-grid.complex a:first-child .post-image {
  height: 400px;
  object-fit: cover;
  object-position: center center;
}
.post-card .post-images .image-grid.complex a:nth-child(2) .post-image,
.post-card .post-images .image-grid.complex a:nth-child(3) .post-image {
  height: 195px;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 480px) {
  .post-card .post-images .image-grid.complex a:first-child .post-image {
    height: 280px;
    object-fit: cover;
    object-position: center center;
  }
  .post-card .post-images .image-grid.complex a:nth-child(2) .post-image,
  .post-card .post-images .image-grid.complex a:nth-child(3) .post-image {
    height: 135px;
    object-fit: cover;
    object-position: center center;
  }
}
.post-card .post-images .image-grid.stacked {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 2px;
}
.post-card .post-images .image-grid.stacked .post-image:first-child {
  height: auto;
  width: 100%;
  grid-column: 1;
  grid-row: 1;
}
.post-card .post-images .image-grid.stacked .bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  grid-column: 1;
  grid-row: 2;
}
.post-card .post-images .image-grid.stacked .bottom-row .post-image {
  height: 280px;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 480px) {
  .post-card .post-images .image-grid.stacked .post-image:first-child {
    height: auto;
    width: 100%;
  }
  .post-card .post-images .image-grid.stacked .bottom-row .post-image {
    height: 200px;
  }
}
.post-card .post-images .image-grid .post-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.post-card .post-images .image-grid .photo-counter {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}
.post-card .post-images .image-grid .source-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary-color);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  text-transform: lowercase;
  backdrop-filter: blur(10px);
}
.post-card .post-footer {
  padding: 15px;
}
.post-card .post-footer .view-all-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #4285f4;
  color: var(--white);
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s;
}
.post-card .post-footer .view-all-btn:hover {
  background: #3367d6;
}

.profile-container {
  max-width: 800px;
  margin: 0 auto;
}

.profile-header {
  background: var(--white);
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
}
.profile-header .profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 15px;
  object-fit: cover;
  border: 4px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box, linear-gradient(45deg, #ff6b9d, #ff8a65) border-box;
}
.profile-header .profile-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}
.profile-header .profile-username {
  color: #666;
  margin-bottom: 10px;
}

.profile-header .profile-last-updated {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  justify-content: center;
}

.profile-header .profile-last-updated svg {
  color: #4ade80;
}
.profile-header .profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 15px;
}
.profile-header .profile-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}
.profile-header .profile-badge.instagram {
  background: #f8d7da;
  color: #721c24;
}
.profile-header .profile-badge.onlyfans {
  background: #d1ecf1;
  color: #0c5460;
}
.profile-header .profile-badge.fansly {
  background: #e2e3ff;
  color: #3730a3;
}
.profile-header .profile-badge.tiktok {
  background: #d4edda;
  color: #155724;
}
.profile-header .profile-badge.reddit {
  background: #ffeaa7;
  color: #856404;
}
.profile-header .profile-badge.subs {
  background: #e8d5ff;
  color: #8b5cf6;
}
.profile-header .profile-stats {
  font-size: 16px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.profile-header .profile-stats .stat-item {
  display: inline-block;
}
.profile-header .profile-stats .stat-item strong {
  color: var(--text-color);
  font-weight: 700;
}
.profile-header .profile-stats .stat-divider {
  color: #ccc;
  font-weight: 300;
}

/* Photo Page Styles */
.photo-post .post-header {
  padding: 15px 15px 5px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.photo-post .post-actions {
  display: flex;
  gap: 10px;
}

.photo-post .action-btn {
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #666;
}

.photo-post .action-btn:hover {
  background: #f8f9fa;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.photo-post .action-btn.favorite-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.photo-post .action-btn.share-btn.copied {
  background: #4ade80;
  color: var(--white);
  border-color: #4ade80;
}

/* Toast notification for URL copied */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4ade80;
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-notification.hide {
  transform: translateX(100%);
  opacity: 0;
}

.photo-post .post-header .post-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.photo-post .post-header .photo-number {
  color: #666;
  font-size: 14px;
  font-weight: normal;
}

.photo-post .image-grid.photo-single {
  position: relative;
  display: block;
  padding: 5px 15px 5px 15px;
}

.photo-post .post-image.photo-main-image {
  width: 100%;
  height: auto !important;
  border-radius: 12px;
  display: block;
  object-fit: unset !important;
}

.photo-post .post-footer {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: stretch;
  padding: 5px 15px 15px 15px;
}

.photo-post .photo-info-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.photo-post .photo-username {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  text-align: left;
}

.photo-post .photo-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.photo-post .stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
}

.photo-post .stat-item svg {
  opacity: 0.7;
}

.photo-post .username-tag {
  background: #f0f0f0;
  color: #666;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  display: inline-block;
  transition: all 0.2s;
}

.photo-post .username-tag:hover {
  background: var(--primary-color);
  color: var(--white);
}

.photo-post .photo-navigation {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
}

.photo-post .nav-btn {
  flex: 1;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.photo-post .nav-btn-prev {
  background: #4285f4;
  color: var(--white);
}

.photo-post .nav-btn-prev:hover {
  background: #3367d6;
}

.photo-post .nav-btn-next {
  background: var(--primary-color);
  color: var(--white);
}

.photo-post .nav-btn-next:hover {
  background: #e55a8a;
}

/* Mobile adjustments for photo page */
@media (max-width: 480px) {
  .photo-post .nav-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

.profile-actions {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.profile-view-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}
.profile-view-stats .view-stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #666;
}
.profile-view-stats .view-stat-item svg {
  color: #666;
}

.media-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.media-gallery .gallery-grid .gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
}
.media-gallery .gallery-grid .gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Обеспечиваем правильные кликабельные области для всех изображений-ссылок */
.post-card .post-images a {
  display: block;
  border-radius: 8px;
  min-height: 44px; /* Минимум для доступности */
  min-width: 44px;
}

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

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pagination .page-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 2px solid var(--border-color);
  background: var(--white);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pagination .page-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 2px 12px rgba(255, 107, 157, 0.25);
}

/* Mobile optimizations for pagination */
@media (max-width: 767px) {
  .pagination {
    gap: 6px;
    margin-top: 30px;
  }
  
  .pagination .page-btn {
    min-width: 48px;
    height: 48px;
    font-size: 16px;
    border-radius: 24px;
  }
}

.mobile-featured-models {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  margin-bottom: 15px;
  padding: 8px;
}
.mobile-featured-models .models-title {
  font-size: 13px;
  color: #666;
  font-weight: 600;
  margin-bottom: 6px;
  text-align: left;
}
.mobile-featured-models .models-container {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 3px;
  justify-content: center;
}
.mobile-featured-models .models-container::-webkit-scrollbar {
  height: 2px;
}
.mobile-featured-models .models-container::-webkit-scrollbar-track {
  background: transparent;
}
.mobile-featured-models .models-container::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 157, 0.3);
  border-radius: 1px;
}
.mobile-featured-models .model-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 66px;
  padding: 4px 2px;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s;
}
.mobile-featured-models .model-item:hover {
  background-color: #f8f8f8;
}
.mobile-featured-models .model-item .model-avatar {
  width: 50px;
  height: 50px;
  margin: 0 0 4px 0;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b9d, #ff8a65);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-featured-models .model-item .model-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--white);
}
.mobile-featured-models .model-item .model-name {
  font-size: 10px;
  line-height: 1.1;
  max-width: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.page-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.search-page-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-color);
  text-align: left;
  margin-bottom: 40px;
}

.search-main-container {
  max-width: 800px;
  margin: 0 auto;
}

.search-main-form {
  margin-bottom: 40px;
}
.search-main-form .search-main-input {
  width: 100%;
  padding: 20px 25px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 18px;
  background: var(--white);
  color: var(--text-color);
  margin-bottom: 20px;
  outline: none;
  transition: border-color 0.2s;
}
.search-main-form .search-main-input:focus {
  border-color: var(--primary-color);
}
.search-main-form .search-main-input::placeholder {
  color: #999;
}
.search-main-form .search-main-btn {
  width: 100%;
  padding: 18px 25px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}
.search-main-form .search-main-btn:hover {
  background: #e55a8a;
}

.model-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}
.model-buttons .model-btn {
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 20px;
  color: #b8860b;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.model-buttons .model-btn:hover {
  background: #f8f8f8;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.search-results-container {
  margin-top: 50px;
  max-width: 800px;
  margin: 50px auto 0;
}

.search-results-header {
  margin-top: 20px;
  margin-bottom: 15px;
}
.search-results-header .results-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 480px) {
  .search-results-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}
.search-results-grid .model-result-card {
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.search-results-grid .model-result-card .model-result-link {
  display: block;
  text-decoration: none;
  color: var(--white);
  width: 100%;
  height: 100%;
  position: relative;
}
.search-results-grid .model-result-card .model-result-avatar {
  width: 100%;
  height: 100%;
}
.search-results-grid .model-result-card .model-result-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.search-results-grid .model-result-card .model-result-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 20px 15px 12px;
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.search-results-grid .no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 16px;
}

/* More Button Styles */
.more-button-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.more-btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  text-transform: lowercase;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(255, 107, 157, 0.3);
}


.more-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

/* Mobile optimizations for more button */
@media (max-width: 767px) {
  .more-btn {
    padding: 18px 35px;
    font-size: 18px;
    min-width: 140px;
    margin: 0 15px;
  }
  
  .more-button-container {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}

.photo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.photo-breadcrumb {
  display: flex;
  align-items: center;
  font-size: 14px;
}
.photo-breadcrumb .breadcrumb-link {
  color: var(--primary-color);
  text-decoration: none;
}
.photo-breadcrumb .breadcrumb-link:hover {
  text-decoration: underline;
}
.photo-breadcrumb .breadcrumb-separator {
  margin: 0 8px;
  color: #666;
}
.photo-breadcrumb .breadcrumb-current {
  color: #666;
}

.photo-actions {
  display: flex;
  gap: 10px;
}

.action-btn {
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #666;
}
.action-btn:hover {
  background: #f8f8f8;
  color: var(--primary-color);
}
.action-btn.favorite-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.action-btn.share-btn.copied {
  background: #4ade80;
  color: var(--white);
  border-color: #4ade80;
}

.photo-container {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.photo-main {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.photo-main .main-photo {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.photo-nav:hover {
  background: rgba(0, 0, 0, 0.9);
}
.photo-nav.photo-prev {
  left: 20px;
}
.photo-nav.photo-next {
  right: 20px;
}

.photo-info {
  padding: 20px;
}

.photo-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.photo-author .author-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}
.photo-author .author-link .author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 12px;
  background: linear-gradient(45deg, #ff6b9d, #ff8a65);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-author .author-link .author-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--white);
}
.photo-author .author-link .author-details {
  display: flex;
  flex-direction: column;
}
.photo-author .author-link .author-details .author-name {
  font-weight: 600;
  font-size: 16px;
}
.photo-author .author-link .author-details .author-username {
  font-size: 14px;
  color: #666;
}
.photo-author .follow-btn {
  padding: 8px 20px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.photo-author .follow-btn:hover {
  background: #e55a8a;
}


.photo-description p {
  margin-bottom: 10px;
  line-height: 1.5;
  color: var(--text-color);
}

.photo-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.photo-tags .tag {
  background: #f0f0f0;
  color: #666;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  text-decoration: none;
}
.photo-tags .tag:hover {
  background: var(--primary-color);
  color: var(--white);
}

.related-section {
  margin-top: 50px;
}
.related-section .section-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--text-color);
}

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

.photo-header {
  margin-bottom: 20px;
}

.photo-author-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.photo-meta {
  flex: 1;
}

.photo-author-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 4px 0;
}

.photo-number {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.photo-main {
  margin-bottom: 30px;
}

.photo-image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

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

.photo-username {
  font-size: 16px;
  color: var(--text-color);
  font-weight: 500;
  text-align: left;
  padding-left: 5px;
}


.nav-btn {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: none;
}

.nav-btn-prev {
  background: #4a90e2;
  color: var(--white);
}

.nav-btn-prev:hover {
  background: #357abd;
}

.nav-btn-next {
  background: #e91e63;
  color: var(--white);
}

.nav-btn-next:hover {
  background: #c2185b;
}

@media (min-width: 768px) {
  .header {
    display: block;
    position: relative;
    margin-left: 280px;
  }
  .header .logo {
    display: none;
  }
  .header .hamburger-icon {
    display: none;
  }
  .sidebar .sidebar-search-btn {
    display: none;
  }
  .sidebar .sidebar-models .models-container {
    display: block;
    overflow-x: visible;
  }
  .sidebar .sidebar-models .model-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    min-width: auto;
    padding: 6px 20px;
  }
  .sidebar .sidebar-models .model-item .model-avatar {
    width: 40px;
    height: 40px;
    margin: 0 12px 0 0;
  }
  .sidebar .sidebar-models .model-item .model-avatar img {
    width: 34px;
    height: 34px;
  }
  .sidebar .sidebar-models .model-item .model-name {
    font-size: 14px;
    line-height: 1.4;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
  .sidebar {
    position: fixed;
    left: 0;
    width: 280px;
  }
  .sidebar.is-active {
    left: 0;
  }
  .sidebar-overlay {
    display: none !important;
  }
  .main-content {
    margin-left: 280px;
    padding: 30px;
  }
  .container {
    max-width: 1200px;
    padding: 0 20px;
  }
  .posts-grid {
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
  }
  .post-card {
    max-width: 700px;
  }
  .post-images .image-grid .post-image {
    height: 400px;
  }
  .media-gallery .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .profile-header .profile-avatar {
    width: 150px;
    height: 150px;
  }
  .search-main-form .search-main-input {
    font-size: 20px;
    padding: 25px 30px;
  }
  .search-main-form .search-main-btn {
    font-size: 20px;
    padding: 20px 30px;
  }
  .search-results-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .search-results-grid .model-result-card .model-result-name {
    font-size: 18px;
    padding: 25px 20px 15px;
  }
  .photo-container {
    padding: 0 30px;
  }
  .photo-header {
    margin-bottom: 30px;
  }
  .photo-author-name {
    font-size: 24px;
  }
  .photo-number {
    font-size: 16px;
  }
  .photo-main {
    margin-bottom: 40px;
  }
  .photo-username {
    font-size: 18px;
  }
  .nav-btn {
    padding: 18px 30px;
    font-size: 18px;
  }
}
@media (min-width: 1200px) {
  .main-content {
    padding: 40px;
  }
  .media-gallery .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/*# sourceMappingURL=main.css.map */
