/* Custom Global Styles for Divyank Portfolio */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

/* Custom Premium Dark Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #030712; /* Gray 950 Matching Body */
}
::-webkit-scrollbar-thumb {
    background: #1e1b4b; /* Indigo 950 Subtle Track */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4f46e5; /* Indigo 600 Highlight on Hover */
}

/* Ambient Radial Blur Backgrounds */
.ambient-bg-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.ambient-bg-2 {
    position: absolute;
    bottom: 0%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Neon Text Gradient Effect */
.neon-text-gradient {
    background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glowing Card Hover Framework */
.glow-card {
    display: flex;
    flex-direction: column;
    min-height: 160px; /* Forces cards height equality for crisp alignment */
}
.glow-card:hover {
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.2);
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.4);
}

/* Tech Badges */
.tech-badge {
    background-color: #0f172a;
    border: 1px solid #1e293b;
    color: #cbd5e1;
    padding: 0.375rem 0.875rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Active Language Toggle Button State */
.active-lang {
    background-color: #4f46e5;
    color: #ffffff;
}

/* Typewriter Cursor Blinking */
.typewriter-cursor {
    animation: blink 0.7s infinite;
    color: #6366f1;
    font-weight: bold;
    margin-left: 2px;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Scroll Reveal Infrastructure */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}