/* ==========================================================================
   SEARCH PAGE STYLES
   ========================================================================== */

.search-page-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.search-hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.search-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

/* Large Search Form */
.search-form-large {
    max-width: 700px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--gold);
    border-radius: 50px; /* Округлые края для премиального вида */
    padding: 5px 5px 5px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.1);
}

.search-icon-inside {
    color: var(--gold);
    font-size: 1.2rem;
}

.search-input-wrapper input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 12px 15px;
    font-size: 1.1rem;
    outline: none;
}

.btn-search-submit {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search-submit:hover {
    background: #fcf6ba; /* Светло-золотой при наведении */
    transform: scale(1.05);
}

/* Results Section */
.results-title {
    margin-bottom: 30px;
    font-size: 1.2rem;
    border-left: 4px solid var(--gold);
    padding-left: 15px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

/* Result Card */
.result-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.result-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-placeholder {
    font-size: 3rem;
    opacity: 0.3;
}

.result-card-info {
    padding: 15px;
    text-align: center;
}

.result-song-title {
    display: block;
    color: var(--text-bright);
    font-weight: bold;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-song-author {
    display: block;
    color: var(--gold);
    font-size: 0.8rem;
    margin-top: 5px;
}

/* No Results & Hints */
.no-results {
    text-align: center;
    padding: 50px;
    color: var(--text-muted);
}

.no-results i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.retry-text {
    font-size: 0.9rem;
    opacity: 0.7;
}

.search-hints {
    text-align: center;
}

.hints-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.hint-tag {
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-dim);
    border-radius: 20px;
    color: var(--gold);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hint-tag:hover {
    background: var(--gold);
    color: #000;
}
