/* Reusable UI components: buttons, tags and the 3D tilt wrappers */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--matrix-color);
    text-decoration: none;
    border: 1px solid var(--matrix-color);
    border-radius: 5px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--matrix-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(0, 255, 149, 0.5);
}

.tech-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 255, 149, 0.1);
    color: var(--matrix-color);
    border-radius: 15px;
    margin: 0.25rem;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 149, 0.3);
}

/*
 * 3D tilt effect wrappers.
 * Previously injected at runtime from JavaScript; kept here so structure and
 * styling stay declarative. The tilt module only toggles transforms.
 */
.tilt-wrapper {
    position: relative;
    margin: 0 auto;
}

.tilt-hit-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.tilt-wrapper > .hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

.hero-content > * {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.tilt-wrapper-contact {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    perspective: 1000px;
}

.tilt-hit-area-contact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.contact-card > * {
    position: relative;
    z-index: 5;
}
