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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1a1a1a;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ffffff;
    word-wrap: break-word;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    word-wrap: break-word;
}

.section-title.white {
    color: #fff;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-primary {
    background: #00d084;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.3);
}

.btn-primary:hover {
    background: #00b874;
    box-shadow: 0 6px 20px rgba(0, 208, 132, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #00d084;
    border: 2px solid #00d084;
}

.btn-secondary:hover {
    background: #00d084;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-game {
    background: #00d084;
    color: white;
    width: 100%;
    margin-top: 1rem;
}

.btn-game:hover {
    background: #00b874;
}

.btn-bonus {
    background: linear-gradient(135deg, #00d084, #00b874);
    color: white;
    width: 100%;
    margin-top: 1.5rem;
}

.btn-bonus:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 208, 132, 0.4);
}

.btn-tournament {
    background: #00d084;
    color: white;
    padding: 10px 20px;
}

.btn-tournament:hover {
    background: #00b874;
}

/* Header - ОПТИМИЗАЦИЯ ДЛЯ ЛОГОТИПА И МЕНЮ */
.header {
    background: #0a0a0a;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

/* Логотип - УЛУЧШЕННАЯ АДАПТИВНОСТЬ */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-width: fit-content;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.logo-img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    white-space: nowrap;
}

/* Навигация */
.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #00d084;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
    word-wrap: break-word;
}

.highlight {
    color: #00d084;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #cccccc;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
}

.feature-icon {
    font-size: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-cards {
    position: relative;
    width: 100%;
    min-height: 200px;
}

.card {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: #1a1a1a;
    width: 80px;
    height: 120px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 20px;
    left: 60px;
    animation-delay: 1.5s;
}

.card-3 {
    top: 40px;
    left: 120px;
    animation-delay: 3s;
}

.card-4 {
    top: 60px;
    left: 180px;
    animation-delay: 4.5s;
}

.chips {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.chip {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    animation: bounce 2s ease-in-out infinite;
}

.chip-red {
    background: #e74c3c;
    animation-delay: 0s;
}

.chip-blue {
    background: #3498db;
    animation-delay: 0.5s;
}

.chip-green {
    background: #00d084;
    animation-delay: 1s;
}

/* Games Section */
.games {
    padding: 80px 0;
    background: #2a2a2a;
    width: 100%;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.game-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333333;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 208, 132, 0.2);
}

.game-image {
    height: 200px;
    overflow: hidden;
}

.game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-img {
    transform: scale(1.1);
}

.game-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: #ffffff;
    font-size: 1.5rem;
}

.game-card p {
    padding: 0 1.5rem;
    color: #cccccc;
    line-height: 1.6;
}

.game-card .btn {
    margin: 1.5rem;
}

/* Payment Methods Section */
.payment-methods {
    padding: 80px 0;
    background: #1a1a1a;
    width: 100%;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-icon {
    background: #2a2a2a;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.payment-icon:hover {
    background: #00d084;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 208, 132, 0.3);
}

.payment-icon.visa {
    background: #1a1f71;
}

.payment-icon.mastercard {
    background: #eb001b;
}

.payment-icon.bitcoin {
    background: #f7931a;
}

/* Bonuses Section */
.bonuses {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    width: 100%;
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.bonus-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #333333;
}

.bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 208, 132, 0.2);
}

.bonus-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.bonus-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.bonus-amount {
    font-size: 3rem;
    font-weight: bold;
    color: #00d084;
    margin-bottom: 1rem;
}

.bonus-card p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Tournaments Section */
.tournaments {
    padding: 80px 0;
    background: #2a2a2a;
    width: 100%;
}

.tournament-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tournament-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
    border: 1px solid #333333;
    flex-wrap: wrap;
    gap: 1rem;
}

.tournament-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 208, 132, 0.1);
}

.tournament-info h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.tournament-info p {
    color: #cccccc;
    margin: 0.25rem 0;
}

.tournament-info strong {
    color: #00d084;
}

.tournament-action {
    text-align: center;
}

.tournament-status {
    background: #00d084;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.tournament-free {
    background: #e74c3c;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #1a1a1a;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #2a2a2a;
    border-radius: 15px;
    transition: transform 0.3s ease;
    border: 1px solid #333333;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 208, 132, 0.1);
}

.feature-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #00d084, #00b874);
    width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 100%;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 60px 0 20px;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00d084;
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #00d084;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cccccc;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: #2a2a2a;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #333333;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Casino Content Styles */
.casino-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #1a1a1a;
    color: #ffffff;
    width: 100%;
}

.casino-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #333333;
}

.casino-header h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.casino-header p {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.casino-header .meta {
    font-size: 0.9rem;
    color: #999999;
    font-style: italic;
}

.content-navigation {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    border: 1px solid #333333;
}

.content-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.content-navigation li {
    margin: 0;
}

.content-navigation a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 1rem;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    word-wrap: break-word;
}

.content-navigation a:hover {
    background: #00d084;
    border-color: #00d084;
    transform: translateX(5px);
}

.casino-info-table {
    margin: 3rem 0;
    overflow-x: auto;
}

.casino-info-table table {
    width: 100%;
    border-collapse: collapse;
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333333;
    min-width: 500px;
}

.casino-info-table thead {
    background: linear-gradient(135deg, #00d084, #00b874);
}

.casino-info-table th {
    padding: 1.5rem;
    text-align: center;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: bold;
}

.casino-info-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #333333;
    color: #ffffff;
    word-wrap: break-word;
}

.casino-info-table td:first-child {
    font-weight: 500;
    color: #cccccc;
    width: 45%;
}

.casino-info-table td:last-child {
    color: #00d084;
    font-weight: 600;
}

.casino-info-table tbody tr:last-child td {
    border-bottom: none;
}

.casino-info-table tbody tr:hover {
    background: rgba(0, 208, 132, 0.1);
}

.main-content {
    margin-top: 3rem;
}

.content-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: #2a2a2a;
    border-radius: 12px;
    border: 1px solid #333333;
}

.content-section h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #00d084;
    word-wrap: break-word;
}

.content-section h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin: 2rem 0 1rem;
    word-wrap: break-word;
}

.content-section p {
    font-size: 1.05rem;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    word-wrap: break-word;
}

.content-section ul,
.content-section ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-section ul li,
.content-section ol li {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    word-wrap: break-word;
}

.content-section ul li {
    list-style-type: none;
    position: relative;
    padding-left: 1.5rem;
}

.content-section ul li:before {
    content: "▪";
    position: absolute;
    left: 0;
    color: #00d084;
    font-weight: bold;
}

.content-section ol li {
    color: #cccccc;
    padding-left: 0.5rem;
}

/* Tables */
.bonus-table,
.payment-table,
.withdrawal-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.bonus-table table,
.payment-table table,
.withdrawal-table table {
    width: 100%;
    border-collapse: collapse;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333333;
    min-width: 500px;
}

.bonus-table thead,
.payment-table thead,
.withdrawal-table thead {
    background: #00d084;
}

.bonus-table th,
.payment-table th,
.withdrawal-table th {
    padding: 1rem;
    text-align: left;
    color: #ffffff;
    font-weight: 600;
}

.bonus-table td,
.payment-table td,
.withdrawal-table td {
    padding: 1rem;
    border-bottom: 1px solid #333333;
    color: #cccccc;
    word-wrap: break-word;
}

.bonus-table td[colspan],
.payment-table td[colspan],
.withdrawal-table td[colspan] {
    background: rgba(0, 208, 132, 0.2);
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}

.bonus-table tbody tr:hover,
.payment-table tbody tr:hover,
.withdrawal-table tbody tr:hover {
    background: rgba(0, 208, 132, 0.05);
}

.withdrawal-table p {
    font-size: 0.9rem;
    color: #999999;
    margin-top: 0.5rem;
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    margin-top: 2rem;
}

.faq-section details {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-section details:hover {
    background: rgba(0, 208, 132, 0.05);
    border-color: #00d084;
}

.faq-section details[open] {
    background: rgba(0, 208, 132, 0.1);
    border-color: #00d084;
}

.faq-section summary {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    list-style: none;
    position: relative;
    padding-right: 2rem;
    word-wrap: break-word;
}

.faq-section summary::-webkit-details-marker {
    display: none;
}

.faq-section summary:after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: #00d084;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-section details[open] summary:after {
    content: "−";
    transform: rotate(180deg);
}

.faq-section details p {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333333;
    color: #cccccc;
    line-height: 1.8;
    word-wrap: break-word;
}

.content-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #333333;
}

.content-footer .disclaimer {
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
    padding: 1.5rem;
    border-radius: 8px;
    color: #cccccc;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ========================================
   MOBILE RESPONSIVE DESIGN - ОПТИМИЗАЦИЯ
   ======================================== */

/* Tablets and smaller (max-width: 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    /* Header для планшетов */
    .header-content {
        gap: 1rem;
    }

    .logo img {
        height: 36px;
        max-width: 150px;
    }

    .logo-text {
        font-size: 20px;
    }

    .nav {
        gap: 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .games-grid,
    .bonuses-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile devices (max-width: 768px) - УЛУЧШЕННАЯ ВЕРСИЯ */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        padding-top: 0;
    }

    .container {
        padding: 0 15px;
    }

    /* Header Mobile - ИСПРАВЛЕНИЕ ПЕРЕКРЫТИЯ */
    .header {
        padding: 0.75rem 0;
        position: fixed;
        width: 100%;
        z-index: 1000;
    }

    .header-content {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.5rem 0;
    }

    /* Логотип Mobile - ОПТИМИЗАЦИЯ */
    .logo {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .logo img {
        height: 32px;
        max-width: 140px;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 18px;
    }

    /* Навигация Mobile - БЕЗ ПЕРЕКРЫТИЯ */
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0;
    }

    .nav-link {
        font-size: 13px;
        padding: 0.4rem 0.8rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
    }

    /* Кнопки авторизации Mobile */
    .auth-buttons {
        justify-content: center;
        width: 100%;
        gap: 0.5rem;
    }

    .auth-buttons .btn {
        font-size: 13px;
        padding: 8px 16px;
        flex: 1;
        max-width: 140px;
    }

    /* Hero Mobile - УВЕЛИЧЕННЫЙ ОТСТУП */
    .hero {
        padding: 160px 0 60px;
        min-height: auto;
        margin-top: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 20px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-top: 0;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .feature {
        font-size: 0.85rem;
        background: rgba(255, 255, 255, 0.05);
        padding: 0.5rem 1rem;
        border-radius: 8px;
    }

    .feature-icon {
        font-size: 1.2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .btn-large {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
    }

    /* Game Cards Mobile */
    .game-cards {
        min-height: 150px;
        transform: scale(0.75);
        margin: 0 auto;
    }

    .card {
        width: 60px;
        height: 90px;
        font-size: 18px;
    }

    .card-1 {
        left: 10px;
    }

    .card-2 {
        left: 50px;
    }

    .card-3 {
        left: 90px;
    }

    .card-4 {
        left: 130px;
    }

    /* Sections Mobile - ОТСТУП ОТ ХЕДЕРА */
    .games,
    .bonuses,
    .tournaments,
    .features,
    .stats,
    .payment-methods {
        padding: 60px 0;
        scroll-margin-top: 150px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    /* Games Grid Mobile */
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .game-card {
        max-width: 100%;
    }

    .game-card h3 {
        font-size: 1.25rem;
        padding: 1rem 1rem 0.5rem;
    }

    .game-card p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    /* Bonuses Grid Mobile */
    .bonuses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bonus-card {
        padding: 1.5rem;
    }

    .bonus-amount {
        font-size: 2.5rem;
    }

    /* Tournament Cards Mobile */
    .tournament-card {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem;
    }

    .tournament-info {
        width: 100%;
    }

    .tournament-action {
        width: 100%;
    }

    .btn-tournament {
        width: 100%;
        max-width: 250px;
    }

    /* Payment Icons Mobile */
    .payment-icons {
        gap: 0.5rem;
    }

    .payment-icon {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }

    /* Features Grid Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon-large {
        font-size: 3rem;
    }

    /* Stats Grid Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Casino Content Mobile - ОТСТУП */
    .casino-content {
        padding: 30px 15px;
        margin-top: 140px;
    }

    .casino-header h1 {
        font-size: 1.7rem;
        line-height: 1.4;
    }

    .casino-header p {
        font-size: 0.95rem;
    }

    /* Content Navigation Mobile */
    .content-navigation {
        padding: 1.5rem;
    }

    .content-navigation ul {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .content-navigation a {
        padding: 0.7rem 0.9rem;
        font-size: 0.9rem;
    }

    /* Tables Mobile */
    .casino-info-table,
    .bonus-table,
    .payment-table,
    .withdrawal-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 1.5rem -15px;
        padding: 0 15px;
    }

    .casino-info-table table,
    .bonus-table table,
    .payment-table table,
    .withdrawal-table table {
        min-width: 500px;
    }

    .casino-info-table th {
        font-size: 1rem;
        padding: 1rem;
    }

    .casino-info-table td {
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
    }

    .bonus-table th,
    .payment-table th,
    .withdrawal-table th,
    .bonus-table td,
    .payment-table td,
    .withdrawal-table td {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    /* Content Sections Mobile */
    .content-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .content-section h3 {
        font-size: 1.25rem;
        margin: 1.5rem 0 0.8rem;
    }

    .content-section p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .content-section ul,
    .content-section ol {
        padding-left: 1.3rem;
        margin: 1rem 0;
    }

    .content-section ul li,
    .content-section ol li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    /* FAQ Mobile */
    .faq-section details {
        padding: 1rem;
    }

    .faq-section summary {
        font-size: 0.95rem;
        padding-right: 2rem;
    }

    .faq-section summary:after {
        font-size: 1.2rem;
    }

    .faq-section details p {
        font-size: 0.9rem;
    }

    /* Content Footer Mobile */
    .content-footer .disclaimer {
        padding: 1rem;
        font-size: 0.85rem;
    }
}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    /* Header Extra Small */
    .header {
        padding: 0.6rem 0;
    }

    .logo img {
        height: 28px;
        max-width: 120px;
    }

    .logo-text {
        font-size: 16px;
    }

    .nav-link {
        font-size: 12px;
        padding: 0.35rem 0.7rem;
    }

    .auth-buttons .btn {
        font-size: 12px;
        padding: 7px 14px;
    }

    /* Hero Extra Small */
    .hero {
        padding: 140px 0 50px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .btn {
        font-size: 13px;
        padding: 9px 18px;
    }

    .btn-large {
        padding: 11px 18px;
        font-size: 14px;
    }

    .game-card,
    .bonus-card,
    .feature-card {
        margin: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    .payment-icon {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
    }

    .casino-header h1 {
        font-size: 1.4rem;
    }

    .content-section h2 {
        font-size: 1.3rem;
    }

    .content-section h3 {
        font-size: 1.1rem;
    }

    .feature {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .feature-icon {
        font-size: 1.1rem;
    }

    .game-cards {
        transform: scale(0.6);
    }

    .casino-content {
        margin-top: 120px;
    }
}

/* Extra small devices (max-width: 360px) */
@media (max-width: 360px) {
    .hero {
        padding: 130px 0 40px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .logo img {
        height: 26px;
        max-width: 110px;
    }

    .logo-text {
        font-size: 15px;
    }

    .casino-header h1 {
        font-size: 1.2rem;
    }

    .content-section h2 {
        font-size: 1.15rem;
    }

    .btn-large {
        font-size: 13px;
        padding: 10px 16px;
    }

    .game-cards {
        transform: scale(0.5);
    }

    .casino-content {
        margin-top: 110px;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 120px 0 40px;
    }

    .hero-content {
        gap: 2rem;
    }

    .game-cards {
        transform: scale(0.65);
    }
}

/* High DPI screens optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card,
    .chip,
    .game-img,
    .logo img {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    .payment-icon,
    .game-card {
        -webkit-tap-highlight-color: rgba(0, 208, 132, 0.2);
    }

    .btn:active,
    .nav-link:active,
    .payment-icon:active {
        transform: scale(0.98);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Fix для iOS Safari */
@supports (-webkit-touch-callout: none) {
    .header {
        position: -webkit-sticky;
        position: sticky;
    }
    
    .hero {
        padding-top: 140px;
    }
}