#homePage {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    z-index: 10;
    width: min(520px, 90vw);
}

.title {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--fg);
    user-select: none;
    opacity: 0;
    animation: slideUp 0.55s var(--ease) 0.05s forwards;
}

.search-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: var(--panel);
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
    backdrop-filter: blur(8px);
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
    opacity: 0;
    animation: slideUp 0.55s var(--ease) 0.14s forwards;
}

.search-wrap:focus-within {
    border-color: var(--line-3);
    background: rgba(22, 24, 42, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(139, 125, 212, 0.1);
}

.search-icon {
    flex-shrink: 0;
    color: var(--fg-3);
    transition: color 0.25s var(--ease);
}

.search-wrap:focus-within .search-icon { color: var(--fg); }

.search-field {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--fg);
    font-size: 14px;
    font-weight: 400;
}

.search-field::placeholder { color: var(--fg-3); }

.links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.link-btn {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 14px;
    color: var(--fg-2);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
    opacity: 0;
    animation: slideUp 0.5s var(--ease) forwards;
}

.link-btn:nth-child(1) { animation-delay: 0.24s; }
.link-btn:nth-child(2) { animation-delay: 0.29s; }
.link-btn:nth-child(3) { animation-delay: 0.34s; }
.link-btn:nth-child(4) { animation-delay: 0.39s; }
.link-btn:nth-child(5) { animation-delay: 0.44s; }
.link-btn:nth-child(6) { animation-delay: 0.49s; }

.link-btn:hover {
    border-color: var(--line-3);
    color: var(--fg);
    background: rgba(200, 195, 230, 0.03);
    transform: translateY(-1px);
}

.link-btn:active { transform: translateY(0); }

.welcome-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 6, 13, 0.95);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
    animation: slideDown 0.4s var(--ease) forwards;
}

.welcome-banner.hidden {
    display: none;
}

.welcome-content {
    background: var(--panel);
    border: 1px solid var(--line-2);
    border-radius: 16px;
    padding: 32px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: slideUp 0.5s var(--ease) 0.1s forwards;
    opacity: 0;
}

.welcome-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--fg);
    margin: 0 0 8px 0;
}

.welcome-decoration {
    width: 200px;
    height: 40px;
    margin: 12px auto 20px;
    display: block;
    color: var(--accent-2);
    animation: slideUp 0.6s var(--ease) 0.15s forwards;
    opacity: 0;
}

.welcome-desc {
    font-size: 24px;
    font-weight: 500;
    color: var(--fg-2);
    margin: 0 0 20px 0;
    letter-spacing: 0.3px;
}

.welcome-desc .highlight {
    color: var(--accent);
    font-weight: 600;
}

.welcome-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
    text-align: left;
}

.info-section h3 {
    font-size: 12px;
    font-weight: 600;
    color: var(--fg-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px 0;
}

.info-section p {
    font-size: 13px;
    color: var(--fg-2);
    margin: 0;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: var(--fg-2);
}

.tech-list li {
    padding: 2px 0;
    line-height: 1.5;
}

.welcome-ok-btn {
    margin-top: 24px;
    padding: 10px 24px;
    background: var(--accent);
    color: #05060d;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
    animation: slideUp 0.6s var(--ease) 0.3s forwards;
    opacity: 0;
}

.welcome-ok-btn:hover {
    background: var(--accent-2);
    transform: translateY(-2px);
}

.welcome-ok-btn:active {
    transform: translateY(0);
}
