:root {
    --bg-color: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #38bdf8;
    --accent-hover: #0ea5e9;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    text-align: center;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #38bdf8, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.05em;
    animation: fadeInDown 0.8s ease-out;
}

.grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    max-width: 800px;
    /* Constrain width for list view aesthetics */
    margin: 0 auto;
    /* Center the list */
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    /* Reduced vertical padding */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: row;
    /* Horizontal layout */
    align-items: center;
    gap: 1.5rem;
    /* Space between icon and text */
    position: relative;
    overflow: hidden;
    text-align: left;
    /* Align text to the left */
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.card:hover {
    transform: translateY(-2px);
    /* Subtle lift */
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Softer shadow */
}

.card:hover::before {
    transform: translateX(100%);
}

.card-icon {
    font-size: 1.75rem;
    /* Smaller icon */
    margin-bottom: 0;
    /* Remove bottom margin */
    flex-shrink: 0;
    /* Prevent icon from shrinking */
    width: 40px;
    /* Fixed width for alignment */
    text-align: center;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card h2 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 0.9rem;
    margin: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .container {
        padding: 1rem;
    }
}