/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    /* background: linear-gradient(135deg, rgb(170, 153, 0) 0%, rgb(170, 153, 0) 100%); */
    background-image: url(/img/fond.png);
    background-repeat: no-repeat;
    background-size:cover;
}

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

/* Color System */
:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --secondary: #14B8A6;
    --accent: #F97316;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --white: #FFFFFF;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1.5;
}

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

.btn-primary:hover {
    background: rgb(139, 37, 0);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgb(139, 37, 0);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.logo svg {
    color: red;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: rgb(0, 0, 0);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgb(0, 0, 0);
    border-radius: 1px;
}

.discord-btn {
    background: #5865F2;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.discord-btn:hover {
    background: #4752C4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.insta-btn {
    background: #91001f;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.modal-close svg {
    pointer-events: none;
}

.insta-btn:hover {
    background: #91001f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    /* background: linear-gradient(to bottom, #292600, rgb(0, 0, 0)); */
    color: var(--white);
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    /* background: linear-gradient(135deg, rgb(170, 153, 0) 0%, rgb(170, 153, 0) 100%); */
}

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

.stat-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.stat-label {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--white);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
}

/* Products Section */
.products {
    padding: 80px 0;
    /* background: linear-gradient(to top, #292600, rgb(170, 153, 0)); */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

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

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-badge.new {
    background: var(--success);
}

.product-badge.sale {
    background: var(--error);
}

.product-content {
    padding: 24px;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.product-description {
    color: var(--gray-600);
    margin-bottom: 12px;
    font-size: 14px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.stars {
    color: #FCD34D;
    font-size: 16px;
}

.rating-count {
    color: var(--gray-500);
    font-size: 14px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-original {
    font-size: 1.125rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-btn {
    width: 100%;
}

/* Shop Page */
.shop-hero {
    padding: 120px 0 60px;
    /* background: linear-gradient(to bottom, #292600, rgb(12, 12, 12)); */
    color: var(--white);
    text-align: center;
}

.shop-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.shop {
    padding: 60px 0;
}

.shop-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 500;
    color: var(--gray-700);
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    background: var(--white);
    color: var(--gray-700);
    min-width: 180px;
}

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

.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

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

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Social Section */
.social {
    padding: 60px 0;
    background: var(--gray-900);
    color: var(--white);
    text-align: center;
}

.social .section-title {
    color: var(--white);
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray-400);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

.footer-section ul li a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.contact-info p {
    color: var(--gray-400);
    margin-bottom: 8px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    color: var(--gray-400);
}

/* Product Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gray-100);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
}

.modal-close:hover {
    background: var(--gray-200);
    transform: scale(1.1);
}

.modal-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.modal-product-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

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

.modal-product-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.modal-product-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.modal-product-price .price-current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.modal-product-price .price-original {
    font-size: 1.5rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.modal-product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.modal-product-rating .stars {
    color: #FCD34D;
    font-size: 20px;
}

.modal-product-rating .rating-count {
    color: var(--gray-500);
    font-size: 16px;
}

.modal-product-description {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 16px;
}

.modal-product-features {
    margin-bottom: 32px;
}

.modal-product-features h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.modal-product-features ul {
    list-style: none;
    padding: 0;
}

.modal-product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.modal-product-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    font-size: 14px;
}

.modal-product-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.modal-product-actions .btn {
    flex: 1;
    min-width: 150px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav {
        height: 60px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats {
        padding: 60px 0;
    }
    
    .stats-grid {
        gap: 24px;
    }
    
    .stat-card {
        padding: 30px 24px;
    }
    
    .features {
        padding: 60px 0;
    }

    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 30px 24px;
    }
    
    .products {
        padding: 60px 0;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .products-grid,
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .shop-filters {
        flex-direction: column;
        gap: 16px;
    }
    
    .filter-group select {
        min-width: 100%;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {

    .nav-menu {
        display: none;
    }
    
    .discord-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .shop-hero-content h1 {
        font-size: 2.25rem;
    }
    
    .modal-product {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
    
    .modal-product-image img {
        height: 250px;
    }
    
    .modal-product-info h2 {
        font-size: 1.5rem;
    }
    
    .modal-product-actions {
        flex-direction: column;
    }
    
    .modal-product-actions .btn {
        min-width: auto;
    }
}

/* PANIER.HTML */

.cart-section {
    max-width: 800px;
    margin: 100px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.cart-item-title {
    font-weight: 500;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #f87171;
    font-weight: bold;
    cursor: pointer;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-btn {
    background-color: #10B981;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.checkout-btn:hover {
    background-color: #059669;
}

.cart-item-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 10px;
    vertical-align: middle;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

/* COMMANDE */

.order-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.order-popup-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    animation: popupFadeIn 0.3s ease;
}

.order-popup-content h2 {
    margin-bottom: 10px;
}

.order-id {
    font-size: 1.3em;
    font-weight: bold;
    color: #10B981;
    margin-bottom: 20px;
}

@keyframes popupFadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}