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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #08061C;
    background-image:
        radial-gradient(ellipse 90% 60% at 50% 0%, rgba(212, 158, 60, 0.10) 0%, transparent 70%);
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-image: url('hero-casino-bg.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 38%,
        rgba(0, 0, 0, 0.72) 62%,
        rgba(0, 0, 0, 0.35) 82%,
        rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 38%,
        rgba(0, 0, 0, 0.72) 62%,
        rgba(0, 0, 0, 0.35) 82%,
        rgba(0, 0, 0, 0) 100%);
    z-index: -1;
    pointer-events: none;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

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

.header {
    padding: 12px 0;
    background: #1a1a2e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    display: block;
    text-decoration: none;
}

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

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

.header-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.95em;
    text-decoration: none;
    transition: opacity 0.3s;
}

.header-contact:hover {
    opacity: 0.8;
}

.header-contact-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 999;
}

.burger-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: #1a1a2e;
    transform: translateX(100%);
    transition: transform 0.3s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-logo {
    width: auto;
    height: 40px;
    object-fit: contain;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-icon {
    object-fit: contain;
    display: block;
}

.mobile-menu-nav {
    padding: 40px 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    font-size: 1.05em;
    text-decoration: none;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: background 0.3s;
}

.mobile-menu-contact:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-contact-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.main {
    flex: 1;
    padding: 50px 0 40px;
}

@keyframes malina-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes rubin-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes malina2-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.malina-decorative {
    position: absolute;
    left: -770px;
    top: -790px;
    width: 1920px;
    z-index: -1;
    opacity: 0.6;
    animation: malina-float 3.5s ease-in-out 0s infinite;
}

.rubin-decorative {
    position: absolute;
    left: -890px;
    top: 230px;
    width: 1920px;
    z-index: -2;
    opacity: 0.5;
    animation: rubin-float 3.2s ease-in-out 1.2s infinite;
}

.malina2-decorative {
    position: absolute;
    right: -880px;
    top: -390px;
    width: 1920px;
    z-index: -1;
    opacity: 0.6;
    animation: malina2-float 3.8s ease-in-out 0.8s infinite;
}

.hero {
    text-align: center;
    margin-bottom: 70px;
    padding: 20px 0;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 18px 0;
}

.hero-subtitle {
    font-size: 1.4em;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.main .banners {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.content-text {
    margin-top: 100px;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95em;
    line-height: 1.7;
}

.content-text-section h2 {
    font-size: 1.95em;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
}

.content-text-section p {
    margin: 0 0 50px 0;
}

.content-text-section + .content-text-section {
    margin-top: 45px;
}

.content-text-section:last-child p {
    margin-bottom: 0;
}

.footer {
    padding: 80px 0;
    background: #08061C;
    color: #ffffff;
    position: relative;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    position: relative;
}

.footer-left {
    width: 100%;
    padding-right: 100px;
}

.footer-title {
    font-size: 2em;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.footer-text {
    font-size: 1em;
    line-height: 1.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.footer-badge {
    position: absolute;
    top: 0;
    right: 0;
}

.footer-age-badge {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.footer-copyright-section {
    background: #000000;
    padding: 98px 0;
}

.footer-copyright {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-align: center;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0;
    }
    
    .footer-left {
        padding-right: 0;
        padding-bottom: 80px;
    }
    
    .footer-badge {
        top: auto;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-title {
        font-size: 1.5em;
    }
    
    .footer-text {
        font-size: 0.9em;
    }
    
    .footer-age-badge {
        width: 60px;
        height: 60px;
    }
    
    .footer-copyright-section {
        padding: 20px 0;
    }
}

/* Старые стили баннеров закомментированы - используются новые из banner-new-style.css */

@media (min-width: 769px) and (max-width: 1024px) {
    .banner {
        gap: 28px;
        height: 200px;
    }

    .banner-image-container {
        min-width: 230px;
    }

    .banner-image {
        height: 215px;
    }

    .left-section {
        gap: 6px;
    }

    .title {
        font-size: 1.5em;
    }

    .rating {
        font-size: 1em;
    }

    .description {
        font-size: 0.8em;
        line-height: 1.5;
    }

    .feature-tags {
        gap: 6px;
        margin-top: 4px;
    }

    .tag {
        font-size: 0.75em;
        padding: 6px 12px;
    }

    .right-section {
        gap: 6px;
        padding: 32px 35px 32px 0;
    }

    .offer-amount {
        font-size: 2em;
    }

    .bonus-offer {
        font-size: 0.85em;
    }

    .play-button {
        font-size: 0.9em;
        padding: 11px 30px;
    }

    .hero-title {
        font-size: 3em;
    }

    .hero-subtitle {
        font-size: 1.25em;
    }
}

@media (max-width: 768px) {
    .malina-decorative,
    .rubin-decorative,
    .malina2-decorative {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-nav {
        display: none;
    }

    .header {
        padding: 10px 0;
    }

    .logo-img {
        height: 38px;
    }

    .hero {
        margin-bottom: 50px;
        padding: 10px 0;
    }

    .hero-title {
        font-size: 2.2em;
        line-height: 1.2;
        margin: 0 0 16px 0;
    }

    .hero-subtitle {
        font-size: 1.05em;
        line-height: 1.6;
        padding: 0 10px;
    }

    .main {
        padding: 16px 0 30px;
    }

    .main .banners {
        gap: 35px;
    }

    .banner {
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }
    
    .banner-image-container {
        width: 100%;
        height: 200px;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .best-choice-badge {
        left: 12px;
        font-size: 0.65em;
        padding: 5px 10px;
    }
    
    .banner-image-overlay {
        max-width: 90%;
        object-fit: contain;
    }
    
    .left-section {
        width: 100%;
        padding: 20px 16px 24px;
        border-radius: 0;
        gap: 0;
    }
    
    .banner-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .title {
        font-size: 1.3em;
        text-align: left;
        margin: 0;
    }
    
    .banner-date {
        font-size: 0.75em;
        width: 100%;
        text-align: left;
        color: rgba(255, 255, 255, 0.5);
        display: block;
        margin-bottom: 8px;
    }
    
    .odds {
        font-size: 0.95em;
        width: 100%;
        margin: 0 0 8px 0;
    }
    
    .rating {
        font-size: 1em;
        margin: 0;
    }
    
    .banner-bonus-section {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin: 8px 0;
    }
    
    .bonus-icon {
        font-size: 1.2em;
    }
    
    .bonus-text {
        font-size: 0.85em;
        line-height: 1.3;
    }
    
    .payment-methods {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        margin: 12px 0;
    }
    
    .payment-logo {
        height: 18px;
    }
    
    .play-button {
        font-size: 1em;
        padding: 14px 28px;
        margin-top: 12px;
    }
        padding: 0;
        gap: 20px;
        height: auto;
        align-items: stretch;
    }

    .banner-image-container {
        width: 100%;
        margin-bottom: 0;
        position: relative;
    }

    .banner-dark .banner-image-container {
    }

    .banner-image-overlay {
        left: 50%;
        top: 50%;
    }

    @media (min-width: 501px) {
        .banner-image-overlay {
            max-width: 90%;
        }
    }

    .banner-image {
        display: none;
    }

    .feature-tags {
        gap: 8px;
    }

    .right-section {
        align-items: flex-start;
        width: 100%;
        padding: 15px 24px 35px;
    }

    .play-button {
        width: 100%;
    }

    .title {
        font-size: 1.5em;
    }

    .offer-amount {
        font-size: 1.9em;
    }

    .bonus-offer {
        margin: 0 0 20px;
    }

    .footer {
        padding: 32px 0;
    }

    .footer-age {
        width: 50px;
        height: 50px;
    }

    .footer-logos {
        gap: 28px;
    }

    .footer-logo {
        height: 38px;
    }
}
