/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light mode colors */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --accent: #8b5cf6;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --bg-gradient-start: #f0f9ff;
    --bg-gradient-end: #e0f2fe;
    --border: #e5e7eb;
    --success: #10b981;
    --code-bg: #f3f4f6;
    --code-border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    /* Dark mode colors */
    --primary: #60a5fa;
    --primary-dark: #3b82f6;
    --primary-light: #93c5fd;
    --accent: #a78bfa;
    --text: #f9fafb;
    --text-light: #d1d5db;
    --text-lighter: #9ca3af;
    --bg: #111827;
    --bg-alt: #1f2937;
    --bg-gradient-start: #1e293b;
    --bg-gradient-end: #0f172a;
    --border: #374151;
    --success: #34d399;
    --code-bg: #1f2937;
    --code-border: #374151;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

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

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

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

header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

header h1 a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

header h1 a:hover {
    opacity: 0.9;
}

nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

nav a:hover {
    opacity: 0.8;
}

/* Dark Mode Toggle */
.theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, var(--primary-light), transparent 70%);
    opacity: 0.1;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 2rem;
    font-weight: 400;
}

/* Categories Grid */
.categories {
    padding: 4rem 0;
    background: var(--bg);
}

.categories h3 {
    font-size: 2.25rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text);
    font-weight: 700;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

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

.category-card h4 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 700;
}

.category-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Tips List */
.tips-list {
    list-style: none;
}

.tips-list li {
    margin-bottom: 1rem;
}

.tips-list a {
    display: block;
    padding: 1.25rem 1.5rem;
    background: var(--bg-alt);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.tips-list a:hover {
    background: var(--bg);
    padding-left: 2rem;
    box-shadow: var(--shadow);
    border-left-width: 6px;
}

/* Tip Page */
.tip-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.tip-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.tip-header .breadcrumb {
    color: var(--text-lighter);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.tip-header .breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tip-header .breadcrumb a:hover {
    color: var(--primary-dark);
}

.tip-header h1 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.tip-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-lighter);
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

.tip-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tip-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text);
}

.tip-body h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.tip-body h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text);
    font-weight: 600;
}

.tip-body p {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.tip-body ul, .tip-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.tip-body li {
    margin-bottom: 0.75rem;
    color: var(--text);
}

.tip-body code {
    background: var(--code-bg);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;
    font-size: 0.9em;
    border: 1px solid var(--code-border);
}

.tip-body pre {
    background: var(--code-bg);
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid var(--code-border);
    box-shadow: var(--shadow-sm);
}

.tip-body pre code {
    background: none;
    padding: 0;
    border: none;
    color: var(--text);
}

.tip-box {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
    border-left: 4px solid var(--success);
    padding: 1.75rem;
    margin: 2.5rem 0;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.tip-box strong {
    color: var(--success);
    font-weight: 700;
}

.tip-box p {
    margin-bottom: 0;
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

table th {
    background: var(--bg-alt);
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--border);
    font-weight: 700;
    color: var(--text);
}

table td {
    padding: 1rem;
    border: 1px solid var(--border);
    color: var(--text);
}

table tr:nth-child(even) {
    background: var(--bg-alt);
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: var(--bg-alt);
}

.back-link:hover {
    background: var(--primary);
    color: white;
    transform: translateX(-4px);
}

/* Footer */
footer {
    background: var(--bg-alt);
    padding: 3rem 0;
    margin-top: 5rem;
    text-align: center;
    color: var(--text-light);
    border-top: 2px solid var(--border);
}

footer p {
    font-size: 0.95rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card, .tips-list a {
    animation: fadeIn 0.5s ease forwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .tip-header h1 {
        font-size: 2rem;
    }

    nav a {
        margin-left: 1rem;
        font-size: 0.9rem;
    }

    .theme-toggle {
        padding: 0.5rem 0.75rem;
    }

    .tip-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* Focus Styles */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
<!-- Force deployment 1762240665 -->

/* Tool Cards and Voting */
.tools-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2rem 0;
}

.tool-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.tool-card:hover::before {
    opacity: 1;
}

.tool-voting {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 60px;
}

.upvote-btn, .downvote-btn {
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.upvote-btn:hover {
    background: #10b981;
    color: white;
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.downvote-btn:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    transform: translateY(2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.upvote-btn.voted {
    background: #10b981;
    color: white;
    border-color: #10b981;
    cursor: default;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.downvote-btn.voted {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    cursor: default;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.tool-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.vote-counts {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
}

.tool-info {
    flex: 1;
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
}

.tool-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.25rem 0;
}

.tool-name a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tool-name a:hover {
    color: var(--accent);
}

.tool-link {
    font-size: 0.875rem;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: var(--bg-alt);
    border-radius: 4px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.tool-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tool-description {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tool-tag {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    background: linear-gradient(135deg, var(--bg-alt), var(--bg));
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.2s ease;
}

.tool-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

/* Tool category page header */
.tools-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tools-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.tools-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.tools-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .tool-card {
        flex-direction: column;
    }

    .tool-voting {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .tool-header {
        flex-direction: column;
        gap: 0.75rem;
    }
}
