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

/* Enable hardware acceleration for better performance */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #ffffff;
    position: relative;
    overflow-x: hidden;
    /* Enable hardware acceleration */
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle background elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(74, 85, 104, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 55, 72, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(26, 32, 44, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

/* Header Styles - Optimized for performance */
.header {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    /* Enable hardware acceleration */
    transform: translateZ(0);
    will-change: background, backdrop-filter;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
}

.logo img {
    height: 35px;
    width: auto;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

/* Hide close button on desktop */
.nav-menu .close-btn {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-link {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    position: relative;
    padding: 0.4rem 0.3rem;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #718096, #4a5568);
}

.nav-link:hover {
    color: #a0aec0;
}

.nav-link:hover::after {
    width: 100%;
}

/* Активная ссылка в навигации */
.nav-link.active {
    color: #ffffff;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background: linear-gradient(90deg, #4299e1, #3182ce);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e2e8f0;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100px 100px;
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Casinos Section */
.casinos-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.section-header {
    margin-bottom: 3rem;
}
.section-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    text-align: center;
}
.section-header p {
    font-size: 1.1rem;
    color: #4a5568;
    text-align: left;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

.casinos-horizontal {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.casino-card-wrapper {
    position: relative;
    width: 100%;
}

/* Horizontal Casino Card */
.casino-card-horizontal {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    min-height: 320px;
}

.casino-number {
    position: absolute;
    left: -15px;
    top: -15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border: 3px solid white;
}

.casino-number:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.casino-left {
    flex: 0 0 30%;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.casino-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.casino-visual {
    text-align: center;
}

.casino-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.casino-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
}

.casino-ratings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.rating-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.rating-circle {
    width: 45px;
    height: 45px;
    background: #38a169;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.rating-label {
    font-size: 0.75rem;
    color: white;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.casino-right {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.casino-title-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.casino-title-rating h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.casino-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 1rem;
}

.casino-stars i {
    color: #d69e2e;
    font-size: 0.9rem;
}

.rating-text {
    margin-left: 0.5rem;
    font-weight: 600;
    color: #4a5568;
}

.casino-actions-top {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-play {
    background: #e53e3e;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
}

.btn-download {
    background: #38a169;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
}

.casino-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.feature-box {
    background: #f7fafc;
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a5568;
}

.casino-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.detail-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
}

.detail-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.detail-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.detail-item {
    background: #f7fafc;
    padding: 0.2rem 0.4rem;
    border-radius: 5px;
    font-size: 0.75rem;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    position: relative;
}

.detail-item.more {
    background: #2d3748;
    color: white;
    border-color: #2d3748;
}

.detail-item.more:hover {
    background: #4a5568;
}

/* Tooltip for additional items */
.detail-item.more:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #2d3748;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    max-width: 350px;
    width: max-content;
    white-space: normal;
    word-wrap: break-word;
    z-index: 1000;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.detail-item.more:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #2d3748;
    margin-bottom: -5px;
    z-index: 1000;
}

/* Medium screens - adjust navigation for smaller desktop screens */
@media (max-width: 1200px) {
    .nav-list {
        gap: 0.7rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.2rem;
    }
}

@media (max-width: 1024px) {
    .nav-list {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.1rem;
    }
}

/* Mobile tooltip adjustments */
@media (max-width: 768px) {
    .providers-tooltip:hover::after {
        max-width: 200px !important;
        left: 0 !important;
        transform: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .providers-tooltip:hover::before {
        left: 20px !important;
        transform: none !important;
    }

    .payments-tooltip:hover::after {
        max-width: 200px !important;
        left: auto !important;
        right: 0 !important;
        transform: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .payments-tooltip:hover::before {
        left: auto !important;
        right: 20px !important;
        transform: none !important;
    }
}

.casino-banner {
    background: linear-gradient(90deg, #2d3748 0%, #4a5568 100%);
    border-radius: 15px;
    padding: 1.2rem;
    margin-top: auto;
}

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

.banner-content span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-get {
    background: #d69e2e;
    color: #1a202c;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #e2e8f0;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.footer-logo img {
    height: 35px;
    width: auto;
    border-radius: 6px;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #d69e2e;
    margin-bottom: 0.5rem;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-menu a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-menu a:hover {
    color: #d69e2e;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.footer-info p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.age-warning {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f56565;
    font-weight: 500;
}

.age-warning i {
    color: #f56565;
}

/* Alternative Casino Design */
.casino-card-alt {
    display: flex;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    width: 100%;
    min-height: 200px;
    position: relative;
    margin-bottom: 1rem;
}

.casino-card-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.casino-number-alt {
    position: absolute;
    left: -12px;
    top: -12px;
    width: 35px;
    height: 35px;
    background: #e53e3e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border: 2px solid white;
}

.casino-left-alt {
    flex: 0 0 30%;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.casino-logo-alt {
    text-align: center;
    margin-bottom: 0.75rem;
}

.casino-logo-alt img {
    max-width: 100%;
    min-height: 50px;
    max-height: 40px;
    filter: brightness(1.1) contrast(1.05);
}

.casino-rating-alt {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0.6rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    backdrop-filter: blur(8px);
}

.casino-rating-alt .stars {
    display: flex;
    gap: 1px;
}

.casino-rating-alt .stars i {
    color: #d69e2e;
    font-size: 0.7rem;
}

.casino-rating-alt .score {
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
}

.casino-right-alt {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.casino-header-alt {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.casino-title-alt h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.casino-badge-alt {
    background: #38a169;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.casino-features-alt {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.feature-item-alt {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex: 1;
    min-width: calc(50% - 0.25rem);
}

.feature-item-alt .icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-item-alt .text {
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.1;
    white-space: nowrap;
}

.casino-actions-alt {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.btn-alt {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    border: none;
    cursor: pointer;
    flex: 1;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn-alt:hover::before {
    left: 100%;
}

.btn-primary-alt {
    background: #e53e3e;
    color: white;
}

.btn-secondary-alt {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.casino-bonus-alt {
    background: linear-gradient(90deg, #d69e2e 0%, #b7791f 100%);
    border-radius: 8px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.casino-bonus-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.2)"/><circle cx="80" cy="40" r="0.8" fill="rgba(255,255,255,0.2)"/><circle cx="40" cy="80" r="0.6" fill="rgba(255,255,255,0.2)"/></svg>');
    background-size: 40px 40px;
    opacity: 0.3;
}

.casino-bonus-alt::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.casino-bonus-alt:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 158, 46, 0.3);
}

.casino-bonus-alt:hover::after {
    left: 100%;
}

.casino-bonus-alt .bonus-text {
    color: #fff;
    font-weight: 600;
    font-size: 0.7rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.casino-bonus-alt:hover .bonus-text {
    color: white;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .hamburger span {
        transition: none;
    }

    /* Hide hamburger when menu is open */
    .nav-menu.active ~ .hamburger {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
        padding: 0;
        opacity: 1;
        visibility: visible;
        transition: left 0.3s ease;
        z-index: 1000;
        /*box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);*/
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="0.8" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="80" r="0.6" fill="rgba(255,255,255,0.05)"/></svg>');
        background-size: 80px 80px;
        opacity: 0.3;
        pointer-events: none;
    }

    /* Mobile menu logo */
    .nav-menu::after {
        content: '';
        position: absolute;
        top: 1.5rem;
        left: 2rem;
        width: 35px;
        height: 35px;
        background-image: url('/assets/img/logo.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        filter: brightness(1.2);
        z-index: 1001;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .nav-list li {
        margin: 0;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1.5rem 2rem;
        color: #e2e8f0;
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        position: relative;
        width: 100%;
        text-align: left;
    }

    /* First menu item needs top margin to avoid overlap with logo/close button */
    .nav-list li:first-child .nav-link {
        margin-top: 80px;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #d69e2e;
        padding-left: 2.5rem;
    }

    /* Активная ссылка в мобильном меню */
    .nav-link.active {
        background: rgba(66, 153, 225, 0.2);
        color: #ffffff;
        font-weight: 600;
        border-left: 4px solid #4299e1;
    }

    .nav-link.active:hover {
        background: rgba(66, 153, 225, 0.3);
        padding-left: 2.5rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: linear-gradient(90deg, #d69e2e, #b7791f);
        transition: width 0.3s ease;
    }

    .nav-link:hover::before {
        width: 4px;
    }


    /* Mobile menu - no animations for items */

    /* Close button for mobile menu */
    .nav-menu .close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 50%;
        color: #e2e8f0;
        font-size: 1.2rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 1001;
    }

    .nav-menu .close-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #d69e2e;
    }

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

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

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

    .casino-card-horizontal {
        flex-direction: column;
        min-height: auto;
    }

    .casino-left {
        flex: none;
        padding: 1.5rem;
    }

    .casino-name-large {
        font-size: 2rem;
    }

    .casino-ratings {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .rating-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .rating-label {
        font-size: 0.7rem;
    }

    .casino-right {
        padding: 1.5rem;
    }

    .casino-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .casino-title-rating {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .casino-stars {
        margin-right: 0;
    }

    .casino-actions-top {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
    }

    .casino-features-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .feature-box.wide {
        grid-column: span 1;
    }

    .detail-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .detail-column:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .detail-column {
        text-align: center;
    }

    .detail-items {
        justify-content: center;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .casino-ratings {
        display: none;
    }

    .casino-visual {
        margin-bottom: 0;
    }
    
    /* Alternative Casino Mobile Styles */
    .casino-card-alt {
        flex-direction: column;
        min-height: auto;
    }
    
    .casino-left-alt {
        flex: none;
        padding: 1.5rem;
    }
    
    .casino-right-alt {
        padding: 1.5rem;
    }
    
    .casino-title-alt h3 {
        font-size: 1.6rem;
    }
    
    .casino-features-alt {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .casino-actions-alt {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-alt {
        padding: 0.7rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 3rem 0;
    }

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

    .casinos-section {
        padding: 2rem 0;
        margin: 1rem 0;
    }

    .casino-left {
        padding: 1rem;
    }

    .casino-name-large {
        font-size: 1.75rem;
    }

    .casino-right {
        padding: 1rem;
    }

    .casino-title h3 {
        font-size: 1.5rem;
    }

    .btn-play,
    .btn-download {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .btn-get {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Alternative Casino Mobile Styles */
    .casino-left-alt {
        padding: 1rem;
    }
    
    .casino-right-alt {
        padding: 1rem;
    }
    
    .casino-title-alt h3 {
        font-size: 1.4rem;
    }
    
    .casino-number-alt {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Mobile menu adjustments for small screens */
    .nav-menu {
        width: 100%;
        left: -100%;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile menu logo adjustments for small screens */
    .nav-menu::after {
        top: 1rem;
        left: 1.5rem;
        width: 45px;
        height: 45px;
    }

    .nav-link {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }

    /* Adjust top margin for small screens */
    .nav-list li:first-child .nav-link {
        margin-top: 70px;
    }

    .nav-menu .close-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: 0.8rem;
        right: 0.8rem;
    }
}
.content p {
    font-size: 1.1rem;
    font-weight: 400;
    color: #4a5568;
    margin-bottom: 10px;
}
.content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 10px;
}
.content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 10px;
}

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

.faq-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 1rem;
}

.faq-description {
    font-size: 1.1rem;
    color: #4a5568;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    /* Removed transitions for better performance */
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    /* Removed transitions for better performance */
}

.faq-question:hover {
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed transitions for better performance */
}

.faq-icon i {
    color: #4a5568;
    font-size: 0.9rem;
    /* Removed transitions for better performance */
}

.faq-item.active .faq-icon i {
    color: #e53e3e;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: white;
    /* Removed transitions for better performance */
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

.faq-answer p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Mobile Responsive */
@media (max-width: 768px) {
    .faq-title {
        font-size: 1.8rem;
    }
    
    .faq-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .faq-question {
        padding: 1.2rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.2rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .faq-section {
        margin-top: 2rem;
        padding: 1rem 0;
    }
    
    .faq-title {
        font-size: 1.6rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
    }
}

/* Table Styles */
.table-container {
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.casino-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.95rem;
}

.casino-table thead {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
}

.casino-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e53e3e;
}

.casino-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

.casino-table tbody tr:hover {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.casino-table tbody tr:nth-child(even) {
    background: rgba(247, 250, 252, 0.5);
}

.casino-table tbody tr:nth-child(even):hover {
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
}

.casino-table td {
    padding: 1rem;
    vertical-align: middle;
    color: #2d3748;
    font-weight: 500;
}

.casino-table td:first-child {
    font-weight: 600;
    color: #1a202c;
}

.casino-table td:nth-child(2) {
    color: #d69e2e;
    font-weight: 600;
}

.casino-table td:nth-child(3) {
    color: #38a169;
    font-weight: 600;
}


/* Mobile Responsive Table */
@media (max-width: 768px) {
    .table-container {
        margin: 1.5rem 0;
        border-radius: 8px;
        overflow-x: auto;
    }
    
    .casino-table {
        min-width: 600px;
        font-size: 0.9rem;
    }
    
    .casino-table th,
    .casino-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .casino-table th {
        font-size: 0.8rem;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .table-container {
        margin: 1rem 0;
        overflow-x: auto;
    }
    
    .casino-table {
        font-size: 0.85rem;
        min-width: 600px;
    }
    
    .casino-table th,
    .casino-table td {
        padding: 0.6rem 0.4rem;
    }
    
    .casino-table th {
        font-size: 0.75rem;
        letter-spacing: 0.2px;
    }
}

/* Quote Block Styles */
.quote-block {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    border-left: 4px solid #e53e3e;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.quote-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(45,55,72,0.03)"/><circle cx="80" cy="40" r="0.8" fill="rgba(45,55,72,0.03)"/><circle cx="40" cy="80" r="0.6" fill="rgba(45,55,72,0.03)"/></svg>');
    background-size: 60px 60px;
    opacity: 0.5;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
    z-index: 2;
}

.quote-icon i {
    color: white;
    font-size: 1rem;
}

.quote-content {
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
    z-index: 1;
}

.quote-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #2d3748;
    font-weight: 500;
    font-style: italic;
    margin: 0;
    padding-left: 1rem;
}

.quote-author {
    margin-top: 1.5rem;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    z-index: 1;
}

.author-name {
    font-weight: 600;
    color: #1a202c;
    font-size: 1rem;
}

.author-title {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

/* Quote Block Mobile Responsive */
@media (max-width: 768px) {
    .quote-block {
        margin: 2rem 0;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .quote-content p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .quote-icon {
        width: 35px;
        height: 35px;
        top: -8px;
        left: 15px;
    }
    
    .quote-icon i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .quote-block {
        margin: 1.5rem 0;
        padding: 1.2rem;
        border-radius: 10px;
    }
    
    .quote-content p {
        font-size: 1rem;
        line-height: 1.5;
        padding-left: 0.5rem;
    }
    
    .quote-author {
        padding-left: 0.5rem;
        margin-top: 1.2rem;
    }
    
    .author-name {
        font-size: 0.95rem;
    }
    
    .author-title {
        font-size: 0.85rem;
    }
    
    .quote-icon {
        width: 30px;
        height: 30px;
        top: -6px;
        left: 10px;
    }
    
    .quote-icon i {
        font-size: 0.8rem;
    }
}

/* Casino detail page styles */
.page-header {
    margin-bottom: 2rem;
    padding-top: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #4a5568;
    margin: 0;
    text-align: center;
    font-weight: 700;
}

.casino-detail-card {
    margin-bottom: 3rem;
}

.casino-detail-card .casino-title-alt p {
    font-size: 1.5rem;
    margin: 0;
    color: #ffffff;
    font-weight: 600;
}

/* Стили для списков */
.content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.content ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
    line-height: 1.6;
}

.content ul li::before {
    content: '•';
    color: #4299e1;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
}

.content ol {
    counter-reset: item;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.content ol li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
    line-height: 1.6;
}

.content ol li::before {
    content: counter(item) '.';
    counter-increment: item;
    color: #4299e1;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
}

/* Responsive adjustments for casino page */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .casino-detail-card .casino-title-alt p {
        font-size: 1.3rem;
    }
    
    .content ul li,
    .content ol li {
        padding-left: 1.5rem;
    }
}