/* =============== VARIABLES =============== */
:root {
    --bg-app: #0B0E14; /* Fond général sombre */
    --card-dark: rgba(20, 25, 35, 0.85); /* Fond de la carte Hero */
    --card-white: rgba(20, 25, 35, 0.65); /* Fond des cartes "verre sombre" */
    
    --text-dark: #FFFFFF; /* Texte principal en blanc */
    --text-light: #FFFFFF;
    --text-muted: #A0AEC0; /* Texte gris clair */
    
    --accent-red: #4EA8FF; /* On remplace le rouge Forzer par le Bleu Beyond */
    --accent-blue: #3182CE;
    --accent-dark: #FFFFFF;
    
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-app);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 50px;
}

a { text-decoration: none; color: inherit; }

/* Image de fond floutée */
.bg-overlay {
    position: fixed;
    top: -5%; left: -5%; right: -5%; bottom: -5%;
    background-image: url('banner.png'); /* L'utilisateur mettra son image ici */
    background-size: cover;
    background-position: center;
    filter: blur(15px) brightness(0.6);
    z-index: -1;
}

/* =============== NAVIGATION =============== */
.top-nav {
    max-width: 1000px;
    margin: 20px auto;
    background: rgba(20, 25, 35, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 35px;
    border-radius: 50%;
}

.fallback-logo-nav {
    display: none;
    width: 35px; height: 35px;
    background: var(--accent-red);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    color: var(--accent-dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    transition: 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-dark);
}

.btn-connexion {
    background: var(--accent-dark);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    transition: 0.2s;
}

.btn-connexion:hover {
    background: #2D3748;
}

/* =============== MAIN WRAPPER =============== */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px; /* On augmente l'espacement (anciennement 20px) */
    padding: 0 20px;
}

/* Cartes Globales */
.card-dark {
    background: var(--card-dark);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: var(--text-light);
    overflow: hidden;
}

.page-view {
    display: flex;
    flex-direction: column;
    gap: 60px; /* C'est ICI qu'on gère l'espacement entre les bulles (cartes) */
}

.card-white {
    background: var(--card-white);
    backdrop-filter: blur(15px); /* Effet verre dépoli */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    padding: 40px;
}

/* =============== HERO SECTION =============== */
.hero-card {
    position: relative;
    padding-top: 60px;
    text-align: center;
}

/* Image de fond retirée du Hero pour éviter de la voir en double avec le body */
.hero-card::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px 40px 20px;
}

.hero-logo-box {
    width: 80px; height: 80px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fallback-logo-hero {
    display: none;
    font-size: 30px; font-weight: 800; color: var(--accent-red);
}

.badge-red {
    background: rgba(49, 130, 206, 0.2);
    color: var(--accent-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: -10px;
    color: white;
}

.text-red {
    color: var(--accent-red);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 900;
    color: rgba(255,255,255,0.1);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 14px;
    color: #A0AEC0;
    max-width: 500px;
    margin-bottom: 30px;
}

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

.btn-red {
    background: var(--accent-red);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}
.btn-red:hover { background: #2B6CB0; }

.btn-dark {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}
.btn-dark:hover { background: rgba(255,255,255,0.2); }

/* Stats en bas du Hero */
.hero-stats {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.stat-box {
    background: rgba(255,255,255,0.05);
    padding: 15px 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: white;
}

.stat-label {
    font-size: 9px;
    font-weight: 700;
    color: #A0AEC0;
    letter-spacing: 1px;
}

/* =============== FEATURES SECTION =============== */
.features-card {
    display: flex;
    justify-content: space-between;
    padding: 30px 40px;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.feat-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.blue-bg { background: rgba(49, 130, 206, 0.1); color: #3182CE; }
.red-bg { background: rgba(229, 62, 62, 0.1); color: #E53E3E; }
.dark-bg { background: rgba(26, 32, 44, 0.1); color: #1A202C; }

.feat-text h4 {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-dark);
}

.feat-text p {
    font-size: 11px;
    color: var(--text-muted);
}

/* =============== SECTIONS HEADER (Titres des blocs) =============== */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

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

.badge-red-text {
    font-size: 10px;
    font-weight: 800;
    color: var(--accent-red);
    letter-spacing: 1px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    color: var(--accent-dark);
    text-transform: uppercase;
}

.card-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 5px;
}

.btn-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.btn-link:hover { background: rgba(255, 255, 255, 0.2); }

/* =============== PRODUCT CARDS =============== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.prod-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.prod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.prod-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--accent-dark);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    z-index: 10;
}

.prod-img {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #CBD5E0;
    position: relative;
}

.prod-title-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px 15px 10px 15px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    text-align: right;
}

.prod-info {
    padding: 20px;
}

.prod-info h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 5px;
}

.prod-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.prod-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prod-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-red);
}

.prod-btn-arrow {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-weight: bold;
}

/* =============== WHY US & REVIEWS =============== */
.why-grid, .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.why-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; justify-content: center; align-items: center;
    font-size: 18px;
    margin-bottom: 20px;
}

.why-box h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 10px;
}

.why-box p {
    font-size: 13px;
    color: var(--text-muted);
}

.review-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-top h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-dark);
}

.stars {
    color: var(--accent-red);
    font-size: 12px;
}

.review-box p {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* =============== PAGE BOUTIQUE =============== */
.boutique-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.boutique-sidebar {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-dark);
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.boutique-main {
    flex-grow: 1;
}

.catalogue-section {
    padding: 40px;
}

/* Sidebar Widgets (Progress Bar & Buyers) */
.goal-container {
    padding: 10px 0;
}

.progress-track {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: var(--accent-blue);
    border-radius: 20px;
}

.progress-text {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.buyer-name-large {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-blue);
    text-align: center;
    padding: 10px 0;
}

.payments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.buyer-row {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.buyer-av {
    width: 30px; height: 30px;
    border-radius: 6px;
    display: flex; justify-content: center; align-items: center;
    color: white; font-weight: bold; font-size: 12px;
}

.buyer-n {
    font-size: 13px; font-weight: 700; color: var(--accent-dark);
}

/* =============== FOOTER =============== */
.main-footer {
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-box {
    width: 60px; height: 60px;
    background: transparent; 
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    margin-bottom: 15px; overflow: hidden;
}

.footer-logo-box img { width: 100%; height: 100%; object-fit: contain; }

.fallback-logo-footer { display: none; font-weight: bold; color: var(--accent-red); font-size: 24px;}

.footer-title {
    font-family: var(--font-heading);
    font-size: 18px; font-weight: 900; color: var(--accent-dark);
    margin-bottom: 5px;
}

.footer-copyright {
    font-size: 11px; color: var(--text-muted); margin-bottom: 20px;
}

.footer-links {
    display: flex; gap: 15px; margin-bottom: 20px;
}

.btn-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    transition: 0.2s;
}

.btn-pill:hover { background: rgba(255, 255, 255, 0.2); }

.footer-sub {
    font-size: 11px; color: var(--text-muted);
}

/* =============== MODALES (Copie de l'ancien pour garder la fonct.) =============== */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px);
    display: flex; justify-content: center; align-items: center; z-index: 1000;
}

.modal-content {
    background: var(--card-white); padding: 30px; border-radius: 12px;
    width: 90%; max-width: 400px; position: relative; text-align: center;
}

.close-modal { position: absolute; top: 15px; right: 20px; font-size: 24px; cursor: pointer; color: var(--text-muted); }

.modal-btn { display: block; width: 100%; padding: 12px; margin-bottom: 10px; border-radius: 8px; font-size: 14px; font-weight: 700; color: white;}
.tebex-btn { background: #2B9BEE; }
.discord-btn { background: #5865F2; }

.product-modal-content { max-width: 600px; text-align: left; padding: 0; overflow: hidden; }
.product-modal-header { padding: 30px; display: flex; justify-content: space-between; align-items: center; }
.product-modal-header h2 { font-size: 22px; font-weight: 800; color: var(--accent-dark); }
.modal-price { font-size: 20px; font-weight: 800; color: var(--accent-red); }
.product-modal-image { height: 250px; background-size: cover; background-position: center; margin: 0 30px; border-radius: 12px; }
.buy-btn { width: calc(100% - 60px); margin: 20px auto; background: var(--accent-red); text-transform: uppercase; text-align: center; }
.product-modal-desc { padding: 20px 30px 40px 30px; }
.product-modal-desc h4 { font-size: 16px; font-weight: 800; margin-bottom: 10px; border-bottom: 1px solid #E2E8F0; padding-bottom: 10px; }
.desc-text { font-size: 13px; color: var(--text-muted); }
/* =============== TIMELINE (CHANGELOG) =============== */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 28px;
    top: 20px;
    width: 26px;
    height: 26px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: white;
    box-shadow: 0 0 0 4px var(--bg-app);
    z-index: 2;
}

.timeline-content {
    padding: 30px;
    border-radius: var(--border-radius-md);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
}

.timeline-date {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.timeline-badge {
    display: inline-block;
    background: rgba(49, 130, 206, 0.2);
    color: var(--accent-blue);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 15px;
}

.timeline-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.timeline-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-blue);
}

/* =============== PARTENAIRES =============== */
.partners-card {
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.partner-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.2s;
}

.partner-link:hover .partner-box {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.partner-logo {
    width: 80px;
    height: 80px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 15px;
    background-color: transparent;
    border-radius: 12px;
}

.partner-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 5px;
}

.partner-fonda {
    font-size: 11px;
    color: var(--text-muted);
}

/* =============== RESPONSIVE =============== */
@media (max-width: 900px) {
    .features-card { flex-direction: column; }
    .why-grid, .reviews-grid { grid-template-columns: 1fr; }
    .boutique-layout { flex-direction: column; }
    .boutique-sidebar { width: 100%; }
}
