/* PS2 Portfolio Styles */

/* Scanlines Effect */
.scanlines {
    background-image: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.05) 0px,
        rgba(255, 255, 255, 0.05) 1px,
        transparent 2px,
        transparent 4px
    );
}

/* Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    filter: blur(1px);
    pointer-events: none;
}

/* Fade Out Animation */
.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* CD Spin Animation */
@keyframes spin {
    from {
        transform: rotateZ(0deg);
    }
    to {
        transform: rotateZ(360deg);
    }
}

/* CD Insertion Animation */
@keyframes insertCD {
    0% {
        transform: translateY(0) rotateZ(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotateZ(180deg) scale(1.05);
    }
    100% {
        transform: translateY(-200px) rotateZ(360deg) scale(0.8);
        opacity: 0;
    }
}

/* HUD Button Styles */
.hud-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hud-btn:hover {
    transform: scale(1.05);
}

.hud-btn:active {
    transform: scale(0.95);
}

/* Memory Card Styles */
.memory-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(30, 41, 59, 0.3));
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.memory-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.memory-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.memory-card:hover::before {
    opacity: 1;
}

.memory-card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(6, 182, 212, 0.6);
    text-transform: uppercase;
}

/* Tag Styles */
.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 0.5rem;
    background-color: rgba(6, 182, 212, 0.1);
    font-size: 0.75rem;
    color: rgba(6, 182, 212, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Skill Item Styles */
.skill-item {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(30, 41, 59, 0.3));
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: rgba(6, 182, 212, 0.5);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
    transform: translateY(-2px);
}

/* Footer Tips Styles */
.footer-tips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-tip-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-tip-item img {
    height: 1rem;
    width: 1rem;
    object-fit: contain;
    opacity: 0.7;
}

/* Blink Animation */
.blink {
    transition: opacity 0.3s ease;
}

/* Ribbon Effect */
.ribbon {
    box-shadow: 0 0 40px rgba(0, 162, 255, 0.15);
}

/* Input Styles */
input,
textarea {
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: rgba(6, 182, 212, 0.6) !important;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

/* Button Styles */
button[type="submit"] {
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

button[type="submit"]:active {
    transform: scale(0.98);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hud-btn span {
        font-size: 0.75rem;
    }

    .memory-card {
        padding: 1rem;
    }

    .skill-item {
        padding: 0.75rem;
        font-size: 0.75rem;
    }
}

