
:root {
    --clr-primary: #0B1B3D;       
    --clr-primary-light: #1A2A44; 
    --clr-accent: #FF8C00;        
    --clr-accent-hover: #FF9E22;
    --clr-success: #00C853;       
    --clr-success-hover: #00E676;
    
    --clr-bg: #F4F6F9;            
    --clr-white: #FFFFFF;
    --clr-text: #333333;
    --clr-text-muted: #666666;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { color: var(--clr-primary); line-height: 1.3; }
img { max-width: 100%; height: auto; display: block; }

/* ==========================================================================
   3. Кнопки (CTA)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary { background: var(--clr-primary); color: var(--clr-white); }
.btn-primary:hover { background: var(--clr-primary-light); transform: translateY(-2px); }

.btn-play { background: var(--clr-success); color: var(--clr-white); width: 100%; margin-bottom: 10px; font-size: 16px; }
.btn-play:hover { background: var(--clr-success-hover); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4); }

.btn-review { background: transparent; color: var(--clr-primary); border: 2px solid var(--clr-primary); width: 100%; }
.btn-review:hover { background: var(--clr-primary); color: var(--clr-white); }

.btn-play-small { background: var(--clr-success); color: var(--clr-white); padding: 8px 16px; font-size: 14px; border-radius: var(--radius-sm); width: 100%; }
.btn-play-small:hover { background: var(--clr-success-hover); transform: translateY(-2px); }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
    background: var(--clr-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.main-nav ul { list-style: none; display: flex; gap: 24px; }
.main-nav a { text-decoration: none; color: var(--clr-primary); font-weight: 600; transition: var(--transition); }
.main-nav a:hover { color: var(--clr-accent); }

/* ==========================================================================
   5. Hero Section (First Screen)
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--clr-primary) 0%, #061024 100%);
    color: var(--clr-white);
    padding: 60px 0 160px; /* Збільшений відступ знизу для наїзду карток */
    position: relative;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text-content {
    flex: 1;
    max-width: 650px;
}

/* Бейдж довіри */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #E2E8F0;
    backdrop-filter: blur(5px);
}
.trust-badge svg { color: var(--clr-success); }

/* Заголовки та текст */
.hero-text-content h1 {
    color: var(--clr-white);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
}
.text-highlight { color: var(--clr-accent); }
.hero-text-content p {
    font-size: 1.2rem;
    color: #94A3B8;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Мікро-переваги під текстом (USPs) */
.hero-usps {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.usp-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #F8FAFC;
}

/* Права колонка з картинкою */
.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding: 20px;
}

.hero-img-floating {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 4px solid #FFD700;
    
    animation: float 6s ease-in-out infinite, neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3), 
                    inset 0 0 10px rgba(255, 215, 0, 0.2);
    }
    100% {
        box-shadow: 0 0 35px rgba(255, 215, 0, 0.8), 
                    0 0 15px rgba(255, 215, 0, 0.5), 
                    inset 0 0 20px rgba(255, 215, 0, 0.4);
    }
}

/* Анімація левітації для картинки */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Наїзд карток на Hero Section */
.top3-grid {
    margin-top: -100px; /* Картки підіймаються на темний фон */
    position: relative;
    z-index: 10;
}

/* Адаптивність для Hero Section */
@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .hero-text-content {
        max-width: 100%;
    }
    .hero-usps {
        justify-content: center;
    }
    .hero-image-wrapper {
        justify-content: center;
        margin-top: 30px;
    }
    .hero-img-floating {
        max-height: 280px;
    }
    .top3-grid {
        margin-top: -50px;
    }
}
@media (max-width: 768px) {
    .hero-text-content h1 { font-size: 2.2rem; }
    .hero-section { padding: 40px 0 100px; }
}

/* ==========================================================================
   6. Top 3 Big Cards
   ========================================================================== */
.top3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.casino-card-big {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    color: var(--clr-text);
    border: 1px solid #E5E7EB;
}

.casino-card-big:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--clr-accent);
}

/* Badge styles */
.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 20px;
    color: var(--clr-text);
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}
.badge-gold { background: #FFD700; }
.badge-new { background: #FF4757; color: white; }
.badge-spins { background: #3742FA; color: white; }

.casino-logo-big { max-width: 140px; height: 60px; object-fit: contain; margin: 20px auto; }
.rating-block { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-bottom: 15px; font-size: 13px; color: var(--clr-text-muted); }
.stars { width: 100px; }

.offer-box {
    background: var(--clr-bg);
    padding: 15px;
    border-radius: var(--radius-md);
    text-align: center;
    margin-bottom: 15px;
    border: 1px dashed #CBD5E1;
}
.offer-title { display: block; font-size: 12px; text-transform: uppercase; color: var(--clr-text-muted); letter-spacing: 1px; }
.offer-value { display: block; font-size: 18px; font-weight: 800; color: var(--clr-primary); margin-top: 5px; }

.features-list { list-style: none; text-align: left; margin-bottom: 20px; font-size: 14px; padding-left: 10px; }
.features-list li { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }

/* Анімація появи Top-3 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-card { opacity: 0; animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-card:nth-child(1) { animation-delay: 0.1s; }
.animate-card:nth-child(2) { animation-delay: 0.3s; }
.animate-card:nth-child(3) { animation-delay: 0.5s; }

/* ==========================================================================
   7. Top 10 Table/List Layout
   ========================================================================== */
.top10-section { margin-top: 60px; }
.top10-section h2 { margin-bottom: 30px; font-size: 2rem; text-align: center; }

.top10-list { display: flex; flex-direction: column; gap: 15px; }

.list-card {
    display: grid;
    grid-template-columns: 50px 150px 1fr 180px 160px;
    align-items: center;
    background: var(--clr-white);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    gap: 20px;
    transition: var(--transition);
    border: 1px solid #E5E7EB;
    border-left: 5px solid transparent;
}

.list-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
    border-color: #CBD5E1;
}

.highlight-row { border-left-color: var(--clr-accent); background: #FFFCF8; }
.highlight-row:nth-child(1) { border-left-color: #FFD700; }
.highlight-row:nth-child(2) { border-left-color: #C0C0C0; }
.highlight-row:nth-child(3) { border-left-color: #CD7F32; }

.rank { font-size: 24px; font-weight: 800; color: #94A3B8; text-align: center; }
.brand-col { text-align: center; }
.brand-col img { max-width: 120px; max-height: 50px; object-fit: contain; margin: 0 auto; }
.stars-small { font-size: 12px; font-weight: bold; margin-top: 5px; color: var(--clr-accent); }

.bonus-col strong { font-size: 18px; color: var(--clr-primary); display: block; margin-bottom: 5px; }
.micro-features { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; }
.micro-features li { background: #E0F2FE; color: #0369A1; padding: 2px 8px; border-radius: 4px; font-weight: 600; }

.payments-col { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.payments-col img { max-width: 40px; border-radius: 4px; border: 1px solid #eee; }

.action-col { display: flex; flex-direction: column; gap: 10px; }
.link-review { text-align: center; font-size: 13px; color: var(--clr-text-muted); text-decoration: underline; }
.link-review:hover { color: var(--clr-primary); }

/* ==========================================================================
   8. Expert Team & Info Sections
   ========================================================================== */
.intro-section, .providers-section, .evaluation-section, .faq-section { margin-top: 60px; background: var(--clr-white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.intro-section h2 { margin-bottom: 20px; }

.expert-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; text-align: center; }
.expert-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 3px solid var(--clr-accent); }
.expert h4 { font-size: 16px; margin-bottom: 5px; }
.expert p { font-size: 13px; color: var(--clr-text-muted); }

/* Providers */
.provider-logos { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 20px; }
.provider-img { height: 40px; object-fit: contain; filter: grayscale(100%); transition: var(--transition); opacity: 0.7; }
.provider-img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }

/* ==========================================================================
   9. Detailed & Short Reviews
   ========================================================================== */
.detailed-reviews {
    margin-top: 80px;
}

.detailed-reviews h2 {
    margin-bottom: 40px;
    text-align: center;
    font-size: 2rem;
}

.review-wrapper {
    margin-bottom: 60px;
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 30px;
}

/* Summary Card (Горизонтальна картка) */
.review-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 20px 30px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.summary-brand {
    text-align: center;
    flex: 0 0 150px;
}

.summary-brand img {
    max-width: 130px;
    max-height: 50px;
    object-fit: contain;
    margin: 0 auto 10px;
}

.summary-rating {
    font-size: 14px;
    font-weight: 800;
    color: var(--clr-accent);
}

.summary-facts {
    display: flex;
    flex: 1;
    justify-content: space-around;
    gap: 20px;
    border-left: 1px solid #CBD5E1;
    border-right: 1px solid #CBD5E1;
    padding: 0 20px;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fact-item svg {
    color: var(--clr-primary);
    flex-shrink: 0;
}

.fact-label {
    display: block;
    font-size: 12px;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.fact-value {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--clr-primary);
}

.summary-action {
    flex: 0 0 160px;
}

.summary-action .btn {
    width: 100%;
    margin: 0;
}

/* ==========================================================================
   Компактні огляди (4-10 місця)
   ========================================================================== */
.short-reviews {
    margin-top: 60px;
}

.short-reviews h2 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

.compact-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.review-compact {
    display: flex;
    gap: 30px;
    background: var(--clr-white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

.review-compact:hover {
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

/* Ліва частина: Міні-картка */
.review-compact-card {
    flex: 0 0 160px;
    background: #F8FAFC;
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px dashed #CBD5E1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
}

.compact-rank {
    font-size: 18px;
    font-weight: 900;
    color: #94A3B8;
    background: var(--clr-white);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.review-compact-card img {
    max-width: 110px;
    max-height: 40px;
    object-fit: contain;
}

.review-compact-card .btn {
    width: 100%;
}

/* Права частина: Текст */
.review-compact-text {
    flex: 1;
}

.review-compact-text h4 {
    font-size: 1.3rem;
    color: var(--clr-primary);
    margin-bottom: 15px;
}

.review-compact-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 12px;
}

.review-compact-text p:last-child {
    margin-bottom: 0;
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
    .review-compact {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .review-compact-card {
        flex: auto;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding: 15px;
    }

    .compact-rank {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .review-compact-card img {
        margin: 0;
    }

    .review-compact-card .btn {
        width: auto;
        padding: 8px 16px;
    }
}
@media (max-width: 480px) {
    .review-compact-card {
        flex-direction: column;
    }
    .review-compact-card .btn {
        width: 100%;
    }
}
.review-text-content h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--clr-primary);
}

.review-text-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
}

/* Адаптивність для нового блоку */
@media (max-width: 992px) {
    .review-summary-card {
        flex-direction: column;
        text-align: center;
    }
    
    .summary-facts {
        flex-direction: column;
        align-items: center;
        border: none;
        border-top: 1px solid #CBD5E1;
        border-bottom: 1px solid #CBD5E1;
        padding: 20px 0;
        width: 100%;
    }
    
    .fact-item {
        justify-content: center;
    }
    
    .summary-action {
        width: 100%;
    }
}

/* ==========================================================================
   10. FAQ
   ========================================================================== */
.faq-item { border-bottom: 1px solid #E5E7EB; padding: 15px 0; }
.faq-item summary { font-size: 1.1rem; font-weight: bold; cursor: pointer; color: var(--clr-primary); list-style-position: inside; }
.faq-item p { margin-top: 10px; padding-left: 20px; color: var(--clr-text-muted); }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer { background: var(--clr-primary-light); color: #fff; padding: 60px 0 20px; margin-top: 80px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { max-width: 180px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-links h4, .footer-trust h4 { color: var(--clr-accent); margin-bottom: 20px; font-size: 18px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #CBD5E1; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--clr-white); text-decoration: underline; }
.trust-logos { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 15px; }
.trust-icon { height: 40px; background: white; padding: 5px; border-radius: 4px; }
.footer-bottom { text-align: center; padding-top: 40px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); color: #94A3B8; }

/* ==========================================================================
   12. Responsive (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
    .list-card { grid-template-columns: 40px 120px 1fr 120px; }
    .payments-col { display: none; /* Ховаємо платіжки на планшетах для економії місця */ }
}

@media (max-width: 768px) {
    .main-nav { display: none; /* Тут в JS можна додати Burger Menu */ }
    .hero-section h1 { font-size: 2rem; }
    
    .top3-grid { grid-template-columns: 1fr; }
    .animate-card { animation-delay: 0s; }
    
    .list-card { grid-template-columns: 1fr; text-align: center; position: relative; padding-top: 30px; }
    .rank { position: absolute; top: 10px; left: 10px; font-size: 16px; background: var(--clr-bg); padding: 2px 8px; border-radius: 4px; }
    .micro-features { justify-content: center; }
    .action-col { flex-direction: row; gap: 10px; }
    .action-col .btn { flex: 1; }
    
    .expert-team { grid-template-columns: 1fr; }
    .review-detailed { flex-direction: column; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .trust-logos { justify-content: center; }
}
/* ==========================================================================
   Text Logo Styles
   ========================================================================== */
.text-logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--clr-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.text-logo .logo-highlight {
    background: var(--clr-accent);
    color: var(--clr-white);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 1px;
}

.text-logo:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .text-logo {
        font-size: 20px;
    }
    .text-logo .logo-highlight {
        font-size: 16px;
    }
}
/* ==========================================================================
   Оновлені Top 3 Cards (Premium Design)
   ========================================================================== */
.casino-card-pro {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: 35px 25px 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(11, 27, 61, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.casino-card-pro:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(11, 27, 61, 0.15);
    border-color: var(--clr-accent);
}

/* Пружинна анімація появи */
@keyframes popInSpring {
    0% { opacity: 0; transform: scale(0.85) translateY(40px); }
    70% { transform: scale(1.05) translateY(-10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.animate-pop { opacity: 0; animation: popInSpring 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.top3-grid > div:nth-child(1) { animation-delay: 0.1s; }
.top3-grid > div:nth-child(2) { animation-delay: 0.25s; }
.top3-grid > div:nth-child(3) { animation-delay: 0.4s; }

/* Бейджі з SVG */
.badge-pro {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
}
.badge-gold { background: linear-gradient(135deg, #FFD700, #F59E0B); color: #451A03; }
.badge-new { background: linear-gradient(135deg, #FF4757, #E11D48); color: white; }
.badge-spins { background: linear-gradient(135deg, #3742FA, #4F46E5); color: white; }

/* Логотип */
.card-logo-wrapper { height: 70px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.casino-logo-pro { max-width: 140px; max-height: 55px; object-fit: contain; }

/* Зірки SVG */
.rating-pro { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 20px; font-size: 13px; color: var(--clr-text-muted); font-weight: 500; }
.stars-svg { display: flex; gap: 2px; }

/* Блок бонусу (Чистий CSS замість картинки) */
.offer-box-pro {
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
    border: 1px solid #E2E8F0;
    padding: 18px;
    border-radius: var(--radius-md);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.offer-box-pro::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--clr-accent);
}
.offer-title { display: block; font-size: 11px; text-transform: uppercase; color: #64748B; font-weight: 800; letter-spacing: 1px; margin-bottom: 6px; }
.offer-value { display: block; font-size: 22px; font-weight: 900; color: var(--clr-primary); line-height: 1.2; }
.offer-plus { font-size: 16px; color: var(--clr-accent); }

/* Список фіч */
.features-list-pro { list-style: none; margin-bottom: 25px; font-size: 14px; color: var(--clr-text); font-weight: 500; }
.features-list-pro li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.features-list-pro svg { flex-shrink: 0; }

/* Кнопки та підвал картки */
.card-actions-pro { display: flex; flex-direction: column; gap: 10px; margin-top: auto; margin-bottom: 15px; }
.card-legal { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; color: #94A3B8; border-top: 1px solid #F1F5F9; padding-top: 15px; }
.age-icon { background: #E2E8F0; color: #475569; font-weight: 900; padding: 2px 6px; border-radius: 4px; font-size: 10px; }
.legal-link { color: #94A3B8; text-decoration: underline; text-decoration-color: rgba(148, 163, 184, 0.4); }
.legal-link:hover { color: var(--clr-primary); }

/* ==========================================================================
   Універсальний адаптивний банер 16:9 для тексту
   ========================================================================== */
.article-banner {
    margin: 40px auto; 
    width: 100%;
    max-width: 900px;

    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    
    position: relative;
}

.article-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    
    display: block;
    transition: transform 0.3s ease; 
}

/* Адаптація для мобільних пристроїв */
@media (max-width: 768px) {
    .article-banner {
        margin: 25px auto;
        border-radius: var(--radius-sm); /* Менший радіус на мобілках */
        /* На зовсім малих екранах відступи безпеки залишаються завдяки .container, в який вкладено текст */
    }
}

/* ==========================================================================
   Expert Team (Автори)
   ========================================================================== */
.expert-team-section {
    margin-top: 60px;
    background: var(--clr-white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.expert-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.expert-header h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.expert-card {
    background: var(--clr-bg);
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

.expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 4px solid var(--clr-white);
    box-shadow: var(--shadow-sm);
}

.expert-info h4 {
    font-size: 1.2rem;
    color: var(--clr-primary);
    margin-bottom: 5px;
}

.expert-role {
    display: block;
    font-size: 13px;
    color: var(--clr-accent);
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expert-bio {
    font-size: 14px;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.5;
}

.expert-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.expert-socials a {
    color: #94A3B8;
    transition: var(--transition);
}

.expert-socials a:hover {
    color: var(--clr-primary);
    transform: scale(1.1);
}
/* ==========================================================================
   13. Типографіка та форматування тексту (Rich Text)
   ========================================================================== */

/* Обгортки для контенту */
.review-text-content, 
.intro-text,
.evaluation-section {
    color: #475569; /* М'який сірий колір для довгого читання, щоб не втомлювати очі */
}

/* Заголовки всередині тексту */
.review-text-content h2, .intro-text h2, .evaluation-section h2,
.review-text-content h3, .intro-text h3, .evaluation-section h3,
.review-text-content h4, .intro-text h4, .evaluation-section h4 {
    color: var(--clr-primary);
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 800;
}

/* Параграфи */
.review-text-content p, 
.intro-text p,
.evaluation-section p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.review-text-content p:last-child, 
.intro-text p:last-child {
    margin-bottom: 0;
}

/* Виділення тексту (Жирний) */
.review-text-content strong, 
.intro-text strong,
.evaluation-section strong {
    color: var(--clr-primary);
    font-weight: 700;
}

/* ====================
   Марковані списки (UL / OL)
   ==================== */
.review-text-content ul, 
.intro-text ul,
.evaluation-section ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none; /* Забираємо стандартні нудні крапки */
}

.review-text-content ul li, 
.intro-text ul li,
.evaluation-section ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Кастомна помаранчева галочка/стрілочка для списків */
.review-text-content ul li::before, 
.intro-text ul li::before,
.evaluation-section ul li::before {
    content: "→"; 
    position: absolute;
    left: 0;
    top: 0;
    color: var(--clr-accent);
    font-weight: 900;
    font-size: 1.1rem;
}

/* Нумеровані списки */
.review-text-content ol, 
.intro-text ol {
    margin: 20px 0 20px 20px;
    line-height: 1.6;
}

.review-text-content ol li {
    margin-bottom: 10px;
    padding-left: 5px;
}

/* ====================
   Таблиці (Tables)
   ==================== */
.review-text-content table, 
.intro-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--clr-white);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-sm);
    overflow: hidden; /* Щоб бордер-радіус працював на кутах таблиці */
    border: 1px solid #E2E8F0;
}

.review-text-content th, 
.intro-text th {
    background: var(--clr-primary-light);
    color: var(--clr-white);
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.review-text-content td, 
.intro-text td {
    padding: 15px 20px;
    border-bottom: 1px solid #E2E8F0;
    color: #475569;
    font-size: 0.95rem;
    vertical-align: top; /* Якщо тексту багато, він вирівнюється по верху */
}

/* Зебра для таблиці (щоб рядки не зливалися) */
.review-text-content tr:nth-child(even) td, 
.intro-text tr:nth-child(even) td {
    background-color: #F8FAFC;
}

.review-text-content tr:hover td, 
.intro-text tr:hover td {
    background-color: #F1F5F9; /* Легкий ховер-ефект на рядок таблиці */
}

/* Адаптивність таблиць (щоб не ламали дизайн на мобілках) */
@media (max-width: 768px) {
    .review-text-content table, 
    .intro-text table {
        display: block;
        overflow-x: auto; /* Додаємо скрол по горизонталі, якщо таблиця широка */
        white-space: nowrap;
    }
}

/* ====================
   Таблиці (Tables) - Оновлено для thead/tbody
   ==================== */
.review-text-content table, 
.intro-text table,
.evaluation-section table {
    width: 100%;
    border-collapse: separate; /* Змінено для правильної роботи border-radius */
    border-spacing: 0;
    margin: 30px 0;
    background: var(--clr-white);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-sm);
    border: 1px solid #E2E8F0;
    overflow: hidden; /* Обрізає кути для thead */
}

/* Стилізація шапки таблиці */
.review-text-content thead, 
.intro-text thead,
.evaluation-section thead {
    background: var(--clr-primary-light);
}

.review-text-content th, 
.intro-text th,
.evaluation-section th {
    color: var(--clr-white);
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-bottom: 3px solid var(--clr-accent); /* Яскравий акцент під шапкою */
}

/* Стилізація комірок тіла таблиці */
.review-text-content td, 
.intro-text td,
.evaluation-section td {
    padding: 15px 20px;
    border-bottom: 1px solid #E2E8F0;
    color: #475569;
    font-size: 0.95rem;
    vertical-align: middle;
}

/* Прибираємо нижню лінію в останньому рядку, щоб не дублювати з бордером таблиці */
.review-text-content tbody tr:last-child td, 
.intro-text tbody tr:last-child td,
.evaluation-section tbody tr:last-child td {
    border-bottom: none;
}

/* Зебра для рядків (тепер правильно працює з tbody) */
.review-text-content tbody tr:nth-child(even) td, 
.intro-text tbody tr:nth-child(even) td,
.evaluation-section tbody tr:nth-child(even) td {
    background-color: #F8FAFC;
}

/* Ефект наведення на рядок */
.review-text-content tbody tr:hover td, 
.intro-text tbody tr:hover td,
.evaluation-section tbody tr:hover td {
    background-color: #F1F5F9;
    color: var(--clr-primary); /* Легке затемнення тексту при ховері */
}

/* Адаптивність таблиць для мобільних пристроїв */
@media (max-width: 768px) {
    .review-text-content table, 
    .intro-text table,
    .evaluation-section table {
        display: block;
        overflow-x: auto; /* Додаємо горизонтальний скрол */
        white-space: nowrap; /* Забороняємо перенесення тексту всередині комірок на мобільному */
        -webkit-overflow-scrolling: touch; /* Плавний скрол на iOS */
    }
}
/* ==========================================================================
   CSS Hero Graphic (Заміна картинки)
   ========================================================================== */
.css-hero-graphic {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
    margin: 0 auto;
}

.graphic-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, rgba(255, 215, 0, 0) 70%);
    border-radius: 50%;
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

.graphic-shield {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05); /* Ефект скла */
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 24px;
    padding: 30px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.shield-text {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
}

.shield-title {
    color: var(--clr-white);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.shield-year {
    color: #FFD700;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.floating-star {
    position: absolute;
    font-size: 24px;
    z-index: 3;
    animation: floatStar 4s ease-in-out infinite;
}

.star-1 { top: 20px; left: 10px; animation-delay: 0.5s; font-size: 20px; }
.star-2 { bottom: 30px; right: -10px; animation-delay: 1.5s; font-size: 32px; }

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.15); opacity: 1; }
}

@keyframes floatStar {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-15px) scale(1.2); opacity: 1; }
}

/* Адаптивність */
@media (max-width: 992px) {
    .css-hero-graphic { margin-top: 30px; }
}
/* ==========================================================================
   Hero CTA Block (Масивна кнопка з пульсацією)
   ========================================================================== */
.hero-cta-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.pulse-ring-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
}

/* Пульсуюче кільце навколо кнопки */
.pulse-ring-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: calc(var(--radius-md) + 5px);
    background: rgba(0, 200, 83, 0.4);
    z-index: 0;
    animation: pulseRing 2s infinite;
}

.btn-hero-massive {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding: 20px 28px;
    background: linear-gradient(135deg, var(--clr-success) 0%, #009624 100%);
    color: var(--clr-white);
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 200, 83, 0.5);
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

/* Ефект відблиску (Shine) */
.btn-hero-massive::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 3.5s infinite;
}

.btn-hero-massive:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 200, 83, 0.6);
    background: linear-gradient(135deg, #00E676 0%, var(--clr-success) 100%);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-hero-massive:hover .btn-icon {
    transform: translateX(6px);
}

.cta-guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #E2E8F0;
    font-size: 14px;
    margin-top: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Анімації */
@keyframes pulseRing {
    0% { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1.1); opacity: 0; }
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Адаптивність для мобільного екрана */
@media (max-width: 768px) {
    .hero-cta-block {
        margin-top: 30px;
        padding: 0; /* Використовуємо максимум ширини екрана */
        max-width: 100%;
    }
    
    .btn-hero-massive {
        padding: 22px 20px; /* Більша висота для зручного тапу */
        font-size: 18px; /* Оптимальний розмір для читання в 1 рядок на мобільному */
        flex-direction: row;
        justify-content: space-between; /* Текст зліва, іконка справа */
    }
    
    .cta-guarantee {
        font-size: 12px;
        margin-top: 20px;
    }
}
/* ==========================================================================
   Універсальний текстовий CTA-блок для збільшення конверсії
   ========================================================================== */
.article-inline-cta {
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2F6 100%);
    border: 1px solid #E2E8F0;
    border-left: 5px solid var(--clr-accent); /* Помаранчевий акцент зліва для привернення уваги */
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: var(--shadow-sm);
}

.inline-cta-content {
    flex: 1;
}

.inline-cta-content h4 {
    font-size: 1.4rem;
    color: var(--clr-primary);
    margin-top: 0 !important; /* Обнуляємо відступи rich-text */
    margin-bottom: 10px !important;
    font-weight: 800;
}

.inline-cta-content p {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 15px !important;
    line-height: 1.5;
}

/* Компактні міні-переваги всередині блоку */
.inline-cta-usps {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.inline-cta-usps li {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 6px;
}

.inline-cta-usps li svg {
    color: var(--clr-success);
    flex-shrink: 0;
}

/* Кнопка всередині блоку */
.inline-cta-action {
    flex: 0 0 auto;
}

.btn-inline-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--clr-success) 0%, #009624 100%);
    color: var(--clr-white) !important; /* Гарантуємо білий колір */
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3);
    transition: var(--transition);
}

.btn-inline-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.4);
    background: linear-gradient(135deg, #00E676 0%, var(--clr-success) 100%);
}

.btn-inline-cta svg {
    transition: transform 0.3s ease;
}

.btn-inline-cta:hover svg {
    transform: translateX(4px);
}

/* Адаптивність для планшетів та мобільних */
@media (max-width: 768px) {
    .article-inline-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 25px 20px;
        gap: 20px;
        border-left: 1px solid #E2E8F0;
        border-top: 5px solid var(--clr-accent); /* На мобілках акцент переходить наверх */
    }

    .inline-cta-usps {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-bottom: 5px;
    }

    .btn-inline-cta {
        width: 100%;
        justify-content: center;
        padding: 18px;
    }
}