:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e1e4e8;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --accent-primary: #0078d4;
    --accent-secondary: #106ebe;
    --success: #10b981;
    --warning: #f59e0b;
    --header-gradient: linear-gradient(135deg, #0078d4 0%, #106ebe 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-card: #1c2128;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --border-color: #30363d;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --accent-primary: #58a6ff;
    --accent-secondary: #1f6feb;
    --success: #3fb950;
    --warning: #d29922;
    --header-gradient: linear-gradient(135deg, #1f6feb 0%, #0969da 100%);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 20px;
    transition: var(--transition);
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.theme-toggle .icon {
    font-size: 1.2rem;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: var(--header-gradient);
    color: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
}

header p {
    font-size: 1.1rem;
    opacity: 0.95;
    position: relative;
}

.breadcrumb {
    margin-bottom: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.breadcrumb .separator {
    margin: 0 8px;
}

.platform-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.platform-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.platform-card.macos:hover {
    border-color: #000000;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
}

[data-theme="dark"] .platform-card.macos:hover {
    border-color: #ffffff;
    background: linear-gradient(135deg, #1c2128 0%, #2d333b 100%);
}

.platform-card.windows:hover {
    border-color: #0078d4;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.05) 0%, rgba(0, 120, 212, 0.1) 100%);
}

.platform-card.ios:hover {
    border-color: #007aff;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 122, 255, 0.1) 100%);
}

.platform-card.android:hover {
    border-color: #3ddc84;
    background: linear-gradient(135deg, rgba(61, 220, 132, 0.05) 0%, rgba(61, 220, 132, 0.1) 100%);
}

.platform-card.linux:hover {
    border-color: #fcc624;
    background: linear-gradient(135deg, rgba(252, 198, 36, 0.05) 0%, rgba(252, 198, 36, 0.1) 100%);
}

.platform-icon {
    font-size: 3.5rem;
    margin-bottom: 8px;
}

.platform-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.platform-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.about-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.about-card h2 {
    color: var(--accent-primary);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.about-card ul {
    list-style: none;
    padding: 0;
}

.about-card ul li {
    padding: 8px 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.category {
    margin-bottom: 40px;
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.category h2 {
    color: var(--accent-primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature {
    padding: 20px;
    background: var(--bg-primary);
    border-left: 4px solid var(--accent-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    border-left-width: 4px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature:hover {
    background: var(--bg-secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent-secondary);
}

.feature h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.feature p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

.feature-badges {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.badge:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.badge.recent {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
}

.badge.coming {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
    color: white;
}

.badge.released {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
}

.badge.info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.badge.recently-released {
.links {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    font-weight: 500;
}   padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    font-weight: 500;
}

.links a:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.links a::before {
    content: '📄';
    font-size: 0.85rem;
}

.search-box {
    margin-bottom: 30px;
    text-align: center;
}

.search-box input {
    width: 100%;
    max-width: 600px;
    padding: 14px 24px;
    font-size: 1rem;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    outline: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.search-box input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

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

footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

footer a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.loading::after {
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    h1 {
        font-size: 2rem;
    }

    header {
        padding: 30px 15px;
    }

    .theme-toggle {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .category {
        padding: 20px;
    }

    .category h2 {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature h3 {
        font-size: 1rem;
    }

    .feature {
        padding: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
}       padding: 15px;
    }

    .links {
        flex-direction: column;
    }

    .links a {
        justify-content: center;
    }
}
