/* --- Basic Setup & Theming --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

:root {
    --bg-color: #121212;
    --card-bg-color: rgba(30, 30, 30, 0.7); /* Added transparency for glass effect */
    --text-color: #e0e0e0;
    --primary-color: #6a5acd; /* A nice slate blue for accents */
    --hover-bg-color: rgba(42, 42, 42, 0.8);
    --shadow-color: rgba(0, 0, 0, 0.5);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden; /* Prevents horizontal scrollbar on animation */
}

/* --- Background Canvas --- */
#bg-canvas {
    position: fixed; /* Sit on top of the page content */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place it behind the content */
}

/* --- Main Container & Title --- */
.container {
    width: 90%;
    max-width: 600px;
    text-align: center;
    /* Glassmorphism effect */
    background: rgba(18, 18, 18, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* For Safari */
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

h1 {
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Link List Styling --- */
.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-list li {
    margin-bottom: 1.2rem;
    /* Initial state for animation */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger the animation for each list item */
.link-list li:nth-child(1) { animation-delay: 0.1s; }
.link-list li:nth-child(2) { animation-delay: 0.2s; }
.link-list li:nth-child(3) { animation-delay: 0.3s; }
.link-list li:nth-child(4) { animation-delay: 0.4s; }
.link-list li:nth-child(5) { animation-delay: 0.5s; }
.link-list li:nth-child(6) { animation-delay: 0.6s; }
.link-list li:nth-child(7) { animation-delay: 0.7s; }
.link-list li:nth-child(8) { animation-delay: 0.8s; }
.link-list li:nth-child(9) { animation-delay: 0.9s; } /* Added 9th item for safety */

.link-list a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: var(--card-bg-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 400;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth transitions */
}

.link-list a:hover {
    transform: translateY(-5px);
    background-color: var(--hover-bg-color);
    box-shadow: 0 8px 25px rgba(106, 90, 205, 0.3); /* Glowing shadow on hover */
}

.link-list .favicon {
    width: 32px;
    height: 32px;
    margin-right: 1rem;
    border-radius: 8px; /* Slightly rounded corners for the icon */
}

/* --- Keyframe for the "Flashy" Load-in Animation --- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
