/* ===== Projects/Tools: Important Notice ===== */
.first-index h1 {
    margin-top: 3em;
    font-size: 2em;
    margin-bottom: 0.5em;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: 0.1em;
}

.first-index p {
    text-align: center;
    width: 70%;
    margin: auto;
    color: var(--text-secondary);
    font-size: 0.95em;
}

/* ===== Projects/Tools: Creations List ===== */
.projects {
    margin-bottom: 40px;
}

.projects h1 {
    margin-top: 3em;
    font-size: 2em;
    margin-bottom: 0.5em;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: 0.1em;
}

.projects div.project-contents a {
    text-decoration: none;
    color: var(--text-secondary);
    width: 60%;
    min-width: 460px;
    max-width: 700px;
    height: fit-content;
    display: flex;
    align-items: center;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}

.projects div.project-contents a:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(220, 20, 60, 0.25);
    box-shadow: 0 8px 32px rgba(139, 0, 0, 0.15);
    transform: translateY(-3px);
}

.projects div.project-contents a img {
    width: 20%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: flex;
    margin-right: 20px;
    border-radius: 16px 0 0 16px;
}

.projects div.project-contents a div {
    display: block;
    padding: 12px 16px 12px 0;
}

.projects div.project-contents a div h3 {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1em;
}

.projects div.project-contents a div h3 span.date {
    margin-left: 12px;
    font-size: 11px;
    font-weight: normal;
    color: rgba(220, 20, 60, 0.8);
    background: rgba(220, 20, 60, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.projects div.project-contents a div p {
    color: var(--text-secondary);
    font-size: 0.85em;
    line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .projects div.project-contents a div p {
        margin-bottom: 0;
    }
}

@media (max-width: 1050px) {
    .projects div.project-contents a div p {
        margin-top: 5px;
    }

    .projects div.project-contents a div h3 {
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

@media (max-width: 515px) {
    .projects div.project-contents a {
        width: 90%;
        min-width: 200px;
        max-width: none;
    }

    .projects div.project-contents a img {
        width: 18%;
    }

    .projects div.project-contents a div p {
        font-size: 2.4vw;
    }

    .projects div.project-contents a div h3 {
        font-size: 2.8vw;
    }

    .projects div.project-contents a div h3 span.date {
        font-size: 1.8vw;
    }
}