/* Category Page Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
}

.container h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
    width: 100%;
}

.tool-card {
    background: rgba(51, 51, 51, 0.8);
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
    background: rgba(71, 71, 71, 0.9);
}

.tool-card h2 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: #ff0000;
}

.tool-card p {
    margin: 0;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container h1 {
        font-size: 2rem;
    }

    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .tool-card {
        padding: 20px;
        min-height: 130px;
    }

    .tool-card h2 {
        font-size: 1.1rem;
    }

    .tool-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 580px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }

    .container h1 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .tool-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tool-card {
        padding: 18px;
        min-height: 110px;
    }
}

/* Light Mode Support */
[data-theme="light"] body {
    background: #f0f2f5;
    color: #333;
}

[data-theme="light"] .container h1 {
    color: #1a1a1a;
}

[data-theme="light"] .tool-card {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .tool-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

[data-theme="light"] .tool-card h2 {
    color: #0056b3;
}

[data-theme="light"] .tool-card p {
    color: #555;
}
