:root {
    --primary-color: #2a3b5e;
    --accent-color: #e63946;
    --background-color: #151519;
    --text-color: #f0f0f0;
    --input-bg: #1e1e24;
    --input-border: #2a2a35;
    --footer-text-color: rgba(255, 255, 255, 0.5);
    --focus-outline-color: #4d90fe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.search-wrapper {
    width: 100%;
    max-width: 700px;
    text-align: center;
}

.site-logo {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-transform: lowercase;
    letter-spacing: -0.5px;
}

.site-logo span {
    color: var(--accent-color);
}

.search-form, .search-form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-box {
    display: flex;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.search-box.focused {
    transform: scale(1.01);
}

.search-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    padding-right: 4.5rem;
    border: 2px solid var(--input-border);
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: var(--input-bg);
    color: var(--text-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 4px 12px rgba(42, 59, 94, 0.25);
    transform: translateY(-2px);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-button:hover {
    background-color: var(--accent-color);
}

.message {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    line-height: 1.5;
}
.seo-content {
    margin-top: 3rem;
    padding: 2rem;
    background-color: rgba(42, 59, 94, 0.1);
    border-radius: 10px;
    max-width: 700px;
    text-align: left;
}

.seo-content h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.seo-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.seo-content ul {
    margin-bottom: 1rem;
    margin-left: 1.5rem;
}

.seo-content li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
    color: var(--footer-text-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover, footer a:focus {
    color: var(--text-color);
    text-decoration: underline;
}

.seo-text {
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.4;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.search-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative;
}

.search-icon:after {
    content: "";
    display: inline-block;
    position: absolute;
    width: 2px;
    height: 8px;
    background: currentColor;
    transform: rotate(-45deg);
    top: 12px;
    left: 14px;
}
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(21, 21, 25, 0.95);
    color: #fff;
    z-index: 1000;
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#cookie-accept {
    background-color: var(--primary-color);
    color: #fff;
}

#cookie-reject {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .search-wrapper {
        padding: 0 1rem;
    }
    
    h1, .site-logo {
        font-size: 2rem;
    }
    
    .search-button {
        padding: 0 1.2rem;
    }
    
    .search-input {
        font-size: 0.9rem;
        padding: 1.1rem 1.3rem;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .seo-content {
        padding: 1.5rem;
    }
    
    .seo-content h2 {
        font-size: 1.2rem;
    }
    
    .seo-content p, .seo-content li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1, .site-logo {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .search-button span {
        display: none;
    }
    
    .search-button {
        width: 45px;
        padding: 0;
        justify-content: center;
    }
    
    .message {
        font-size: 0.85rem;
    }
    
    .search-input {
        font-size: 0.85rem;
        padding: 1rem 1.2rem;
    }
    
    .search-input::placeholder {
        font-size: 0.85rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    .seo-content {
        padding: 1rem;
    }
    
    .seo-content h2 {
        font-size: 1.1rem;
    }
    
    .seo-content p, .seo-content li {
        font-size: 0.85rem;
    }
}