:root {
    --bg-primary: #0f0f12;
    --bg-secondary: #1a1a1f;
    --bg-modal: rgba(12, 12, 14, 0.97);
    --bg-modal-translucent: rgba(12, 12, 14, 0.8);
    --bg-tertiary: #232329;
    --bg-card: rgba(35, 35, 41, 0.8);
    --bg-card-hover: rgba(45, 45, 52, 0.9);
    --bg-elevated: #2d2d35;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-subtle: rgba(255, 255, 255, 0.04);
    
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --text-subtle: #4b5563;
    
    --accent-primary: #3b82f6;   /* 极客炫蓝色 */
    --accent-secondary: #2563eb; /* 皇家深蓝色 */
    --accent-tertiary: #60a5fa;  /* 天空浅蓝色 */
    --accent-muted: rgba(59, 130, 246, 0.1);
    --accent-glow: rgba(59, 130, 246, 0.25);
    
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-text: linear-gradient(135deg, #ffffff 0%, #3b82f6 100%);
    --gradient-card: linear-gradient(180deg, rgba(59, 130, 246, 0.03) 0%, transparent 100%);
    --gradient-border: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    --gradient-glass: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(59, 130, 246, 0.02) 100%);
    
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3), 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.25), 0 8px 10px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.25);
    
    /* KOOK SVG 默认暗色配置 (黑色底，白色图案) */
    --kook-bg: #1a1a1f;
    --kook-fg: #ffffff;
    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 10px 20px rgba(0, 0, 0, 0.35);
    --shadow-button: 0 1px 3px rgba(0, 0, 0, 0.3);
    
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;
    
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 96px;
    
    --font-xs: 12px;
    --font-sm: 13px;
    --font-base: 15px;
    --font-md: 16px;
    --font-lg: 18px;
    --font-xl: 20px;
    --font-2xl: 24px;
    --font-3xl: 32px;
    --font-4xl: 40px;
    --font-5xl: 48px;
    --font-6xl: 64px;
    
    --line-height-tight: 1.25;
    --line-height-snug: 1.4;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.75;
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Spotlight Card Variables - White */
    --spotlight-size: 200px;
    --spotlight-radius: 14;
    --spotlight-border: 2;
    --spotlight-backdrop: rgba(255, 255, 255, 0.08);
    --spotlight-opacity: 0.2;
    --spotlight-border-opacity: 0.6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.modal-screenshot,
.modal-screenshot img {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.modal-screenshot img:hover {
    opacity: 0.9;
}

a, p, span, div, h1, h2, h3, h4, h5, h6 {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

* {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
*::-webkit-scrollbar,
::-webkit-scrollbar,
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-corner {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    border: none !important;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 11, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all var(--transition-base);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 16px;
    border-radius: var(--radius-md);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

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



.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-sm);
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-family: inherit;
    line-height: 1;
    white-space: nowrap;
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-ghost::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-ghost:hover::before {
    left: 0;
}

.btn-ghost:hover {
    color: #0f0f12;
    border-color: #ffffff;
}

.btn-primary {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    color: #0f0f12;
    border-color: #ffffff;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    font-weight: 500;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: #0f0f12;
    border-color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    border-color: #ffffff;
    color: #0f0f12;
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-base);
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-xs);
    border-radius: var(--radius-sm);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-4xl) var(--spacing-lg) var(--spacing-3xl);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(var(--font-4xl), 10vw, var(--font-6xl));
    font-weight: 800;
    line-height: var(--line-height-tight);
    letter-spacing: -2px;
    margin-bottom: var(--spacing-lg);
}

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

.hero-description {
    font-size: var(--font-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-2xl);
    line-height: var(--line-height-relaxed);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.hero-stats .stat {
    text-align: center;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: var(--font-3xl);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.stat-suffix {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: var(--font-sm);
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}

.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.section {
    padding: var(--spacing-4xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-tag {
    display: inline-block;
    font-size: var(--font-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--accent-muted);
    border-radius: var(--radius-full);
}

.section-title {
    font-size: clamp(var(--font-2xl), 5vw, var(--font-4xl));
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-tight);
}

.section-description {
    font-size: var(--font-base);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
}

.about-card {
    padding: var(--spacing-xl);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.about-card::before,
.about-card:hover::before {
    display: none !important;
}

.about-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-6px);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 0 40px var(--accent-glow);
}

.about-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-xl);
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover .about-icon {
    transform: scale(1.05);
    border-color: #ffffff;
    color: #ffffff;
}

.about-icon i {
    position: relative;
    z-index: 1;
}

.about-card h3,
.about-card p,
.about-card .about-icon {
    position: relative;
    z-index: 1;
}

.about-card h3 {
    font-size: var(--font-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: var(--line-height-snug);
}

.about-card p {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.site-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.site-card::before,
.site-card:hover::before {
    display: none !important;
}

.site-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-6px);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 0 40px var(--accent-glow);
}

.site-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: var(--font-2xl);
    color: var(--text-secondary);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.site-card:hover .site-icon {
    transform: scale(1.05);
    border-color: #ffffff;
    color: #ffffff;
}

.site-icon i {
    position: relative;
    z-index: 1;
}

.site-icon,
.site-info,
.site-arrow {
    position: relative;
    z-index: 1;
}

.site-info h3 {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    line-height: var(--line-height-snug);
}

.site-info p {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    line-height: var(--line-height-normal);
}

.site-arrow {
    margin-left: auto;
    color: var(--text-muted);
    transition: all var(--transition-base);
    font-size: var(--font-sm);
}

.site-card:hover .site-arrow {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.plugin-card {
    padding: 0;
    background: rgba(30, 30, 35, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    will-change: transform;
}

.plugin-card::before,
.plugin-card:hover::before {
    display: none !important;
}

.plugin-card:hover {
    background: rgba(40, 40, 45, 0.6);
    border-color: var(--accent-primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px var(--accent-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.plugin-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(50, 50, 55, 0.5) 0%, rgba(30, 30, 35, 0.3) 100%);
}

.plugin-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.plugin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.plugin-card:hover .plugin-image img {
    transform: scale(1.08);
}

.plugin-card-actions {
    position: absolute;
    left: var(--spacing-md);
    right: var(--spacing-md);
    bottom: var(--spacing-md);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.plugin-card:hover .plugin-card-actions,
.plugin-card:focus-within .plugin-card-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.plugin-card-action {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    border-radius: var(--radius-full);
    font-size: var(--font-xs);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    transition: color var(--transition-base), background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.plugin-card-action:hover,
.plugin-card-action:focus-visible {
    transform: translateY(-2px);
}

.plugin-card-action-primary {
    color: #ffffff;
    background: rgba(15, 15, 18, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.plugin-card-action-secondary {
    color: #0f0f12;
    background: rgba(255, 255, 255, 0.9);
}

.plugin-card h3,
.plugin-card p,
.plugin-meta {
    position: relative;
    z-index: 1;
}

.plugin-card h3 {
    font-size: var(--font-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: var(--line-height-snug);
    padding: 0 var(--spacing-lg);
    padding-top: var(--spacing-lg);
}

.plugin-card p {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-relaxed);
    min-height: 23px;
    padding: 0 var(--spacing-lg);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plugin-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    border-top: none;
}

.plugin-price {
    font-size: var(--font-sm);
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.plugin-price.free {
    color: #6ee7b7;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.plugin-version {
    font-size: var(--font-xs);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.plugin-downloads {
    font-size: var(--font-xs);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-left: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
}

.team-card {
    padding: var(--spacing-xl);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.team-card::before {
    display: none !important;
}

.team-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-6px);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 0 40px var(--accent-glow);
}

.team-card:hover::before {
    display: none !important;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    background: transparent;
    border: 2px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.team-avatar,
.team-card h3,
.team-role,
.team-social {
    position: relative;
    z-index: 1;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: var(--font-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    line-height: var(--line-height-snug);
}

.team-role {
    font-size: var(--font-sm);
    color: var(--accent-primary);
    margin-bottom: var(--spacing-md);
}

.team-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.team-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.team-social a:hover {
    background: var(--accent-muted);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: var(--font-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: var(--gradient-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-ellipsis {
    color: var(--text-muted);
    padding: 0 var(--spacing-xs);
    font-size: var(--font-sm);
}

.cta {
    background: transparent;
    position: relative;
}

.cta-content {
    text-align: center;
    padding: var(--spacing-3xl) 0;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(var(--font-xl), 4vw, var(--font-3xl));
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-tight);
}

.cta-description {
    font-size: var(--font-base);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: var(--line-height-relaxed);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Footer V2 - Exact 123.md style */
.footer-v2 {
    background: rgba(15, 15, 17, 0.1);
    position: relative;
    width: min(calc(100% - 48px), 1200px);
    min-height: 560px;
    border-radius: 24px;
    overflow: hidden;
    margin: 32px auto;
    border: 1px solid var(--border-subtle);
}

.footer-v2-container {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: inherit;
    padding: 48px;
    display: flex;
    flex-direction: column;
}

.footer-v2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 48px;
    padding-bottom: 32px;
    flex: 1;
}

/* Brand */
.footer-v2-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-v2-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-v2-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.footer-v2-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    opacity: 0.92;
    display: block;
}

.footer-v2-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Columns */
.footer-v2-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-v2-links,
.footer-v2-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-v2-links li,
.footer-v2-contact li {
    margin-bottom: 12px;
    position: relative;
}

.footer-v2-links a,
.footer-v2-contact a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-v2-links a:hover,
.footer-v2-contact a:hover {
    color: var(--text-primary);
}

.footer-v2-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-v2-contact i {
    width: 16px;
    color: var(--accent-primary);
    text-align: center;
    flex: 0 0 16px;
}

.footer-v2-contact span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Pulse */
.footer-v2-pulse-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-v2-pulse {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    animation: footerPulse 2s infinite;
}

@keyframes footerPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Divider */
.footer-v2-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 24px 0;
}

/* Bottom */
.footer-v2-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-v2-social {
    display: flex;
    gap: 24px;
}

.footer-v2-social a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.footer-v2-social a:hover {
    color: var(--accent-primary);
}

.footer-v2-copy {
    text-align: right;
}

/* Text Effect - positioned at bottom, larger text */
.footer-v2-text-effect {
    display: none;
    position: absolute;
    right: -40px;
    bottom: -70px;
    width: 360px;
    height: 360px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.16;
}

.footer-v2-watermark {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 36px var(--accent-glow));
}

.footer-v2-text-bg {
    font-size: 140px;
    font-weight: 800;
    fill: transparent;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 0.8;
    font-family: var(--font-family);
}

.footer-v2-text-anim {
    font-size: 140px;
    font-weight: 800;
    fill: transparent;
    stroke-width: 2;
    font-family: var(--font-family);
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: footerTextAnim 4s ease-in-out infinite;
}

@keyframes footerTextAnim {
    0% { stroke-dashoffset: 700; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

@media (min-width: 1024px) {
    .footer-v2-text-effect {
        display: block;
    }
}

/* Background - 123.md style with white colors */
.footer-v2-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(125% 125% at 50% 10%, rgba(15, 15, 17, 0.4) 50%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 0;
    pointer-events: none;
}

.footer-beian {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    padding-top: var(--spacing-md);
    font-size: var(--font-xs);
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.footer-beian a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

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

.footer-beian img {
    width: 16px;
    height: 16px;
    opacity: 0.8;
    margin-right: 4px;
}

.footer-beian a:hover img {
    opacity: 1;
}

.beian-icon {
    width: 16px !important;
    height: 16px !important;
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .footer-v2 {
        width: calc(100% - 32px);
        min-height: auto;
        margin: 16px auto;
        border-radius: 16px;
    }

    .footer-v2-container {
        padding: 40px 24px 24px;
    }

    .footer-v2-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-v2-brand {
        grid-column: 1 / -1;
    }

    .footer-v2-text-effect {
        display: none;
    }

    .footer-v2-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-v2-copy {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .footer-v2-container {
        padding: 32px 20px 22px;
    }

    .footer-v2-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-v2-brand {
        grid-column: 1;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-modal);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(255, 255, 255, 0.02);
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.modal::-webkit-scrollbar,
.modal::-webkit-scrollbar-track,
.modal::-webkit-scrollbar-thumb,
.modal::-webkit-scrollbar-thumb:hover {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    border: none !important;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-close {
    position: fixed;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(28, 28, 31, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2010;
    font-size: var(--font-lg);
}

.modal-close:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: scale(1.1);
}

.modal-content {
    padding: 0;
    position: relative;
    z-index: 1;
}

.detail-header {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: calc(var(--radius-2xl) - 1px) calc(var(--radius-2xl) - 1px) 0 0;
}

.detail-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 40%,
        var(--bg-modal-translucent) 70%,
        var(--bg-modal) 100%
    );
    pointer-events: none;
}

.detail-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: headerImageZoom 20s ease-in-out infinite alternate;
}

@keyframes headerImageZoom {
    0% { transform: scale(1.1) translateY(0); }
    100% { transform: scale(1.15) translateY(-10px); }
}

.detail-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-2xl);
    padding-right: calc(var(--spacing-xl) + 8px);
    z-index: 2;
}

.detail-header-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

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

.detail-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(229, 231, 235, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    font-size: var(--font-3xl);
    color: var(--accent-primary);
    margin-bottom: var(--spacing-md);
    animation: iconPulse 3s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

@keyframes iconPulse {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
        transform: scale(1.05);
    }
}

.detail-title {
    font-size: var(--font-4xl);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detail-subtitle {
    font-size: var(--font-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-relaxed);
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-sm);
    color: var(--text-secondary);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.detail-meta-item:hover {
    border-color: var(--accent-primary);
    background: var(--accent-muted);
}

.detail-meta-item i {
    color: var(--accent-primary);
    font-size: var(--font-xs);
}

.detail-meta-item.price {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

.detail-meta-item.price.free {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.detail-meta-item.price i {
    color: inherit;
}

.detail-body {
    padding: var(--spacing-2xl) var(--spacing-xl) var(--spacing-2xl) var(--spacing-2xl);
    padding-right: calc(var(--spacing-xl) + 8px);
}

.detail-section {
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.6s ease-out both;
}

.detail-section:nth-child(1) { animation-delay: 0.3s; }
.detail-section:nth-child(2) { animation-delay: 0.4s; }
.detail-section:nth-child(3) { animation-delay: 0.5s; }
.detail-section:nth-child(4) { animation-delay: 0.6s; }
.detail-section:nth-child(5) { animation-delay: 0.7s; }

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section-title {
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-primary);
    line-height: var(--line-height-snug);
}

.detail-section-title i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(229, 231, 235, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-size: var(--font-sm);
}

.detail-description {
    font-size: var(--font-base);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    white-space: pre-wrap;
}

.detail-description::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
}

.detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
}

.detail-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(28, 28, 31, 0.5) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    color: var(--text-secondary);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.detail-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.detail-feature:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.detail-feature:hover::before {
    width: 3px;
}

.detail-feature i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-muted);
    border-radius: 50%;
    color: var(--accent-primary);
    font-size: var(--font-xs);
    flex-shrink: 0;
}

.detail-requirements {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.detail-requirement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(28, 28, 31, 0.5) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.detail-requirement:hover {
    border-color: var(--accent-primary);
    transform: translateX(8px);
}

.detail-requirement-label {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.detail-requirement-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.5;
}

.detail-requirement-value {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--accent-muted);
    border-radius: var(--radius-full);
}

.detail-screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.detail-screenshot {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    pointer-events: auto;
}

.detail-screenshot img {
    pointer-events: auto;
    cursor: pointer;
}

.detail-screenshot::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    color: white;
    border-radius: 50%;
    font-size: var(--font-lg);
    opacity: 0;
    transition: all var(--transition-base);
}

.detail-screenshot:hover {
    border-color: var(--accent-primary);
    transform: scale(1.03);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.detail-screenshot:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.detail-screenshot img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.detail-screenshot:hover img {
    transform: scale(1.1);
}

.detail-actions {
    display: flex;
    gap: var(--spacing-md);
    padding: 0;
    margin-top: var(--spacing-2xl);
    flex-wrap: wrap;
    background: transparent;
    border-top: none;
    position: relative;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.detail-actions .btn {
    flex: 1;
    min-width: 180px;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-base);
    font-weight: 600;
    border-radius: var(--radius-md);
}

.detail-actions .btn:hover {
    transform: translateY(-2px);
}

.site-detail-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-sm);
    color: var(--accent-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.site-detail-link:hover {
    color: var(--accent-secondary);
}

.site-detail-link i {
    font-size: var(--font-xs);
}

@media (max-width: 768px) {
    .modal-close {
        top: var(--spacing-md);
        right: var(--spacing-md);
        width: 40px;
        height: 40px;
    }
    
    .detail-header {
        height: 280px;
    }
    
    .detail-header-overlay {
        padding: var(--spacing-lg);
    }
    
    .detail-title {
        font-size: var(--font-2xl);
    }
    
    .detail-subtitle {
        font-size: var(--font-base);
    }
    
    .detail-body {
        padding: var(--spacing-lg);
    }
    
    .detail-section {
        margin-bottom: var(--spacing-lg);
    }
    
    .detail-actions {
        flex-direction: column;
        padding: var(--spacing-md);
    }
    
    .detail-actions .btn {
        width: 100%;
        min-width: auto;
    }
    
    .detail-screenshots {
        grid-template-columns: 1fr;
    }
    
    .detail-screenshot img {
        height: 200px;
    }
}

.plugin-card,
.site-card {
    cursor: pointer;
}

*::-webkit-scrollbar,
::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

::selection {
    background: var(--accent-muted);
    color: var(--text-primary);
}

.icon-kook,
.icon-kook-sm {
    display: inline-block;
    vertical-align: middle;
}

.icon-kook {
    width: 18px;
    height: 18px;
}

.icon-kook-sm {
    width: 16px;
    height: 16px;
}

.icon-kook,
.icon-kook-sm {
    color: var(--text-secondary);
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-kook .kook-bg,
.icon-kook-sm .kook-bg {
    fill: transparent;
    transition: fill 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover .icon-kook,
.btn-outline:hover .icon-kook-sm,
.social-link:hover .icon-kook-sm {
    color: #0f0f12;
    transition-delay: 0.1s;
}

.btn-outline:hover .icon-kook .kook-bg,
.social-link:hover .icon-kook-sm .kook-bg {
    fill: #ffffff;
}

/* Light Mode Styles */
/* Scoped variables for Services section in dark mode to support Royal Blue Accent */
#services, .services {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
                
    --accent-primary: #3b82f6;   /* 极客炫蓝色 */
    --accent-secondary: #2563eb; /* 皇家深蓝色 */
    --accent-tertiary: #60a5fa;  /* 天空浅蓝色 */
    --accent-muted: rgba(59, 130, 246, 0.1);
    --accent-glow: rgba(59, 130, 246, 0.2);
    
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-text: linear-gradient(135deg, #ffffff 0%, #3b82f6 100%);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.2);
}

/* Scoped Light Mode variables for Services section ONLY */
body.light-mode #services {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f3f5;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --bg-elevated: #ffffff;
    
    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.12);
    --border-subtle: rgba(0, 0, 0, 0.06);
    
    --text-primary: #0f0f12;     /* 极深黑色 */
    --text-secondary: #3f3f46;   /* 锌灰深 */
    --text-muted: #71717a;       /* 锌灰中 */
    --text-subtle: #a1a1aa;      /* 锌灰浅 */
    
    --accent-primary: #2563eb;   /* 皇家深蓝色 */
    --accent-secondary: #3b82f6; /* 极客炫蓝色 */
    --accent-tertiary: #1d4ed8;  /* 靛青深蓝色 */
    --accent-muted: rgba(37, 99, 235, 0.06);
    --accent-glow: rgba(37, 99, 235, 0.12);
    
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-text: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    --gradient-border: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.08);
    
    /* SVG 专用的反色填充 */
    --kook-bg: #ffffff;
    --kook-fg: #1a1a1f;
}

/* 兼容可能用到的 SVG，设置反色过滤样式 */
body.light-mode #services svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
    transition: filter 0.4s ease;
}

/* Scrollbars are globally hidden */

/* ==========================================================================
   UI REDESIGN & INTENSE INTERACTION STYLES
   ========================================================================== */

/* Accent Color Themes - Realtime CSS overrides (We only use the default premium silver white theme now) */
body {
    --accent-glow-intensity: 0.15;
}


/* Scroll Reveal animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 1s cubic-bezier(0.22, 1, 0.36, 1),
                filter 1s cubic-bezier(0.22, 1, 0.36, 1);
    filter: blur(8px);
    will-change: transform, opacity;
}
.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* ==========================================================================
   CUSTOM SERVICES SECTION & DASHED EMBOSSED CARDS
   ========================================================================== */
.services {
    position: relative;
    padding: var(--spacing-4xl) 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: 48px;
}
.service-card {
    position: relative;
    padding: 48px 36px;
    background: rgba(22, 22, 26, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.3, 1);
    cursor: pointer;
    z-index: 1;
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform, box-shadow, background-color;
}
/* Stitched sewing dashed border */
.service-card::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px dashed rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.3, 1);
    z-index: 2;
}
.service-card:hover {
    background: rgba(30, 30, 36, 0.6);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px var(--accent-glow);
    border-color: var(--accent-primary);
}
.service-card:hover::after {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-glow);
    inset: 12px;
}

.service-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 28px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    transform: translateZ(25px);
}
.service-card:hover .service-icon-wrap {
    background: var(--accent-muted);
    border-color: var(--accent-primary);
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateZ(40px) scale(1.1);
}
.service-icon {
    font-size: 32px;
    color: var(--text-secondary);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.3, 1);
}
.service-card:hover .service-icon {
    color: var(--accent-primary);
    transform: scale(1.1);
}
.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    transform: translateZ(15px);
}
.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    transform: translateZ(10px);
}

/* Light mode overrides for Services section - Ceramic physical look based on mockup */
body.light-mode .service-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.03),
        inset 0 2px 5px rgba(255, 255, 255, 0.9),
        inset 0 -2px 5px rgba(0, 0, 0, 0.02);
}
body.light-mode .service-card::after {
    border-color: rgba(24, 24, 27, 0.08);
}
body.light-mode .service-card:hover {
    background: #ffffff;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.06),
        inset 0 2px 5px rgba(255, 255, 255, 0.9);
    border-color: rgba(24, 24, 27, 0.15);
}
body.light-mode .service-card:hover::after {
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(24, 24, 27, 0.05);
}
body.light-mode .service-icon-wrap {
    background: #f4f4f5;
    border-color: rgba(24, 24, 27, 0.05);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.9);
}
body.light-mode .service-icon {
    color: #18181b;
}
body.light-mode .service-card:hover .service-icon-wrap {
    background: rgba(24, 24, 27, 0.05);
}
body.light-mode .service-card:hover .service-icon {
    color: var(--accent-primary);
}

/* ==========================================================================
   CUSTOM LIQUID CURSOR & CLICK SPARKS (Only Canvas Click Particles remain)
   ========================================================================== */
.cursor-particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10004;
}


/* ==========================================================================
   SETTINGS HUB & MICRO BGM DASHBOARD
   ========================================================================== */
.settings-hub {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: inherit;
}
.settings-hub-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(22, 22, 26, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.05);
    outline: none;
}
.settings-hub-trigger:hover {
    transform: scale(1.08) rotate(45deg);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 30px var(--accent-glow);
}
.hub-trigger-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-glow);
    opacity: 0.8;
    animation: triggerPulse 2s infinite;
}
@keyframes triggerPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.12); opacity: 0.8; }
}

.settings-hub-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 280px;
    background: rgba(18, 18, 22, 0.92);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 40px var(--accent-glow);
}
.settings-hub.active .settings-hub-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.settings-panel-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}
.settings-group {
    margin-bottom: 18px;
}
.settings-group:last-child {
    margin-bottom: 0;
}
.settings-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Custom buttons */
.settings-btn {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    outline: none;
}
.settings-btn:hover {
    background: var(--accent-muted);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}
.settings-mini-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
}
.settings-mini-btn:hover {
    background: var(--accent-muted);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Custom switch toggle */
.switch-container {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.switch-container input {
    opacity: 0;
    width: 0;
    height: 0;
}
.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: .3s;
    border-radius: 34px;
}
.switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: .3s;
    border-radius: 50%;
}
input:checked + .switch-slider {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}
input:checked + .switch-slider:before {
    transform: translateX(20px);
}

.bgm-volume-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}
.bgm-volume-container i {
    color: var(--text-secondary);
    font-size: 14px;
    width: 16px;
}
.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.08);
    outline: none;
    transition: all 0.3s;
}
.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
}
.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    background: var(--accent-primary);
}

/* Audio wave bars */
.music-wave {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 20px;
    margin-top: 12px;
    opacity: 0.4;
    transition: all 0.3s ease;
}
.music-wave.active {
    opacity: 1;
}
.music-wave span {
    display: block;
    width: 3px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 1px;
    transition: height 0.3s ease;
}
.music-wave.active span {
    animation: waveAnim 1.2s infinite ease-in-out alternate;
}
.music-wave.active span:nth-child(1) { animation-delay: 0.1s; }
.music-wave.active span:nth-child(2) { animation-delay: 0.3s; }
.music-wave.active span:nth-child(3) { animation-delay: 0.0s; }
.music-wave.active span:nth-child(4) { animation-delay: 0.4s; }
.music-wave.active span:nth-child(5) { animation-delay: 0.2s; }

@keyframes waveAnim {
    0% { height: 4px; }
    100% { height: 20px; }
}



/* ==========================================================================
   MODAL CAROUSEL SCREENSHOT SLIDER
   ========================================================================== */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: rgba(0,0,0,0.2);
    margin-top: 16px;
}
.carousel-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.3, 1);
    will-change: transform;
    cursor: grab;
}
.carousel-wrapper:active {
    cursor: grabbing;
}
.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
}
.carousel-slide img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-55%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(20, 20, 25, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}
.carousel-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-55%) scale(1.1);
}
.carousel-btn-prev { left: 16px; }
.carousel-btn-next { right: 16px; }

.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s;
}
.carousel-dot.active {
    background: var(--accent-primary);
    transform: scale(1.25);
    box-shadow: 0 0 8px var(--accent-glow);
}

@media (max-width: 768px) {
    .carousel-slide img {
        height: 240px;
    }
}



/* 详情弹窗防背景粒子干扰的深色重度毛玻璃大背景 - 全部收归至外层 .modal 滚动容器以消除裁切线与分割条，内部完全透明 */
.modal-content {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

[data-target] {
    cursor: pointer !important;
}

/* ==========================================================================
   THEME TOGGLE SMOOTH TRANSITIONS & CARD SPOTLIGHT EFFECTS BY ANTIGRAVITY
   ========================================================================== */

/* Theme Toggle transition overrides to prevent instant layout jumps/snaps */
.section-tag,
.section-title,
.section-description,
.service-card,
.service-card h3,
.service-card p,
.service-card::after,
.service-icon-wrap,
.service-icon {
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                inset 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cybernetic Spotlight Card Highlight & Border (Premium Royal Blue) */
.card-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
    background: radial-gradient(
        var(--spotlight-size, 220px) circle at var(--x, 0px) var(--y, 0px),
        rgba(59, 130, 246, 0.03),
        transparent 80%
    );
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-spotlight-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
    background: radial-gradient(
        var(--spotlight-size, 220px) circle at var(--x, 0px) var(--y, 0px),
        var(--accent-glow, rgba(59, 130, 246, 0.25)),
        transparent 80%
    );
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-spotlight-border {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(
        var(--spotlight-size, 220px) circle at var(--x, 0px) var(--y, 0px),
        var(--accent-primary, #3b82f6),
        transparent 65%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Activate spotlights on card hovers across all sections */
.about-card:hover .card-spotlight,
.about-card:hover .card-spotlight-border,
.about-card:hover .card-spotlight-glow,
.site-card:hover .card-spotlight,
.site-card:hover .card-spotlight-border,
.site-card:hover .card-spotlight-glow,
.plugin-card:hover .card-spotlight,
.plugin-card:hover .card-spotlight-border,
.plugin-card:hover .card-spotlight-glow,
.team-card:hover .card-spotlight,
.team-card:hover .card-spotlight-border,
.team-card:hover .card-spotlight-glow {
    opacity: 1;
}




/* ==========================================
   GLOBAL LIGHT MODE UNIFICATION OVERRIDES
   ========================================== */
body.light-mode {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f3f5;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --bg-elevated: #ffffff;
    --bg-modal: rgba(255, 255, 255, 0.98);
    --bg-modal-translucent: rgba(255, 255, 255, 0.85);
    
    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.12);
    --border-subtle: rgba(0, 0, 0, 0.06);
    
    --text-primary: #0f0f12;     
    --text-secondary: #3f3f46;   
    --text-muted: #71717a;       
    --text-subtle: #a1a1aa;      
    
    --accent-primary: #2563eb;   
    --accent-secondary: #3b82f6; 
    --accent-tertiary: #1d4ed8;  
    --accent-muted: rgba(37, 99, 235, 0.06);
    --accent-glow: rgba(37, 99, 235, 0.12);
    
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-text: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    --gradient-border: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.08);
    
    --kook-bg: #ffffff;
    --kook-fg: #1a1a1f;
}

body.light-mode svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

/* NAVBAR LIGHT MODE */
body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    border-bottom-color: var(--border-color) !important;
}
body.light-mode .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
}

/* CARDS UNIFICATION (About, Sites, Plugins, Team -> Match Service Card) */
.about-card, .site-card, .plugin-card, .team-card {
    background: rgba(22, 22, 26, 0.4) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 28px !important;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.3, 1) !important;
    cursor: pointer;
    z-index: 1;
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform, box-shadow, background-color;
}

/* Dashed Borders */
.about-card::after, .site-card::after, .plugin-card::after, .team-card::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px dashed rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.3, 1);
    z-index: 2;
    display: block !important;
}

.about-card::before, .site-card::before, .plugin-card::before, .team-card::before {
    display: none !important;
}

/* Card Hovers */
.about-card:hover, .site-card:hover, .plugin-card:hover, .team-card:hover {
    background: rgba(30, 30, 36, 0.6) !important;
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px var(--accent-glow) !important;
    border-color: transparent !important;
}

.about-card:hover::after, .site-card:hover::after, .plugin-card:hover::after, .team-card:hover::after {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 15px var(--accent-glow) !important;
    inset: 12px !important;
    display: block !important;
}

/* Light Mode Overrides for ALL Cards */
body.light-mode .about-card,
body.light-mode .site-card,
body.light-mode .plugin-card,
body.light-mode .team-card,
body.light-mode .service-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.03),
        inset 0 2px 5px rgba(255, 255, 255, 0.9),
        inset 0 -2px 5px rgba(0, 0, 0, 0.02) !important;
}

body.light-mode .about-card::after,
body.light-mode .site-card::after,
body.light-mode .plugin-card::after,
body.light-mode .team-card::after,
body.light-mode .service-card::after {
    border-color: rgba(24, 24, 27, 0.08) !important;
}

body.light-mode .about-card:hover,
body.light-mode .site-card:hover,
body.light-mode .plugin-card:hover,
body.light-mode .team-card:hover,
body.light-mode .service-card:hover {
    background: #ffffff !important;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.06),
        inset 0 2px 5px rgba(255, 255, 255, 0.9) !important;
    border-color: transparent !important;
}

body.light-mode .about-card:hover::after,
body.light-mode .site-card:hover::after,
body.light-mode .plugin-card:hover::after,
body.light-mode .team-card:hover::after,
body.light-mode .service-card:hover::after {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 10px rgba(24, 24, 27, 0.05) !important;
}

/* Icons & Avatars inner elements in Cards */
.site-icon, .about-icon, .team-avatar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.3, 1);
    transform: translateZ(25px);
}

body.light-mode .site-icon, 
body.light-mode .about-icon, 
body.light-mode .team-avatar,
body.light-mode .team-social a {
    background: #f4f4f5 !important;
    border-color: rgba(24, 24, 27, 0.05) !important;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.9) !important;
    color: #18181b !important;
}

.site-card:hover .site-icon,
.about-card:hover .about-icon,
.team-card:hover .team-avatar {
    background: var(--accent-muted) !important;
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 25px var(--accent-glow) !important;
    transform: translateZ(40px) scale(1.1) !important;
    color: var(--accent-primary) !important;
}

body.light-mode .site-card:hover .site-icon,
body.light-mode .about-card:hover .about-icon,
body.light-mode .team-card:hover .team-avatar,
body.light-mode .team-social a:hover {
    background: rgba(24, 24, 27, 0.05) !important;
    color: var(--accent-primary) !important;
}

/* Text and Titles inside cards */
.site-card h3, .about-card h3, .plugin-card h3, .team-card h3 {
    transform: translateZ(15px);
    transition: all 0.3s ease;
}
.site-card p, .about-card p, .plugin-card p, .team-card p {
    transform: translateZ(10px);
}
.site-card .site-arrow, .plugin-card .plugin-meta, .team-card .team-social {
    transform: translateZ(20px);
}

/* Spotlight Service Card support */
.service-card:hover .card-spotlight,
.service-card:hover .card-spotlight-border,
.service-card:hover .card-spotlight-glow {
    opacity: 1 !important;
}

/* Keep plugin card meta on the same surface as the card body */
.plugin-card .plugin-meta {
    background: transparent !important;
    border-top: none !important;
}
body.light-mode .plugin-card .plugin-meta {
    background: transparent !important;
    border-top: none !important;
}

/* Light mode contrast fixes for plugin badges and controls */
body.light-mode .plugin-price {
    color: var(--text-primary) !important;
    background: rgba(15, 23, 42, 0.05) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    text-shadow: none !important;
}

body.light-mode .plugin-price.free {
    color: #047857 !important;
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.24) !important;
}

body.light-mode .plugin-version {
    color: var(--text-muted) !important;
    background: rgba(15, 23, 42, 0.06) !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .plugin-downloads {
    color: var(--text-muted) !important;
}

body.light-mode .plugin-downloads i {
    color: var(--accent-primary) !important;
}

body.light-mode .plugin-card-action-primary {
    color: #ffffff !important;
    background: rgba(15, 23, 42, 0.82) !important;
    border-color: rgba(15, 23, 42, 0.16) !important;
}

body.light-mode .plugin-card-action-secondary {
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
}

body.light-mode .detail-meta-item {
    color: var(--text-secondary) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .detail-meta-item:hover {
    color: var(--accent-primary) !important;
    background: rgba(37, 99, 235, 0.08) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
}

body.light-mode .detail-meta-item.price {
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
    text-shadow: none !important;
}

body.light-mode .detail-meta-item.price.free {
    color: #047857 !important;
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.24) !important;
}

body.light-mode .modal-close,
body.light-mode .carousel-btn,
body.light-mode .settings-hub-trigger {
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14) !important;
}

body.light-mode .modal-close:hover,
body.light-mode .carousel-btn:hover {
    color: #f8fafc !important;
    background: var(--accent-primary) !important;
    border-color: var(--accent-primary) !important;
}

body.light-mode .settings-hub-trigger:hover {
    color: var(--accent-primary) !important;
    border-color: var(--accent-primary) !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18), 0 0 28px var(--accent-glow) !important;
}

body.light-mode .settings-hub-panel {
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14), 0 0 32px var(--accent-glow) !important;
}

body.light-mode .settings-panel-title {
    color: var(--text-primary) !important;
    border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .settings-btn,
body.light-mode .settings-mini-btn {
    color: var(--text-primary) !important;
    background: rgba(15, 23, 42, 0.04) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
}

body.light-mode .settings-btn:hover,
body.light-mode .settings-mini-btn:hover {
    color: var(--accent-primary) !important;
    background: rgba(37, 99, 235, 0.08) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
}

body.light-mode .switch-slider {
    background-color: rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
}

body.light-mode .switch-slider:before {
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18) !important;
}

body.light-mode .custom-range {
    background: rgba(15, 23, 42, 0.12) !important;
}

body.light-mode .custom-range::-webkit-slider-thumb {
    background: var(--accent-primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

body.light-mode .bgm-volume-container i {
    color: var(--text-muted) !important;
}

body.light-mode .carousel-dot {
    background: rgba(15, 23, 42, 0.18) !important;
}

/* FOOTER IN LIGHT MODE */
body.light-mode .footer-v2 {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%) !important;
    border-color: rgba(15, 23, 42, 0.06) !important;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06) !important;
}

body.light-mode .footer-v2-logo,
body.light-mode .footer-v2-watermark {
    filter: drop-shadow(0 0 26px rgba(37, 99, 235, 0.12)) !important;
}

body.light-mode .footer-v2-logo-link {
    background: rgba(15, 23, 42, 0.04) !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .footer-v2-bg {
    background: radial-gradient(125% 125% at 50% 10%, rgba(241, 245, 249, 0.9) 45%, rgba(37, 99, 235, 0.08) 100%) !important;
}

body.light-mode .footer-v2-links a:hover,
body.light-mode .footer-v2-contact a:hover,
body.light-mode .footer-v2-social a:hover {
    color: var(--accent-primary) !important;
}

body.light-mode .footer-v2-contact i {
    color: var(--accent-primary) !important;
}
body.light-mode .footer-v2-copy {
    color: var(--text-muted) !important;
}

/* Global Transitions */
body, .navbar, .footer-v2, .about-card, .site-card, .plugin-card, .team-card, .service-card, .modal {
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Spotlights tracking overrides for light mode */
body.light-mode .card-spotlight-border {
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;
    background: radial-gradient(var(--spotlight-size, 220px) circle at var(--x, 0px) var(--y, 0px), rgba(37, 99, 235, 0.4), transparent 65%) !important;
}
body.light-mode .card-spotlight-glow {
    background: radial-gradient(var(--spotlight-size, 220px) circle at var(--x, 0px) var(--y, 0px), rgba(37, 99, 235, 0.08), transparent 80%) !important;
}


/* ==========================================
   USER FIX: NO DASHED BORDERS ON NON-SERVICE CARDS
   ========================================== */
.about-card::after, .site-card::after, .plugin-card::after, .team-card::after,
.about-card:hover::after, .site-card:hover::after, .plugin-card:hover::after, .team-card:hover::after {
    display: none !important;
}
