:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --text-secondary: #a1a1aa;
    --card-bg: rgba(23, 23, 23, 0.6);
    --card-border: rgba(255, 255, 255, 0.1);
    --accent-glow: rgba(255, 255, 255, 0.2);
    --font-family: 'Noto Sans TC', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
    /* Prevent scroll from animation */
}

.container {
    width: 100%;
    max-width: 520px;
    /* Slightly wider for modern feel */
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
    /* Ensure content is above canvas */
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    /* Tesla-like spacing */
    background: linear-gradient(to right, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
}

main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px;
    background: var(--card-bg);
    border-radius: 4px;
    /* Sharper corners for Tesla feel */
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Subtle glow on hover */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-2px);
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    /* Removed background for cleaner look */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
    margin-right: 24px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.card-content {
    flex: 1;
}

.card-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.description {
    font-size: 0.95rem;
    color: #d1d5db;
    margin-bottom: 16px;
    font-weight: 300;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tags span {
    font-size: 0.75rem;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: #e5e7eb;
    background: transparent;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.card-arrow {
    font-size: 1.5rem;
    color: #6b7280;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.card:hover .card-arrow {
    transform: translateX(5px);
    color: #ffffff;
}

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #525252;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .card {
        padding: 24px;
    }
}