
  :root {
    --blue:       #3B82F6;
    --blue-light: #EFF6FF;
    --blue-mid:   #BFDBFE;
    --pink:       #EC4899;
    --pink-light: #FDF2F8;
    --pink-mid:   #FBCFE8;
    --white:      #FFFFFF;
    --gray-50:    #F9FAFB;
    --gray-100:   #F3F4F6;
    --gray-200:   #E5E7EB;
    --gray-400:   #9CA3AF;
    --gray-600:   #4B5563;
    --gray-800:   #1F2937;
    --gradient:   linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
    --gradient-soft: linear-gradient(135deg, #EFF6FF 0%, #FDF4FF 50%, #FDF2F8 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow:    0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
    --radius:    16px;
    --radius-sm: 10px;
  }

  * { box-sizing: border-box; }
  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--gray-800);
    min-height: 100vh;
  }
  h1,h2,h3,h4,h5,h6 { font-family: 'Plus Jakarta Sans', sans-serif; }

  /* ── PAGE SWITCHER ── */
  .page { display: none; }
  .page.active { display: block; }

  /* ── NAVBAR ── */
  .navbar-custom {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
  }
  .navbar-brand-custom {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--gray-800) !important;
    text-decoration: none;
    display: flex; align-items: center; gap: 8px;
    cursor: pointer;
  }
  .brand-dot {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px; font-weight: 700;
  }
  .brand-span { color: var(--pink); }
  .nav-link-custom {
    color: var(--gray-600) !important;
    font-size: .875rem; font-weight: 500;
    padding: 6px 14px !important;
    border-radius: 20px;
    transition: all .2s;
    cursor: pointer;
    text-decoration: none;
  }
  .nav-link-custom:hover { color: var(--blue) !important; background: var(--blue-light); }
  .nav-link-custom.active { color: var(--blue) !important; background: var(--blue-light); }
  .btn-nav-login {
    background: transparent;
    border: 1.5px solid var(--gray-200);
    color: var(--gray-700) !important;
    padding: 6px 18px !important;
    border-radius: 20px;
    font-size: .875rem; font-weight: 600;
    transition: all .2s;
    cursor: pointer;
  }
  .btn-nav-login:hover { border-color: var(--blue); color: var(--blue) !important; }
  .btn-nav-reg {
    background: var(--gradient);
    border: none;
    color: #fff !important;
    padding: 6px 20px !important;
    border-radius: 20px;
    font-size: .875rem; font-weight: 600;
    box-shadow: 0 4px 15px rgba(59,130,246,.3);
    transition: all .2s;
    cursor: pointer;
  }
  .btn-nav-reg:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59,130,246,.4); }

  /* ── HERO (HOME) ── */
  .hero {
    background: var(--gradient-soft);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
  }
  .hero::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%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233B82F6' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--white); border: 1px solid var(--pink-mid);
    color: var(--pink); font-size: .8rem; font-weight: 600;
    padding: 5px 14px; border-radius: 20px;
    margin-bottom: 20px;
  }
  .hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800; line-height: 1.15;
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
  }
  .hero-sub {
    color: var(--gray-600); font-size: 1.05rem; max-width: 560px;
    margin: 0 auto 32px;
  }
  .search-box {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    padding: 8px 8px 8px 24px;
    display: flex; align-items: center; gap: 8px;
    max-width: 580px; margin: 0 auto;
    box-shadow: var(--shadow-lg);
    transition: border-color .2s, box-shadow .2s;
  }
  .search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,130,246,.12), var(--shadow-lg); }
  .search-box input {
    border: none; outline: none; flex: 1;
    font-size: .95rem; color: var(--gray-800);
    font-family: 'DM Sans', sans-serif;
    background: transparent;
  }
  .search-box input::placeholder { color: var(--gray-400); }
  .btn-search {
    background: var(--gradient);
    color: #fff; border: none;
    padding: 10px 22px; border-radius: 40px;
    font-weight: 600; font-size: .875rem;
    display: flex; align-items: center; gap: 6px;
    cursor: pointer; transition: all .2s;
  }
  .btn-search:hover { opacity: .9; transform: scale(1.02); }
  .search-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: center; margin-top: 16px;
  }
  .search-tag {
    background: var(--white); border: 1px solid var(--gray-200);
    color: var(--gray-600); font-size: .8rem; font-weight: 500;
    padding: 4px 12px; border-radius: 15px; cursor: pointer;
    transition: all .2s;
  }
  .search-tag:hover { border-color: var(--pink); color: var(--pink); background: var(--pink-light); }

  /* ── STATS BAR ── */
  .stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 14px 0;
  }
  .stat-item { display: flex; align-items: center; gap: 8px; }
  .stat-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700; font-size: 1.1rem; color: var(--gray-800);
  }
  .stat-label { color: var(--gray-400); font-size: .8rem; font-weight: 500; }
  .stat-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
  }
  .stat-icon.blue { background: var(--blue-light); color: var(--blue); }
  .stat-icon.pink { background: var(--pink-light); color: var(--pink); }

  /* ── SECTION HEADER ── */
  .section-header { margin-bottom: 32px; }
  .section-label {
    font-size: .78rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--blue);
    margin-bottom: 8px;
  }
  .section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; font-size: 1.6rem; color: var(--gray-800);
    margin: 0;
  }

  /* ── MODEL CARDS ── */
  .model-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .25s;
    cursor: pointer;
    position: relative;
  }
  .model-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue-mid);
    box-shadow: 0 16px 40px rgba(59,130,246,.14);
  }
  .model-card-img {
    width: 100%; aspect-ratio: 3/4;
    object-fit: cover;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--gray-400);
    position: relative;
    overflow: hidden;
  }
  .model-img-placeholder {
    width: 100%; aspect-ratio: 3/4;
    background: linear-gradient(135deg, #f0f4ff 0%, #fce7f3 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px; color: var(--gray-400);
  }
  .model-img-placeholder i { font-size: 2.5rem; }
  .badge-free {
    position: absolute; top: 10px; left: 10px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff; font-size: .7rem; font-weight: 700;
    padding: 3px 10px; border-radius: 20px; letter-spacing: .03em;
  }
  .badge-photo {
    position: absolute; bottom: 10px; right: 10px;
    background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
    color: var(--gray-600); font-size: .75rem; font-weight: 600;
    padding: 4px 10px; border-radius: 20px;
    display: flex; align-items: center; gap: 4px;
    cursor: pointer;
  }
  .model-card-body { padding: 14px 16px; }
  .model-username {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700; font-size: .9rem; color: var(--gray-800);
    margin-bottom: 4px;
  }
  .model-username a { color: inherit; text-decoration: none; }
  .model-username a:hover { color: var(--blue); }
  .model-desc {
    color: var(--gray-400); font-size: .78rem; line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .model-tags { display: flex; flex-wrap: wrap; gap: 4px; }
  .model-tag {
    background: var(--gray-100); color: var(--gray-600);
    font-size: .7rem; font-weight: 500;
    padding: 3px 9px; border-radius: 12px;
    transition: all .15s; cursor: pointer;
  }
  .model-tag:hover { background: var(--pink-light); color: var(--pink); }

  /* ── CATEGORY PILLS ── */
  .cat-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--white); border: 1.5px solid var(--gray-200);
    color: var(--gray-600); font-size: .82rem; font-weight: 600;
    padding: 8px 18px; border-radius: 25px;
    cursor: pointer; transition: all .2s; text-decoration: none;
    white-space: nowrap;
  }
  .cat-pill:hover, .cat-pill.active {
    background: var(--gradient);
    border-color: transparent; color: #fff;
    box-shadow: 0 4px 15px rgba(59,130,246,.25);
    transform: translateY(-1px);
  }

  /* ── BLOG PAGE ── */
  .blog-hero {
    background: linear-gradient(135deg, #EFF6FF 0%, #FDF2F8 100%);
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--gray-200);
  }
  .blog-hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; font-size: 2.2rem;
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .25s;
    cursor: pointer;
  }
  .blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue-mid); }
  .blog-card-img {
    width: 100%; height: 200px;
    background: linear-gradient(135deg, #dbeafe, #fce7f3);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
  }
  .blog-card-body { padding: 20px; }
  .blog-meta {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 10px;
  }
  .blog-cat {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--blue);
    background: var(--blue-light); padding: 3px 10px; border-radius: 12px;
  }
  .blog-date { color: var(--gray-400); font-size: .78rem; }
  .blog-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700; font-size: 1.05rem; color: var(--gray-800);
    margin-bottom: 8px; line-height: 1.4;
  }
  .blog-excerpt { color: var(--gray-600); font-size: .85rem; line-height: 1.6; }
  .blog-search {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow);
  }
  .blog-search input {
    border: 1.5px solid var(--gray-200); border-radius: 10px;
    padding: 10px 16px; font-size: .875rem; width: 100%;
    outline: none; transition: border-color .2s;
    font-family: 'DM Sans', sans-serif;
  }
  .blog-search input:focus { border-color: var(--blue); }
  .btn-blue {
    background: var(--blue); color: #fff; border: none;
    padding: 10px 20px; border-radius: 10px;
    font-weight: 600; font-size: .875rem; cursor: pointer;
    transition: all .2s; width: 100%; margin-top: 8px;
    font-family: 'DM Sans', sans-serif;
  }
  .btn-blue:hover { background: #2563EB; }
  .popular-tag {
    background: var(--gray-100); color: var(--gray-600);
    font-size: .78rem; font-weight: 500;
    padding: 5px 12px; border-radius: 15px;
    cursor: pointer; transition: all .15s; display: inline-block; margin: 3px;
  }
  .popular-tag:hover { background: var(--pink-light); color: var(--pink); }

  /* ── AUTH PAGES ── */
  .auth-wrap {
    min-height: calc(100vh - 73px);
    background: var(--gradient-soft);
    display: flex; align-items: center; justify-content: center;
    padding: 40px 16px;
  }
  .auth-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 44px 40px;
    width: 100%; max-width: 440px;
    box-shadow: 0 20px 60px rgba(0,0,0,.10);
  }
  .auth-logo {
    display: flex; align-items: center; gap: 10px;
    justify-content: center; margin-bottom: 8px;
  }
  .auth-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; font-size: 1.6rem;
    color: var(--gray-800); text-align: center; margin-bottom: 4px;
  }
  .auth-sub {
    color: var(--gray-400); font-size: .875rem;
    text-align: center; margin-bottom: 32px;
  }
  .form-label-custom {
    font-weight: 600; font-size: .82rem; color: var(--gray-600);
    margin-bottom: 6px; display: block;
  }
  .form-input-custom {
    width: 100%; border: 1.5px solid var(--gray-200);
    border-radius: 12px; padding: 12px 16px;
    font-size: .9rem; color: var(--gray-800);
    outline: none; transition: all .2s;
    font-family: 'DM Sans', sans-serif;
    background: var(--gray-50);
  }
  .form-input-custom:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
  .form-group-custom { margin-bottom: 18px; }
  .btn-auth-primary {
    width: 100%; background: var(--gradient);
    color: #fff; border: none;
    padding: 14px; border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700; font-size: .95rem;
    cursor: pointer; transition: all .2s;
    box-shadow: 0 4px 20px rgba(59,130,246,.3);
    margin-top: 8px;
  }
  .btn-auth-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 8px 25px rgba(59,130,246,.4); }
  .auth-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 20px 0; color: var(--gray-400); font-size: .8rem;
  }
  .auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--gray-200);
  }
  .auth-link { color: var(--blue); font-weight: 600; text-decoration: none; cursor: pointer; }
  .auth-link:hover { color: var(--pink); }
  .auth-footer { text-align: center; color: var(--gray-400); font-size: .83rem; margin-top: 20px; }
  .custom-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
  .custom-check input { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }
  .custom-check span { font-size: .83rem; color: var(--gray-600); }

  /* ── FOOTER ── */
  .footer {
    background: var(--gray-800);
    color: rgba(255,255,255,.6);
    padding: 48px 0 24px;
    margin-top: 80px;
  }
  .footer-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; font-size: 1.2rem; color: #fff;
    display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
  }
  .footer-desc { font-size: .85rem; line-height: 1.7; max-width: 280px; }
  .footer-heading { color: #fff; font-weight: 600; font-size: .85rem; letter-spacing: .04em; margin-bottom: 14px; }
  .footer-links { list-style: none; padding: 0; margin: 0; }
  .footer-links li { margin-bottom: 8px; }
  .footer-links a {
    color: rgba(255,255,255,.5); font-size: .85rem; text-decoration: none;
    transition: color .2s; cursor: pointer;
  }
  .footer-links a:hover { color: #fff; }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 20px; margin-top: 40px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
  }
  .footer-copy { font-size: .8rem; }
  .footer-socials { display: flex; gap: 10px; }
  .social-btn {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6); font-size: 15px;
    cursor: pointer; transition: all .2s;
    text-decoration: none;
  }
  .social-btn:hover { background: var(--blue); color: #fff; }

  /* ── FILTERS BAR ── */
  .filters-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 16px 0;
    position: sticky; top: 73px; z-index: 100;
  }
  .filters-scroll {
    display: flex; gap: 8px; overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
    padding-bottom: 2px;
  }
  .filters-scroll::-webkit-scrollbar { display: none; }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .fade-up { animation: fadeUp .5s ease forwards; }
  .fade-up-d1 { animation-delay: .1s; opacity: 0; }
  .fade-up-d2 { animation-delay: .2s; opacity: 0; }
  .fade-up-d3 { animation-delay: .3s; opacity: 0; }

  /* ── MISC ── */
  .section-py { padding: 56px 0; }
  .load-more {
    display: block; margin: 36px auto 0;
    background: var(--white); border: 1.5px solid var(--gray-200);
    color: var(--gray-700); padding: 12px 36px; border-radius: 25px;
    font-weight: 600; font-size: .9rem; cursor: pointer;
    transition: all .2s;
  }
  .load-more:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
  .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Responsive tweaks */
  @media (max-width: 768px) {
    .auth-card { padding: 32px 24px; }
    .hero { padding: 50px 0 40px; }
    .hero-title { font-size: 1.8rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
  }

