/* Общие стили для страницы дропов */
body.drops-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.drops-page .content-container {
    flex: 1;
    padding-top: 100px;
}

.drops-page .main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-title {
    font-size: 2.5rem;
    margin: 2rem auto 2.5rem;
    position: relative;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    padding-top: 20px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #5A6DB3;
    border-radius: 2px;
}

.drops-container {
    max-width: 1200px;
    padding: 2rem;
    background: rgba(24, 24, 24, 0.5);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(5, 6, 3, 0.2);
    border-radius: 25px;
    margin: 2rem auto;
}

/* Стили для поиска */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.drop-search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(5, 6, 3, 0.5);
    border-radius: 6px 0 0 6px;
    background-color: rgba(30, 30, 40, 0.7);
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.drop-search-input:focus {
    border-color: rgba(5, 6, 3, 0.8);
    box-shadow: 0 0 15px rgba(5, 6, 3, 0.4);
}

.search-button {
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 0 6px 6px 0;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.search-button:hover {
    background-color: rgba(255, 100, 100, 0.9);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.drops-filter {
    margin-bottom: 20px;
}

.search-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    background-color: rgba(30, 30, 40, 0.5);
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(5, 6, 3, 0.3);
}

.search-button svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

/* Стили для карточек дропов */
.drops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.drop-card {
    position: relative;
    background-color: rgba(20, 20, 30, 0.8);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    height: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(50, 50, 60, 0.5);
}

.drop-card.hovered {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(5, 6, 3, 0.4);
    border: 1px solid rgba(5, 6, 3, 0.5);
}

.drop-image {
    height: 220px;
    overflow: hidden;
}

.drop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.drop-card.hovered .drop-image img {
    transform: scale(1.05);
}

.drop-name {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    background-color: rgba(15, 15, 25, 0.9);
}

.drop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    background-color: rgba(50, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.drop-card.hovered .drop-overlay {
    opacity: 1;
}

.view-drop-btn {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
}

.view-drop-btn:hover {
    background-color: rgba(255, 100, 100, 1);
    transform: scale(1.05);
}

/* Стили для пагинации */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(20, 20, 30, 0.8);
    color: #fff;
    border: 2px solid rgba(5, 6, 3, 0.5);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn:hover {
    background-color: rgba(5, 6, 3, 0.7);
}

.pagination-btn.active {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(5, 6, 3, 0.8);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Стили для модального окна */
.drop-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 24, 24, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.drop-modal-content {
    background-color: rgba(20, 20, 30, 0.95);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(5, 6, 3, 0.5);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes modalFadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: rgba(5, 6, 3, 0.7);
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
    z-index: 5;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.close-modal:hover {
    color: white;
    background-color: rgba(5, 6, 3, 0.4);
    transform: rotate(90deg);
}

.drop-modal-header {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid rgba(5, 6, 3, 0.3);
}

.drop-modal-image {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(5, 6, 3, 0.5);
    box-shadow: 0 0 15px rgba(5, 6, 3, 0.3);
    flex-shrink: 0;
}

.drop-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drop-modal-info {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.drop-modal-info h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(5, 6, 3, 0.5);
}

.drop-modal-body {
    padding: 20px;
}

.drop-chest {
    margin-bottom: 30px;
    background-color: rgba(5, 6, 3, 0.7);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(50, 50, 60, 0.5);
    transition: all 0.3s;
}

.drop-chest:hover {
    box-shadow: 0 8px 20px rgba(5, 6, 3, 0.3);
    transform: translateY(-3px);
}

.drop-chest h3 {
    padding: 15px;
    background-color: rgba(5, 6, 3, 0.8);
    color: white;
    font-size: 18px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.drop-chest h3::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 60%, rgba(5, 6, 3, 0.1) 70%, transparent 80%);
    animation: shimmer 2s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.chest-chance {
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(5, 6, 3, 0.1);
}

.chest-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    padding: 15px;
}

.chest-item {
    display: flex;
    align-items: center;
    background-color: rgba(5, 6, 3, 0.7);
    border-radius: 6px;
    padding: 10px;
    transition: all 0.3s;
    border: 1px solid rgba(5, 6, 3, 0.5);
}

.chest-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(5, 6, 3, 0.3);
    border-color: rgba(5, 6, 3, 0.5);
    background-color: rgba(5, 6, 3, 0.8);
}

.chest-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 10px;
    border-radius: 4px;
    background-color: rgba(5, 6, 3, 0.2);
    padding: 3px;
    border: 1px solid rgba(5, 6, 3, 0.3);
    transition: all 0.3s;
}

.chest-item:hover img {
    transform: scale(1.1);
    border-color: rgba(5, 6, 3, 0.7);
    box-shadow: 0 0 10px rgba(5, 6, 3, 0.3);
}

.item-info {
    flex: 1;
}

.item-name {
    font-size: 14px;
    color: white;
    margin-bottom: 5px;
    font-weight: 500;
}

.item-chance {
    font-size: 12px;
    color: rgba(5, 6, 3, 0.9);
    font-weight: bold;
    display: inline-block;
    padding: 2px 6px;
    background-color: rgba(5, 6, 3, 0.1);
    border-radius: 3px;
    border: 1px solid rgba(5, 6, 3, 0.2);
}

/* Стили для сообщения "нет результатов" */
.no-results-message {
    text-align: center;
    padding: 30px;
    font-size: 18px;
    color: rgba(5, 6, 3, 0.7);
    background-color: rgba(30, 30, 40, 0.5);
    border-radius: 10px;
    margin: 20px auto;
    max-width: 500px;
    border: 1px solid rgba(5, 6, 3, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .drops-page .content-container {
        padding-top: 80px; /* Slightly less padding on mobile */
    }
    
    .page-title {
        font-size: 2rem;
        margin: 1.5rem auto 2rem;
    }
    
    .drops-container {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }
    
    .drops-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .drop-card {
        height: 240px;
    }
    
    .drop-image {
        height: 180px;
    }
    
    .drop-overlay {
        height: 180px;
    }
    
    .drop-modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .drop-modal-image {
        margin-bottom: 15px;
    }
    
    .drop-modal-info {
        padding-left: 0;
    }
    
    .chest-items {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 480px) {
    .drops-page .content-container {
        padding-top: 60px;
    }
    
    .page-title {
        font-size: 1.75rem;
        margin: 1rem auto 1.5rem;
    }
    
    .drops-container {
        padding: 1rem;
        margin: 1rem auto;
        border-radius: 15px;
    }
    
    .drops-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }
    
    .drop-card {
        height: 210px;
    }
    
    .drop-image {
        height: 150px;
    }
    
    .drop-overlay {
        height: 150px;
    }
    
    .drop-name {
        padding: 10px;
        font-size: 14px;
    }
    
    .chest-items {
        grid-template-columns: 1fr;
    }
}

/* Additional styles from inline CSS */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 3rem;
    background: rgba(20, 20, 30, 0.6);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    min-height: 200px;
    grid-column: 1 / -1;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(5, 6, 3, 0.3);
}

.loading-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmerEffect 1.5s infinite;
}

.loading-indicator div:last-child {
    margin-top: 15px;
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(5, 6, 3, 0.1);
    border-radius: 50%;
    border-top-color: #5A6DB3;
    border-left-color: #5A6DB3;
    animation: spin 1s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shimmerEffect {
    0% { left: -100%; }
    100% { left: 100%; }
}

.drop-set {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.drop-set-header {
    font-weight: bold;
    margin-bottom: 8px;
    color: #5A6DB3;
}

.item-count {
    color: #4caf50;
    font-size: 0.9em;
}

/* Highlight styles for items */
.highlighted-item {
    background-color: rgba(5, 6, 3, 0.15);
    border: 1px solid rgba(5, 6, 3, 0.3);
    box-shadow: 0 0 15px rgba(5, 6, 3, 0.3);
    border-radius: 5px;
    transform: scale(1.03);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.highlighted-item:after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(5, 6, 3, 0.2), transparent);
    z-index: -1;
    border-radius: 6px;
    animation: highlightPulse 2s infinite;
}

@keyframes highlightPulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Mobile fixes */
@media (max-width: 768px) {
    .search-options {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
}

/* Улучшенные стили для радио кнопок */
.radio-option {
    display: flex;
    align-items: center;
    position: relative;
    margin: 5px 0;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-option label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    color: #fff;
    font-size: 15px;
    transition: color 0.3s ease;
}

.radio-option label:hover {
    color: #5A6DB3;
}

.radio-option label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(5, 6, 3, 0.3);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.radio-option label:hover:before {
    border-color: rgba(5, 6, 3, 0.6);
    box-shadow: 0 0 8px rgba(5, 6, 3, 0.3);
}

.radio-option label:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 8px;
    height: 8px;
    background-color: #5A6DB3;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
}

.radio-option input[type="radio"]:checked + label:before {
    border-color: #5A6DB3;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 8px rgba(5, 6, 3, 0.4);
}

.radio-option input[type="radio"]:checked + label:after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.radio-option input[type="radio"]:checked + label {
    color: #5A6DB3;
    text-shadow: 0 0 5px rgba(5, 6, 3, 0.3);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background: rgba(20, 20, 30, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(5, 6, 3, 0.3);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    margin: 2rem 0;
}

.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background: rgba(5, 6, 3, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(5, 6, 3, 0.5);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
    margin: 2rem 0;
    position: relative;
}

.error-message::before {
    content: '⚠️';
    font-size: 24px;
    margin-right: 10px;
    vertical-align: middle;
} 