/* RESET CSS & DESIGN GREC MODERNE */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    color: #ffffff;
}

/* Motif de fond avec des formes géométriques */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 102, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 179, 102, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(255, 102, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Motif de points subtil */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}
.header-main {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo-img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}
.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FF6600;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}
.login-btn {
    background: #FF6600;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    padding: 0.6rem 1.7rem;
    font-size: 1.08rem;
    margin-left: 2rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(255,140,0,0.08);
}
.login-btn:hover {
    background: #FFB366;
    color: #FF6600;
    transform: translateY(-2px) scale(1.04);
}
.nav-cart {
    margin-left: 1rem;
}
.cart-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    backdrop-filter: blur(10px);
}
.cart-btn:hover {
    background: rgba(255, 102, 0, 0.2);
    border-color: #FF6600;
    color: #FF6600;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.2);
}
.cart-count {
    background: #FF6600;
    color: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    position: absolute;
    top: -5px;
    right: -5px;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}
.hero-banner {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 8rem 0 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 102, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-banner-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero-slogan {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    background: linear-gradient(135deg, #FF6600 0%, #FF8533 100%);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.4);
    background: linear-gradient(135deg, #FF8533 0%, #FF6600 100%);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FF6600;
    color: #FF6600;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.2);
}

.shop-section {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 3rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF6600, #FF8533);
    border-radius: 2px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6600, #FF8533);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 102, 0, 0.3);
}

.category-icon {
    width: 24px;
    height: 24px;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
    border-radius: 0;
}

.category-btn:hover .category-icon,
.category-btn.active .category-icon {
    opacity: 1;
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(0deg);
    transform: scale(1.1);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.category-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.2rem 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(20px);
    position: relative;
    min-width: 160px;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.2) 0%, rgba(255, 133, 51, 0.1) 100%);
    border-color: rgba(255, 102, 0, 0.5);
    color: #FF6600;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.3);
}

.category-btn.active {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.3) 0%, rgba(255, 133, 51, 0.2) 100%);
    border-color: #FF6600;
    color: #FF6600;
    box-shadow: 0 15px 45px rgba(255, 102, 0, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.category-icon {
    width: 28px;
    height: 28px;
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(0) invert(1);
    border-radius: 0;
}

.category-btn:hover .category-icon,
.category-btn.active .category-icon {
    opacity: 1;
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(0deg);
    transform: scale(1.2) rotate(5deg);
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.product-features .feature {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
    word-wrap: break-word;
    white-space: normal;
    display: block;
    width: 100%;
}

.product-features .feature::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FF6600;
    font-weight: bold;
    top: 0;
    font-size: 1.2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}
.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6600, #FF8533);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.product-card:hover::before {
    transform: scaleX(1);
}
.product-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 102, 0, 0.3);
}
.product-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #FF6600, #FF8533);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
    transition: all 0.3s ease;
}
.product-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.4);
}
.product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.product-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.product-price {
    font-size: 2rem;
    font-weight: 800;
    color: #FF6600;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}
.product-price::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.3), transparent);
    transform: translateY(-50%);
}
.add-to-cart {
    background: linear-gradient(135deg, #FF6600, #FF8533);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
}
.add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}
.add-to-cart:hover::before {
    left: 100%;
}
.add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.4);
    background: linear-gradient(135deg, #FF8533, #FF6600);
}
/* Style pour le bouton add-to-cart-btn utilisé dans le JavaScript */
.add-to-cart-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FFB366, #FF8C00);
    color: #FF6600;
    font-weight: 900;
    border: none;
    border-radius: 18px;
    padding: 0.9rem 2.2rem;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255,215,0,0.3);
    cursor: pointer;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}
.add-to-cart-btn:hover::before {
    left: 100%;
}
.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #FF6600, #FF8C00);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(255,140,0,0.3);
}
/* Panier & modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}
.modal-content {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    margin: 5% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.close-btn:hover {
    background: rgba(255, 102, 0, 0.2);
    border-color: #FF6600;
    color: #FF6600;
    transform: scale(1.1);
}
.cart-section, .payment-section, #player-form {
    margin-bottom: 2rem;
}
.cart-section h3, .payment-section h3, #player-form h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid rgba(255, 102, 0, 0.3);
    padding-bottom: 0.5rem;
}
.cart-items {
    max-height: 300px;
    overflow-y: auto;
}

/* Styles pour les éléments du panier */
.cart-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.cart-item-info {
    flex-grow: 1;
    margin-right: 1rem;
}

.cart-item-name {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: #FF6600;
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-controls button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-item-controls button:hover {
    background: rgba(255, 102, 0, 0.2);
    border-color: #FF6600;
    color: #FF6600;
}

.cart-item-controls .remove-btn {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

.cart-item-controls .remove-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff6b6b;
    color: #ffffff;
}

.cart-total {
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: #FF6600;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.form-group label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.form-group input:focus {
    outline: none;
    border-color: #FF6600;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}
/* Séparateur de paiement */
.payment-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}
.payment-divider::before,
.payment-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}
.payment-divider::before {
    left: 0;
}
.payment-divider::after {
    right: 0;
}
.payment-divider span {
    background: rgba(26, 26, 46, 0.95);
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}
/* Bouton Stripe */
.stripe-payment-btn {
    background: linear-gradient(135deg, #FF6600, #FF8533);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
    width: 100%;
    text-align: center;
}
.stripe-payment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}
.stripe-payment-btn:hover::before {
    left: 100%;
}
.stripe-payment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.4);
    background: linear-gradient(135deg, #FF8533, #FF6600);
}

/* Styles pour les notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 24px rgba(255,140,0,0.25);
    border: 2px solid #FFB366;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
        align-items: center;
    gap: 0.8rem;
    max-width: 400px;
}

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

.notification.success {
    border-color: #28a745;
}

.notification.error {
    border-color: #dc3545;
}

.notification.info {
    border-color: #17a2b8;
}

.notification i {
    font-size: 1.2rem;
}

.notification.success i {
    color: #28a745;
    }

.notification.error i {
    color: #dc3545;
}

.notification.info i {
    color: #17a2b8;
}

.notification span {
    color: #1a233a;
    font-weight: 600;
    }

@media (max-width: 1100px) {
    .header-content { flex-direction: column; gap: 1rem; }
    .main-nav { width: 100%; justify-content: center; }
    .products-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 900px) {
    .header-content, .main-navbar { padding: 0.7rem 0.5rem; }
    .products-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 1rem; }
    .shop-section { padding: 3rem 0; }
}
@media (max-width: 700px) {
    .header-content, .main-nav-content { flex-direction: column; gap: 1rem; }
    .nav-menu { gap: 0.7rem; }
    .site-title { font-size: 1.1rem; }
    .modal-content { padding: 2rem 1.5rem; }
    .hero-title { font-size: 2rem; }
    .hero-banner { padding: 2.2rem 0 1.5rem 0; }
    .section-title { font-size: 2rem; }
    .product-card { padding: 2rem 1.5rem; min-height: 280px; }
    .category-filters { gap: 0.8rem; }
    .category-btn { 
        padding: 0.6rem 1.4rem; 
        font-size: 0.9rem; 
        min-width: 100px;
        gap: 0.3rem;
    }
    .category-icon {
        width: 16px;
        height: 16px;
    }
    
    /* Styles responsifs pour les images hero */
    .hero-title-image {
        margin: 1rem 0;
    }
    
    .custom-title-image {
        max-height: 150px;
        border-radius: 10px;
    }
    
    .hero-buttons-image {
        margin-top: 1.5rem;
    }
    
    .custom-buttons-image {
        max-height: 120px;
        border-radius: 10px;
    }
}

/* Styles pour les messages de vérification des joueurs */
.player-check-error,
.player-check-success {
    border-radius: 8px;
    padding: 12px 16px;
    margin: 12px 0;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.player-check-error {
    color: #d32f2f;
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    border: 2px solid #f44336;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.2);
}

.player-check-error::before {
    content: '⚠️';
    margin-right: 8px;
    font-size: 16px;
}

.player-check-success {
    color: #2e7d32;
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border: 2px solid #4caf50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.player-check-success::before {
    content: '✅';
    margin-right: 8px;
    font-size: 16px;
}

.player-check-error:hover,
.player-check-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Animation d'apparition */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.player-check-error,
.player-check-success {
    animation: slideInFromTop 0.3s ease-out;
}

/* Responsive pour les messages de vérification */
@media (max-width: 600px) {
    .player-check-error,
    .player-check-success {
        font-size: 13px;
        padding: 10px 12px;
        margin: 8px 0;
    }
}

/* Image personnalisée sous le titre */
.hero-title-image {
    margin: 1.5rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.custom-title-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    max-height: 200px;
    object-fit: contain;
}

.custom-title-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Image personnalisée sous les boutons */
.hero-buttons-image {
    margin-top: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.custom-buttons-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    max-height: 150px;
    object-fit: contain;
}

.custom-buttons-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Header background image */
.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.header-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(3px);
    transform: scale(1.1);
}

/* Combat image in hero section */
.hero-combat-image {
    margin: 2rem auto;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.combat-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.combat-image:hover {
    transform: scale(1.02);
}

/* Rank images in product cards */
.rank-image-container {
    margin: 1rem 0;
    text-align: center;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rank-image {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(255, 140, 0, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.product-card:hover .rank-image {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(255, 140, 0, 0.5));
}

/* Ranks preview */
.ranks-preview {
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ranks-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.2);
}

/* Crate preview in kits category */
.kits-preview {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
    z-index: 2;
}

.crate-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(255, 140, 0, 0.3));
}

.category-btn:hover .kits-preview {
    transform: translateX(-50%) translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-combat-image {
        max-width: 90%;
        margin: 1.5rem auto;
    }
    
    .rank-image-container {
        padding: 0.75rem;
    }
    
    .rank-image {
        max-height: 60px;
    }
    
    .ranks-preview {
        margin: 1rem auto;
        padding: 0.5rem;
    }
    
    .kits-preview {
        width: 60px;
        height: 60px;
        bottom: -45px;
    }
}

/* World showcase section */
.world-showcase {
    width: 100%;
    height: 500px;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.world-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.world-showcase:hover .world-image {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .world-showcase {
        height: 300px;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .world-showcase {
        height: 200px;
        margin-top: 1.5rem;
    }
}

/* Section Grades */
.ranks-section {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ranks-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ranks-category {
    margin-bottom: 3rem;
}

.ranks-category-title {
    color: #FF6600;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.rank-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.rank-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow: 0 15px 35px rgba(255, 102, 0, 0.2);
}

.rank-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rank-price {
    font-size: 2rem;
    font-weight: 800;
    color: #FF6600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.commands-list {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.command-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    line-height: 1.5;
}

.advantages-table {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.advantage-row {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.advantage-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.advantage-row.header {
    background: rgba(255, 102, 0, 0.2);
    font-weight: 700;
    color: #FF6600;
}

.advantage-name {
    flex: 1;
    padding: 1rem 1.5rem;
    color: #ffffff;
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-values {
    display: flex;
    flex: 1;
}

.advantage-values span {
    flex: 1;
    padding: 1rem 0.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-values span:last-child {
    border-right: none;
}

.advantage-row.header .advantage-values span {
    color: #FF6600;
    font-weight: 700;
}

/* Section Points Boutique */
.points-section {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.points-info {
    text-align: center;
    margin-bottom: 3rem;
}

.points-rate {
    font-size: 1.3rem;
    color: #FF6600;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.points-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.points-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6600, #FF8533);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.points-card:hover::before {
    transform: scaleX(1);
}

.points-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 102, 0, 0.3);
}

.points-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF6600;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.points-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.points-btn {
    background: linear-gradient(135deg, #FF6600, #FF8533);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
    cursor: pointer;
}

.points-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.points-btn:hover::before {
    left: 100%;
}

.points-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.4);
    background: linear-gradient(135deg, #FF8533, #FF6600);
}

/* Responsive pour les tableaux */
@media (max-width: 768px) {
    .advantage-row {
        flex-direction: column;
    }
    
    .advantage-name {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .advantage-values {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .advantage-values span {
        flex: 1;
        min-width: 80px;
    }
    
    .ranks-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .points-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
} 