/* =========================================
   HERO SECTION (Dark Green & Gold)
   ========================================= */
.hero {
    background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-emerald) 60%, #024A38 100%);
    color: #fff;
    padding: 90px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 164, 65, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero p {
    max-width: 750px;
    margin: 0 auto 44px;
    font-size: 1.08rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.feature-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(8px);
    padding: 24px 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(217, 164, 65, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(217, 164, 65, 0.4);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.feature-title {
    color: var(--color-accent-gold);
    font-weight: 700;
    margin-bottom: 6px;
    font-family: var(--font-family-base);
    font-size: 1rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin: 0;
    line-height: 1.5;
}


/* =========================================
   CASINO LIST BLOCK (Light Background for Section)
   ========================================= */
.casino-list-block {
    padding: 70px 0;
    background-color: var(--color-bg-light);
}

.casino-list-block > .container > h2 {
    text-align: center;
    margin-bottom: 48px;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--color-primary-dark);
    position: relative;
}

.casino-list-block > .container > h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent-gold);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* --- Main Card Container (Dark Green) --- */
.casino-card {
    position: relative;
    background: linear-gradient(145deg, #023529 0%, #01281d 100%);
    border-radius: 18px;
    padding: 24px 28px;
    margin-bottom: 22px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border: 1px solid rgba(217, 164, 65, 0.35);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(217, 164, 65, 0.5);
    border-color: rgba(217, 164, 65, 0.6);
}

/* --- Rank Badge (Number) --- */
.rank-badge {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #047B52 0%, #015C3D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    border-radius: 0 0 18px 0;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* --- Inner Layout --- */
.casino-card-inner {
    display: flex;
    gap: 28px;
    align-items: stretch;
    width: 100%;
}

/* --- Left Column (Info & Facts) --- */
.casino-main-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.casino-logo-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}

.casino-logo-placeholder {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #ffffff;
    border: 2px solid rgba(217, 164, 65, 0.4);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.casino-logo-placeholder img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.casino-name-new {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
    font-family: var(--font-family-base);
    line-height: 1.2;
}

.rating-stars {
    color: var(--color-accent-gold);
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    font-weight: 700;
}

.founded-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    font-weight: 500;
}

.founded-icon {
    display: inline-block;
    width: 17px;
    height: 17px;
    background: rgba(217, 164, 65, 0.15);
    border: 1px solid rgba(217, 164, 65, 0.4);
    border-radius: 50%;
    text-align: center;
    line-height: 15px;
    font-size: 0.65rem;
    color: var(--color-accent-gold);
    margin-right: 5px;
    vertical-align: middle;
    font-style: normal;
}

/* --- Facts List --- */
.bottom-facts {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(217, 164, 65, 0.2);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.fact-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(217, 164, 65, 0.1);
    border: 1px solid rgba(217, 164, 65, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--color-accent-gold);
    margin-top: 2px;
}

.fact-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* --- Right Column (Bonus & Buttons) --- */
.casino-action-area {
    flex: 0 0 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border-left: 1px solid rgba(217, 164, 65, 0.15);
    padding-left: 22px;
}

.bonus-section {
    text-align: center;
}

.bonus-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent-gold);
    opacity: 0.85;
    margin-bottom: 8px;
    font-weight: 600;
}

.bonus-value {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 6px;
}

.casino-buttons {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
}

.btn-gold {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-accent-gold) 0%, #C4912E 100%);
    color: var(--color-primary-dark);
    border: none;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: var(--shadow-gold);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #E4B75A 0%, var(--color-accent-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 164, 65, 0.45);
}

.btn-review {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1.5px solid rgba(217, 164, 65, 0.5);
    color: var(--color-accent-gold);
    padding: 11px 20px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    width: 100%;
}

.btn-review:hover {
    background: rgba(217, 164, 65, 0.1);
    border-color: var(--color-accent-gold);
    color: #fff;
}


/* =========================================
   SEO ARTICLE (Light Background)
   ========================================= */
.article-content {
    background: var(--color-bg-white);
    color: var(--color-text-main);
    padding: 60px 0;
}

.article-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: var(--color-primary-dark);
    margin-bottom: 20px;
    margin-top: 48px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(217, 164, 65, 0.25);
    position: relative;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--color-accent-gold);
}

.article-content h3 {
    font-size: 1.3rem;
    margin-top: 32px;
    margin-bottom: 14px;
    color: var(--color-emerald);
    font-weight: 700;
}

.article-content p {
    margin-bottom: 1.4rem;
    font-size: 1.02rem;
    color: var(--color-text-main);
    line-height: 1.75;
}

.article-content b, .article-content strong {
    color: var(--color-primary-dark);
    font-weight: 700;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2em;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content ul li, .article-content ol li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 0;
    margin-left: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-main);
}

.article-content ul li::marker,
.article-content ol li::marker {
    color: var(--color-accent-gold);
    font-weight: 700;
}


/* =========================================
   FAQ SECTION (Gold Accents on Light)
   ========================================= */
.faq-container {
    padding: 50px 0 10px;
    margin-top: 10px;
}

.faq-title {
    font-size: clamp(1.6rem, 3vw, 2rem);
    text-align: center;
    color: var(--color-primary-dark);
    border: none;
    padding-bottom: 0;
    margin-bottom: 36px;
    margin-top: 0;
    position: relative;
    padding-bottom: 14px;
}

.faq-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent-gold);
    border-radius: 2px;
}

.faq-item {
    background: var(--color-bg-light);
    border: 1px solid rgba(217, 164, 65, 0.15);
    border-radius: var(--border-radius-md);
    margin-bottom: 14px;
    padding: 20px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(1, 34, 27, 0.04);
}

.faq-item:hover {
    border-color: rgba(217, 164, 65, 0.35);
    box-shadow: 0 4px 16px rgba(1, 34, 27, 0.08);
}

.article-content .faq-container .faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary-dark) !important;
    margin: 0 0 10px 0;
    padding: 0;
    cursor: default;
    line-height: 1.5;
    font-family: var(--font-family-base);
}

.faq-answer-wrapper {
    overflow: hidden;
}

.faq-answer {
    color: var(--color-text-secondary);
    font-size: 0.97rem;
    line-height: 1.7;
    padding-left: 24px;
    border-left: 3px solid var(--color-accent-gold);
    margin-top: 4px;
}

/* Адаптивность для FAQ */
@media (max-width: 768px) {
    .faq-container {
        padding: 36px 0 10px;
    }
    
    .faq-title {
        font-size: 1.45rem;
        margin-bottom: 28px;
    }
    
    .faq-item {
        padding: 16px 18px;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-answer {
        font-size: 0.93rem;
        padding-left: 20px;
    }
}


/* Логотип MegaPari увеличен */
.mega-pari-special .casino-logo-placeholder {
    width: 100px;
    height: 100px;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */

@media (max-width: 960px) {
    .casino-card-inner {
        flex-direction: column;
        gap: 22px;
    }
    
    .casino-action-area {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        border-left: none;
        border-top: 1px solid rgba(217, 164, 65, 0.15);
        padding-left: 0;
        padding-top: 20px;
        width: 100%;
        flex: unset;
    }
    
    .casino-buttons {
        flex-direction: row;
        width: auto;
        min-width: 220px;
    }
    
    .casino-logo-wrap {
        justify-content: flex-start;
    }
}

/* Мобильные стили для казино-карточек */
@media (max-width: 600px) {
    .hero {
        padding: 60px 0 50px;
    }
    
    .casino-list-block {
        padding: 44px 0;
    }
    
    .casino-card {
        padding: 20px 20px 18px 58px;
        margin-bottom: 18px;
        border-radius: 14px;
    }
    
    .rank-badge {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    
    .casino-logo-placeholder {
        width: 64px;
        height: 64px;
    }
    
    .casino-name-new {
        font-size: 1.15rem;
    }
    
    .bonus-value {
        font-size: 1.25rem;
    }
    
    .fact-text {
        font-size: 0.88rem;
    }
    
    .btn-gold, .btn-review {
        padding: 11px 16px;
        font-size: 0.88rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .feature-card {
        padding: 18px 14px;
    }
    
    .feature-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 420px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .casino-card {
        padding: 18px 18px 16px 52px;
    }
    
    .casino-logo-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .casino-action-area {
        flex-direction: column;
        gap: 12px;
    }
    
    .casino-buttons {
        width: 100%;
    }
}


/* =========================================
   SECTION IMAGES (Live Casino, Games, Payment)
   ========================================= */
.section-image {
    margin: 24px 0 32px;
    text-align: center;
}

.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 20px rgba(1, 34, 27, 0.1);
    display: block;
    margin: 0 auto;
}

</replacementContent>