#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); }
