body {
    background: #050510;
}

.text-gradient {
    background: linear-gradient(135deg, #00f0ff, #7b2fff, #ff2d6f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientX 3s ease infinite;
}

.text-gradient-static {
    background: linear-gradient(135deg, #00f0ff, #7b2fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-animate {
    background: linear-gradient(135deg, #00f0ff, #7b2fff, #ff2d6f, #00f0ff);
    background-size: 300% 300%;
    animation: gradientX 4s ease infinite;
}

.glass {
    background: rgba(10, 10, 30, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 240, 255, 0.08);
}

.glass-card {
    background: rgba(12, 12, 42, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 240, 255, 0.08);
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: rgba(16, 16, 58, 0.8);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
}

.grid-overlay {
    background-image: linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #050510;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#00f0ff, #7b2fff);
    border-radius: 3px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accordion */
.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.acc-item.active .acc-content {
    max-height: fit-content;
}

.acc-item {
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.acc-item.active {
    border-color: rgba(0, 240, 255, 0.25) !important;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.07);
}

.acc-header {
    cursor: pointer;
    transition: background 0.3s ease;
}

.acc-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Carousel */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 240, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.carousel-slide:hover .slide-overlay {
    opacity: 1;
}

.slide-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.2);
    border: 1px solid rgba(0, 240, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f0ff;
    font-size: 16px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: #00f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    z-index: 10;
}

.carousel-arrow:hover {
    background: rgba(0, 240, 255, 0.2);
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 10px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #00f0ff;
    width: 18px;
    border-radius: 3px;
}

.tech-badge {
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.15);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #00f0ff;
    transition: all 0.2s ease;
}

.tech-badge:hover {
    background: rgba(0, 240, 255, 0.15);
    border-color: rgba(0, 240, 255, 0.4);
}

@keyframes gradientX {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 240, 255, 0.6);
    }
}