:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-hover-border: #38bdf8;
    --text-main: #ffffff;
    --text-sub: #94a3b8;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #111921 0%, #000000 100%);
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    padding: 2rem;
    text-align: center;
}

h1.title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    background: linear-gradient(45deg, #ff0080, #ff8c00, #40e0d0, #00bfff, #7b68ee, #ff0080);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

p.subtitle {
    color: var(--text-sub);
    margin-bottom: 3.5rem;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.section-title {
    width: 100%;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-sub);
    margin: 2rem 0 0.8rem 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.links.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 500px) {
    .links.grid {
        grid-template-columns: 1fr;
    }
}

.link-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    /* More transparent base */
    border: 1px solid var(--card-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
    /* Reduced blur to see behind */
    -webkit-backdrop-filter: blur(3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.link-card:hover {
    transform: translateY(-3px);
    border-color: var(--card-hover-border);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.15);
    background: rgba(0, 0, 0, 0.4);
    /* Darker transparent on hover for text readability */
    backdrop-filter: blur(2px);
    /* Minimal blur on hover */
    -webkit-backdrop-filter: blur(2px);
}

.link-card h2 {
    margin: 0 0 0.4rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.link-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.4;
    text-align: left;
}

.tag {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: auto;
    font-weight: 600;
    text-transform: uppercase;
}

.tag.new {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

.tag.hot {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.card-header {
    display: flex;
    width: 100%;
    align-items: center;
    margin-bottom: 0.4rem;
}

footer {
    margin-top: 5rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.more-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s ease-out;
    opacity: 0;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid transparent;
}

.more-content.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.more-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-sub);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.more-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-color: var(--text-main);
}

.more-btn svg {
    transition: transform 0.4s ease;
}

.more-btn.expanded svg {
    transform: rotate(180deg);
}

.career-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.career-item {
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.95rem;
    width: 100%;
}

.career-item .company {
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
}

.career-item .role {
    color: var(--text-sub);
    font-size: 0.85rem;
    text-align: right;
    white-space: nowrap;
    margin-left: auto;
}

.detail-section {
    margin-bottom: 1.5rem;
    text-align: left;
}

.detail-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-sub);
}

.detail-list li {
    margin-bottom: 0.5rem;
    padding-left: 10px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}