@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    --bg-color: #09090b;
    --surface-color: rgba(24, 24, 29, 0.6);
    --surface-hover: color-mix(in srgb, var(--surface-color) 85%, var(--text-main) 15%);
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --neon-blue: #00f0ff;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-family: 'Inter', sans-serif;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --app-flex-dir: row;
}

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

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.03) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body:has(dialog[open]) {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-family);
    border: none;
    background: none;
    color: var(--text-main);
    outline: none;
}

/* === Typography & Utilities === */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    margin: 0;
}

.glow-text {
    text-shadow: 0 0 15px var(--primary-color);
}

.futuristic-glass {
    background: var(--surface-color);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.futuristic-glass-panel {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.futuristic-glass-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(99, 102, 241, 0.15);
}

.tag-label {
    background: color-mix(in srgb, var(--text-main) 8%, transparent);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* === Layout === */
.app-layout {
    display: flex;
    flex-grow: 1;
    flex-direction: var(--app-flex-dir, row);
    position: relative;
    max-width: 100vw;
}

/* === Navbar === */
.navbar {
    height: 75px;
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar .header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.navbar .header-center {
    display: flex;
    gap: 10px;
    justify-content: center;
    z-index: 10;
}

.nav-tab {
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.3s;
    background: transparent;
}

.nav-tab:hover {
    color: #fff;
    background: var(--surface-hover);
}

.nav-tab.active {
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.nav-tab.active:hover {
    background: var(--primary-color);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: var(--neon-blue);
}

.logo span {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.search-container {
    flex-grow: 1;
    max-width: 450px;
    margin: 0 2rem;
    position: relative;
}

.search-container i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
}

#searchInput {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    /* Slight contrast from surface */
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.8rem 1rem 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: var(--font-family);
    transition: all var(--transition);
}

#searchInput:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    background-color: var(--surface-hover);
}

/* Sidebar Search Wrapper Spacing */
#sidebarSearchWrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

#sidebarSearchWrapper #searchInput,
#sidebarSearchWrapper #sortSelect {
    width: 100%;
    margin: 0;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--text-muted);
    background: transparent;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.icon-btn:hover {
    background: var(--surface-hover);
    color: var(--text-main);
    border-color: var(--border-color);
    transform: scale(1.05);
}

.discord-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #5865F2;
    color: white;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
    background: #4752C4;
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
}

.auth-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
    cursor: pointer;
    transition: transform var(--transition);
}

.auth-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.8);
}

.mobile-toggle {
    display: none;
    color: var(--text-muted);
    width: 40px;
    height: 40px;
}

.sidebar-mobile-header {
    display: none;
}

.desktop-only {
    display: flex;
}

/* === Sidebar === */
.sidebar {
    width: 260px;
    background: var(--surface-color);
    backdrop-filter: blur(12px);
    border-right: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    padding: 0.5rem 1.5rem 1.5rem;
    position: sticky;
    top: 75px;
    height: calc(100vh - 75px);
    overflow-y: auto;
}

.sidebar-section-wrap {
    margin-top: 2rem;
}

.sidebar-section-wrap:first-child {
    margin-top: 0 !important;
}

.sidebar-section-wrap:first-child .sidebar-title {
    margin-top: 0 !important;
}

.sidebar-title {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    color: var(--text-muted);
    transition: all var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid transparent;
    width: 100%;
}

.filter-btn svg,
.filter-btn i {
    width: 18px;
    height: 18px;
}

.filter-btn:hover {
    background: var(--surface-hover);
    color: var(--text-main);
}

.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.filter-btn .beta-tag {
    background: var(--neon-blue);
    color: #000;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: auto;
    letter-spacing: 0.5px;
}

/* === Main Grid === */
.main-content {
    flex-grow: 1;
    padding: 2.5rem;
    position: relative;
    width: 0;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Buttons inside Cards */
.card-dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    transition: all var(--transition);
    cursor: pointer;
}

.card-dl-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.card-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: all var(--transition);
}

.card-view-btn:hover {
    background: var(--surface-hover);
    color: var(--text-main);
}

/* ==== 10 PREMIUM CARD STYLES ==== */

/* 1. Glassmorphic Classic */
.asset-grid.card-style-1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.style-1 {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.style-1:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.style-1 .c-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.style-1 .c-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.style-1:hover .c-img-wrap img {
    transform: scale(1.05);
}

.style-1 .c-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.style-1 h3 {
    font-size: 1.15rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.style-1 .c-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.style-1 .c-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.style-1 .c-tags {
    display: flex;
    gap: 6px;
}

.style-1 .c-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.style-1 .c-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 2. Compact Modern List */
.asset-grid.card-style-2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.style-2 {
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 16px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all var(--transition);
}

.style-2:hover {
    background: var(--surface-hover);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.style-2 .l-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.style-2 .l-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.style-2 .l-info {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.style-2 h3 {
    font-size: 1.1rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.style-2 .l-author {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.style-2 .l-act {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.style-2 .l-stat {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 3. Immersive Overlay */
.asset-grid.card-style-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.style-3 {
    position: relative;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.style-3:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.style-3 .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.style-3:hover .bg-img {
    transform: scale(1.08);
}

.style-3 .grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.style-3 .o-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.style-3 h3 {
    font-size: 1.3rem;
    color: #fff;
    line-height: 1.3;
}

.style-3 .o-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.style-3 .o-auth {
    color: #ccc;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.style-3 .card-dl-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: none;
    color: #fff;
    border-radius: 50%;
}

/* 4. Stats Focus Premium */
.asset-grid.card-style-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.style-4 {
    background: var(--surface-color);
    border-radius: 24px;
    padding: 28px 24px;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.style-4:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--neon-blue));
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity var(--transition);
}

.style-4:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.style-4:hover:before {
    opacity: 1;
}

.style-4 .s-dl {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.style-4 .s-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 600;
}

.style-4 .s-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    transition: transform var(--transition);
}

.style-4:hover .s-img {
    transform: scale(1.1) rotate(5deg);
}

.style-4 h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.style-4 .s-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: var(--surface-hover);
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.style-4:hover .s-btn {
    background: var(--primary-color);
    color: #fff;
}

/* 5. Banner Wide */
.asset-grid.card-style-5 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.style-5 {
    display: flex;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    height: 120px;
    overflow: hidden;
    transition: all var(--transition);
}

.style-5:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.style-5 .b-img {
    width: 220px;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.style-5 .b-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.style-5 .b-img::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, var(--surface-color));
}

.style-5 .b-content {
    flex-grow: 1;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.style-5 h3 {
    font-size: 1.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.style-5 .b-meta {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    align-items: center;
}

.style-5 .b-actions {
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 16px;
    background: color-mix(in srgb, var(--text-main) 5%, transparent);
    border-left: 1px solid var(--border-color);
}

/* 6. Instagram Visual Grid */
.asset-grid.card-style-6 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 4px;
}

.style-6 {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
}

.style-6 .i-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.style-6:hover .i-img {
    transform: scale(1.1);
    filter: blur(3px);
}

.style-6 .i-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 20px;
    text-align: center;
}

.style-6:hover .i-overlay {
    opacity: 1;
}

.style-6 h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 12px;
    transform: translateY(10px);
    transition: transform 0.3s;
}

.style-6:hover h3 {
    transform: translateY(0);
}

.style-6 .i-stats {
    display: flex;
    gap: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    transform: translateY(10px);
    transition: transform 0.3s 0.1s;
}

.style-6:hover .i-stats {
    transform: translateY(0);
}

/* 7. Neon Cyberpunk Box */
.asset-grid.card-style-7 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.style-7 {
    background: #050505;
    border: 1px solid var(--border-color);
    padding: 5px;
    border-radius: 0;
    position: relative;
    transition: all 0.3s;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.style-7:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), inset 0 0 10px rgba(0, 240, 255, 0.2);
}

.style-7 .n-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: contrast(1.1) saturate(1.2);
}

.style-7 .n-info {
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

.style-7 h3 {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.style-7 .n-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.style-7 .n-btn {
    background: transparent;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    padding: 6px 16px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s;
    letter-spacing: 1px;
}

.style-7:hover .n-btn {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 15px var(--neon-blue);
}

/* 8. Ultra Glass Seamless */
.asset-grid.card-style-8 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.style-8 {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 30px;
    padding: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.style-8:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.style-8 .g-img {
    width: 100%;
    height: 220px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.style-8 .g-content {
    padding: 0 8px 8px;
}

.style-8 h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.style-8 .g-auth {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.style-8 .g-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: color-mix(in srgb, var(--text-main) 10%, transparent);
    padding: 8px 16px;
    border-radius: 16px;
}

.style-8 .g-stat {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.style-8 .g-btn {
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    transition: background 0.2s;
}

/* 9. Split Canvas 60/40 */
.asset-grid.card-style-9 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.style-9 {
    display: flex;
    flex-direction: column;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.style-9:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.style-9 .sp-top {
    height: 55%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.style-9 .sp-top::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.style-9:hover .sp-top::after {
    background: transparent;
}

.style-9 .sp-bot {
    height: 45%;
    background: var(--surface-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.style-9 .sp-dl-blob {
    position: absolute;
    top: -24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.4);
    transition: transform 0.3s;
    cursor: pointer;
}

.style-9 .sp-dl-blob:hover {
    transform: scale(1.15) rotate(-10deg);
}

.style-9 h3 {
    font-size: 1.25rem;
    font-weight: 700;
    width: 80%;
    line-height: 1.3;
}

.style-9 .sp-auth {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 10. Polaroid Stack */
.asset-grid.card-style-10 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 3rem;
    padding: 2rem 1rem;
}

.style-10 {
    background: #fdfdfd;
    padding: 14px 14px 36px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #222;
    position: relative;
    transform: rotate(calc(-4deg + 8deg * var(--rnd, 0.5)));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
    filter: sepia(0.1);
}

.style-10:nth-child(even) {
    --rnd: 0.8;
}

.style-10:nth-child(3n) {
    --rnd: 0.1;
}

.style-10:nth-child(5n) {
    --rnd: 0.9;
}

.style-10:hover {
    transform: scale(1.08) rotate(0deg);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    filter: sepia(0);
}

.style-10 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    background: #000;
}

.style-10 .p-meta {
    margin-top: 16px;
    text-align: center;
}

.style-10 h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #111;
    line-height: 1.2;
    margin-bottom: 8px;
}

.style-10 .p-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
    font-size: 0.9rem;
    color: #666;
    padding: 0 10px;
}

.style-10 .p-btn {
    border: 1px solid #333;
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.2s;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.style-10 .p-btn:hover {
    background: #333;
    color: #fff;
}

/* === Modal Details === */
.asset-modal {
    margin: auto;
    color: var(--text-main);
    border-radius: 24px;
    width: 95%;
    max-width: 1000px;
    padding: 0;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--surface-color);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
}

.asset-modal::backdrop {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-inner {
    position: relative;
    padding: 3rem;
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 20;
}

.close-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-split {
    display: flex;
    gap: 3rem;
}

.modal-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 20px;
    background: color-mix(in srgb, var(--text-main) 5%, transparent);
    border: 1px solid var(--border-color);
    align-self: flex-start;
}

#modalImage {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
    cursor: zoom-in;
}

.modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#modalTitle {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.author-banner {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: background var(--transition);
}

.author-banner:hover {
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

#modalAuthorAvatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.author-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

#modalAuthorName {
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-stats {
    padding: 1.2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    background: color-mix(in srgb, var(--text-main) 5%, transparent);
    border-radius: 16px;
}

.action-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all var(--transition);
    flex: 1;
    border: none;
}

.neon-btn {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 20px color-mix(in srgb, var(--primary-color) 40%, transparent);
}

.neon-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--primary-color) 60%, transparent);
}

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

.outline-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.alt-downloads {
    margin-top: 1rem;
}

.alt-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all var(--transition);
    color: var(--text-main);
    margin-bottom: 10px;
}

.alt-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.icon-btn.voted {
    color: var(--primary-color) !important;
}

.icon-btn.voted svg {
    fill: currentColor;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    padding: 16px 28px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
    font-weight: 600;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.zoom-overlay::backdrop {
    background: rgba(0, 0, 0, 0.95);
}

.zoom-overlay[open] {
    width: 100vw;
    height: 100vh;
    background: transparent;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

#zoomImage {
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
}

.close-zoom-btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

/* Auth Dropdown */
.auth-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--surface-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 100;
    transform-origin: top right;
    transition: all var(--transition);
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.auth-dropdown.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.auth-dropdown button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    text-align: left;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s;
    color: var(--text-main);
}

.auth-dropdown button:hover {
    background: rgba(255, 255, 255, 0.05);
}

.auth-dropdown button i {
    width: 16px;
    height: 16px;
}

.text-danger {
    color: #ff5555 !important;
}

.text-danger:hover {
    background: rgba(255, 85, 85, 0.1) !important;
}

/* Upload Modal */
.drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all var(--transition);
    background: color-mix(in srgb, var(--text-main) 5%, transparent);
}

.drop-zone.dragover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.glass-select,
.glass-input {
    background: color-mix(in srgb, var(--text-main) 5%, transparent);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.glass-select:focus,
.glass-input:focus {
    border-color: var(--primary-color);
}

.glass-select option {
    background: var(--bg-color);
    color: #fff;
}

.spin-icon {
    animation: spin 1s linear infinite;
}

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

@media (max-width: 900px) {
    .modal-split {
        flex-direction: column;
        gap: 1.5rem;
    }

    .modal-image-wrapper {
        height: 280px;
    }

    #modalImage {
        max-height: 250px;
    }

    .modal-inner {
        padding: 1.5rem;
    }
}

@media (max-width: 1050px) {
    .mobile-toggle {
        display: block;
    }

    #searchInput {
        margin-bottom: 0;
    }

    .navbar {
        padding: 10px 1rem;
        height: auto;
        flex-wrap: wrap;
        gap: 10px;
    }

    .search-container {
        margin: 0;
        width: 100%;
        max-width: 100% !important;
    }

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

    .navbar .logo {
        display: none;
    }

    .navbar .header-left {
        flex: 1 1 100%;
        order: 3;
    }

    .navbar .header-center {
        position: relative;
        left: auto;
        transform: none;
        flex: 1;
        order: 1;
        justify-content: center;
    }

    .mobile-toggle {
        margin-left: auto;
        order: 2;
    }

    .sidebar-mobile-header {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .sidebar-mobile-header .logo {
        font-size: 2rem;
        justify-content: center;
    }

    .sidebar-mobile-header .user-actions {
        display: flex;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }

    .sidebar {
        position: fixed;
        left: -300px;
        width: 280px;
        z-index: 200;
        transition: left var(--transition);
        top: 0;
        height: 100vh;
    }

    .sidebar.open {
        left: 0;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8);
    }

    .main-content {
        padding: 1.2rem;
    }

    .asset-grid[class*="card-style-"] {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)) !important;
    }

    .mod-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)) !important;
    }
}

/* Nude Content Blur System */
.nude-blur {
    filter: blur(25px) brightness(0.7);
    transition: filter 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
}

.nude-blur.revealing {
    filter: blur(0px) brightness(1);
}

.blur-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    pointer-events: none;
    z-index: 5;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nude-blur-container {
    position: relative;
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════════
   PAIRING CODE INPUT
   ═══════════════════════════════════════════════════════════════════ */

.pairing-char {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 58px;
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Outfit', var(--font-family);
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    transition: all var(--transition);
    text-transform: uppercase;
    padding: 0;
}

.pairing-char:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2), 0 0 20px rgba(99, 102, 241, 0.15);
    background: rgba(99, 102, 241, 0.06);
}

/* ═══════════════════════════════════════════════════════════════════
   HEADSET DASHBOARD CARDS
   ═══════════════════════════════════════════════════════════════════ */

.headset-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
    transition: all var(--transition);
}

.headset-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.headset-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.headset-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.headset-status.online {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: pulse-green 2s ease-in-out infinite;
}

.headset-status.offline {
    background: #71717a;
}

@keyframes pulse-green {

    0%,
    100% {
        box-shadow: 0 0 4px rgba(34, 197, 94, 0.4);
    }

    50% {
        box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
    }
}

.headset-info {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.headset-info strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.headset-meta {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.headset-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-online {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-offline {
    background: rgba(113, 113, 122, 0.15);
    color: #a1a1aa;
    border: 1px solid rgba(113, 113, 122, 0.3);
}

.badge-tasks {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.headset-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.headset-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: all var(--transition);
}

.headset-action-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.headset-action-btn.danger:hover {
    background: #ef4444;
    border-color: #ef4444;
}

/* ═══════════════════════════════════════════════════════════════════
   SIDEBAR HEADSET BUTTONS
   ═══════════════════════════════════════════════════════════════════ */

.sidebar-headset-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    cursor: pointer;
}

.sidebar-headset-btn:hover {
    background: var(--surface-hover);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.15);
}

.sidebar-headset-btn.pair-btn {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
}

.sidebar-headset-btn.pair-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ═══════════════════════════════════════════════════════════════════
   ADMIN IN-SITU OVERLAY
   ═══════════════════════════════════════════════════════════════════ */

.admin-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.asset-card:hover .admin-overlay {
    opacity: 1;
}

.admin-overlay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.admin-overlay-btn i {
    width: 15px;
    height: 15px;
}

.admin-overlay-edit {
    background: rgba(99, 102, 241, 0.85);
    color: #fff;
}

.admin-overlay-edit:hover {
    background: rgba(79, 70, 229, 1);
    transform: scale(1.1);
}

.admin-overlay-delete {
    background: rgba(239, 68, 68, 0.85);
    color: #fff;
}

.admin-overlay-delete:hover {
    background: rgba(220, 38, 38, 1);
    transform: scale(1.1);
}

/* Headset Indicator & Menu */
.headset-indicator {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.headset-indicator:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
}

.headset-indicator img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.headset-indicator .status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
}

.headset-menu {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 300px;
    background: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    flex-direction: column;
    gap: 10px;
}

.headset-menu.active {
    display: flex;
}

.headset-menu-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.headset-menu-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
}

.headset-menu-header p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.headset-menu-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.headset-menu-btns button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.headset-menu-btns button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.headset-menu-btns button.danger {
    color: #ef4444;
}

.headset-menu-btns button.danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Modal specific for Multi-headset */
#multiHeadsetModal .modal-inner {
    text-align: center;
}

#multiHeadsetModal .headset-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

#multiHeadsetModal .headset-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.card-install-btn {
    display: none !important;
}

body.headset-connected .card-install-btn {
    display: inline-flex !important;
}

/* Aspect Ratio Scaling Override */
.asset-grid.keep-aspect-ratio>* {
    zoom: var(--card-scale, 1);
    /* For standard browsers that support zoom */
}

/* ==== PAGINATION STYLES ==== */
.pagination {
    width: fit-content;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* 1. Classic Glass */
.pagination.page-style-1 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.pagination.page-style-1 .btn {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 8px 20px;
    color: var(--text-main);
    border: 1px solid transparent;
    transition: all var(--transition);
}

.pagination.page-style-1 .btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.pagination.page-style-1 span {
    font-weight: 600;
    color: var(--text-muted);
}

/* 2. Cyber Dots */
.pagination.page-style-2 {
    gap: 25px !important;
}

.pagination.page-style-2 .btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    font-size: 0;
}

.pagination.page-style-2 .btn::after {
    content: '';
    width: 20px;
    height: 20px;
    background-color: currentColor;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 18-6-6 6-6"/></svg>') no-repeat center;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 18-6-6 6-6"/></svg>') no-repeat center;
}

.pagination.page-style-2 #nextPageBtn::after,
.pagination.page-style-2 #modNextPageBtn::after {
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"/></svg>') no-repeat center;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"/></svg>') no-repeat center;
}

.pagination.page-style-2 .btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-color);
}

.pagination.page-style-2 span {
    background: var(--surface-color);
    padding: 5px 20px;
    border-radius: 4px;
    border-bottom: 2px solid var(--primary-color);
    font-family: monospace;
    letter-spacing: 2px;
}

/* 3. Tech Dashboard */
.pagination.page-style-3 {
    background: #000;
    border: 1px solid #333;
    padding: 5px 15px !important;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.pagination.page-style-3 .btn {
    background: #111;
    color: var(--primary-color);
    font-family: monospace;
    border: 1px solid #333;
    border-radius: 0;
    text-transform: uppercase;
}

.pagination.page-style-3 .btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: #fff;
}

.pagination.page-style-3 span {
    color: var(--primary-color);
    font-family: monospace;
}

/* 4. Floating Bubbles */
.pagination.page-style-4 .btn {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pagination.page-style-4 .btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: var(--primary-color);
}

.pagination.page-style-4 span {
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* 5. Minimalist Line */
.pagination.page-style-5 {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    width: 100%;
    max-width: 400px;
    justify-content: space-between !important;
}

.pagination.page-style-5 .btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.pagination.page-style-5 .btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.pagination.page-style-5 .btn:hover:not(:disabled)::after {
    width: 100%;
}

.pagination.page-style-5 span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === Modern Hover Effects === */
.hover-glow {
    transition: all 0.3s ease;
}
.hover-glow:hover {
    box-shadow: 0 0 15px var(--primary-color), 0 0 30px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.hover-scale {
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hover-scale:hover {
    transform: scale(1.03);
}

/* Base button improvements */
.hero-btn {
    transition: all 0.3s ease;
    cursor: pointer;
}
.hero-btn.neon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.6);
}
.hero-btn.outline-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}