/* Стили для страницы слота */
.slot-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.slot-header {
    background: linear-gradient(135deg, #0036e9 0%, #020e35 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slot-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.slot-logo {
    flex-shrink: 0;
}

.slot-logo img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.slot-title-info h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    font-weight: bold;
}

.slot-developer {
    font-size: 1.2em;
    margin-bottom: 10px;
    opacity: 0.9;
    color: white;
}

.slot-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #ddd;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.star.filled {
    color: #ffd700;
}

/* Параметры слота */
.slot-parameters {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.slot-parameters h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.8em;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.parameters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.parameter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #0133d9;
}

.parameter-label {
    font-weight: 600;
    color: #555;
}

.parameter-value {
    font-weight: bold;
    color: #333;
    background: #0133d9;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
}

/* Особенности */
.slot-features {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.slot-features h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.8em;
    border-bottom: 3px solid #28a745;
    padding-bottom: 10px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.feature-icon {
    color: #28a745;
    font-weight: bold;
    font-size: 1.2em;
}

.feature-text {
    color: #333;
    font-weight: 500;
}

/* Демо игры */
.slot-demo {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.slot-demo h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.8em;
    border-bottom: 3px solid #ffc107;
    padding-bottom: 10px;
}

/* Демо игры на всю ширину */
.slot-demo-full {
    background: white;
    border-radius: 15px;
    padding: 30px 0;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.slot-demo-full h2 {
    margin: 0 0 20px 30px;
    color: #333;
    font-size: 1.8em;
    border-bottom: 3px solid #ffc107;
    padding-bottom: 10px;
}

.demo-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
}

.demo-container iframe {
    width: 100% !important;
    height: 500px;
    border: none;
    display: block;
    padding: 0px 30px;
}

/* Изображение слота */
.slot-image {
    text-align: center;
    margin-bottom: 30px;
}

.slot-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Контент */
.slot-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.slot-content h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.8em;
    border-bottom: 3px solid #17a2b8;
    padding-bottom: 10px;
}

/* Кнопка игры */
.slot-play-button {
    text-align: center;
    margin: 30px 0;
}

.play-btn {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    color: white;
    text-decoration: none;
}

/* Сетка карточек слотов */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.slot-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.slot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.slot-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-logo,
.slot-thumbnail {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 10px;
}

.slot-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    color: white;
}

.slot-badge.jackpot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.slot-badge.freespins {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.slot-card-content {
    padding: 20px;
}

.slot-card-title {
    margin: 0 0 10px 0;
    font-size: 1.3em;
}

.slot-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.slot-card-title a:hover {
    color: #667eea;
}

.slot-developer {
    color: #ffffff;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.slot-params {
    margin-bottom: 15px;
}

.slot-param {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.param-label {
    color: #666;
    font-weight: 500;
}

.param-value {
    color: #333;
    font-weight: bold;
}

.slot-rating {
    margin-bottom: 20px;
}

.slot-actions {
    display: flex;
    gap: 10px;
}

.btn-demo,
.btn-play {
    flex: 1;
    padding: 10px 15px;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.btn-demo {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #dee2e6;
}

.btn-demo:hover {
    background: #e9ecef;
    color: #333;
    text-decoration: none;
}

.btn-play {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-play:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    color: white;
    text-decoration: none;
}

/* Архивная страница слотов */
.slots-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.archive-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.archive-header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    font-weight: bold;
}

.archive-header p {
    margin: 0;
    font-size: 1.2em;
    opacity: 0.9;
}

.slots-pagination {
    margin-top: 40px;
    text-align: center;
}

.slots-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.slots-pagination .page-numbers:hover,
.slots-pagination .page-numbers.current {
    background: #667eea;
    color: white;
    text-decoration: none;
}

.no-slots {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.no-slots h2 {
    color: #333;
    margin-bottom: 15px;
}

.no-slots p {
    color: #666;
    font-size: 1.1em;
}

/* Адаптивность */
@media (max-width: 768px) {
    .slot-page {
        padding: 10px;
    }
    
    .slot-title-section {
        flex-direction: column;
        text-align: center;
    }
    
    .slot-title-info h1 {
        font-size: 2em;
    }
    
    .parameters-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .slot-actions {
        flex-direction: column;
    }
    
    .archive-header {
        padding: 30px 15px;
    }
    
    .archive-header h1 {
        font-size: 2em;
    }
    
    .archive-header p {
        font-size: 1em;
    }
    
    .demo-container iframe {
        height: 400px;
    }
    
    .slot-demo-full {
        padding: 20px 0;
    }
    
    .slot-demo-full h2 {
        margin: 0 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .slots-grid {
        grid-template-columns: 1fr;
    }
    
    .slot-header {
        padding: 20px;
    }
    
    .slot-parameters,
    .slot-features,
    .slot-demo,
    .slot-content {
        padding: 20px;
    }
    
    .slots-archive {
        padding: 10px;
    }
    
    .archive-header {
        padding: 20px 10px;
    }
    
        .archive-header h1 {
        font-size: 1.8em;
    }
    
    .demo-container iframe {
        height: 300px;
    }
    
    .slot-demo {
        padding: 15px;
    }
    
    .slot-demo-full {
        padding: 15px 0;
    }
    
    .slot-demo-full h2 {
        margin: 0 0 15px 15px;
        font-size: 1.5em;
    }
}
