/* === RESET & VARIABLES === */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #07050a;
    --bg-light: #0d0b14;
    --bg-card: #13111c;
    --bg-hover: #1a1725;
    --border: rgba(168, 85, 247, 0.12);
    --border-light: rgba(255,255,255,0.06);
    --text: #f5f5f5;
    --text-muted: #8b7f9e;
    --text-dim: #5a5070;
    --pink: #e879f9;
    --purple: #a855f7;
    --purple-dark: #7c3aed;
    --gradient: linear-gradient(135deg, #e879f9 0%, #a855f7 50%, #7c3aed 100%);
    --gradient-pink: linear-gradient(135deg, #f0abfc 0%, #e879f9 100%);
    --shadow: 0 8px 32px rgba(168, 85, 247, 0.15);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
    --radius: 16px;
    --radius-sm: 12px;
    --sidebar-w: 260px;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* === SIDEBAR === */
.sidebar {
    position: fixed;
    top: 0; left: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: var(--bg-light);
    border-right: 1px solid var(--border);
    z-index: 1000;
    overflow-y: auto;
    padding: 24px 20px;
    transition: transform 0.3s ease;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

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

.logo-icon {
    width: 36px; height: 36px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    font-size: 9px;
    color: var(--text-dim);
    letter-spacing: 1.5px;
    font-weight: 600;
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.nav-section {
    margin-bottom: 28px;
}

.nav-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    padding-left: 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s;
    margin-bottom: 4px;
}

.nav-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.nav-item:hover {
    background: rgba(168, 85, 247, 0.08);
    color: var(--text);
}

.nav-item.active {
    background: rgba(168, 85, 247, 0.12);
    color: var(--pink);
    border: 1px solid rgba(232, 121, 249, 0.2);
}

/* VIP Block */
.vip-block {
    background: linear-gradient(135deg, rgba(168,85,247,0.1) 0%, rgba(232,121,249,0.05) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 28px;
}

.vip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 10px;
}

.vip-header i {
    font-size: 16px;
}

.vip-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.vip-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gradient);
    color: white;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.vip-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Stats Block */
.stats-block {
    margin-bottom: 28px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    margin-bottom: 4px;
}

.stat-row i {
    font-size: 18px;
    color: var(--purple);
    width: 24px;
    text-align: center;
}

.stat-val {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.stat-name {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

/* Join Block */
.join-block {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 20px;
}

.join-block p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 10px 0 14px;
}

.join-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.join-btn:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: var(--purple);
}

.join-btn i {
    color: #29a9eb;
    font-size: 16px;
}

/* === MAIN WRAPPER === */
.main-wrapper {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
}

/* === TOPBAR === */
.topbar {
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 64px;
    background: rgba(7, 5, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
}

.top-nav {
    display: flex;
    gap: 6px;
}

.top-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.25s;
}

.top-link i {
    font-size: 14px;
}

.top-link:hover {
    color: var(--text);
    background: rgba(168, 85, 247, 0.08);
}

.top-link.active {
    color: var(--pink);
    background: rgba(232, 121, 249, 0.1);
}

.top-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-tg {
    padding: 10px 20px;
    border-radius: 10px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-tg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4);
}

.btn-tg i {
    font-size: 16px;
}

.btn-login {
    padding: 10px 24px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    border-color: var(--purple);
    background: rgba(168, 85, 247, 0.1);
}

/* === CONTENT === */
.content {
    padding: 24px 32px 40px;
}

/* === HERO ROW === */
.hero-row {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    margin-bottom: 32px;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 380px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(168,85,247,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(232,121,249,0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 48px;
    height: 100%;
}

.hero-text {
    max-width: 420px;
}

.hero-welcome {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 8px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: 4px;
    line-height: 1;
    margin-bottom: 12px;
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 60px rgba(232,121,249,0.3);
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.hero-subtitle span {
    font-size: 18px;
    font-weight: 700;
    color: var(--pink);
    letter-spacing: 4px;
}

.hero-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), transparent);
    max-width: 120px;
}

.hero-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
}

.btn-explore {
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gradient);
    color: white;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.4);
}

.btn-how {
    padding: 14px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-how:hover {
    border-color: var(--purple);
    background: rgba(168, 85, 247, 0.08);
}

.btn-how i {
    font-size: 18px;
    color: var(--pink);
}

/* Hero Image */
.hero-image-wrap {
    position: relative;
    width: 280px;
    height: 340px;
    flex-shrink: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(19,17,28,0.6) 0%, transparent 50%);
}

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

.age-badge {
    position: absolute;
    top: 16px;
    right: -8px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 100%);
    border: 2px solid var(--purple);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(168,85,247,0.3);
}

.age-num {
    font-size: 18px;
    font-weight: 800;
    color: var(--pink);
    line-height: 1;
}

.age-text {
    font-size: 7px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

/* AI Chat Widget */
.ai-chat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 380px;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.chat-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--success);
    font-weight: 600;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.chat-model {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.chat-model img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.chat-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.chat-role {
    font-size: 12px;
    color: var(--text-muted);
}

.chat-messages {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.chat-msg {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 14px 14px 14px 4px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 90%;
}

.chat-start {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.chat-start:hover {
    border-color: var(--purple);
    background: rgba(168, 85, 247, 0.1);
}

.chat-powered {
    text-align: center;
    font-size: 11px;
    color: var(--text-dim);
}

/* === MODELS SECTION === */
.models-section {
    margin-bottom: 32px;
}

.models-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.models-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tab-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin-right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-title i {
    color: var(--pink);
}

.tab-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s;
}

.tab-btn:hover {
    border-color: var(--purple);
    color: var(--text);
}

.tab-btn.active {
    background: rgba(168, 85, 247, 0.15);
    border-color: var(--purple);
    color: var(--pink);
}

.models-tools {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0 16px;
    width: 240px;
}

.search-box i {
    color: var(--text-dim);
    font-size: 14px;
}

.search-box input {
    background: none;
    border: none;
    color: var(--text);
    font-size: 13px;
    padding: 12px 0 12px 10px;
    width: 100%;
    outline: none;
    font-family: inherit;
}

.search-box input::placeholder {
    color: var(--text-dim);
}

.sort-box select {
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

/* === MODELS GRID === */
.models-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.model-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.model-card:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: var(--shadow);
}

.model-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.model-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.model-card:hover .model-img-wrap img {
    transform: scale(1.08);
}

.model-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.badge-new {
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
}

.badge-popular {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
}

.badge-vip {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.model-like {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.model-like:hover {
    background: rgba(236, 72, 153, 0.8);
    transform: scale(1.1);
}

.model-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,5,10,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.4s;
}

.model-card:hover .model-overlay {
    opacity: 1;
}

.btn-view-model {
    padding: 10px 24px;
    border: none;
    border-radius: 10px;
    background: var(--gradient);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-view-model:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.5);
}

.model-body {
    padding: 16px;
}

.model-name-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.model-name-row h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.model-role {
    font-size: 12px;
    color: var(--text-muted);
}

.model-tg {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #29a9eb, #0088cc);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.model-tg:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(41, 169, 235, 0.4);
}

.model-stats {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--text-muted);
}

.model-stats i {
    font-size: 11px;
    margin-right: 4px;
}

.vip-tag {
    color: var(--pink);
    font-weight: 700;
    font-size: 11px;
}

.vip-tag i {
    color: #f59e0b;
    margin-right: 4px;
}

/* === VIP BANNER === */
.vip-banner {
    background: linear-gradient(135deg, rgba(168,85,247,0.08) 0%, rgba(232,121,249,0.04) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
}

.vip-banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.vip-banner-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.vip-banner-text h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.vip-banner-text p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 500px;
}

.vip-banner-btn {
    padding: 14px 36px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gradient);
    color: white;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.vip-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* === FEATURES === */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(232,121,249,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    color: var(--pink);
}

.feature-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* === MODALS === */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-large {
    max-width: 900px;
}

@keyframes modalIn {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 800;
}

.btn-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.btn-close:hover { color: var(--pink); }

.model-detail-content {
    padding: 0;
}

/* === MOBILE OVERLAY === */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    backdrop-filter: blur(4px);
}

.mobile-overlay.active {
    display: block;
}

/* === RESPONSIVE === */
@media (max-width: 1400px) {
    .models-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1200px) {
    .hero-row { grid-template-columns: 1fr; }
    .ai-chat { height: auto; min-height: 300px; }
    .hero-image-wrap { display: none; }
    .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main-wrapper {
        margin-left: 0;
    }
    .menu-toggle {
        display: block;
    }
    .top-nav {
        display: none;
    }
    .models-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .content { padding: 16px 20px 30px; }
    .topbar { padding: 0 20px; }
    .hero-title { font-size: 40px; }
    .hero-content { padding: 28px 24px; }
    .models-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .models-header { flex-direction: column; align-items: flex-start; }
    .models-tools { width: 100%; }
    .search-box { flex: 1; width: auto; }
    .vip-banner { flex-direction: column; text-align: center; padding: 24px; }
    .vip-banner-content { flex-direction: column; }
    .features { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .btn-explore, .btn-how { width: 100%; justify-content: center; }
    .sidebar-close { display: block; }
}

@media (max-width: 480px) {
    .models-grid { grid-template-columns: 1fr; }
    .model-img-wrap { height: 320px; }
    .tab-btn { padding: 8px 14px; font-size: 11px; }
    .tab-title { font-size: 14px; margin-right: 8px; }
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink); }

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.model-card {
    animation: fadeInUp 0.5s ease backwards;
}

.model-card:nth-child(1) { animation-delay: 0.05s; }
.model-card:nth-child(2) { animation-delay: 0.1s; }
.model-card:nth-child(3) { animation-delay: 0.15s; }
.model-card:nth-child(4) { animation-delay: 0.2s; }
.model-card:nth-child(5) { animation-delay: 0.25s; }
.model-card:nth-child(6) { animation-delay: 0.3s; }
.model-card:nth-child(7) { animation-delay: 0.35s; }
.model-card:nth-child(8) { animation-delay: 0.4s; }
.model-card:nth-child(9) { animation-delay: 0.45s; }
.model-card:nth-child(10) { animation-delay: 0.5s; }
