:root { --primary: #ff3e3e; --dark: #121212; --card: #1e1e1e; --text: #ffffff; --gold: #ffd700; }
body { font-family: 'Roboto', sans-serif; background-color: var(--dark); color: var(--text); margin: 0; padding-bottom: 0; }

nav { padding: 10px 20px; background: black; border-bottom: 2px solid var(--primary); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 50px; width: auto; border-radius: 5px; border: 2px solid white; background: white; }

.nav-icons { display: flex; gap: 15px; align-items: center; }
.icon-btn { background: #333; border: none; color: white; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.cart-badge { background: var(--primary); font-size: 0.8rem; padding: 2px 6px; border-radius: 10px; position: absolute; top: 10px; right: 15px; }

.hero { text-align: center; padding: 40px 20px; background: radial-gradient(circle, #2a2a2a 0%, #121212 100%); }
h1 { margin: 0; font-style: italic; text-transform: uppercase; } 
.section-title { text-align: center; margin: 40px 0 20px; font-family: 'Audiowide', cursive; color: var(--primary); text-transform: uppercase; }

.custom-zone { background: var(--card); margin: 15px; padding: 20px; border-radius: 15px; border: 1px solid #333; }
#sticker-preview { background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png'), linear-gradient(#222, #111); height: 120px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; border: 2px dashed #444; overflow: hidden; }
#preview-text { font-size: 2.5rem; white-space: nowrap; }
.controls input, .controls select { width: 100%; padding: 12px; margin-bottom: 15px; background: #333; border: none; color: white; border-radius: 5px; box-sizing: border-box; }

.btn-action { width: 100%; padding: 15px; background: var(--primary); color: white; border: none; border-radius: 5px; font-weight: bold; font-size: 1rem; cursor: pointer; transition: 0.2s;}
.btn-action:active { transform: scale(0.98); }
.btn-small { background: transparent; border: 1px solid var(--primary); color: white; padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; margin-top: 5px; cursor: pointer;}
.btn-disabled { border-color: #555; color: #555; cursor: not-allowed; }

.filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 10px; overflow-x: auto; padding: 0 10px; }
.filter-btn { background: #333; color: white; border: 1px solid #555; padding: 8px 15px; border-radius: 20px; font-size: 0.9rem; white-space: nowrap; cursor: pointer; transition: 0.3s; }
.filter-btn.active { background: var(--primary); border-color: var(--primary); font-weight: bold; }

.search-container { padding: 0 20px; margin-bottom: 20px; }
#search-input { width: 100%; padding: 12px; background: #222; border: 1px solid #444; color: white; border-radius: 25px; text-align: center; font-size: 1rem; outline: none; }
#search-input:focus { border-color: var(--primary); }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 15px; min-height: 200px; }
.product-card { background: var(--card); border-radius: 8px; overflow: hidden; text-align: center; padding-bottom: 10px; border: 1px solid #333; }
.product-card.mystery { border: 2px solid var(--gold); box-shadow: 0 0 15px rgba(255, 215, 0, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); } }

.product-img { width: 100%; height: 150px; object-fit: cover; background: #252525; display: block; }
.product-title { font-size: 0.9rem; margin: 10px 0 5px; font-weight: bold; }
.product-price { color: var(--primary); font-weight: bold; font-size: 1rem; }
.rating-display { font-size: 0.8rem; color: var(--gold); margin-bottom: 5px; }

.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 1000; align-items: center; justify-content: center; }
.modal-content { background: var(--card); padding: 25px; border-radius: 10px; width: 90%; max-width: 400px; border: 1px solid var(--primary); position: relative; max-height: 80vh; overflow-y: auto; }
.close-modal { position: absolute; top: 10px; right: 15px; font-size: 1.5rem; cursor: pointer; color: #aaa; z-index: 10; }

.points-card { background: linear-gradient(45deg, #000, #333); padding: 20px; border-radius: 10px; text-align: center; border: 1px solid var(--gold); margin-bottom: 20px; }
.points-val { font-size: 2.5rem; font-weight: bold; color: var(--gold); font-family: 'Orbitron'; }
.rank-badge { background: var(--gold); color: black; padding: 2px 8px; border-radius: 4px; font-weight: bold; font-size: 0.8rem; text-transform: uppercase; }

.referral-box { background: #222; padding: 10px; border-radius: 5px; margin-top: 10px; border: 1px dashed #555; }
.ref-code { font-family: 'Orbitron'; color: var(--primary); font-size: 1.2rem; letter-spacing: 2px; }

.order-history-item { border-bottom: 1px solid #333; padding: 10px 0; font-size: 0.9rem; }
.status-pill { padding: 2px 6px; border-radius: 4px; font-size: 0.7rem; float: right; }

.cart-item { display: flex; justify-content: space-between; border-bottom: 1px solid #333; padding: 10px 0; }
.btn-whatsapp { background: #25D366; color: white; width: 100%; padding: 15px; border: none; border-radius: 5px; font-weight: bold; margin-top: 15px; cursor: pointer; }

.promo-box { display: flex; gap: 5px; margin-top: 20px; }
.promo-box input { flex: 1; text-transform: uppercase; }
.promo-success { color: #25d366; font-size: 0.9rem; text-align: right; display: none; margin-top: 5px; }

#toast-box { visibility: hidden; min-width: 250px; background-color: #333; color: #fff; text-align: center; border-radius: 50px; padding: 16px; position: fixed; z-index: 2000; left: 50%; bottom: 30px; transform: translateX(-50%); box-shadow: 0px 4px 15px rgba(0,0,0,0.5); border: 1px solid var(--primary); font-weight: bold; opacity: 0; transition: opacity 0.5s, bottom 0.5s; }
#toast-box.show { visibility: visible; opacity: 1; bottom: 50px; }

/* ROULETTE */
.roulette-wrapper { width: 200px; height: 150px; margin: 20px auto; border: 4px solid var(--gold); border-radius: 10px; overflow: hidden; position: relative; background: #000; box-shadow: inset 0 0 20px #000; }
.roulette-track { width: 100%; }
.roulette-item { height: 100px; width: 100%; display: flex; align-items: center; justify-content: center; background: #222; border-bottom: 2px solid #111; }
.roulette-item img { max-height: 80px; max-width: 80px; object-fit: contain; }
.roulette-indicator { position: absolute; top: 50%; left: 0; width: 100%; height: 4px; background: red; transform: translateY(-50%); z-index: 5; box-shadow: 0 0 10px red; }
.mystery-result { display: none; animation: popIn 0.5s; text-align: center; }
@keyframes popIn { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* AVIS CLIENTS */
.review-item { border-bottom: 1px solid #333; padding: 10px 0; text-align: left; }
.review-header { display: flex; justify-content: space-between; font-size: 0.8rem; color: #888; margin-bottom: 5px; }
.star-input span { font-size: 2rem; color: #555; cursor: pointer; transition: 0.2s; }
.star-input span:hover, .star-input span.selected { color: var(--gold); }
.review-section { margin-top: 20px; border-top: 1px solid #444; padding-top: 20px; }

/* FOOTER & TEXTE */
footer { background-color: black; border-top: 4px solid var(--primary); padding: 40px 20px; margin-top: 50px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { color: #888; text-decoration: none; font-size: 0.9rem; cursor: pointer; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); text-decoration: underline; }

.legal-text { font-size: 0.85rem; color: #ccc; line-height: 1.6; text-align: left; }
.legal-text h3 { color: var(--primary); margin-top: 20px; border-bottom: 1px solid #333; padding-bottom: 5px; }
.accordion { background: #222; margin-bottom: 10px; border-radius: 5px; }
.accordion-header { padding: 15px; cursor: pointer; font-weight: bold; display: flex; justify-content: space-between; }
.accordion-content { display: none; padding: 15px; border-top: 1px solid #333; color: #ccc; font-size: 0.9rem; }
.accordion.open .accordion-content { display: block; }
