/* AFTER DWN - Visual "Fit" Hints */

.visual-hint-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 900;
}

.apparel-blueprint {
    position: absolute;
    width: 300px;
    height: 400px;
    border: 1px solid var(--signal-red);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    background: rgba(10, 10, 10, 0.7);
}

.apparel-blueprint.active {
    opacity: 0.8;
    animation: blueprintReveal 0.5s ease-out;
}

@keyframes blueprintReveal {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 0.8;
        transform: scale(1);
    }
}

.blueprint-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blueprint-title {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--signal-red);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blueprint-image {
    width: 90%;
    height: 80%;
    border: 1px dashed var(--signal-red);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blueprint-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 5px,
        rgba(232, 42, 42, 0.1) 5px,
        rgba(232, 42, 42, 0.1) 6px
    );
}

.blueprint-image::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 5px,
        rgba(232, 42, 42, 0.1) 5px,
        rgba(232, 42, 42, 0.1) 6px
    );
}

.blueprint-silhouette {
    position: relative;
    width: 70%;
    height: 90%;
    border: 1px solid var(--signal-red);
    z-index: 1;
}

.blueprint-details {
    position: absolute;
    font-family: monospace;
    font-size: 0.6rem;
    color: var(--signal-red);
}

.detail-1 {
    top: 20%;
    left: 0;
}

.detail-2 {
    top: 40%;
    right: 0;
}

.detail-3 {
    bottom: 20%;
    left: 0;
}

.blueprint-footer {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--signal-red);
    margin-top: 10px;
    text-align: center;
}

.dot-matrix-printer {
    position: fixed;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--signal-red);
    opacity: 0;
    white-space: nowrap;
    overflow: hidden;
    z-index: 950;
}

.dot-matrix-printer.active {
    animation: printText 5s steps(40) forwards;
}

@keyframes printText {
    0% {
        width: 0;
        opacity: 0.7;
    }
    80% {
        width: 300px;
        opacity: 0.7;
    }
    100% {
        width: 300px;
        opacity: 0;
    }
}

.subtle-quote {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-secondary);
    font-size: 0.7rem;
    color: rgba(237, 237, 237, 0.3);
    text-align: center;
    max-width: 80%;
    opacity: 0;
    transition: opacity 2s ease;
    z-index: 100;
    font-style: italic;
    letter-spacing: 1px;
}

.subtle-quote.visible {
    opacity: 0.3;
}
