/* ===== VARIABLES ===== */
:root {
    /* Couleurs basées sur votre logo rouge/rose */
    --primary: #E31E24;
    --primary-dark: #B71518;
    --secondary: #E91E63;
    --secondary-light: #FF4081;
    
    --gradient-primary: linear-gradient(135deg, #E31E24 0%, #E91E63 100%);
    --gradient-secondary: linear-gradient(135deg, #E91E63 0%, #FF4081 100%);
    
    --background: #0A0E1A;
    --background-light: #141829;
    --surface: #1E2333;
    --surface-light: #282D42;
    
    --text-primary: #FFFFFF;
    --text-secondary: #A0A3B1;
    --border: rgba(227, 30, 36, 0.2);
    
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 15px 40px rgba(227, 30, 36, 0.4);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo img {
    width: 45px;
    height: 45px;
    filter: drop-shadow(0 0 20px rgba(227, 30, 36, 0.5));
}

.logo .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(227, 30, 36, 0.5);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface-light);
    border-color: var(--primary);
}

.btn-discord {
    background: #5865F2;
    color: white;
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

.btn-boutique {
    background: var(--gradient-primary);
    color: white;
}

.btn-boutique:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(227, 30, 36, 0.5);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(227, 30, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(233, 30, 99, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.hero-logo img {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    filter: drop-shadow(0 0 40px rgba(227, 30, 36, 0.6));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 400;
}

.hero-description {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 40px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 16px 40px;
    font-size: 16px;
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 80px 0;
    background: var(--background-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.2);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(227, 30, 36, 0.1);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(227, 30, 36, 0.2);
}

.service-card.popular {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.05) 0%, rgba(233, 30, 99, 0.05) 100%);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-icon {
    font-size: 56px;
    margin-bottom: 25px;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

.service-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-features li:last-child {
    border-bottom: none;
}

.feature-highlight {
    color: var(--primary) !important;
    font-weight: 600;
}

.service-price {
    font-size: 36px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--background) 0%, var(--background-light) 100%);
}

.page-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

/* ===== FILTERS ===== */
.filters-section {
    padding: 40px 0;
    background: var(--background-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    background: var(--surface-light);
    color: var(--text-primary);
    border-color: var(--primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(227, 30, 36, 0.2);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--background);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid var(--border);
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.product-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.product-price {
    font-size: 28px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background);
    color: var(--text-primary);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.product-modal-content {
    padding: 50px;
}

.product-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-modal-image {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.product-modal-category {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(227, 30, 36, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.product-modal-info h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
}

.product-modal-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 16px;
}

.product-modal-price {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
}

.product-modal-actions {
    display: flex;
    gap: 15px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--background-light);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 900;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 15px rgba(227, 30, 36, 0.5));
}

.footer-text {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .services-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .header-buttons {
        gap: 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .product-modal-grid {
        grid-template-columns: 1fr;
    }
    
    .product-modal-content {
        padding: 30px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .page-title {
        font-size: 36px;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.service-card,
.stat-card {
    animation: fadeIn 0.6s ease forwards;
}
