/* ============================================================
   DesignoFly Studio — Layouts V2
   Clean, editorial, asymmetric layouts
   ============================================================ */

/* ── Container ──────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container-narrow {
    max-width: var(--container-narrow);
}

/* ── Section ────────────────────────────────────────── */
.section {
    padding: var(--space-20) 0;
    position: relative;
}

.section-lg {
    padding: var(--space-32) 0;
}

/* ── Grid ───────────────────────────────────────────── */
.grid {
    display: grid;
    gap: var(--space-4);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Header ─────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: 20px 0;
    transition: all var(--dur-normal) var(--ease-out);
}

.site-header.scrolled {
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    padding: 13px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.site-logo img,
.custom-logo-link img,
.custom-logo {
    height: 42px;
    max-height: 48px;
    width: auto;
    object-fit: contain;
    transition: height var(--dur-fast) var(--ease-out);
}

.site-header.scrolled .site-logo img,
.site-header.scrolled .custom-logo-link img,
.site-header.scrolled .custom-logo {
    height: 36px;
}

/* ── Navigation ─────────────────────────────────────── */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    padding: 9px 18px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--color-text-2);
    border-radius: var(--radius-md);
    transition: all var(--dur-fast) var(--ease-out);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-text);
    background: var(--color-bg-glass);
}

.nav-item-has-children {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 210px;
    background: var(--color-bg-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--dur-fast) var(--ease-out);
    box-shadow: var(--shadow-float);
    z-index: var(--z-dropdown);
}

.nav-item-has-children:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown a {
    display: block;
    padding: 9px 14px;
    font-size: 13.5px;
    color: var(--color-text-2);
    border-radius: var(--radius-sm);
}

.nav-dropdown a:hover {
    background: var(--color-bg-glass);
    color: var(--color-text);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-2);
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease-out);
}

.search-toggle:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text);
    background: var(--color-bg-glass);
}

.search-toggle svg {
    width: 17px;
    height: 17px;
}

.search-toggle:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text);
    background: var(--color-bg-glass);
}

.search-toggle svg {
    width: 15px;
    height: 15px;
}

/* ── Mobile Menu Toggle ─────────────────────────────── */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 0;
    z-index: calc(var(--z-header) + 2);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--dur-fast) var(--ease-out);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* ── Mobile Nav ─────────────────────────────────────── */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100dvh;
    background: var(--color-bg-raised);
    border-left: 1px solid var(--color-border);
    z-index: calc(var(--z-header) + 1);
    padding: 80px var(--space-6) var(--space-6);
    transition: right var(--dur-normal) var(--ease-out);
    overflow-y: auto;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: var(--z-header);
    opacity: 0;
    visibility: hidden;
    transition: all var(--dur-normal) var(--ease-out);
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul,
.mobile-nav ol,
.mobile-nav li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--dur-fast) var(--ease-out);
    text-decoration: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--color-accent-1);
    padding-left: 4px;
}

.mobile-nav .sub-menu {
    padding-left: var(--space-4);
    margin: 4px 0 8px var(--space-1);
    border-left: 2px solid rgba(168, 85, 247, 0.35);
}

.mobile-nav .sub-menu li {
    list-style: none !important;
}

.mobile-nav .sub-menu a {
    font-size: var(--text-sm);
    color: var(--color-text-2);
    padding: 8px 0;
    border-bottom: none;
}

.mobile-nav .sub-menu a:hover {
    color: #ffffff;
}

/* ── Search Overlay ─────────────────────────────────── */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 7, 0.95);
    backdrop-filter: blur(20px);
    z-index: var(--z-search);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--dur-normal) var(--ease-out);
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    width: 100%;
    max-width: 560px;
    padding: 0 var(--container-padding);
}

.search-overlay-close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-3);
    cursor: pointer;
    font-size: var(--text-lg);
    transition: all var(--dur-fast);
}

.search-overlay-close:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text);
}

.search-overlay input[type="search"] {
    width: 100%;
    padding: var(--space-4);
    font-family: var(--font-sans);
    font-size: var(--text-3xl);
    font-weight: 300;
    color: var(--color-text);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    outline: none;
    letter-spacing: -0.02em;
    transition: border-color var(--dur-fast);
}

.search-overlay input[type="search"]::placeholder {
    color: var(--color-text-ghost);
}

.search-overlay input[type="search"]:focus {
    border-bottom-color: var(--color-accent-1);
}

/* ── Hero V2 ────────────────────────────────────────── */
.hero {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-32) var(--container-padding) var(--space-20);
    position: relative;
    overflow: hidden;
}

/* Aurora background */
.hero-aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-aurora .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: aurora-float 12s ease-in-out infinite;
}

.hero-aurora .orb-1 {
    width: 600px;
    height: 600px;
    background: var(--color-accent-1);
    top: -20%;
    right: -10%;
    animation-duration: 14s;
}

.hero-aurora .orb-2 {
    width: 500px;
    height: 500px;
    background: var(--color-accent-2);
    bottom: -15%;
    left: -10%;
    animation-duration: 18s;
    animation-delay: -4s;
}

.hero-aurora .orb-3 {
    width: 400px;
    height: 400px;
    background: var(--color-accent-3);
    top: 30%;
    left: 40%;
    animation-duration: 16s;
    animation-delay: -8s;
}

@keyframes aurora-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -20px) scale(1.1); }
    66%      { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: var(--radius-full);
    background: rgba(168, 85, 247, 0.06);
    margin-bottom: var(--space-6);
}

.hero-title {
    font-size: var(--text-7xl);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: var(--space-6);
}

.hero-title .gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: var(--text-xl);
    color: #cbd5e1;
    max-width: 560px;
    margin: 0 auto var(--space-8);
    line-height: 1.6;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

/* ── Bento Grid ─────────────────────────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.bento-item {
    position: relative;
    background: rgba(14, 14, 22, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 210px;
    z-index: 1;
}

.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

.bento-item > * {
    position: relative;
    z-index: 1;
}

.bento-item:hover {
    transform: translateY(-5px);
}

.bento-item:hover::before {
    opacity: 1;
}

/* 1. Blog Hover (Purple Glow) */
.bento-item.bento-blog::before {
    background: radial-gradient(circle at 15% 20%, rgba(168, 85, 247, 0.15), transparent 70%);
}
.bento-item.bento-blog:hover {
    border-color: rgba(168, 85, 247, 0.45);
    background: linear-gradient(145deg, rgba(22, 16, 36, 0.9), rgba(12, 10, 22, 0.95));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.16);
}
.bento-item.bento-blog:hover .bento-icon {
    background: rgba(168, 85, 247, 0.22);
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
    transform: scale(1.08);
}
.bento-item.bento-blog:hover .bento-arrow {
    color: var(--color-accent-1);
}

/* 2. Templates Hover (Cyan Glow) */
.bento-item.bento-templates::before {
    background: radial-gradient(circle at 20% 15%, rgba(6, 182, 212, 0.15), transparent 70%);
}
.bento-item.bento-templates:hover {
    border-color: rgba(6, 182, 212, 0.45);
    background: linear-gradient(145deg, rgba(12, 26, 36, 0.9), rgba(8, 14, 22, 0.95));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.16);
}
.bento-item.bento-templates:hover .bento-icon {
    background: rgba(6, 182, 212, 0.22);
    border-color: rgba(6, 182, 212, 0.45);
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.35);
    transform: scale(1.08);
}
.bento-item.bento-templates:hover .bento-arrow {
    color: var(--color-accent-3);
}

/* 3. Software Hover (Warm Amber Glow) */
.bento-item.bento-software::before {
    background: radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.15), transparent 70%);
}
.bento-item.bento-software:hover {
    border-color: rgba(249, 115, 22, 0.45);
    background: linear-gradient(145deg, rgba(32, 18, 14, 0.9), rgba(16, 10, 8, 0.95));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(249, 115, 22, 0.16);
}
.bento-item.bento-software:hover .bento-icon {
    background: rgba(249, 115, 22, 0.22);
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 0 18px rgba(249, 115, 22, 0.35);
    transform: scale(1.08);
}
.bento-item.bento-software:hover .bento-arrow {
    color: var(--color-accent-warm);
}

/* 4. YouTube Hover (Red / Crimson Glow) */
.bento-item.bento-youtube::before {
    background: radial-gradient(circle at 15% 20%, rgba(239, 68, 68, 0.15), transparent 70%);
}
.bento-item.bento-youtube:hover {
    border-color: rgba(239, 68, 68, 0.45);
    background: linear-gradient(145deg, rgba(32, 14, 18, 0.9), rgba(18, 8, 10, 0.95));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(239, 68, 68, 0.16);
}
.bento-item.bento-youtube:hover .bento-icon {
    background: rgba(239, 68, 68, 0.22);
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.35);
    transform: scale(1.08);
}
.bento-item.bento-youtube:hover .bento-arrow {
    color: #ef4444;
}

.bento-item.span-2 {
    grid-column: span 2;
}

.bento-item.span-row {
    grid-row: span 2;
}

.bento-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
    color: var(--color-accent-1);
    margin-bottom: var(--space-4);
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-icon svg {
    width: 22px;
    height: 22px;
}

.bento-icon.cyan {
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.15);
    color: var(--color-accent-3);
}

.bento-icon.warm {
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.15);
    color: var(--color-accent-warm);
}

.bento-title {
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-2);
    color: var(--color-text);
    transition: color var(--dur-fast) var(--ease-out);
}

.bento-item:hover .bento-title {
    color: #ffffff;
}

.bento-desc {
    font-size: var(--text-sm);
    color: var(--color-text-3);
    line-height: 1.55;
    margin: 0;
}

.bento-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-3);
    margin-top: var(--space-4);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover .bento-arrow {
    gap: 10px;
}

.bento-arrow svg {
    width: 14px;
    height: 14px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover .bento-arrow svg {
    transform: translateX(4px);
}

/* ── Spotlight Carousel ────────────────────────────── */
.spotlight-carousel-wrap {
    position: relative;
    overflow: hidden;
    margin: 0 calc(-1 * var(--space-2));
    padding: var(--space-2);
}

.spotlight-track {
    display: flex;
    gap: var(--space-6);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.spotlight-slide {
    flex: 0 0 calc((100% - (var(--space-6) * 2)) / 3);
    min-width: 0;
}

@media (max-width: 1024px) {
    .spotlight-slide {
        flex: 0 0 calc((100% - var(--space-6)) / 2);
    }
}

@media (max-width: 640px) {
    .spotlight-slide {
        flex: 0 0 100%;
    }
}

.spotlight-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--dur-normal) var(--ease-out);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.spotlight-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.spotlight-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-bg-alt);
}

.spotlight-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-normal) var(--ease-out);
}

.spotlight-card:hover .spotlight-thumb-wrap img {
    transform: scale(1.05);
}

.spotlight-badge-floating {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.spotlight-body {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.spotlight-title {
    font-size: var(--text-base);
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: var(--space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.spotlight-desc {
    font-size: var(--text-xs);
    color: var(--color-text-3);
    line-height: 1.55;
    margin-bottom: var(--space-4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spotlight-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.spotlight-meta-text {
    font-size: 11.5px;
    color: var(--color-text-3);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.spotlight-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 15px;
    height: 32px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(6, 182, 212, 0.18) 100%);
    border: 1px solid rgba(168, 85, 247, 0.4);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all var(--dur-normal) var(--ease-out);
}

.spotlight-cta-btn svg {
    transition: transform var(--dur-fast) var(--ease-out);
}

.spotlight-card:hover .spotlight-cta-btn {
    background: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(168, 85, 247, 0.45);
}

.spotlight-card:hover .spotlight-cta-btn svg {
    transform: translateX(2px);
}

.spotlight-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease-out);
}

.spotlight-nav-btn:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text);
    background: var(--color-bg-card-hover);
    transform: scale(1.05);
}

.spotlight-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-6);
}

.spotlight-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--color-border);
    cursor: pointer;
    transition: all var(--dur-fast);
}

.spotlight-dot.active {
    width: 24px;
    background: var(--color-accent-1);
}

/* ── Post layout ────────────────────────────────────── */
.post-header {
    text-align: center;
    padding-top: calc(80px + var(--space-16));
    margin-bottom: var(--space-10);
}

.post-header h1 {
    font-size: var(--text-5xl);
    max-width: 800px;
    margin: 0 auto var(--space-4);
    letter-spacing: -0.03em;
}

.post-meta-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    color: var(--color-text-3);
    font-size: var(--text-sm);
}

.post-featured-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-10);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.post-content {
    max-width: 100%;
    margin: 0 auto;
    font-size: var(--text-base);
    line-height: 1.85;
    color: var(--color-text-2);
}

.generic-page-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-10) var(--space-12);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.generic-page-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), rgba(6, 182, 212, 0.4), transparent);
}

/* ── Post Layout with Sidebar ────────────────────────── */
.post-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: var(--space-12);
    align-items: start;
    margin-top: var(--space-8);
}

.post-main-column {
    min-width: 0;
}

.post-main-column .post-content {
    max-width: 100%;
    margin: 0;
}

.post-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.sidebar-widget {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: border-color var(--dur-fast) var(--ease-out);
}

.sidebar-widget:hover {
    border-color: var(--color-border-hover);
}

/* Sidebar Search Widget */
.sidebar-search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.sidebar-search-input {
    width: 100%;
    padding: 11px 14px 11px 38px;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--color-text);
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    outline: none;
    transition: all var(--dur-fast) var(--ease-out);
}

.sidebar-search-input::placeholder {
    color: var(--color-text-3);
}

.sidebar-search-input:focus {
    border-color: var(--color-accent-1);
    background: var(--color-bg-card-hover);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.sidebar-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: var(--color-text-3);
    pointer-events: none;
}

.sidebar-widget-title {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-3);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.sidebar-widget-title::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--color-accent-1);
}

/* Author widget */
.sidebar-author {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.sidebar-author-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.sidebar-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
}

.sidebar-author-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
}

.sidebar-author-role {
    font-size: 11px;
    color: var(--color-accent-1);
}

.sidebar-author-bio {
    font-size: var(--text-xs);
    color: var(--color-text-3);
    line-height: 1.5;
    margin: 0;
}

/* Sidebar Post List */
.sidebar-post-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    list-style: none;
}

.sidebar-post-item {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    text-decoration: none;
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-thumb {
    width: 64px;
    height: 48px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.sidebar-post-title {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--dur-fast);
}

.sidebar-post-item:hover .sidebar-post-title {
    color: var(--color-accent-1);
}

.sidebar-post-meta {
    font-size: 11px;
    color: var(--color-text-3);
    margin-top: 2px;
}

/* Category pills in sidebar */
.sidebar-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
}

.sidebar-category-list a {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    font-size: var(--text-xs);
    color: var(--color-text-2);
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    transition: all var(--dur-fast);
}

.sidebar-category-list a:hover {
    border-color: var(--color-accent-1);
    color: var(--color-accent-1);
    background: rgba(168, 85, 247, 0.08);
}

.post-content h2 {
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    font-size: var(--text-2xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.25;
}

.post-content h3 {
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
    font-size: var(--text-xl);
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.3;
}

.post-content h4 {
    margin-top: var(--space-6);
    margin-bottom: var(--space-2);
    font-size: var(--text-lg);
    font-weight: 600;
    color: #e2e8f0;
}

.post-content p {
    color: var(--color-text-2);
    margin-bottom: var(--space-5);
    font-size: var(--text-base);
    line-height: 1.85;
}

.post-content a {
    color: var(--color-accent-2);
    text-decoration: none;
    border-bottom: 1px solid rgba(6, 182, 212, 0.3);
    transition: all var(--dur-fast) var(--ease-out);
}

.post-content a:hover {
    color: #ffffff;
    border-color: var(--color-accent-2);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.post-content strong, .post-content b {
    color: #ffffff;
    font-weight: 600;
}

.post-content hr.wp-block-separator {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.4), rgba(6, 182, 212, 0.2), transparent);
    margin: var(--space-8) 0;
}

.post-content img {
    border-radius: var(--radius-lg);
    margin: var(--space-6) 0;
}

.post-content blockquote {
    border-left: 3px solid var(--color-accent-1);
    padding: var(--space-3) var(--space-5);
    margin: var(--space-8) 0;
    font-style: italic;
    color: var(--color-text-2);
    background: rgba(168, 85, 247, 0.04);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.post-content ul, .post-content ol {
    padding-left: var(--space-6);
    margin-bottom: var(--space-5);
    color: var(--color-text-2);
    font-size: var(--text-base);
    line-height: 1.85;
}

.post-content li {
    margin-bottom: var(--space-2);
    color: var(--color-text-2);
}

.post-content pre {
    background: var(--color-bg-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    margin: var(--space-6) 0;
}

.post-content code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    padding: 2px 6px;
    background: var(--color-bg-raised);
    border-radius: var(--radius-sm);
}

.post-content pre code {
    padding: 0;
    background: none;
}

/* ── Related posts ──────────────────────────────────── */
.related-posts {
    padding: var(--space-16) 0;
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-16);
}

/* ── Single Download Hero Banner ───────────────────── */
.download-page-hero {
    position: relative;
    padding-top: calc(80px + var(--space-12));
    padding-bottom: var(--space-10);
    background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.14), rgba(6, 182, 212, 0.05) 50%, transparent 80%);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-10);
}

.download-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), rgba(6, 182, 212, 0.5), transparent);
}

.download-hero-header {
    max-width: 960px;
}

.download-hero-badges {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    flex-wrap: wrap;
}

.download-hero-title {
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: var(--space-3);
}

.download-hero-subtitle {
    font-size: var(--text-base);
    color: var(--color-text-2);
    line-height: 1.6;
    max-width: 800px;
    margin: 0;
}

.download-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-10);
    align-items: start;
    margin-top: 0;
}

.download-gallery {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    padding: var(--space-4);
    position: sticky;
    top: 90px;
}

.df-main-preview-wrap {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    cursor: zoom-in;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.df-main-preview-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: opacity 0.25s ease, transform 0.3s ease;
}

.df-main-preview-wrap:hover img {
    transform: scale(1.02);
}

.df-preview-thumbs-strip {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-3);
    overflow-x: auto;
    padding-bottom: 4px;
}

.df-preview-thumb-btn {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: #0f172a;
    cursor: pointer;
    padding: 0;
    transition: all var(--dur-fast) var(--ease-out);
}

.df-preview-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.df-preview-thumb-btn:hover {
    border-color: var(--color-accent-2);
    transform: translateY(-2px);
}

.df-preview-thumb-btn.is-active {
    border-color: var(--color-accent-1);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

.download-info h1 {
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    color: #ffffff;
}

.download-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    margin: var(--space-6) 0;
}

.download-detail-item {
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s ease;
}

.download-detail-item:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

.download-detail-item .label {
    font-size: 11px;
    color: var(--color-text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
    font-weight: 500;
}

.download-detail-item .value {
    font-size: var(--text-base);
    font-weight: 600;
    color: #ffffff;
}

/* ── Gate page ──────────────────────────────────────── */
.gate-page {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-24) var(--container-padding);
}

.gate-container {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.gate-step {
    padding: var(--space-8);
    background: var(--color-bg-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
    display: none;
}

.gate-step.active {
    display: block;
    animation: fadeUp 0.4s var(--ease-out);
}

.gate-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
    color: var(--color-accent-1);
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
}

.gate-step h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.gate-step p {
    color: var(--color-text-3);
    font-size: var(--text-sm);
}

.gate-ad-slot {
    min-height: 90px;
    margin: var(--space-5) 0;
    background: var(--color-bg-glass);
    border: 1px dashed rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    color: var(--color-text-ghost);
}

.gate-timer {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-accent-1);
    margin: var(--space-3) 0;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Software landing ───────────────────────────────── */
.software-hero {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    padding-top: calc(80px + var(--space-12));
    padding-bottom: var(--space-16);
}

.software-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-float);
    border: 1px solid var(--color-border);
}

.software-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.software-meta h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-2);
}

.software-screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
}

.software-screenshots img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: transform var(--dur-normal) var(--ease-out);
}

.software-screenshots img:hover {
    transform: scale(1.02);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-3);
}

.feature-item {
    padding: var(--space-4);
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: start;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-text-2);
}

.feature-item::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
}

/* ── YouTube Channel Hub ────────────────────────────── */
.yt-channel-hero {
    position: relative;
    padding: var(--space-8);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(168, 85, 247, 0.05) 50%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-10);
    overflow: hidden;
}

.yt-channel-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15), transparent 70%);
    pointer-events: none;
}

.yt-channel-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.yt-channel-profile {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.yt-channel-avatar {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
    object-fit: cover;
}

.yt-tabs-nav {
    display: flex;
    gap: 6px;
    margin-bottom: var(--space-10);
    overflow-x: auto;
    padding-bottom: var(--space-2);
    scrollbar-width: none;
}

.yt-tabs-nav::-webkit-scrollbar {
    display: none;
}

.yt-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--color-text-2);
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--dur-fast) var(--ease-out);
}

.yt-tab-btn:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text);
    background: var(--color-bg-card-hover);
}

.yt-tab-btn.active {
    background: var(--color-text);
    border-color: var(--color-text);
    color: #000;
    font-weight: 600;
}

/* Shorts Cards (9:16 Vertical) */
.shorts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
}

@media (max-width: 1024px) {
    .shorts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .shorts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.shorts-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    aspect-ratio: 9 / 16;
    transition: all var(--dur-normal) var(--ease-out);
    cursor: pointer;
}

.shorts-card:hover {
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.shorts-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
}

.shorts-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shorts-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.shorts-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-4);
    z-index: 1;
}

.shorts-title {
    font-size: var(--text-xs);
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Playlists Grid */
.playlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
}

.playlist-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all var(--dur-normal) var(--ease-out);
    text-decoration: none;
    display: block;
}

.playlist-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.playlist-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.playlist-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-normal) var(--ease-out);
}

.playlist-card:hover .playlist-thumb-wrap img {
    transform: scale(1.03);
}

.playlist-overlay-count {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 35%;
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: #fff;
}

.playlist-info {
    padding: var(--space-4);
}

.playlist-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-1);
}

/* ── YouTube Community Posts Grid ──────────────────── */
.community-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-4);
}

.community-post-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
    transition: all var(--dur-normal) var(--ease-out);
    text-decoration: none;
    color: inherit;
}

.community-post-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.community-post-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.community-post-avatar {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    object-fit: cover;
}

.community-post-author {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text);
}

.community-post-time {
    font-size: 11px;
    color: var(--color-text-3);
}

.community-post-text {
    font-size: 13.5px;
    color: var(--color-text-2);
    line-height: 1.6;
    margin-bottom: var(--space-4);
    word-break: break-word;
}

.community-post-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    border: 1px solid var(--color-border);
    background: var(--color-bg-card-hover);
    transition: transform var(--dur-normal) var(--ease-out);
}

.community-post-card:hover .community-post-image {
    transform: scale(1.02);
}

.community-post-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-accent-3);
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-3);
    align-self: flex-start;
    transition: all var(--dur-fast);
}

.community-post-btn:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--color-accent-3);
}

.community-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
    font-size: var(--text-xs);
    color: var(--color-text-3);
}

.community-post-stats {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.community-post-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Video grid */
.video-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all var(--dur-normal) var(--ease-out);
    cursor: pointer;
}

.video-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity var(--dur-fast);
}

.video-card:hover .video-play-btn {
    opacity: 1;
}

.video-play-btn svg {
    width: 44px;
    height: 44px;
    fill: #fff;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.video-info {
    padding: var(--space-4);
}

.video-title {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--space-1);
}

.video-date {
    font-size: var(--text-xs);
    color: var(--color-text-3);
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer-brand img,
.footer-brand .custom-logo,
.footer-brand .custom-logo-link img {
    height: 48px;
    max-height: 52px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    margin-bottom: var(--space-4);
    display: block;
}

.footer-brand p {
    font-size: var(--text-sm);
    color: var(--color-text-3);
    max-width: 280px;
    margin-top: var(--space-3);
    line-height: 1.5;
}

.footer-heading {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-3);
    margin-bottom: var(--space-4);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--color-text-3);
    transition: color var(--dur-fast);
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-social {
    display: flex;
    gap: 6px;
    margin-top: var(--space-4);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    color: var(--color-text-3);
    transition: all var(--dur-fast);
}

.footer-social a:hover {
    border-color: var(--color-accent-1);
    color: var(--color-accent-1);
}

.footer-social svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.footer-bottom {
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: var(--color-text-3);
}

/* ── Pagination ─────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: var(--space-12);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    border: 1px solid var(--color-border);
    color: var(--color-text-3);
    transition: all var(--dur-fast);
}

.pagination a:hover {
    border-color: var(--color-accent-1);
    color: var(--color-accent-1);
}

.pagination .current {
    background: var(--gradient-accent);
    border-color: transparent;
    color: #fff;
}

/* ── Software Landing Page V2 ───────────────────────── */
.software-hero-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(168, 85, 247, 0.06) 50%, rgba(11, 11, 15, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    margin-bottom: var(--space-12);
    position: relative;
    overflow: hidden;
}

.software-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 70%);
    pointer-events: none;
}

.software-hero-content {
    display: flex;
    align-items: flex-start;
    gap: var(--space-8);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.software-app-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.store-badge-ms,
.store-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    height: 42px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
    transition: all var(--dur-normal) var(--ease-out);
}

.store-badge-ms {
    background: #0078d4;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 18px rgba(0, 120, 212, 0.35);
}

.store-badge-ms:hover {
    background: #106ebe;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.55);
    color: #ffffff;
}

.store-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-2);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.store-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
}

.software-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--color-text-2);
}

/* ── Software Archive Card (Dynamic & Responsive) ───── */
.software-archive-card {
    padding: var(--space-8);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-8);
    align-items: center;
    border-radius: var(--radius-2xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all var(--dur-normal) var(--ease-out);
}

.software-archive-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.1);
}

.software-archive-info {
    min-width: 0;
}

.software-archive-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.software-archive-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex-shrink: 0;
}

.software-archive-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: var(--space-6);
}

.software-archive-spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-xs);
    color: var(--color-text-2);
    font-weight: 500;
}

.software-archive-spec-item svg {
    flex-shrink: 0;
}

.software-archive-actions {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    flex-wrap: wrap;
}

.software-archive-thumb-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #08080c;
}

.software-archive-thumb-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform var(--dur-normal) var(--ease-out);
}

.software-archive-thumb-wrap:hover .software-archive-thumb-img {
    transform: scale(1.03);
}

.software-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.software-screenshot-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    transition: all var(--dur-normal) var(--ease-out);
}

.software-screenshot-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.software-screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}

.format-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--space-3);
}

.format-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-2);
    font-family: var(--font-mono, monospace);
}

.format-tag.highlight {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
    color: var(--color-accent-3);
}

/* ── Universal YouTube Softbox / Lightbox Modal ─────── */
.df-softbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    background: rgba(3, 3, 6, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.df-softbox-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.df-softbox-dialog {
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    transform: scale(0.94) translateY(12px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.df-softbox-overlay.is-active .df-softbox-dialog {
    transform: scale(1) translateY(0);
}

.df-softbox-dialog.is-short {
    max-width: 440px;
}

.df-softbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
}

.df-softbox-title-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    overflow: hidden;
}

.df-softbox-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.df-softbox-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--dur-fast);
}

.df-softbox-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: scale(1.08) rotate(90deg);
}

.df-softbox-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(6, 182, 212, 0.15);
}

.df-softbox-dialog.is-short .df-softbox-video-wrap {
    aspect-ratio: 9 / 16;
    max-height: 75vh;
}

.df-softbox-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.df-softbox-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-3);
    font-size: 11px;
    color: var(--color-text-3);
    flex-wrap: wrap;
    gap: var(--space-2);
}

.df-softbox-ext-link {
    color: var(--color-accent-1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color var(--dur-fast);
}

.df-softbox-ext-link:hover {
    color: var(--color-accent-3);
    text-decoration: underline;
}

/* ── Generic Page & Single Download Layout Extensions ── */
.download-content-container {
    padding-bottom: var(--space-32);
}

.generic-page-section {
    padding-top: calc(80px + var(--space-12));
    padding-bottom: var(--space-20);
}

.generic-page-container {
    max-width: 1000px;
}

.generic-page-header {
    margin-bottom: var(--space-10);
}

.generic-page-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-3);
    line-height: 1.15;
    color: #ffffff;
}

.generic-page-desc {
    font-size: var(--text-base);
    color: var(--color-text-2);
    max-width: 720px;
    line-height: 1.6;
    margin-top: var(--space-2);
}

.software-hero-details {
    flex: 1;
    min-width: 280px;
}

.software-hero-badges {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
    flex-wrap: wrap;
}

.software-hero-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-2);
    line-height: 1.15;
    color: #ffffff;
}

/* ── Visual Download Catalog & Modern Filter Bar ──────── */
.dl-catalog-section {
    padding-top: calc(80px + var(--space-12));
    padding-bottom: var(--space-24);
}

.dl-filter-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-12);
}

.dl-filter-bar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: rgba(15, 15, 23, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.dl-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-2);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--dur-normal) var(--ease-out);
    border: 1px solid transparent;
}

.dl-filter-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.dl-filter-pill.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.25);
}

.dl-filter-count {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-3);
    font-weight: 700;
    transition: all var(--dur-fast);
}

.dl-filter-pill.is-active .dl-filter-count {
    background: rgba(168, 85, 247, 0.4);
    color: #ffffff;
}

/* ── Visual Product Download Grid & Card ──────────────── */
.dl-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.dl-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--dur-normal) var(--ease-out);
    box-shadow: var(--shadow-card);
}

.dl-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.12);
}

.dl-card-thumb-link {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #08080c;
}

.dl-card-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-smooth);
}

.dl-card:hover .dl-card-thumb-img {
    transform: scale(1.05);
}

.dl-card-badges-top {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    right: var(--space-3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.dl-card-body {
    padding: var(--space-5) var(--space-6) var(--space-6);
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.dl-card-title {
    font-size: var(--text-base);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: var(--space-4);
    letter-spacing: -0.015em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dl-card-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--dur-fast);
}

.dl-card-title a:hover {
    color: var(--color-accent-1);
}

.dl-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
}

.dl-card-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--text-xs);
    color: var(--color-text-3);
    font-weight: 600;
}

.dl-card-count svg {
    color: #22c55e;
}

.dl-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-lg);
    background: rgba(168, 85, 247, 0.12);
    color: var(--color-accent-1);
    border: 1px solid rgba(168, 85, 247, 0.25);
    text-decoration: none;
    transition: all var(--dur-fast);
}

.dl-card:hover .dl-card-btn {
    background: var(--gradient-accent);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
}

/* ── Universal Image Softbox / Lightbox Engine ───────── */
.df-img-softbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(4, 4, 7, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    padding: var(--space-4);
    user-select: none;
    touch-action: none;
}

.df-img-softbox-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.df-img-softbox-dialog {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.94);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.df-img-softbox-overlay.is-active .df-img-softbox-dialog {
    transform: scale(1);
}

.df-img-softbox-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 80vh;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #08080c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(168, 85, 247, 0.15);
}

.df-img-softbox-img {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease-out;
}

.df-img-softbox-header {
    position: absolute;
    top: -48px;
    right: 0;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    z-index: 20;
}

.df-img-softbox-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.df-img-softbox-close:hover {
    background: rgba(239, 68, 68, 0.85);
    border-color: rgba(239, 68, 68, 1);
    transform: scale(1.08);
}

.df-img-softbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(14, 14, 22, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.df-img-softbox-nav:hover {
    background: var(--color-accent-1);
    border-color: var(--color-accent-1);
    transform: translateY(-50%) scale(1.1);
}

.df-img-softbox-prev {
    left: -24px;
}

.df-img-softbox-next {
    right: -24px;
}

.df-img-softbox-footer {
    margin-top: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: var(--text-xs);
    color: var(--color-text-2);
}

.df-img-softbox-caption {
    font-weight: 500;
    color: #ffffff;
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.df-img-softbox-counter {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-2);
}

@media (max-width: 768px) {
    .df-img-softbox-header {
        top: -42px;
        right: 0;
    }
    .df-img-softbox-prev {
        left: 6px;
    }
    .df-img-softbox-next {
        right: 6px;
    }
    .df-img-softbox-media {
        max-width: 95vw;
        max-height: 75vh;
    }
    .df-img-softbox-img {
        max-width: 95vw;
        max-height: 75vh;
    }
}

/* ── Software Screenshot Auto Carousel (2 in a row) ── */
.df-screenshot-carousel-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: var(--space-4);
}

.df-screenshot-carousel-track {
    display: flex;
    gap: var(--space-6);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.df-screenshot-slide {
    flex: 0 0 calc((100% - var(--space-6)) / 2);
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .df-screenshot-slide {
        flex: 0 0 100%;
    }
}

.df-carousel-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.df-carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--color-text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--dur-fast);
}

.df-carousel-btn:hover {
    background: var(--gradient-accent);
    border-color: transparent;
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
}

.df-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-6);
}

.df-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.df-carousel-dot.is-active {
    width: 26px;
    background: var(--color-accent-1);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

/* ── Facebook Community Hub ── */
.fb-page-hero-card {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.09) 0%, rgba(15, 23, 42, 0.65) 100%);
    border: 1px solid rgba(24, 119, 242, 0.28);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-6);
    backdrop-filter: blur(12px);
    transition: border-color var(--dur-normal), box-shadow var(--dur-normal);
}

.fb-page-hero-card:hover {
    border-color: rgba(24, 119, 242, 0.55);
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.18);
}

.fb-page-avatar {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    border: 2.5px solid #1877f2;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.35);
    object-fit: cover;
    background: #000;
}

.btn-facebook {
    background: #1877f2 !important;
    border: 1px solid rgba(24, 119, 242, 0.6) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(24, 119, 242, 0.35);
    transition: all var(--dur-fast);
}

.btn-facebook:hover {
    background: #1565c0 !important;
    border-color: #1565c0 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(24, 119, 242, 0.55);
}

.btn-youtube {
    background: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.6) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.35);
    transition: all var(--dur-fast);
}

.btn-youtube:hover {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(239, 68, 68, 0.55);
}

/* ── Modern Blog Category Filter Hub ── */
.blog-filter-section {
    margin-bottom: var(--space-10);
}

.blog-filter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-3) var(--space-4);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.blog-filter-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.blog-filter-pills::-webkit-scrollbar {
    display: none;
}

.blog-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--color-text-2);
    border-radius: var(--radius-full);
    text-decoration: none;
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    transition: all var(--dur-fast) var(--ease-out);
    white-space: nowrap;
}

.blog-filter-pill:hover {
    color: #ffffff;
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-1px);
}

.blog-filter-pill.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(6, 182, 212, 0.25) 100%);
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 4px 18px rgba(168, 85, 247, 0.3);
    font-weight: 600;
}

.blog-filter-count {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-3);
    font-weight: 700;
    transition: all var(--dur-fast);
}

.blog-filter-pill.is-active .blog-filter-count {
    background: rgba(168, 85, 247, 0.5);
    color: #ffffff;
}

.blog-subfilter-group {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-left: auto;
}

.blog-lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    color: var(--color-text-3);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    text-decoration: none;
    transition: all var(--dur-fast);
}

.blog-lang-pill:hover {
    color: #ffffff;
    border-color: var(--color-border-hover);
    background: rgba(255, 255, 255, 0.08);
}

.blog-lang-pill.is-active {
    color: var(--color-accent-3);
    border-color: rgba(6, 182, 212, 0.4);
    background: rgba(6, 182, 212, 0.12);
}

/* ── Homepage Software Section (2 per row & Auto-Carousel) ── */
.home-software-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.home-software-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.home-software-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    gap: var(--space-6);
}

.home-software-slide {
    flex: 0 0 calc((100% - var(--space-6)) / 2);
    min-width: calc((100% - var(--space-6)) / 2);
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .home-software-grid {
        grid-template-columns: 1fr;
    }
    .home-software-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.home-software-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all var(--dur-normal) var(--ease-out);
    padding: var(--space-6);
}

.home-software-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
    border-color: var(--color-border-hover);
}

.home-software-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-6);
}

.home-software-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all var(--dur-fast);
}

.home-software-dot.is-active {
    width: 24px;
    background: var(--gradient-accent);
}
