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

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: min(100%, 1200px);
}

.project-card {
    background: #2a2a2a;
    border: 2px solid #444444;
    border-radius: 8px;
    padding: 40px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    border-color: #888888;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.project-card.is-inactive {
    opacity: 0.65;
    border-color: #555555;
    cursor: not-allowed;
}

.project-card.is-inactive:hover {
    border-color: #555555;
    box-shadow: none;
    transform: none;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 20px;
}

.project-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: #4ade80;
    color: #1a1a1a;
}

.status-coming-soon {
    background: #555555;
    color: #cccccc;
}

@media (max-width: 768px) {
    body {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 10px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    .project-card {
        width: 100%;
        padding: 18px 16px;
        border-width: 1px;
        border-radius: 10px;
    }

    .project-title {
        font-size: 1.6rem;
        line-height: 1.15;
        margin-bottom: 10px;
    }

    .project-description {
        font-size: 1.02rem;
        line-height: 1.45;
        margin-bottom: 12px;
    }

    .project-status {
        font-size: 0.74rem;
        padding: 5px 10px;
        letter-spacing: 0.35px;
    }
}

@media (max-width: 430px) {
    body {
        padding: 8px;
    }

    .projects-grid {
        gap: 10px;
    }

    .project-card {
        padding: 14px 12px;
    }

    .project-title {
        font-size: 1.45rem;
    }

    .project-description {
        font-size: 0.97rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .project-status {
        font-size: 0.72rem;
        padding: 4px 9px;
    }
}
