html {
    scroll-behavior: smooth;
}

/* Mobile First - базовые стили для мобильных устройств */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background: #f5f5f5;
}

.main-header {
    position: static;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 60px;
    height: 60px;
}

.logo-text {
    font-size: 1.3em;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.main-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    order: 3;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    transition: color 0.3s ease;
    padding: 6px 10px;
    border-radius: 6px;
}

.nav-link:hover {
    color: #3498db;
    background: rgba(255,255,255,0.1);
}

.header-actions {
    display: flex;
    align-items: center;
}

.cta-button {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}
h1 {
    color: #1a1a1a;
    font-size: 1.5em;
    margin-bottom: 20px;
}
h2 {
    color: #2c3e50;
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 15px;
}
.casino-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 30px 0;
}
.casino-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 450px;
}
.casino-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}
.casino-card:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.casino-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.casino-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.casino-card:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
.casino-card:nth-child(5) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}
.casino-bonus {
    font-size: 1em;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.25);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    font-weight: 600;
}
.casino-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1em;
}
.info-label {
    opacity: 0.95;
    font-weight: 500;
}
.info-value {
    font-weight: bold;
    text-align: right;
    font-size: 1.1em;
}
.casino-payments {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255,255,255,0.3);
    flex-grow: 1;
}
.payments-label {
    font-size: 0.9em;
    opacity: 0.95;
    margin-bottom: 10px;
    font-weight: 500;
}
.payments-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.payment-badge {
    background: rgba(255,255,255,0.3);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 700;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.4);
}
.casino-button {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 15px 25px;
    background: rgba(255,255,255,0.95);
    color: #333;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.5);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.casino-button:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.top-card__btn {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 15px 25px;
    background: rgba(255,255,255,0.95);
    color: #333;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.5);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.top-card__btn:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.referral-btn {
    cursor: pointer;
}
.casino-logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 8px;
    object-fit: contain;
}
.casino-name {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
}
ul {
    margin: 15px 0;
    padding-left: 25px;
}
li {
    margin-bottom: 10px;
}
.main-content p {
    margin-bottom: 15px;
    background: white;
    padding: 15px;
    border-radius: 8px;
}
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    margin-top: 50px;
    padding: 40px 20px 20px;
    border-radius: 10px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-disclaimer {
    background-color: #34495e;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 0.9em;
    line-height: 1.6;
}
.footer-disclaimer strong {
    color: #e74c3c;
}
footer p {
    background: transparent;
    padding: 0;
    margin-bottom: 15px;
    color: #ecf0f1;
}
.footer-logos p {
    margin-bottom: 10px;
}
.footer-bottom p {
    margin-bottom: 8px;
    color: #bdc3c7;
}
.footer-note {
    color: #bdc3c7;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}
.footer-section h3 {
    color: #3498db;
    font-size: 1.1em;
    margin-bottom: 15px;
}
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-section li {
    margin-bottom: 8px;
}
.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-section a:hover {
    color: #3498db;
    text-decoration: underline;
}
.footer-logos {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #34495e;
    border-radius: 8px;
}
.responsible-gaming {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.responsible-gaming span {
    background-color: #e74c3c;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9em;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 20px;
    font-size: 0.85em;
    color: #95a5a6;
}
.footer-note {
    font-style: italic;
    margin-top: 10px;
}
/* Desktop styles - для экранов больше 768px */
@media (min-width: 769px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
    }
    
    .main-nav {
        flex: 1;
        order: 0;
        width: auto;
    }
    
    .nav-list {
        gap: 30px;
        flex-wrap: nowrap;
    }
    
    .nav-link {
        font-size: 1em;
        padding: 8px 12px;
    }
    
    .logo-img {
        width: 80px;
        height: 80px;
    }
    
    .logo-text {
        font-size: 1.5em;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1em;
    }
    
    .main-content {
        padding: 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .casino-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .casino-card {
        padding: 30px;
        min-height: 500px;
    }
    
    .casino-name {
        font-size: 1.8em;
    }
    
    .casino-bonus {
        font-size: 1.2em;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
    .main-content {
        padding: 10px;
    }
    
    .header-container {
        padding: 10px;
    }
    
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .logo-text {
        font-size: 1.1em;
    }
    
    .nav-link {
        font-size: 0.8em;
        padding: 4px 8px;
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 0.8em;
    }
    
    h1 {
        font-size: 1.3em;
    }
    
    h2 {
        font-size: 1.1em;
    }
    
    .casino-card {
        padding: 15px;
        min-height: 400px;
    }
    
    .casino-name {
        font-size: 1.2em;
    }
    
    .casino-bonus {
        font-size: 0.9em;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .responsible-gaming {
        flex-direction: column;
        gap: 10px;
    }
    
    footer {
        padding: 30px 15px 15px;
    }
}
