.popout { 
    padding: 35px 50px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    transform: translateY(-25px);
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 2px 18px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    transition: background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.3);
}

.search-container:focus-within {
    background: rgba(255, 255, 255, 0.055);
    border-color: color-mix(in srgb, var(--accent-color) 22%, transparent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px color-mix(in srgb, var(--accent-color) 8%, transparent),
        0 4px 20px color-mix(in srgb, var(--accent-color) 8%, transparent),
        0 1px 2px rgba(0, 0, 0, 0.3);
}

.search-icon {
    font-size: 0.95rem;
    color: var(--input-placeholder);
    opacity: 0.5;
    transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    flex-shrink: 0;
}

.search-container:focus-within .search-icon {
    color: var(--accent-color);
    opacity: 0.9;
}

#search-web {
    flex: 1;
    width: 600px;
    min-width: 0;
    padding: 8px 0;
    border: none;
    border-radius: 22px;
    font-size: 0.9rem;
    font-weight: 400;
    outline: none;
    background: transparent;
    color: var(--input-text);
    transition: background 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: none;
    display: block;
    letter-spacing: 0.15px;
}

.title {
    font-size: 3.7rem;
    font-weight: 900;
    margin-bottom: 15px;
}

#search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    z-index: 1000;
    max-height: 260px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.25s ease-in-out, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    border: none;
    padding: 6px;
    pointer-events: none;
}

#search-suggestions.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.suggestion-item {
    padding: 10px 14px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.75);
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
    font-size: 14px;
    margin: 2px 0;
    border-radius: 12px;
    background: transparent;
}

.suggestion-item:hover {
    cursor: url('/css/cursor/link.png'), auto;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.suggestion-item.highlighted {
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
}

.suggestion-loading {
    padding: 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-style: normal;
    font-size: 13px;
}

#search-suggestions::-webkit-scrollbar {
    width: 4px;
}

#search-suggestions::-webkit-scrollbar-track {
    background: transparent;
}

#search-suggestions::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.ad-left, .ad-right {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    box-shadow: none;
    border: 0;
    border-radius: 20px;
    padding: 10px;
    z-index: 1000;
    width: 180px; 
    height: 600px;
}