/*
Theme Name: Pyxilab
Theme URI: https://pyxilab.com
Author: Pyxilab
Author URI: https://pyxilab.com
Description: Pyxilab için özel geliştirilmiş, açık tonlarda modern, eklenti bağımlılığı olmayan kurumsal teknoloji teması.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pyxilab
*/

:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-soft: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --border-subtle: #e2e8f0;
    --border-accent: rgba(37, 99, 235, 0.35);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-cyan: #0284c7;
    --accent-indigo: #4f46e5;
    --accent-emerald: #059669;
    --accent-amber: #d97706;
    --gradient-brand: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 12px 32px -8px rgba(15, 23, 42, 0.08), 0 4px 12px -4px rgba(15, 23, 42, 0.04);
    --container-max: 1200px;
    --transition: 0.22s ease;
}

:root[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #111113;
    --bg-soft: #2c2c2e;
    --bg-card: #1c1c1e;
    --bg-card-hover: #242426;
    --border-subtle: rgba(255, 255, 255, 0.11);
    --border-accent: rgba(10, 132, 255, 0.55);
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-muted: #86868b;
    --accent-cyan: #64d2ff;
    --accent-indigo: #0a84ff;
    --accent-emerald: #30d158;
    --accent-amber: #ffd60a;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 14px 34px -8px rgba(0, 0, 0, 0.65);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.brand-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gradient-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.24);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: var(--accent-indigo);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: width var(--transition);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.1rem;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    background: var(--bg-soft);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}

.lang-switch a {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--text-muted);
    transition: all var(--transition);
}

.lang-switch a.is-active {
    background: var(--bg-secondary);
    color: var(--accent-indigo);
    box-shadow: var(--shadow-sm);
}

.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-soft);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.theme-toggle:hover {
    border-color: var(--border-accent);
    color: var(--accent-indigo);
}

.theme-toggle .icon-sun {
    display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

:root[data-theme="dark"] .site-header {
    background: rgba(0, 0, 0, 0.82);
}

:root[data-theme="dark"] .hero {
    background:
        radial-gradient(circle at 18% 20%, rgba(10, 132, 255, 0.14), transparent 44%),
        radial-gradient(circle at 82% 15%, rgba(100, 210, 255, 0.08), transparent 42%),
        #000000;
}

:root[data-theme="dark"] .page-banner {
    background:
        radial-gradient(circle at 50% 0%, rgba(10, 132, 255, 0.12), transparent 60%),
        #0c0c0e;
}

:root[data-theme="dark"] .cta-box {
    background: linear-gradient(135deg, #1c1c1e 0%, #161618 100%);
    border-color: rgba(255, 255, 255, 0.12);
}

:root[data-theme="dark"] .site-footer {
    background: #0a0a0c;
}

:root[data-theme="dark"] .badge-cyan {
    color: #64d2ff;
    border-color: rgba(100, 210, 255, 0.28);
    background: rgba(100, 210, 255, 0.12);
}

:root[data-theme="dark"] .badge-emerald {
    color: #30d158;
    border-color: rgba(48, 209, 88, 0.28);
    background: rgba(48, 209, 88, 0.12);
}

:root[data-theme="dark"] .badge-amber {
    color: #ffd60a;
    border-color: rgba(255, 214, 10, 0.28);
    background: rgba(255, 214, 10, 0.12);
}

:root[data-theme="dark"] .badge-indigo {
    color: #0a84ff;
    border-color: rgba(10, 132, 255, 0.32);
    background: rgba(10, 132, 255, 0.14);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.32);
}

.btn-secondary {
    background: var(--bg-secondary);
    border-color: var(--border-subtle);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-soft);
    border-color: var(--border-accent);
    color: var(--accent-indigo);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid var(--border-subtle);
    background: var(--bg-soft);
    color: var(--text-secondary);
}

.badge-cyan {
    color: #0369a1;
    border-color: rgba(2, 132, 199, 0.22);
    background: rgba(2, 132, 199, 0.08);
}

.badge-emerald {
    color: #047857;
    border-color: rgba(5, 150, 105, 0.22);
    background: rgba(5, 150, 105, 0.08);
}

.badge-amber {
    color: #b45309;
    border-color: rgba(217, 119, 6, 0.22);
    background: rgba(217, 119, 6, 0.08);
}

.badge-indigo {
    color: #4338ca;
    border-color: rgba(79, 70, 229, 0.22);
    background: rgba(79, 70, 229, 0.08);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 92px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.08), transparent 44%),
        radial-gradient(circle at 88% 12%, rgba(79, 70, 229, 0.08), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.hero-content {
    max-width: 820px;
}

.hero-eyebrow {
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-desc {
    font-size: 1.14rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.tech-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
}

.section-title {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 640px;
}

/* Grids & Cards */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: var(--accent-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

/* Breadcrumb & Single Extras */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.breadcrumb a {
    color: var(--text-secondary);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--accent-indigo);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

.gallery-section,
.changelog-box {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
}

.gallery-section h3,
.changelog-box h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    display: block;
    transition: transform var(--transition);
}

.gallery-item:hover {
    transform: translateY(-2px);
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex-grow: 1;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

/* Product Showcase Card */
.product-card {
    padding: 0;
    overflow: hidden;
}

.product-thumb {
    height: 160px;
    background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-indigo);
    font-weight: 600;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.product-title-row h3 {
    margin-bottom: 0;
}

.app-icon-sm {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border-subtle);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.single-hero-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.app-icon-lg {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid var(--border-subtle);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.product-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

/* Page / Archive / Single */
.page-banner {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--border-subtle);
    background:
        radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.07), transparent 60%),
        #ffffff;
}

.page-banner h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.single-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}

.single-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.single-content .entry-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.single-content .entry-content h2,
.single-content .entry-content h3 {
    margin: 26px 0 12px;
    color: var(--text-primary);
}

.single-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 96px;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 18px 0 24px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.92rem;
}

.spec-label {
    color: var(--text-muted);
}

.spec-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

/* CTA Banner & Contact Form */
.cta-box {
    background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.pyxilab-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.94rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-indigo);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.form-alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.form-alert-success {
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.25);
    color: #047857;
}

.form-alert-error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: #b91c1c;
}

/* Footer */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 42px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Category Focus / Empty State */
.empty-state {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
}

.empty-state-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .single-layout,
    .cta-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .menu-toggle {
        display: inline-flex;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-subtle);
        padding: 20px 24px;
        box-shadow: var(--shadow-md);
    }
    .main-nav.is-open {
        display: block;
    }
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .cta-box {
        padding: 32px 24px;
    }
}

/* Screensaver Overlay (60s Idle - Dynamically Injected) */
#pyxilab-screensaver {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: radial-gradient(circle at 50% 50%, rgba(10, 132, 255, 0.14), transparent 58%), #000000;
    color: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.25s ease;
}

#pyxilab-screensaver .ss-ground {
    position: absolute;
    top: calc(50% + 78px);
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(100, 210, 255, 0.35), transparent);
}

#pyxilab-screensaver .ss-clouds {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

#pyxilab-screensaver .ss-cloud-puff {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(100, 210, 255, 0.48));
    box-shadow: 0 0 24px rgba(10, 132, 255, 0.38);
}

#pyxilab-screensaver .ss-fox-unit {
    position: absolute;
    width: 180px;
    height: 180px;
    left: 50%;
    top: calc(50% - 96px);
    transform: translateX(-50%);
    z-index: 4;
}

#pyxilab-screensaver .ss-fox-unit canvas,
#pyxilab-screensaver .ss-fox-unit img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#pyxilab-screensaver .ss-fox-unit img {
    opacity: 0;
    filter: drop-shadow(0 0 18px rgba(100, 210, 255, 0.8));
}

#pyxilab-screensaver .ss-slogan {
    position: relative;
    z-index: 2;
    text-align: center;
    opacity: 0;
}

#pyxilab-screensaver .ss-slogan h2 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #64d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#pyxilab-screensaver .ss-slogan p {
    margin-top: 10px;
    font-size: clamp(1rem, 2.2vw, 1.45rem);
    letter-spacing: 0.08em;
    color: #64d2ff;
}

#pyxilab-screensaver .ss-bar {
    width: 0;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, #0a84ff, #64d2ff, #30d158);
}

#pyxilab-screensaver .ss-hint {
    position: absolute;
    bottom: 24px;
    font-size: 0.82rem;
    color: #86868b;
    z-index: 6;
}

#pyxilab-screensaver .ss-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#pyxilab-screensaver .ss-close-btn {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #1c1c1e;
    color: #f5f5f7;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

#pyxilab-screensaver .ss-fox-center {
    width: 165px;
    height: 165px;
    position: relative;
    z-index: 2;
}

#pyxilab-screensaver .ss-fox-center img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 24px var(--ss-glow, rgba(100, 210, 255, 0.75)));
}

#pyxilab-screensaver .ss-scan-box {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 26px;
    border: 1px solid var(--ss-secondary, #64d2ff);
    background: rgba(28, 28, 30, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#pyxilab-screensaver .ss-scan-box img {
    width: 155px;
    height: 155px;
    object-fit: contain;
}

#pyxilab-screensaver .ss-scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ss-secondary, #64d2ff);
    box-shadow: 0 0 18px var(--ss-secondary, #64d2ff);
    animation: ssScanY 2s ease-in-out infinite;
}

#pyxilab-screensaver .ss-scan-line.is-vert {
    top: 0;
    width: 3px;
    height: 100%;
    animation: ssScanX 2s ease-in-out infinite;
}

#pyxilab-screensaver .ss-portal-wrap {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pyxilab-screensaver .ss-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--ss-primary, #0a84ff);
    border-right-color: var(--ss-secondary, #64d2ff);
    animation: ssSpin 2s linear infinite;
}

#pyxilab-screensaver .ss-ring.r2 {
    inset: 18px;
    border-style: dashed;
    animation: ssSpinRev 3.5s linear infinite;
}

#pyxilab-screensaver .ss-bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
}

#pyxilab-screensaver .ss-prog-wrap {
    width: 220px;
    height: 6px;
    border-radius: 99px;
    background: #2c2c2e;
    margin-top: 20px;
    overflow: hidden;
}

#pyxilab-screensaver .ss-prog-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--ss-primary, #0a84ff), var(--ss-secondary, #64d2ff));
}

@keyframes ssScanY { 0%, 100% { top: 0; } 50% { top: 98%; } }
@keyframes ssScanX { 0%, 100% { left: 0; } 50% { left: 98%; } }
@keyframes ssSpin { to { transform: rotate(360deg); } }
@keyframes ssSpinRev { to { transform: rotate(-360deg); } }
