/* Base Styles */
body {
    background-color: #FFFDF5;
    background-image: 
        radial-gradient(#2D3045 1px, transparent 1px),
        linear-gradient(to right, #e0e0e0 1px, transparent 1px),
        linear-gradient(to bottom, #e0e0e0 1px, transparent 1px);
    background-size: 40px 40px, 100px 100px, 100px 100px;
}

/* Animations */
.marquee-container {
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glitch Effect on Hover */
.glitch-hover:hover {
    animation: glitch-anim 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
    color: #FF6B6B !important;
}

@keyframes glitch-anim {
    0% {
        transform: translate(0)
    }
    20% {
        transform: translate(-2px, 2px)
    }
    40% {
        transform: translate(-2px, -2px)
    }
    60% {
        transform: translate(2px, 2px)
    }
    80% {
        transform: translate(2px, -2px)
    }
    100% {
        transform: translate(0)
    }
}

/* Marquee Content Duplication */
.marquee-content::after {
    content: "8x HACKATHON WINNER | GSSOC ’25 CONTRIBUTOR | ALP ’25 ALUMNI | #1 @ TechSprint GDG JEC | BEST DESIGN @ HACKMARS 1.0 |";
    display: inline-block;
    padding-left: 2rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    background-color: #2D3045;
}

::-webkit-scrollbar-thumb {
    background-color: #2EC4B6;
    border: 2px solid #2D3045;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #FF6B6B;
}

/* Selection Color */
::selection {
    background-color: #2EC4B6;
    color: #2D3045;
}

/* Text Stroke Utility */
.text-stroke-black {
    -webkit-text-stroke: 2px #2D3045;
}

/* Progress Bar Customization */
#progressBar {
    box-shadow: 0 2px 10px rgba(46, 196, 180, 0.3);
}