/* === ФОН И ОСНОВА === */
/*
body {
    background: #ededed url('https://zacelovany.ru/zacelovany_starsky2.png') no-repeat center center fixed !important;
    background-size: cover !important;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    min-height: 100vh;
}
*/

/* === НАВИГАЦИЯ (хлебные крошки) === */
.breadcrumb {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 20px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: #6c757d;
    font-size: 15px;
}

.breadcrumb-item.active {
    color: #4CAF50;
    font-weight: 600;
}

.breadcrumb-separator {
    color: #adb5bd;
    margin: 0 8px;
}

/* === ПОИСКОВАЯ ФОРМА === */
.search-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 5vw;
    margin: 4vw auto;
    max-width: 1200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-title {
    color: #2c3e50;
    font-size: 5vw;
    margin: 2vw;
    font-weight: 700;
    text-align: center;
}
.search-title-hint {
    color: #46586b;
    margin: -2px;
    padding: -2px;
    font-size: 4vw;
    font-weight: 400;
    text-align: center;
}

.search-form {
    display: flex;
    gap: 5vw;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 2vw 2vw;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 4vw;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.search-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    border: none;
    padding: 3vw 3vw;
    border-radius: 12px;
    font-size: 5vw;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

/* === СПИСОК ИСПОЛНИТЕЛЕЙ === */
.artists-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.artists-title {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.artist-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.artist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #4CAF50;
}

.artist-username {
    color: #6a6c6f;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    text-decoration: none;
}

.artist-username:hover {
    color: #4CAF50;
    text-shadow: 
        0 0 15px rgba(0, 195, 255, 1),
        0 0 30px rgba(0, 195, 255, 0.8);
    transform: scale(1.05);
}

.artist-nickname {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
}

.artist-description {
    color: #7b8a8b;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artist-frontmen {
    display: inline-block;
    background: #e8f5e9;
    color: #2E7D32;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* === ПАГИНАЦИЯ === */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination-btn {
    background: white;
    border: 2px solid #e0e0e0;
    color: #6c757d;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
}

.pagination-btn:hover:not(:disabled) {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: white;
    border: 2px solid #e0e0e0;
    color: #6c757d;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-number:hover:not(.active) {
    border-color: #4CAF50;
    color: #4CAF50;
}

.page-number.active {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

/* === АДАПТИВНОСТЬ ДЛЯ TG WEB APP === */
@media (max-width: 768px) {
    .breadcrumb {
        margin: 10px;
        padding: 12px;
    }
    
    .search-container,
    .artists-container {
        margin: 2vw;
        padding: 2vw;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .artists-grid {
        grid-template-columns: 1fr;
        gap: 4vw;
    }
    
    .artist-card {
        padding: 5vw;
    }
    
    .pagination-container {
        gap: 10px;
    }
    
    .pagination-btn {
        min-width: 80px;
        padding: 10px 15px;
    }
    
    .page-number {
        width: 35px;
        height: 35px;
    }
}

/* === АНИМАЦИИ === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.artist-card {
    animation: fadeIn 0.5s ease-out;
}

/* === ТЕМА ДЛЯ TELEGRAM === */
.tg-theme {
    background: var(--tg-theme-bg-color, #ededed) !important;
    color: var(--tg-theme-text-color, #000000) !important;
}

.tg-theme .search-container,
.tg-theme .artists-container,
.tg-theme .breadcrumb {
    background: var(--tg-theme-secondary-bg-color, rgba(255, 255, 255, 0.95)) !important;
    color: var(--tg-theme-text-color, #000000) !important;
}

.tg-theme .artist-card {
    background: var(--tg-theme-bg-color, white) !important;
    color: var(--tg-theme-text-color, #000000) !important;
}

.tg-theme .search-input {
    background: var(--tg-theme-bg-color, white) !important;
    color: var(--tg-theme-text-color, #000000) !important;
    border-color: var(--tg-theme-hint-color, #e0e0e0) !important;
}

/* === СООБЩЕНИЕ ПРИ ОТСУТСТВИИ РЕЗУЛЬТАТОВ === */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    font-size: 18px;
}

.no-results i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #adb5bd;
}

/* === LOADING SPINNER === */
.loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(76, 175, 80, 0.3);
    border-radius: 50%;
    border-top-color: #4CAF50;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-container {
    text-align: center;
    padding: 60px;
}

/* === ТЕКСТ НА ФОНЕ ЗВЕЗДНОГО НЕБА === */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: -1;
}

/* === УЛУЧШЕНИЯ ДЛЯ ССЫЛОК === */
a {
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

/* === СТАРЫЕ СТИЛИ ФУНКЦИОНАЛА=== */
/* Верхняя ссылка */
.header-link {
    margin: 40px;
    width: 100%;
  }
  
  .header-link a {
    display: block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap; /* Запрет переноса */
    letter-spacing: 3px;
    text-shadow: 
        0 0 10px rgba(0, 195, 255, 0.7),
        0 0 20px rgba(0, 195, 255, 0.5);
    transition: all 0.3s ease;
    padding: 15px;
    position: relative;
  }
  
  .header-link a:hover {
    text-shadow: 
        0 0 15px rgba(0, 195, 255, 1),
        0 0 30px rgba(0, 195, 255, 0.8);
    transform: scale(1.02);
  }
  
  .header-link a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0, 195, 255, 0.2), transparent);
  }

  /* Центральное изображение */
.center-image {
    margin: 30px 0;
    width: 100%;
    max-width: 640px;
    height: auto;
    /*box-shadow: 
        0 0 50px rgba(0, 195, 255, 0.4),
        0 0 100px rgba(0, 195, 255, 0.2);*/
    border-radius: 10px;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 5;
  }
  
  @keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
  }
  
  .center-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
  }
  
  .center-image:hover {
    box-shadow: 
        0 0 50px rgba(0, 195, 255, 0.4),
        0 0 100px rgba(0, 195, 255, 0.2);
        transform: scale(1.02);
    }
  
  .center-image img:hover {
        transform: scale(1.02);
    }
  
  
  /* Нижняя надпись */
  .footer-link {
    margin-top: 40px;
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    padding: 15px 30px;
    border-top: 1px solid rgba(0, 195, 255, 0.3);
    border-bottom: 1px solid rgba(0, 195, 255, 0.3);
    position: relative;
    transition: all 0.3s ease;
  }
  
  .footer-link-a {
    display: inline;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 300;
    color: #fff;
    text-decoration: none;
    /*text-transform: uppercase;*/
    white-space: nowrap; /* Запрет переноса */
    letter-spacing: 3px;
    text-shadow: 
        0 0 10px rgba(0, 195, 255, 0.7),
        0 0 20px rgba(0, 195, 255, 0.5);
    transition: all 0.3s ease;
    padding: 15px;
    position: relative;
  }
  
  .footer-link:hover{
    text-shadow: 
        0 0 15px rgba(0, 195, 255, 1),
        0 0 30px rgba(0, 195, 255, 0.8);
    transform: scale(1.2);
  }
  .footer-link-a:hover{
    text-shadow: 
        0 0 15px rgba(0, 195, 255, 1),
        0 0 30px rgba(0, 195, 255, 0.8);
    transform: scale(1.5);
  }

  .genius-a {
    display: inline;
    font-size: 100%;
    color: rgb(185, 103, 103);
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    /*text-transform: uppercase;*/
    
    letter-spacing: 3px;
    text-shadow: 
        0 0 10px rgba(0, 195, 255, 0.7),
        0 0 20px rgba(0, 195, 255, 0.5);
    transition: all 0.3s ease;
    padding: 15px;
  }

  .imgava{
    width: 100%;
    height: auto;
    padding: 5px;
    border-radius: 10px;
  }
  .img-ava-card{
    width: 33%;
    height: auto;
    padding: 5px;
    border-radius: 10px;
    vertical-align: middle;
  }
  

  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    overflow-y: auto; /* ыертикальная прокрутка для контейнера */
  }

  .content {    
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    text-align: center;
  }

  /* Анимированный фон */
.stars-background-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('zacelovany_starsky2.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    animation: fly-through-space 120s linear forwards;
    z-index: 0;
  }
  
  @keyframes fly-through-space {
    0% {
        background-size: 100% 100%;
    }
    100% {
        background-size: 400% 400%;
    }
  }

  .choice{
    display:block;
    width:100%;
    text-align: center;
  }
  
  .choice33{
    width:33%;
    text-align: center;
  }
  
  .views{
    display: block;
    width: 100%;
    font-size: 11px;
    text-align: right;
  }


  
.audio-player {
    padding: 15px;
    background-color: rgb(61, 49, 49);
    border-radius: 8px;
    margin: 10px 0;
}
.audio-header {
    margin-bottom: 10px;
    padding-bottom: 8px;
}
.audio-title {
    font-weight: bold;
    font-size: 16px;
    display: block;
}
.audio-meta {
    color: #6c757d;
    font-size: 13px;
}
