:root {
    --bg-color: #1a1a1a;
    --bg-secondary: #252525;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --primary-color: #ff7a45;
    /* Orange accent */
    --primary-hover: #ff9266;
    --accent-blue: #3b82f6;
    --header-bg: #0f0f0f;
    --border-color: #333;
    --container-width: 1200px;
    --font-family: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-text {
    color: var(--text-muted);
}

.btn-text:hover {
    color: white;
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/*    <div class="slide" style="background-image: url('assets/hero_bonus.webp');"> */
/* Header */
.header {
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--header-bg);
}

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

.logo img {
    height: 70px;
    /* Adjust based on generated logo */
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    /* Hidden by default on desktop */
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
}

/* Category Nav */
.category-nav {
    background-color: var(--bg-secondary);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.category-list {
    display: flex;
    gap: 30px;
    justify-content: center;
    min-width: max-content;
}

.category-list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.category-list li.active a,
.category-list li a:hover {
    color: var(--text-color);
}

.category-list .icon {
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    /* Fallback gradient */
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    max-width: 50%;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.2;
}

.hero-content .terms {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
}

.hero-image {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Game Sections */
.game-section {
    padding: 40px 0;
}

.section-header {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header h2 {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    writing-mode: vertical-rl;
    /* Vertical text for category label on left if desired, or just icon */
    transform: rotate(180deg);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 100px;
    border-left: 2px solid var(--border-color);
    padding-left: 10px;
}

/* Resetting weird vertical text idea for now, sticking to horizontal header */
.section-header h2 {
    writing-mode: horizontal-tb;
    transform: none;
    height: auto;
    border: none;
    padding: 0;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 240px);
    gap: 20px;
    justify-content: center;
}

.game-card {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-thumb {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.game-card:hover .game-thumb img {
    transform: scale(1.1);
}

.game-info {
    padding: 10px;
}

.game-info .provider {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
}

.game-info h3 {
    font-size: 0.9rem;
    font-weight: 600;
}

/* SEO Content */
.seo-content {
    background-color: var(--bg-secondary);
    padding: 40px 0;
    color: var(--text-muted);
}

.seo-content h2,
.seo-content h3 {
    color: var(--text-color);
    margin-bottom: 15px;
}

.seo-content p,
.seo-content li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.seo-content ol {
    padding-left: 20px;
}

/* Footer */
.footer {
    background-color: #0f0f0f;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 150px;
}

.brand-col {
    flex: 2;
    min-width: 250px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.brand-col p {
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

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

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

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-middle {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 30px 0;
    margin-bottom: 30px;
    text-align: center;
}

.payment-methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.pay-icon {
    background-color: #fff;
    color: #333;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

.license-text {
    margin-bottom: 20px;
    line-height: 1.6;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge {
    background-color: #333;
    color: #aaa;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
}

.badge.warning {
    color: #ff4444;
    border: 1px solid #ff4444;
    background: transparent;
}

/* Responsive */
@media (max-width: 768px) {
    .header-right .btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .category-nav {
        display: none;
        position: absolute;
        top: 70px;
        /* Height of header */
        left: 0;
        width: 100%;
        background-color: var(--bg-secondary);
        z-index: 99;
        border-bottom: 1px solid var(--border-color);
        padding: 20px 0;
    }

    .category-nav.open {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .category-list {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0;
    }

    .category-list li {
        width: 100%;
        text-align: center;
    }

    .category-list li a {
        flex-direction: row;
        justify-content: center;
        font-size: 1.1rem;
        padding: 10px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Force 2 columns */
        gap: 10px;
    }

    .game-thumb {
        height: 100px;
        /* Smaller thumbs */
    }

    .game-info h3 {
        font-size: 0.8rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .brand-col {
        margin-bottom: 20px;
    }
}

/* Search Bar */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

#game-search {
    background-color: #333;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 8px 15px 8px 35px;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    width: 200px;
    transition: all 0.3s;
}

#game-search:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #444;
    width: 250px;
}

/* Modal */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--bg-secondary);
    margin: auto;
    padding: 0;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: white;
    text-decoration: none;
}

.modal-body {
    display: flex;
    flex-direction: row;
}

.modal-image {
    flex: 1;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h2 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.modal-provider {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-desc {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #ddd;
}

.modal-actions {
    display: flex;
    gap: 15px;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--text-muted);
    color: white;
}

.btn-secondary:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }

    .modal-image {
        height: 200px;
        min-height: auto;
    }

    .modal-info {
        padding: 20px;
    }

    #game-search {
        width: 150px;
    }

    #game-search:focus {
        width: 180px;
    }
}

/* --- Phase 1 Features --- */

/* Jackpot Counter */
.jackpot-section {
    background: linear-gradient(90deg, #1a0b00 0%, #4a2c00 50%, #1a0b00 100%);
    padding: 30px 0;
    text-align: center;
    border-bottom: 2px solid #ffd700;
    margin-bottom: 20px;
}

.jackpot-title {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.jackpot-amount {
    font-family: 'Courier New', monospace;
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Winners Ticker */
.winners-ticker {
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid #333;
}

.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
    padding-left: 100%;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.ticker-item {
    margin-right: 50px;
    font-size: 0.9rem;
}

.ticker-user {
    color: var(--primary-color);
    font-weight: bold;
}

.ticker-amount {
    color: #4caf50;
    font-weight: bold;
}

/* VIP Section */
.vip-section {
    padding: 60px 0;
    background-color: #fff;
    color: #333;
}

.vip-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

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

.vip-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: transform 0.3s;
}

.vip-card:hover {
    transform: translateY(-10px);
}

.vip-card.bronze {
    border-color: #cd7f32;
}

.vip-card.silver {
    border-color: #c0c0c0;
}

.vip-card.gold {
    border-color: #ffd700;
}

.vip-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.vip-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.vip-card ul {
    text-align: left;
    padding-left: 20px;
    list-style: disc;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: #f4f4f4;
    color: #333;
}

.faq-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #666;
}

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

.faq-item.active .icon {
    transform: rotate(45deg);
}

/* Payment Methods */
.footer-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 1;
    /* Override previous opacity */
}

.payment-method {
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
}

/* --- Phase 2 Features --- */

/* Daily Bonus */
.daily-bonus-section {
    padding: 40px 0;
    background-color: #fff;
}

.bonus-card {
    background: linear-gradient(135deg, #4a0e0e 0%, #800000 100%);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

.bonus-content {
    flex: 1;
    z-index: 2;
}

.bonus-label {
    color: #ffd700;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.bonus-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-family: serif;
}

.bonus-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
    max-width: 600px;
}

.bonus-icon {
    font-size: 6rem;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Tournament Section */
.tournament-section {
    padding: 60px 0;
    background-color: #2c0e0e;
    color: #fff;
}

.tournament-header {
    text-align: center;
    margin-bottom: 40px;
}

.tournament-header h2 {
    font-size: 2.5rem;
    color: #ffd700;
    font-family: serif;
    margin-bottom: 10px;
}

.tournament-timer {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #ffd700;
    border-radius: 5px;
    font-family: monospace;
    font-size: 1.2rem;
    margin-top: 15px;
}

.leaderboard {
    max-width: 800px;
    margin: 0 auto 40px auto;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.leaderboard-item.top-rank {
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 5px;
}

.rank {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
}

.top-rank .rank {
    background-color: #ffd700;
    color: #000;
}

.player {
    flex: 1;
    font-weight: bold;
    font-size: 1.1rem;
}

.points {
    color: #aaa;
    margin-right: 20px;
    font-size: 0.9rem;
}

.prize {
    color: #ffd700;
    font-weight: bold;
}

.tournament-action {
    text-align: center;
}

/* News Feed */
.news-section {
    padding: 60px 0;
    background-color: #f4f4f4;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header-row h2 {
    font-size: 2rem;
    color: #333;
    font-family: serif;
}

.view-all {
    color: var(--primary-color);
    font-weight: bold;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.news-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-date {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.news-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Reviews Section */
.reviews-section {
    padding: 60px 0;
    background-color: #fffaf0;
}

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

.review-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.review-stars {
    color: #ff7f00;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background-color: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.author-name {
    font-weight: bold;
    color: #333;
}

.author-role {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid #4caf50;
    max-width: 300px;
    transform: translateX(-150%);
    transition: transform 0.5s ease-out;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-message {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.toast-user {
    color: #ffd700;
    font-weight: bold;
}

.toast-amount {
    color: #4caf50;
    font-weight: bold;
    font-size: 1.1rem;
}

/* --- Phase 4 Features --- */

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 400px;
    /* Fixed height for slider */
    background: #000;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* Player Journey Map */
.player-journey-section {
    padding: 40px 0;
    background-color: #f0f0f0;
    border-bottom: 1px solid #ddd;
}

.journey-map {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    position: relative;
    padding: 20px 0;
    overflow-x: auto;
}

.level {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    min-width: 80px;
}

.level-node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ccc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.level.completed .level-node {
    background-color: var(--primary-color);
}

.level.active .level-node {
    background-color: #fff;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.2);
}

.level-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

.level.active .level-label {
    color: var(--primary-color);
}

.level-line {
    flex: 1;
    height: 4px;
    background-color: #ccc;
    margin: 0 10px;
    position: relative;
    top: -15px;
    /* Align with node center roughly */
    z-index: 1;
}

.level-line.completed {
    background-color: var(--primary-color);
}

.current-progress {
    position: absolute;
    top: -30px;
    background-color: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
}

.current-progress::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px 4px 0;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}

.journey-info {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-style: italic;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.badge {
    background-color: #333;
    color: #aaa;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    border: 1px solid #444;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    height: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid #ddd;
}

.chat-widget.open {
    display: flex;
}

.chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.chat-welcome {
    background-color: #e0e0e0;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #333;
}

.chat-input {
    padding: 10px;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.chat-input button {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.chat-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    /* Light background for contrast */
    color: #333;
}

.reviews-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.reviews-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

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

.review-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background-color: #eee;
    border: 2px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
}

.author-role {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}