* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(180deg, #f0f4f8 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.site-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.1);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(0deg) scale(1.05);
}

.icon-inner {
    font-size: 2.2rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transform: rotate(5deg);
}

.logo-text {
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    text-transform: uppercase;
}

.logo-highlight {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
}

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

.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 60px 20px 40px;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.top40-hero-image {
    display: block;
    margin: 0 auto 30px;
    width: min(100%, 1100px);
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    object-fit: cover;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 32px;
    padding-bottom: 8px;
}

.table-scroll table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.types-hero-image {
    display: block;
    margin: 0 auto 28px;
    width: min(100%, 980px);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(226, 232, 240, 0.6);
    object-fit: cover;
}

.slots-hero-image {
    display: block;
    margin: 0 auto 28px;
    width: min(100%, 980px);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(15, 23, 42, 0.08);
    object-fit: cover;
}

.providers-hero-image {
    display: block;
    margin: 0 auto 28px;
    width: min(100%, 960px);
    border-radius: 20px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(228, 241, 254, 0.8);
    object-fit: cover;
}

.bonuses-hero-image {
    display: block;
    margin: 0 auto 26px;
    width: min(100%, 980px);
    border-radius: 22px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(226, 232, 240, 0.7);
    object-fit: cover;
}

.subtitle {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 400;
}

.casino-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 50px;
}

.casino-item {
    background: white;
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.casino-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: #3b82f6;
}

.rank-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.casino-logo {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.casino-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.casino-logo--text {
    font-weight: 600;
    font-size: 0.85rem;
    color: #0f172a;
    padding: 8px;
}

.casino-info {
    flex: 1;
    min-width: 0;
}

.casino-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #1e293b;
    font-weight: 600;
}

.rating {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.rating span {
    color: #64748b;
    margin-left: 4px;
}

.features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.feature {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.casino-bonus {
    text-align: center;
    padding: 0 20px;
    border-left: 2px solid #e2e8f0;
    border-right: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.bonus-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #10b981;
}

.promo-code {
    margin-top: 12px;
    padding: 10px 14px;
    background: #f0f9ff;
    border: 2px dashed #3b82f6;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-code:hover {
    background: #e0f2fe;
    transform: scale(1.02);
}

.promo-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3b82f6;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.casino-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.btn-play,
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
}

.btn-play {
    padding: 14px 32px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-download {
    padding: 12px 32px;
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-download:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.info-card h2 {
    color: #1e293b;
    margin-bottom: 24px;
    font-size: 1.8rem;
    font-weight: 700;
}

.info-card p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card ul li {
    color: #475569;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
}

.info-card ul li:last-child {
    border-bottom: none;
}

.site-footer {
    background: #1e293b;
    color: white;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: white;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

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

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

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

@media (max-width: 968px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .casino-item {
        flex-wrap: wrap;
        gap: 20px;
        padding: 24px 20px;
    }
    
    .rank-badge {
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
    }

    .casino-logo {
        width: 120px;
        height: 120px;
    }
    
    .casino-info h3 {
        font-size: 1.3rem;
    }
    
    .casino-bonus {
        border: none;
        border-top: 2px solid #e2e8f0;
        padding: 20px 0 0 0;
        width: 100%;
        text-align: center;
    }
    
    .promo-code {
        margin-top: 10px;
    }
    
    .casino-actions {
        width: 100%;
    }
    
    .btn-play,
    .btn-download {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: relative;
    }
    
    .header-container {
        padding: 16px;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
    }
    
    .icon-inner {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    body {
        padding: 0;
    }
    
    .container {
        padding: 12px;
    }
    
    .page-header {
        padding: 30px 15px 25px;
        margin-bottom: 30px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
    }
    
    .casino-list {
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .casino-item {
        padding: 20px 16px;
        gap: 16px;
    }
    
    .rank-badge {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }

    .casino-logo {
        width: 110px;
        height: 110px;
    }
    
    .casino-info h3 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .rating {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .features {
        gap: 8px;
    }
    
    .feature {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .bonus-label {
        font-size: 0.75rem;
    }
    
    .bonus-amount {
        font-size: 1.2rem;
    }
    
    .promo-code {
        padding: 8px 12px;
    }
    
    .promo-label {
        font-size: 0.7rem;
    }
    
    .promo-value {
        font-size: 1rem;
    }
    
    .btn-play {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .btn-download {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .info-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .info-card {
        padding: 24px 20px;
    }
    
    .info-card h2 {
        font-size: 1.4rem;
        margin-bottom: 16px;
    }
    
    .info-card p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .info-card ul li {
        font-size: 0.95rem;
        padding: 12px 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px 20px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 12px;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .container {
        padding: 8px;
    }
    
    .page-header {
        padding: 20px 10px;
        margin-bottom: 20px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .casino-item {
        padding: 16px 12px;
    }

    .rank-badge {
        width: 24px;
        height: 24px;
        font-size: 0.85rem;
    }

    .casino-logo {
        width: 95px;
        height: 95px;
    }
    
    .casino-info h3 {
        font-size: 1.1rem;
    }
    
    .feature {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .info-card {
        padding: 20px 16px;
    }
    
    .info-card h2 {
        font-size: 1.2rem;
    }
    
    .footer-container {
        padding: 30px 16px 16px;
    }
}

.article-section {
    margin-top: 40px;
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    border: 1px solid #e2e8f0;
}

.article-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: #0f172a;
    margin-top: 28px;
    margin-bottom: 12px;
}

.article-content p,
.article-content li,
.article-content h3,
.article-content h4 {
    line-height: 1.8;
    color: #1e293b;
}

.article-content ul,
.article-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-content th,
.article-content td {
    border: 1px solid #e2e8f0;
    padding: 10px;
    text-align: left;
}

.article-content th {
    background: #f8fafc;
}

.article-content .review-box {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
}

.article-content .review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0f172a;
}

.article-content .stars {
    color: #fbbf24;
}

@media (max-width: 768px) {
    .article-section {
        padding: 24px;
    }
}
