:root {
    --bg-color: #101010;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-color: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --font-main: 'LINE Seed JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background glow removed as per request */
.background-glow {
    display: none;
}

.container {
    max-width: 800px;
    /* Narrower container for better horizontal card appearance */
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    padding: 6rem 0 3rem;
    text-align: center;
    /* Center align page title */
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: linear-gradient(to bottom, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

main {
    flex: 1;
}

.grid {
    display: flex;
    flex-direction: column;
    /* Force horizontal (full width) cards */
    gap: 1.5rem;
    margin-bottom: 6rem;
}

.card {
    text-decoration: none;
    color: inherit;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.card-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* Space between icon and title */
}

.icon-wrapper {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateX(8px);
    /* Slide right instead of up for horizontal feel */
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.card:hover .icon-wrapper {
    background: var(--accent-color);
    color: white;
}

.card h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.url {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.url i {
    width: 14px;
    height: 14px;
}

.card:hover .url {
    color: var(--text-primary);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }
}