/* =================================================================
   Carrefour 2014 Comprehensive Theme - Trackk VIP
   ================================================================= */

:root {
    --primary-color: #0060A9; /* Carrefour Blue */
    --secondary-color: #E31837; /* Carrefour Red */
    --accent-color: #F47C3C; /* Orange accent */
    --text-color: #333333;
    --bg-color: #f5f5f5;
    --white: #ffffff;
    --success: #4CAF50;
    --warning: #FFC107;
    --danger: #F44336;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* === HEADER === */
.vip-header {
    background-color: var(--white);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.header-nav ul li a {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
}

.header-nav ul li a:hover {
    color: var(--primary-color);
}

/* === BURGER MENU === */
.burger-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .header-nav#desktopMenu {
        display: none;
    }
    .burger-menu-toggle {
        display: block;
    }
    .header-nav#mobileMenu.active {
        display: flex !important;
    }
}

/* === HERO SECTION === */
.vip-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004c8c 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.vip-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.vip-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* === LAYOUT & SECTIONS === */
.container, .content-section, .faq-section, .reviews-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.content-section {
    background: var(--white);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 2rem;
}

/* === CASINO TABLE === */
.comparison-block-xc {
    max-width: 1100px;
    margin: 0 auto 40px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.mi-table-header {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr 1fr 1.2fr;
    gap: 20px;
    padding: 15px 20px;
    background: #f0f4f8;
    font-weight: bold;
    color: var(--text-color);
    border-bottom: 2px solid #e0e0e0;
}

.iv-table-row {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr 1fr 1.2fr;
    gap: 20px;
    padding: 20px;
    align-items: center;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.iv-table-row:hover {
    background: #f9fbff;
}

.wh-casino-logo-wrapper {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    overflow: hidden;
    /* Contrast Fix: Add a light background to ensure dark logos are visible, or dark for light logos */
    background-color: rgba(0,0,0,0.03); 
    padding: 5px;
}

/* Dynamic Contrast Class - can be added by JS or PHP if needed */
.logo-bg-dark { background-color: rgba(0,0,0,0.8); }
.logo-bg-light { background-color: rgba(255,255,255,0.9); }

.celestial-advantages {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.yz-advantage-item {
    font-size: 0.9rem;
    color: #555;
}

.yz-advantage-item::before {
    content: "✓";
    color: var(--success);
    margin-right: 5px;
    font-weight: bold;
}

.celestial-rating {
    text-align: center;
}

.celestial-stars {
    color: var(--warning);
    letter-spacing: 2px;
}

.lt-bonus-highlight {
    text-align: center;
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.action-section-xt {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.aj-play-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--success);
    color: white;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
}

.aj-play-button:hover {
    background-color: #388E3C;
    color: white;
}

.gk-review-button {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .mi-table-header { display: none; }
    .iv-table-row {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
        position: relative;
    }
    .wh-casino-logo-wrapper { margin: 0 auto; }
    .celestial-advantages { align-items: center; }
}

/* === CONTENT STYLES === */
.content-text h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-text p {
    margin-bottom: 15px;
}

/* === REVIEWS & TESTIMONIALS === */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    gap: 15px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* === FAQ === */
.faq-item {
    background: var(--white);
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #eee;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: #f9f9f9;
    cursor: pointer;
    font-weight: 600;
}

.faq-answer {
    padding: 20px;
    display: none; /* Toggled by JS */
    border-top: 1px solid #eee;
}

/* === REVIEW PAGE === */
.review-page-container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
}

.review-header {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: center;
}

.review-logo {
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.payment-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.payment-icon-svg {
    width: 50px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px;
}

/* === FOOTER === */
.vip-footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* === COMPONENTS (INJECTED) === */
.injected-component {
    margin: 40px 0;
    padding: 20px;
    border-left: 4px solid var(--secondary-color);
    background: #fff5f5;
}

/* === IMAGE-TEXT BLOCKS === */
.image-text-block {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    align-items: flex-start;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.image-text-block .image-side {
    flex: 0 0 50%;
    max-width: 50%;
}

.image-text-block .image-side img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.image-text-block .image-side img:hover {
    transform: scale(1.02);
}

.image-text-block .text-side {
    flex: 0 0 50%;
    max-width: 50%;
}

.image-text-block .text-side p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444;
}

.image-text-block .text-side p:first-child {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* === INLINE REVIEWS BLOCK === */
.inline-reviews-block {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #fff 0%, #f5f7fa 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-left: 4px solid var(--secondary-color);
}

.inline-reviews-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

/* === RESPONSIVE: IMAGE-TEXT BLOCKS === */
@media (max-width: 768px) {
    .image-text-block {
        flex-direction: column !important;
        padding: 20px;
    }

    .image-text-block .image-side,
    .image-text-block .text-side {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .image-text-block .image-side {
        margin-bottom: 20px;
    }

    .inline-reviews-block {
        padding: 20px;
    }

    .inline-reviews-section .reviews-grid {
        grid-template-columns: 1fr !important;
    }
}
/* FAQ Accordion */
.faq-container { margin-top: 2rem; }
.faq-item { margin-bottom: 10px; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.faq-btn {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    background: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}
.faq-btn:hover { background: #f5f5f5; }
.faq-btn::after { content: '+'; font-size: 1.5rem; font-weight: 300; }
.faq-btn.active::after { content: '-'; }
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
}
.faq-body p, .faq-body ul { padding: 15px 20px; margin: 0; }

/* MOBILE-HEADER-FIX */
@media (max-width: 768px) {
    .vip-header { position: relative !important; z-index: auto !important; }
}

/* === MOBILE RESPONSIVE FIX === */
html,body{max-width:100vw!important;overflow-x:hidden!important}
img,video,iframe,embed,object{max-width:100%!important;height:auto}
table{max-width:100%!important}
.star-icon{width:20px!important;height:20px!important;display:inline-block!important}
.stars-container{display:flex!important;justify-content:center!important;gap:4px!important;flex-wrap:wrap!important}
.rating-container{text-align:center!important;max-width:300px!important;margin:1rem auto!important}
@media(max-width:768px){
.burger-menu,.mobile-menu-btn,[class*="burger"]{display:flex!important;flex-direction:column!important;justify-content:center!important;cursor:pointer!important}
.burger-menu span,.burger-icon,.burger-bar{display:block!important;width:25px!important;height:3px!important;margin:3px 0!important;border-radius:2px!important;transition:.3s!important}
}

/* === HIDE CASINO NAMES UNDER LOGOS === */
[class*="-casino-name"], .casino-name, .dl-casino-name, .cupertino-casino-name, .gb-casino-name { display: none !important; }

/* STICKY-FOOTER-IMG-FIX-V1 */
.sticky-footer-inner img{min-height:0!important}
