/* Custom Styles for Andrei's Portfolio */
:root {
    --accent-primary: #00f2ff;
    --accent-secondary: #7000ff;
    --bg-dark: #05070a;
}

body {
    background-color: var(--bg-dark);
    margin: 0;
    overflow-x: hidden;
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass:hover {
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, #fff, var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Tech Badges */
.tech-badge {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Tooltips */
.has-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #0f172a;
    border: 1px solid var(--accent-primary);
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    width: 220px;
    white-space: normal;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 50;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.has-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Elements */
.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px border-white/30 rounded-full relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
}

.scroll-mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

.tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(0, 242, 255, 0.1);
    color: var(--accent-primary);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}