/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: #0f172a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #1e293b;
    border-bottom: 1px solid #334155;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fbbf24;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fbbf24;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box {
    position: relative;
    display: flex;
}

.search-input {
    background: #334155;
    border: 1px solid #475569;
    border-radius: 8px;
    padding: 8px 40px 8px 12px;
    color: #e2e8f0;
    width: 250px;
}

.search-input::placeholder {
    color: #64748b;
}

.search-input:focus {
    outline: none;
    border-color: #fbbf24;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 20px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 20px;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto;
}

/* Sections */
.popular-slots, .best-slots {
    padding: 48px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 32px;
    color: #e2e8f0;
}

.navigation-buttons {
    display: flex;
    gap: 8px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    background: #334155;
    border: 1px solid #475569;
    border-radius: 8px;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-btn:hover {
    border-color: #fbbf24;
    background: #475569;
}

/* Slots Grid */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.slot-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.slot-card:hover {
    border-color: #fbbf24;
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.1);
    transform: translateY(-2px);
}

.slot-image {
    height: 150px;
    background: linear-gradient(135deg, #334155, #1e293b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
}

.slot-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
}

.slot-card:hover .slot-image::after {
    opacity: 1;
}

.slot-info {
    padding: 16px;
}

.slot-name {
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 8px;
    font-size: 14px;
}

.slot-plays {
    color: #94a3b8;
    font-size: 12px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.page-btn {
    padding: 8px 16px;
    background: #334155;
    border: 1px solid #475569;
    border-radius: 8px;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn.active {
    background: #fbbf24;
    color: #0f172a;
    border-color: #fbbf24;
}

.page-btn:hover:not(.active) {
    background: #475569;
}

/* Content Layout */
.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin: 48px 0;
}

/* About Section */
.about-section {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
}

.about-section h2 {
    color: #e2e8f0;
    margin-bottom: 24px;
    font-size: 28px;
}

.about-content p {
    color: #cbd5e1;
    margin-bottom: 16px;
}

.about-content h3 {
    color: #e2e8f0;
    margin: 24px 0 16px 0;
    font-size: 20px;
}

.about-content ul {
    color: #cbd5e1;
    padding-left: 20px;
}

.about-content li {
    margin-bottom: 8px;
}

/* Casinos Section */
.casinos-section h2 {
    color: #e2e8f0;
    margin-bottom: 32px;
    font-size: 28px;
}

.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.casino-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.casino-card:hover {
    border-color: #fbbf24;
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.1);
}

.casino-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.casino-name {
    font-size: 20px;
    font-weight: bold;
    color: #e2e8f0;
}

.casino-rating {
    display: flex;
    gap: 2px;
}

.star {
    color: #fbbf24;
}

.star.empty {
    color: #475569;
}

.casino-bonus {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0f172a;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 16px;
}

.casino-btn {
    width: 100%;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.casino-btn:hover {
    background: #059669;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.widget {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 24px;
}

.widget h3 {
    color: #e2e8f0;
    margin-bottom: 16px;
    font-size: 18px;
}

/* Winners List */
.winners-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #334155;
}

.winner-item:last-child {
    border-bottom: none;
}

.winner-info .winner-name {
    color: #e2e8f0;
    font-weight: 500;
}

.winner-info .winner-game {
    color: #64748b;
    font-size: 12px;
}

.winner-amount {
    color: #10b981;
    font-weight: bold;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-item {
    padding-bottom: 16px;
    border-bottom: 1px solid #334155;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-title {
    color: #e2e8f0;
    margin-bottom: 8px;
    cursor: pointer;
    transition: color 0.3s;
}

.news-title:hover {
    color: #fbbf24;
}

.news-date {
    color: #64748b;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Providers Grid */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.provider-item {
    text-align: center;
    padding: 16px;
    background: #334155;
    border-radius: 8px;
    transition: background 0.3s;
    cursor: pointer;
}

.provider-item:hover {
    background: #475569;
}

.provider-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.provider-name {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 4px;
}

.provider-slots {
    color: #94a3b8;
    font-size: 10px;
}

/* Best Slots Grid */
.best-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.show-more {
    text-align: center;
}

.show-more-btn {
    background: #fbbf24;
    color: #0f172a;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.show-more-btn:hover {
    background: #f59e0b;
}

/* Footer */
.footer {
    background: #020617;
    border-top: 1px solid #334155;
    padding: 32px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fbbf24;
}

.footer-copyright {
    color: #64748b;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .search-input {
        width: 200px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .slots-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }
    
    .casinos-grid {
        grid-template-columns: 1fr;
    }
    
    .providers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .search-box {
        display: none;
    }
    
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .best-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}