/* =========================================================================
   SCRAPS (/t/index.html) Specific Styles
   ========================================================================= */

/* -------------------------------------------------------------------------
   Scrap Card Styles (Laboratory / Specimen box look)
   ------------------------------------------------------------------------- */
.scrap-card-bg {
    width: 100%;
    height: 100%;
    background-color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1a1a1a;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern for the background */
.scrap-card-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: 30px 30px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    z-index: 1;
}

/* Hover effect on the card background */
.project-card:hover .scrap-card-bg {
    background-color: #111;
    border-color: #333;
}

/* Typography icon inside the card */
.scrap-icon {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #333; /* Dark text normally, lights up on hover */
    letter-spacing: 2px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transition: color 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.project-card:hover .scrap-icon {
    color: var(--text-color);
    transform: scale(1.05);
}

