/* Mobile-first design inspired by Ozon */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    font-size: 14px;
    color: #666;
    background: #fafafa;
}

.header-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.site-title {
    font-size: 20px;
    font-weight: 600;
    color: #005bff;
}

.back-link {
    color: #005bff;
    text-decoration: none;
    font-size: 16px;
    margin-right: 12px;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
}

/* Main Content */
.main-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 16px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

/* Promo Codes Grid */
.promo-codes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.promo-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.promo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.promo-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f0f0f0;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-content {
    padding: 16px;
}

.promo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.casino-logo-small {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
}

.promo-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.promo-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.promo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
}

.feature-badge.free-spins {
    background: #fff3e0;
    color: #e65100;
}

.feature-badge.deposit-bonus {
    background: #e3f2fd;
    color: #1565c0;
}

/* Promo Code Block */
.promo-code-block {
    margin: 16px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #005bff;
}

.promo-code-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.code-text {
    font-size: 20px;
    font-weight: 700;
    color: #005bff;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    flex: 1;
    word-break: break-all;
}

.copy-btn {
    background: #005bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: #0047cc;
}

.copy-btn:active {
    transform: scale(0.95);
}

.promo-link {
    display: inline-block;
    margin-top: 12px;
    color: #005bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.promo-link:hover {
    text-decoration: underline;
}

/* Casino Header */
.casino-header {
    text-align: center;
    margin-bottom: 24px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.casino-logo-large {
    max-width: 200px;
    max-height: 100px;
    object-fit: contain;
}

/* Casinos Section */
.casinos-section {
    margin-top: 32px;
}

.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    justify-items: center;
}

.casino-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.casino-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.casino-logo {
    padding: 20px;
    text-align: center;
    background: #fafafa;
    border-bottom: 1px solid #e0e0e0;
}

.casino-logo img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
}

.casino-content {
    padding: 16px;
}

.casino-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.casino-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.casino-link {
    display: inline-block;
    color: #005bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.casino-link:hover {
    text-decoration: underline;
}

/* Compact Casino Cards */
.casino-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.casino-card-compact {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.casino-card-link:hover .casino-card-compact {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.casino-logo-compact {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 12px;
}

.casino-logo-compact img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.casino-title-compact {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* Filter Section */
.filter-section {
    margin-top: 32px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.filter-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.filter-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.filter-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.filter-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.filter-card p {
    font-size: 12px;
    color: #666;
}

/* Casino Description */
.casino-description {
    margin-top: 32px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.casino-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.casino-desc-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.casino-description-html {
    line-height: 1.8;
}

.casino-description-html table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.casino-description-html table th,
.casino-description-html table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.casino-description-html table th {
    background: #f5f5f5;
    font-weight: 600;
}

.casino-description-text {
    line-height: 1.8;
    color: #555;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    color: #666;
}

/* Footer */
.footer {
    background: #fff;
    border-top: 1px solid #e0e0e0;
    margin-top: 40px;
    padding: 40px 16px 20px;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 32px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: #005bff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    color: #999;
    font-size: 12px;
}

/* Static info pages (About, Contact, Terms, Privacy) */
.static-page {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.static-page h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}
.static-content h2 {
    font-size: 18px;
    margin: 24px 0 12px;
    color: #333;
}
.static-content p {
    margin-bottom: 12px;
}
.static-content a {
    color: #005bff;
    text-decoration: none;
}
.static-content a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (min-width: 768px) {
    .promo-codes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .casinos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .filter-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .casino-images {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-content {
        max-width: 1200px;
    }
}

@media (min-width: 1024px) {
    .promo-codes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .casinos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}


