@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

:root { --primary: #bc13fe; --cyan: #00f0ff; --gold: #ffd700; }
body { margin: 0; padding: 0; background: #050505; color: white; font-family: 'Montserrat', sans-serif; overflow-x: hidden; }
#particles-js { position: fixed; width: 100%; height: 100%; z-index: -1; }
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; z-index: 9999; display: flex; justify-content: center; align-items: center; transition: 0.5s; }
.loader-logo { width: 70px; animation: pulse 1s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

.container { max-width: 480px; margin: 0 auto; padding: 15px; opacity: 0; transform: translateY(10px); transition: 0.5s; }
.container.loaded { opacity: 1; transform: translateY(0); }

header { text-align: center; margin-bottom: 25px; }
.logo-wrap { width: 110px; height: 110px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--primary); box-shadow: 0 0 15px var(--primary); overflow: hidden; }
.logo-img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-size: 34px; font-weight: 900; margin-top: 10px; color: #fff; text-shadow: 0 0 10px var(--primary); }
.fop-status { font-size: 10px; color: var(--cyan); margin-top: 5px; }

.btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 16px; margin-bottom: 10px; text-decoration: none; color: white; border-radius: 12px; font-weight: bold; font-size: 14px; box-sizing: border-box; transition: 0.2s; }
.btn-glow-blue { background: #0088cc; box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3); }
.btn-glow-red { background: #ff0000; box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3); }
.btn-glow-gold { background: #bf953f; box-shadow: 0 4px 15px rgba(191, 149, 63, 0.3); }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.btn-secondary { background: rgba(255,255,255,0.08); font-size: 13px; }

.credit-card { background: rgba(255,255,255,0.03); border: 1px dashed var(--gold); border-radius: 15px; padding: 15px; margin-top: 20px; }
.iban-box { cursor: pointer; }
.card-number { font-family: monospace; font-size: 12px; color: var(--gold); word-break: break-all; text-align: center; line-height: 1.4; letter-spacing: 0.5px; }
.tap-hint { font-size: 9px; color: #888; margin-top: 5px; text-align: center; }
.card-info { display: flex; justify-content: space-between; font-size: 10px; margin-top: 10px; color: #aaa; }

.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 25px; }
.product-card { background: #111; border-radius: 12px; overflow: hidden; border: 1px solid #222; display: flex; flex-direction: column; }
.product-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.product-info { padding: 8px; flex-grow: 1; display: flex; flex-direction: column; }
.p-name { font-weight: bold; font-size: 12px; height: 32px; overflow: hidden; margin-bottom: 4px; line-height: 1.3; }
.p-price { color: var(--gold); font-size: 16px; font-weight: 900; margin-bottom: 6px; }
.p-desc { font-size: 10px; color: #777; margin-bottom: 10px; height: 26px; overflow: hidden; }
.btn-buy { background: var(--primary); color: white; text-decoration: none; padding: 10px; text-align: center; border-radius: 8px; font-size: 11px; font-weight: bold; margin-top: auto; }

.legal-nav { margin-top: 30px; border-top: 1px solid #222; padding-top: 15px; display: flex; justify-content: center; gap: 20px; }
.legal-link { font-size: 10px; color: #666; text-transform: uppercase; cursor: pointer; }

/* MODAL FIX (CENTERED) */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); justify-content: center; align-items: center; }
.modal-content { max-width: 95%; max-height: 85%; object-fit: contain; border: 2px solid var(--primary); border-radius: 10px; }
.close-btn { position: absolute; top: 20px; right: 20px; color: #fff; font-size: 40px; }

#toast { visibility: hidden; min-width: 180px; background: var(--gold); color: black; text-align: center; border-radius: 50px; padding: 10px; position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); font-weight: bold; z-index: 3000; font-size: 12px; }
#toast.show { visibility: visible; }