/* --- Global Styles & AI Theme Variables --- */
:root {
    --bg-color: #1a202c; /* Very dark blue, almost black */
    --card-color: rgba(45, 55, 72, 0.7); /* Dark gray-blue for cards */
    --accent-glow: #63e2b7; /* Bright Neon Cyan/Green */
    --accent-primary: #805AD5; /* Vibrant Purple */
    --text-light: #E2E8F0; /* Light gray for main text */
    --text-medium: #A0AEC0; /* Medium gray for subtitles */
    --text-strong: #FFFFFF; /* Pure white for highlights */
    --border-color: rgba(99, 226, 183, 0.2); /* Neon border */
    --shadow-color: rgba(108, 229, 16, 0.953); /* Neon shadow */
}

body {
    background-color: var(--bg-color);
    font-family:'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* --- Main Container --- */
.bhulekh-container {
    max-width: 800px;
    margin: rem auto;
    padding: 5rem;
    /* border-radius: 12px; */
    /* background-color: rgba(26, 32, 44, 0.5); */
    /* backdrop-filter: blur(5px); */
}

.bhulekh-container h2 {
    text-align: center;
    background: linear-gradient(90deg, var(--accent-glow), var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: 900;
}

/* --- Link List --- */
.bhulekh-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.bhulekh-links li {
    padding: 20px 25px;
    margin-bottom: 1rem;
    background-color: var(--card-color);
    border-radius: 12px;
    position: relative;
    transition: all 0.4s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
        border-left: 5px solid #72e088;

}

.bhulekh-links li:hover {
    background-color: rgba(45, 55, 72, 0.639);
    transform: translateY(-5px) translateX(10px); 

     transform: translateY(-2px);
                        box-shadow: 0 0 20px #63e2b7;
}

.bhulekh-links a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: letter-spacing 0.3s ease;
}

.bhulekh-links a:hover  {
    letter-spacing: 0.5px;
    color: var(--accent-glow);
    
}

/* --- Descriptions & Hover Popups --- */
.link-description {
    color: #ffffffd2;
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.bhulekh-links li:hover .link-description {
    opacity: 1;
    max-height: 110px;
    margin-top: 10px;
}

.hover-links {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    left: 100%;
    margin-left: 15px;
    background-color: var(--card-color);
    padding: 15px;
    border-radius: 8px;
    width: 260px;
    z-index: 10;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bhulekh-links li:hover .hover-links {
    opacity: 1;
    visibility: visible;
    transform: translateX(px);
    box-shadow: 0 0 20px var(--shadow-color), 0 0 30px var(--shadow-color);
    
}

.hover-links a {
    display: block;
    /* color: var(--text-light); */
    text-decoration: none;
    padding: 8px 0;
}

.hover-links a:hover {
    color: #e3ef0d;
    animation: shake 0.5s ease-in-out;
}


/* --- Keyframe Animations --- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px) rotate(-2deg); }
  40% { transform: translateX(5px) rotate(2deg); }
  60% { transform: translateX(-3px) rotate(-1deg); }
  80% { transform: translateX(3px) rotate(1deg); }
}

/* Staggered animation delays */
.bhulekh-links li:nth-child(1) { animation-delay: 0.1s; }
.bhulekh-links li:nth-child(2) { animation-delay: 0.2s; }
.bhulekh-links li:nth-child(3) { animation-delay: 0.3s; }
.bhulekh-links li:nth-child(4) { animation-delay: 0.4s; }
.bhulekh-links li:nth-child(5) { animation-delay: 0.5s; }
.bhulekh-links li:nth-child(6) { animation-delay: 0.6s; }
.bhulekh-links li:nth-child(7) { animation-delay: 0.7s; }
.bhulekh-links li:nth-child(8) { animation-delay: 0.8s; }


/* --- MEDIA QUERIES (RESPONSIVE DESIGN) --- */
@media (max-width: 992px) {
    .bhulekh-container {
        margin: 5rem 1rem;
        padding: 1.5rem;
    }

    .bhulekh-container h2 {
        font-size: 1.8rem;
    }

    .bhulekh-links li:hover {
        transform: translateY(-5px); 
    }

    .hover-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .bhulekh-links li {
        padding: 15px;
    }
    
    .bhulekh-links a {
        font-size: 1em;
    }
}