.header{background-color:#fff;border-bottom:1px solid rgba(226,232,240,.8);padding:.75rem 0;position:sticky;top:0;z-index:1000;width:100%}.header-container{max-width:1200px;margin:0 auto;padding:0 2rem;display:flex;justify-content:space-between;align-items:center;gap:1.5rem}.header-left{display:flex;align-items:center;gap:1rem}.brand-text{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:.25rem .5rem;background:linear-gradient(135deg,#6fb6f7,#4a8ddf);border-radius:999px;box-shadow:0 8px 18px #4a8ddf59}.brand-text span{font-size:clamp(1.4rem,4vw,2.2rem);font-weight:800;letter-spacing:.4rem;color:#fff;font-family:Montserrat,Poppins,Segoe UI,sans-serif;text-shadow:2px 2px 6px rgba(0,0,0,.25)}.header-right{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;justify-content:flex-end}.account-details{display:flex;align-items:center;gap:1rem}.account-compact{display:none}.compact-icon{width:36px;height:36px;border-radius:999px;border:2px solid #2563eb;color:#2563eb;display:inline-flex;align-items:center;justify-content:center;font-size:1rem;font-weight:600}.compact-icon svg{width:20px;height:20px}.compact-balance{font-size:1rem;font-weight:600;color:#0f172a}.mobile-toggle{border:none;background:#e2e8f0;width:34px;height:34px;border-radius:8px;display:none;align-items:center;justify-content:center;cursor:pointer}.mobile-toggle .chevron{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #475569;transition:transform .2s ease}.header-right.mobile-details-open .mobile-toggle .chevron{transform:rotate(180deg)}.deposit-button.mobile-only{display:none}.deposit-button.desktop-only{display:inline-flex}.user-contact{display:flex;align-items:center;gap:.5rem;color:#1f2937}.user-email{font-size:.95rem;color:#374151}.user-email.clickable{cursor:pointer;transition:color .2s}.user-email.clickable:hover{color:#2563eb}.settings-button{border:none;background:#f1f5f9;color:#475569;width:32px;height:32px;border-radius:8px;cursor:pointer;font-size:1rem;display:inline-flex;align-items:center;justify-content:center;transition:background .2s ease}.settings-button:hover{background:#e2e8f0}.header-divider{width:1px;height:32px;background:#94a3b880}.balance-card{display:flex;flex-direction:column;align-items:flex-end;line-height:1.2}.wallet-label{font-size:.8rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}.wallet-amount{font-size:1.1rem;font-weight:700;color:#16a34a}.deposit-button{background-color:#2563eb;color:#fff;border:none;padding:.5rem 1.25rem;border-radius:999px;cursor:pointer;font-size:.9rem;font-weight:600;transition:box-shadow .2s ease,transform .2s ease,background .2s ease}.deposit-button:hover{box-shadow:0 8px 18px #2563eb40;transform:translateY(-1px)}.nav-link{color:#1f2937;text-decoration:none;font-weight:500;padding:.5rem 1rem;border-radius:999px;transition:background-color .2s,color .2s}.nav-link:hover{background-color:#f1f5f9}.nav-link.primary{background-color:#2563eb;color:#fff}.nav-link.primary:hover{background-color:#1d4ed8}@media(max-width:768px){.header-container{padding:0 1rem;flex-wrap:wrap}.header-left{width:100%}.header-right{width:100%;flex-direction:column;align-items:stretch;gap:.5rem}.account-compact{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.6rem .9rem;border:1px solid #dbeafe;border-radius:999px;background:#f8fbff}.deposit-button.mobile-only{display:inline-flex;flex-shrink:0;padding:.35rem 1.1rem;align-items:center;justify-content:center;background:linear-gradient(135deg,#1d4ed8,#38bdf8);margin-top:0;margin-bottom:0}.mobile-toggle{display:inline-flex}.account-details{display:none;width:100%;flex-direction:column;gap:.75rem;padding:.9rem 1rem;border-radius:12px;border:1px solid #e2e8f0;background:#f8fafc}.header-right.mobile-details-open .account-details{display:flex}.header-divider{width:100%;height:1px;background:#94a3b866}.account-details .header-divider,.account-details .balance-card{display:none}.balance-card{align-items:flex-start}.deposit-button.desktop-only{display:none}.user-contact,.balance-card{width:100%;justify-content:space-between}}.product-item{background:#fff;border-radius:16px;padding:1rem;box-shadow:0 2px 12px #87ceeb26;transition:all .3s ease;border:1px solid #e0f2fe;display:flex;flex-direction:column;gap:1rem}.product-item:hover{transform:translateY(-4px);box-shadow:0 8px 24px #87ceeb40;border-color:#87ceeb}.product-thumb{width:100%;aspect-ratio:1;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#b0e0e6,#87ceeb,orange);display:flex;align-items:center;justify-content:center}.product-thumb img{width:100%;height:100%;object-fit:cover}.product-content{display:flex;flex-direction:column;gap:.75rem}.product-name{margin:0;font-size:1.1rem;font-weight:600;color:#1e3a5f;line-height:1.4}.product-price-section{display:flex;flex-direction:column;gap:.25rem;padding:.75rem;background:linear-gradient(135deg,#e0f7ff,#ffe5b4);border-radius:8px;border:1px solid #ffd89b}.price-label{font-size:.85rem;color:#4a5568;font-weight:500}.price-value{font-size:1.3rem;font-weight:700;color:#ff6b35;background:linear-gradient(135deg,#ff6b35,orange);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.purchase-btn{padding:.75rem 1.5rem;background:linear-gradient(135deg,#87ceeb,orange);color:#fff;border:none;border-radius:10px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .3s ease;margin-top:.25rem;box-shadow:0 2px 8px #87ceeb4d}.purchase-btn:hover{transform:scale(1.02);box-shadow:0 4px 16px #ffa50066;background:linear-gradient(135deg,#6bb6ff,#ff8c00)}.purchase-btn:active{transform:scale(.98)}@media(max-width:768px){.product-item{padding:.875rem}.product-name{font-size:1rem}.price-value{font-size:1.2rem}}.product-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;padding:2rem 0}.product-list-empty{text-align:center;padding:4rem 2rem;color:#4a5568;font-size:1.1rem}@media(max-width:1024px){.product-list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.25rem}}@media(max-width:768px){.product-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem;padding:1.5rem 0}}@media(max-width:480px){.product-list{grid-template-columns:1fr;gap:1rem}}@media(min-width:769px){.product-list:has(>*:nth-child(-n+3):last-child){justify-items:center}}.promotion-banner{display:block;text-decoration:none;margin-bottom:2rem}.banner-content{background:linear-gradient(135deg,#87ceeb,#b0e0e6,orange);border-radius:20px;padding:2rem;position:relative;overflow:hidden;box-shadow:0 4px 20px #87ceeb4d;transition:all .3s ease;cursor:pointer}.promotion-banner:hover .banner-content{transform:translateY(-4px);box-shadow:0 8px 30px #ffa50066}.banner-text{position:relative;z-index:2}.banner-title{margin:0 0 .5rem;font-size:2rem;font-weight:700;color:#1e3a5f;text-shadow:0 2px 4px rgba(255,255,255,.5)}.banner-subtitle{margin:0 0 1rem;font-size:1.1rem;color:#2d4a6b;font-weight:500}.banner-cta{display:inline-block;background:#ffffffe6;color:#ff6b35;padding:.75rem 1.5rem;border-radius:25px;font-weight:700;font-size:1rem;transition:all .3s ease;box-shadow:0 2px 8px #0000001a}.promotion-banner:hover .banner-cta{background:#fff;transform:translate(5px);box-shadow:0 4px 12px #0003}.banner-decoration{position:absolute;top:0;right:0;width:200px;height:200px;pointer-events:none}.decoration-circle{position:absolute;border-radius:50%;background:#fff3;animation:float 3s ease-in-out infinite}.decoration-circle:nth-child(1){width:80px;height:80px;top:-20px;right:-20px;animation-delay:0s}.decoration-circle:nth-child(2){width:60px;height:60px;top:40px;right:20px;animation-delay:1s}.decoration-circle:nth-child(3){width:100px;height:100px;top:100px;right:-30px;animation-delay:2s}@keyframes float{0%,to{transform:translateY(0) rotate(0);opacity:.3}50%{transform:translateY(-20px) rotate(180deg);opacity:.5}}@media(max-width:768px){.banner-content{padding:1.5rem}.banner-title{font-size:1.5rem}.banner-subtitle{font-size:1rem}.banner-decoration{width:150px;height:150px}}@media(max-width:480px){.banner-content{padding:1.25rem}.banner-title{font-size:1.25rem}.banner-subtitle{font-size:.9rem}}.purchase-modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .2s ease-in}.purchase-modal-content{background:#fff;border-radius:12px;padding:24px;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 4px 20px #00000026;animation:slideUp .3s ease-out}.purchase-modal-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.purchase-icon{font-size:32px}.purchase-title{margin:0;font-size:20px;font-weight:600;color:#333}.purchase-modal-body{margin-bottom:20px}.purchase-message{font-size:16px;line-height:1.6;color:#555;margin-bottom:16px}.purchase-details{background-color:#f9f9f9;border-radius:8px;padding:16px;margin-top:16px}.detail-item{margin-bottom:12px;font-size:14px;line-height:1.5}.detail-item:last-child{margin-bottom:0}.detail-item strong{color:#333;margin-right:8px}.code-value{font-family:monospace;font-size:16px;font-weight:700;color:#06c;background-color:#e3f2fd;padding:4px 8px;border-radius:4px}.detail-item.shortage{color:#d32f2f;font-weight:600}.purchase-modal-footer{display:flex;justify-content:flex-end;gap:12px}.purchase-btn{padding:10px 24px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.purchase-btn-primary{background-color:#1976d2;color:#fff}.purchase-btn-primary:hover{background-color:#1565c0}.purchase-modal-success{border-left:4px solid #4caf50}.purchase-modal-error{border-left:4px solid #f44336}.purchase-modal-warning{border-left:4px solid #ff9800}.purchase-modal-info{border-left:4px solid #2196f3}@media(max-width:600px){.purchase-modal-content{padding:20px;width:95%}.purchase-title{font-size:18px}.purchase-message{font-size:14px}}.confirm-purchase-modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1001;animation:fadeIn .2s ease-in}.confirm-purchase-modal-content{background:#fff;border-radius:12px;padding:24px;max-width:500px;width:90%;box-shadow:0 4px 20px #00000026;animation:slideUp .3s ease-out}.confirm-purchase-modal-header{margin-bottom:20px}.confirm-purchase-title{margin:0;font-size:20px;font-weight:600;color:#333}.confirm-purchase-modal-body{margin-bottom:24px}.confirm-purchase-message{font-size:16px;line-height:1.6;color:#555;margin-bottom:16px}.confirm-purchase-details{background-color:#f9f9f9;border-radius:8px;padding:16px;margin-top:16px}.detail-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:14px}.detail-row:last-child{margin-bottom:0}.detail-label{color:#666;font-weight:500}.detail-value{color:#333;font-weight:600}.detail-value.price{color:#1976d2;font-size:16px}.detail-value.negative{color:#d32f2f}.confirm-purchase-modal-footer{display:flex;justify-content:flex-end;gap:12px}.confirm-purchase-btn{padding:10px 24px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.confirm-purchase-btn:disabled{opacity:.6;cursor:not-allowed}.confirm-purchase-btn-cancel{background-color:#f5f5f5;color:#333}.confirm-purchase-btn-cancel:hover:not(:disabled){background-color:#e0e0e0}.confirm-purchase-btn-confirm{background-color:#1976d2;color:#fff}.confirm-purchase-btn-confirm:hover:not(:disabled){background-color:#1565c0}@media(max-width:600px){.confirm-purchase-modal-content{padding:20px;width:95%}.confirm-purchase-title{font-size:18px}.confirm-purchase-message{font-size:14px}.detail-row{font-size:13px}}.home{min-height:calc(100vh - 80px);padding:2rem 0;background:linear-gradient(180deg,#f0f9ff,#fff)}.page-header{text-align:center;margin-bottom:2rem}.page-header h1{font-size:2.5rem;font-weight:700;background:linear-gradient(135deg,#1e3a5f,#ff6b35);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0 0 .5rem}.subtitle{font-size:1.1rem;color:#4a5568;margin:0}.network-filter{margin-bottom:2rem;padding:1.5rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014}.filter-label{font-size:.95rem;font-weight:600;color:#4a5568;margin-bottom:1rem;display:block}.filter-btn{padding:.625rem 1.25rem;font-size:.9375rem;font-weight:500;color:#4a5568;background:#f7fafc;border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .3s ease;white-space:nowrap}.filter-btn:hover{background:#edf2f7;border-color:#cbd5e0;transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.filter-btn.active{background:linear-gradient(135deg,#1e3a5f,#ff6b35);color:#fff;border-color:transparent;box-shadow:0 4px 12px #1e3a5f4d}.filter-btn.active:hover{transform:translateY(-2px);box-shadow:0 6px 16px #1e3a5f66}.no-products{text-align:center;padding:3rem 2rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014}.no-products p{font-size:1.1rem;color:#718096;margin:0}@media(max-width:768px){.home{padding:1.5rem 0}.page-header h1{font-size:2rem}.subtitle{font-size:1rem}.network-filter{padding:1rem}.filter-buttons{gap:.5rem}.filter-btn{padding:.5rem 1rem;font-size:.875rem}}@media(max-width:480px){.page-header h1{font-size:1.75rem}}.auth-page{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;padding:20px;position:relative}.auth-page:before{content:"";position:absolute;inset:0;background:url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');opacity:.3;pointer-events:none}.auth-container{width:100%;max-width:450px;position:relative;z-index:1}.auth-card{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;padding:40px;width:100%;box-sizing:border-box;animation:fadeInUp .5s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.auth-card h1{font-size:32px;font-weight:700;color:#1a1a1a;margin:0 0 8px;text-align:center}.auth-subtitle{color:#6b7280;font-size:14px;text-align:center;margin:0 0 32px}.auth-form{display:flex;flex-direction:column;gap:20px}.form-group input{padding:14px 16px;border:2px solid #e5e7eb;border-radius:8px;font-size:15px;transition:all .2s;background:#fff;color:#1a1a1a;width:100%;box-sizing:border-box}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input::placeholder{color:#9ca3af}.form-group input:disabled{background-color:#f9fafb;cursor:not-allowed;opacity:.6}.auth-button{padding:14px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s;margin-top:8px;box-shadow:0 4px 12px #667eea66}.auth-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #667eea80}.auth-button:active:not(:disabled){transform:translateY(0)}.auth-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.forgot-password-container{text-align:right;margin-top:-8px}.forgot-password-link{color:#667eea;font-size:14px;text-decoration:none;font-weight:500;transition:color .2s}.forgot-password-link:hover{color:#764ba2;text-decoration:underline}.auth-links{margin-top:24px;text-align:center;padding-top:24px;border-top:1px solid #e5e7eb}.auth-link{color:#667eea;font-size:14px;text-decoration:none;font-weight:500;transition:color .2s}.auth-link:hover{color:#764ba2;text-decoration:underline}.error-message{padding:12px 16px;background-color:#fee2e2;color:#991b1b;border-radius:8px;font-size:14px;border:1px solid #fecaca;margin-bottom:8px}.success-message{padding:12px 16px;background-color:#d1fae5;color:#065f46;border-radius:8px;font-size:14px;border:1px solid #a7f3d0;margin-bottom:8px}.info-message{padding:12px 16px;background-color:#dbeafe;color:#1e40af;border-radius:8px;font-size:14px;border:1px solid #bfdbfe;margin-bottom:8px}.otp-container{display:flex;gap:12px;justify-content:center;margin:24px 0}.otp-input{width:50px;height:60px;text-align:center;font-size:24px;font-weight:600;border:2px solid #e5e7eb;border-radius:8px;transition:all .2s}.otp-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.resend-otp{text-align:center;margin-top:16px}.resend-otp-button{background:none;border:none;color:#667eea;font-size:14px;font-weight:500;cursor:pointer;text-decoration:underline;padding:0}.resend-otp-button:hover{color:#764ba2}.resend-otp-button:disabled{color:#9ca3af;cursor:not-allowed;text-decoration:none}.loading{display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin .8s linear infinite;margin-right:8px;vertical-align:middle}@media(max-width:768px){.auth-page{padding:16px}.auth-card{padding:32px 24px}.auth-card h1{font-size:28px}.otp-input{width:45px;height:55px;font-size:20px}}@media(max-width:480px){.auth-card{padding:24px 20px}.auth-card h1{font-size:24px}.otp-container{gap:8px}.otp-input{width:40px;height:50px;font-size:18px}}.hot-promotion{display:flex;gap:2rem;background:#fff;border-radius:16px;padding:2rem;box-shadow:0 4px 20px #87ceeb33;border:2px solid #b0e0e6;margin-bottom:3rem}.hot-promotion-image{flex-shrink:0;width:300px;height:300px;border-radius:12px;overflow:hidden;background:#f9fafb}.hot-promotion-image img{width:100%;height:100%;object-fit:cover}.hot-promotion-content{flex:1;display:flex;flex-direction:column;gap:1.5rem;justify-content:center}.hot-promotion-name{margin:0;font-size:2rem;font-weight:700;color:#1e3a5f}.hot-promotion-info{display:flex;flex-direction:column;gap:1rem}.info-row{display:flex;align-items:center;gap:1rem}.info-label{font-size:1rem;color:#6b7280;font-weight:500;min-width:120px}.info-value{font-size:1.1rem;font-weight:600;color:#1f2937}.info-value.sold{color:#059669}.hot-buy-button{align-self:flex-start;padding:1rem 2.5rem;background:linear-gradient(135deg,#87ceeb,orange);color:#fff;border:none;border-radius:10px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #87ceeb4d;min-width:180px;text-align:center;margin-top:.5rem}.hot-buy-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #ffa50066}.hot-buy-button:active{transform:translateY(0)}@media(max-width:768px){.hot-promotion{flex-direction:column;gap:1.5rem;padding:1.5rem}.hot-promotion-image{width:100%;max-width:300px;height:auto;aspect-ratio:1;margin:0 auto}.hot-promotion-name{font-size:1.5rem;text-align:center}.hot-buy-button{width:100%;align-self:stretch}}@media(max-width:480px){.hot-promotion{padding:1.25rem}.hot-promotion-name{font-size:1.25rem}.info-label{min-width:100px;font-size:.9rem}.info-value{font-size:1rem}}.promotion-list-item{background:#fff;border-radius:12px;padding:1rem;box-shadow:0 2px 8px #0000001a;border:1px solid #e5e7eb;transition:all .3s ease;display:flex;flex-direction:column;gap:.75rem;height:100%}.promotion-list-item:hover{transform:translateY(-4px);box-shadow:0 4px 16px #87ceeb33;border-color:#87ceeb}.item-image{width:100%;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#f9fafb}.item-image img{width:100%;height:100%;object-fit:cover}.item-content{display:flex;flex-direction:column;gap:.5rem;flex:1}.item-name{margin:0;font-size:1rem;font-weight:600;color:#1f2937;line-height:1.4;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.item-value{margin:0;font-size:.9375rem;font-weight:600;color:#059669}.item-progress{display:flex;flex-direction:column;gap:.375rem;margin-top:.25rem}.progress-info{display:flex;justify-content:space-between;align-items:center}.progress-text{font-size:.8125rem;color:#6b7280;font-weight:500}.progress-bar{width:100%;height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(135deg,#87ceeb,orange);transition:width .3s ease}.item-buy-button{width:100%;padding:.625rem 1rem;background:linear-gradient(135deg,#87ceeb,#b0e0e6);color:#fff;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:.5rem}.item-buy-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #87ceeb4d}.item-buy-button:active{transform:translateY(0)}@media(max-width:480px){.promotion-list-item{padding:.875rem}.item-name{font-size:.9375rem}}.promotion-page{min-height:calc(100vh - 80px);padding:2rem 0;background:linear-gradient(180deg,#f0f9ff,#fefefe)}.container{max-width:1200px;margin:0 auto;padding:0 1rem}.page-header{text-align:center;margin-bottom:2.5rem}.page-header h1{font-size:2.5rem;font-weight:700;background:linear-gradient(135deg,#7dd3fc,#fda4af);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0 0 .5rem}.subtitle{font-size:1.1rem;color:#94a3b8;margin:0}.hot-section{margin-bottom:3rem}.other-promotions-section{margin-top:3rem}.section-title{margin:0 0 1.5rem;font-size:1.5rem;font-weight:600;color:#7c8ba1}.network-filter{margin-bottom:2rem;padding:1.5rem;background:#fffc;border-radius:16px;box-shadow:0 2px 12px #7dd3fc26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.filter-label{font-size:.95rem;font-weight:600;color:#94a3b8;margin-bottom:1rem;display:block}.filter-buttons{display:flex;flex-wrap:wrap;gap:.75rem}.filter-btn{padding:.625rem 1.25rem;font-size:.9375rem;font-weight:500;color:#94a3b8;background:#f1f5f9cc;border:2px solid rgba(203,213,225,.5);border-radius:12px;cursor:pointer;transition:all .3s ease;white-space:nowrap}.filter-btn:hover{background:#e2e8f0e6;border-color:#94a3b899;transform:translateY(-2px);box-shadow:0 4px 12px #7dd3fc33}.filter-btn.active{background:linear-gradient(135deg,#bae6fd,#fbcfe8);color:#64748b;border-color:transparent;box-shadow:0 4px 16px #7dd3fc4d}.filter-btn.active:hover{transform:translateY(-2px);box-shadow:0 6px 20px #7dd3fc66}.pagination{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:2rem;padding:1.5rem}.pagination-btn{padding:.625rem 1.5rem;font-size:.9375rem;font-weight:500;color:#64748b;background:#ffffffe6;border:2px solid rgba(203,213,225,.5);border-radius:12px;cursor:pointer;transition:all .3s ease}.pagination-btn:hover:not(:disabled){background:#f1f5f9e6;border-color:#94a3b899;transform:translateY(-2px);box-shadow:0 4px 12px #7dd3fc33}.pagination-info{font-size:.9375rem;font-weight:500;color:#94a3b8;padding:.5rem 1rem;background:#f1f5f999;border-radius:10px}.no-promotions{text-align:center;padding:3rem 2rem;background:#fff9;border-radius:16px;box-shadow:0 2px 12px #7dd3fc1a}.no-promotions p{font-size:1.1rem;color:#94a3b8;margin:0}.promotions-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}@media(max-width:1024px){.promotions-grid{grid-template-columns:repeat(3,1fr);gap:1.25rem}}@media(max-width:768px){.promotion-page{padding:1.5rem 0}.page-header h1{font-size:2rem}.subtitle{font-size:1rem}.promotions-grid{grid-template-columns:repeat(2,1fr);gap:1rem}.network-filter{padding:1rem}.filter-buttons{gap:.5rem}.filter-btn{padding:.5rem 1rem;font-size:.875rem}.pagination{flex-direction:column;gap:.75rem}.pagination-btn{width:100%;max-width:200px}}@media(max-width:480px){.page-header h1{font-size:1.75rem}.promotions-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}.section-title{font-size:1.25rem}}.promotion-detail-page{min-height:calc(100vh - 80px);padding:2rem 0;background:linear-gradient(180deg,#e0f7ff,#fff)}.promotion-detail-container{max-width:1200px;margin:0 auto;padding:0 1rem}.promotion-detail-card{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 20px #87ceeb26;border:1px solid #e0f2fe}.back-button{padding:.5rem 1rem;background:#f9fafb;color:#374151;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;margin-bottom:1.5rem;transition:all .2s}.back-button:hover{background:#f3f4f6}.promotion-detail-card h1{margin:0 0 2rem;font-size:2rem;font-weight:700;color:#1e3a5f;text-align:center}.product-section{display:grid;grid-template-columns:300px 1fr;gap:2rem;margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #e5e7eb}.product-image{aspect-ratio:1;border-radius:12px;overflow:hidden;background:#f9fafb}.product-image img{width:100%;height:100%;object-fit:cover}.product-info{display:flex;flex-direction:column;gap:1rem}.info-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#f9fafb;border-radius:8px}.info-label{font-weight:500;color:#6b7280;font-size:.9375rem}.info-value{font-weight:600;color:#1f2937;font-size:1rem}.info-value.remaining{color:#059669;font-size:1.1rem}.purchase-section,.draw-section{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #e5e7eb}.purchase-section h2,.draw-section h2{margin:0 0 1.5rem;font-size:1.5rem;font-weight:600;color:#1e3a5f}.purchase-form{display:flex;flex-direction:column;gap:1rem}.form-group input{padding:.875rem 1rem;border:2px solid #e0f2fe;border-radius:8px;font-size:1rem;transition:all .3s ease;outline:none}.form-hint{font-size:.875rem;color:#6b7280}.purchase-summary{background:#f0f9ff;padding:1rem;border-radius:8px;border:1px solid #b0e0e6}.purchase-summary p{margin:.5rem 0;font-size:.9375rem;color:#1f2937}.purchase-button{padding:1rem 2rem;background:linear-gradient(135deg,#87ceeb,#b0e0e6);color:#fff;border:none;border-radius:8px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #87ceeb4d}.purchase-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #87ceeb66}.purchase-button:disabled{opacity:.6;cursor:not-allowed}.draw-waiting{text-align:center;padding:2rem;background:#fef3c7;border-radius:12px;border:2px solid #fbbf24}.draw-waiting h2{margin:0 0 1rem;color:#92400e}.draw-waiting>p{color:#78350f;font-size:1rem;margin:.5rem 0}.countdown-timer{font-size:3rem;font-weight:700;color:#dc2626;font-family:Courier New,monospace;margin:1rem 0;text-shadow:2px 2px 4px rgba(0,0,0,.1);animation:pulse 1s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.draw-result{margin-top:1.5rem;padding-top:1.5rem;border-top:2px solid #fbbf24}.draw-result h3{margin:0 0 1rem;color:#92400e;font-size:1.25rem}.winner-ticket{font-size:1.1rem;color:#78350f;margin:.5rem 0}.winner-announcement{margin-top:1rem;padding:1rem;background:#d1fae5;border-radius:8px}.congratulations{margin:0;font-size:1.2rem;font-weight:700;color:#065f46}.history-section{margin-top:2rem}.history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.history-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;justify-content:flex-end}.history-header h2{margin:0;font-size:1.5rem;font-weight:600;color:#1e3a5f}.history-toggle-btn,.history-refresh-btn{padding:.5rem .9rem;border-radius:6px;border:1px solid #d1d5db;background:#f9fafb;color:#374151;font-size:.85rem;font-weight:500;cursor:pointer;transition:background .2s ease}.history-toggle-btn:hover,.history-refresh-btn:hover:not(:disabled){background:#f3f4f6}.history-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.filter-toggle{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.875rem;color:#6b7280}.filter-toggle input{cursor:pointer}.history-list{display:flex;flex-direction:column;gap:.5rem;max-height:400px;overflow-y:auto;padding:.5rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.history-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#fff;border-radius:6px;border:1px solid #e5e7eb;transition:all .2s}.history-item:hover{border-color:#d1d5db}.history-item.my-ticket{background:#eff6ff;border-color:#87ceeb}.history-info{display:flex;flex-direction:column;gap:.25rem;flex:1}.history-email{font-size:.875rem;color:#6b7280}.history-ticket{font-size:.9375rem;font-weight:600;color:#1f2937}.history-time{font-size:.8125rem;color:#9ca3af;white-space:nowrap}.no-history{text-align:center;padding:2rem;color:#6b7280;margin:0}.history-placeholder,.history-loading{text-align:center;padding:1.25rem;color:#6b7280;background:#f9fafb;border-radius:8px;border:1px dashed #d1d5db}@media(max-width:768px){.promotion-detail-card{padding:1.5rem}.product-section{grid-template-columns:1fr;gap:1.5rem}.product-image{max-width:250px;margin:0 auto}.history-header{flex-direction:column;align-items:flex-start;gap:1rem}}@media(max-width:480px){.promotion-detail-card{padding:1rem}.promotion-detail-card h1{font-size:1.5rem}.history-item{flex-direction:column;align-items:flex-start;gap:.5rem}.history-time{align-self:flex-end}}.winner-popup-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;animation:fadeIn .3s ease}.winner-popup{background:#fff;border-radius:16px;padding:2.5rem;max-width:500px;width:100%;position:relative;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.popup-close{position:absolute;top:1rem;right:1rem;background:#f3f4f6;border:none;border-radius:50%;width:32px;height:32px;font-size:1.5rem;line-height:1;cursor:pointer;color:#6b7280;display:flex;align-items:center;justify-content:center;transition:all .2s}.popup-close:hover{background:#e5e7eb;color:#374151}.popup-content{text-align:center}.popup-icon{font-size:4rem;margin-bottom:1rem;animation:bounce .6s ease}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.popup-title{margin:0 0 1rem;font-size:2rem;font-weight:700;color:#1e3a5f}.popup-winner{margin:1rem 0;font-size:1.1rem;color:#374151}.popup-winner strong{color:#059669;font-weight:700}.popup-product-info{background:#f0f9ff;padding:1.5rem;border-radius:12px;margin:1.5rem 0;border:2px solid #b0e0e6}.popup-product-name{margin:0 0 .5rem;font-size:1.25rem;font-weight:600;color:#1f2937}.popup-product-value{margin:0;font-size:1.5rem;font-weight:700;color:#059669}.popup-button{padding:1rem 2.5rem;background:linear-gradient(135deg,#87ceeb,#b0e0e6);color:#fff;border:none;border-radius:10px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #87ceeb4d;margin-top:1rem}.popup-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #87ceeb66}.popup-button:active{transform:translateY(0)}@media(max-width:480px){.winner-popup{padding:2rem 1.5rem}.popup-icon{font-size:3rem}.popup-title{font-size:1.5rem}.countdown-timer{font-size:2.5rem}}.deposit-page{min-height:calc(100vh - 80px);padding:2rem 0;background:linear-gradient(180deg,#e0f7ff,#fff)}.deposit-container{max-width:1200px;margin:0 auto;padding:0 1rem}.deposit-card{background:#fff;border-radius:20px;padding:2.5rem;box-shadow:0 4px 20px #87ceeb26;border:1px solid #e0f2fe}.deposit-card h1{margin:0 0 .5rem;font-size:2rem;font-weight:700;color:#1e3a5f;text-align:center}.subtitle{text-align:center;color:#4a5568;margin:0 0 2rem;font-size:1rem;font-weight:500}.error-message{background:#fee2e2;color:#dc2626;padding:.75rem 1rem;border-radius:8px;margin-bottom:1.5rem;font-size:.9rem;border:1px solid #fecaca}.deposit-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:600;color:#374151;font-size:.95rem}.form-group input{padding:.875rem 1rem;border:2px solid #e0f2fe;border-radius:10px;font-size:1.1rem;transition:all .3s ease;outline:none;font-weight:600}.form-group input:focus{border-color:#87ceeb;box-shadow:0 0 0 3px #87ceeb1a}.quick-amounts{margin-top:.5rem}.quick-label{margin:0 0 .75rem;font-size:.9rem;color:#6b7280;font-weight:500}.quick-buttons{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.quick-amount-btn{padding:.75rem 1rem;background:#e0f7ff;color:#1e88e5;border:2px solid #b0e0e6;border-radius:10px;cursor:pointer;font-weight:600;font-size:.95rem;transition:all .3s ease}.quick-amount-btn:hover{background:#87ceeb;color:#fff;border-color:#87ceeb;transform:translateY(-2px)}.quick-amount-btn:active{transform:translateY(0)}.deposit-button{padding:1rem 2rem;background:linear-gradient(135deg,#87ceeb,#b0e0e6);color:#fff;border:none;border-radius:12px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .3s ease;margin-top:.5rem;box-shadow:0 4px 12px #87ceeb4d}.deposit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #87ceeb66}.deposit-button:active:not(:disabled){transform:translateY(0)}.deposit-button:disabled{opacity:.6;cursor:not-allowed}.deposit-info{margin-top:2rem;padding-top:2rem;border-top:1px solid #e5e7eb}.deposit-info h3{margin:0 0 1rem;font-size:1.2rem;font-weight:700;color:#1e3a5f}.deposit-info ul{margin:0;padding-left:1.5rem;list-style:none}.deposit-info li{margin-bottom:.5rem;color:#4a5568;font-size:.9rem;position:relative;padding-left:1.5rem}.deposit-info li:before{content:"•";position:absolute;left:0;color:#87ceeb;font-weight:700;font-size:1.2rem}@media(max-width:768px){.deposit-card{padding:2rem 1.5rem}.quick-buttons{grid-template-columns:repeat(2,1fr);gap:.5rem}.quick-amount-btn{padding:.625rem .75rem;font-size:.85rem}}@media(max-width:480px){.deposit-card{padding:1.5rem}.deposit-card h1{font-size:1.75rem}.quick-buttons{grid-template-columns:repeat(2,1fr);gap:.5rem}.quick-amount-btn{padding:.5rem .625rem;font-size:.8rem;font-weight:500}}.deposit-confirm-overlay{position:fixed;inset:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease-in-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.deposit-confirm-content{background:#fff;border-radius:12px;padding:24px;max-width:400px;width:90%;box-shadow:0 4px 20px #00000026;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.deposit-confirm-success{border-top:4px solid #10b981}.deposit-confirm-error{border-top:4px solid #ef4444}.deposit-confirm-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.deposit-confirm-icon{font-size:32px;line-height:1}.deposit-confirm-title{margin:0;font-size:20px;font-weight:600;color:#1f2937}.deposit-confirm-body{margin-bottom:20px}.deposit-confirm-message{margin:0;font-size:16px;line-height:1.5;color:#4b5563}.deposit-confirm-footer{display:flex;justify-content:flex-end}.deposit-confirm-btn{background-color:#3b82f6;color:#fff;border:none;border-radius:8px;padding:10px 24px;font-size:16px;font-weight:500;cursor:pointer;transition:background-color .2s}.deposit-confirm-btn:hover{background-color:#2563eb}.deposit-confirm-btn:active{background-color:#1d4ed8}@media(max-width:480px){.deposit-confirm-content{padding:20px;max-width:95%}.deposit-confirm-title{font-size:18px}.deposit-confirm-message{font-size:14px}.deposit-confirm-btn{padding:8px 20px;font-size:14px}}.deposit-info-page{min-height:calc(100vh - 80px);padding:2rem 0;background:#f9fafb}.deposit-info-container{max-width:1200px;margin:0 auto;padding:0 1rem}.deposit-info-card{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb}.deposit-info-card h1{margin:0 0 2rem;font-size:1.5rem;font-weight:600;color:#1f2937;text-align:center}.qr-code-section{text-align:center;margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #e5e7eb;display:flex;flex-direction:column;align-items:center}.qr-code-wrapper{display:inline-block;padding:1rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb;margin-bottom:.75rem}.qr-code{width:250px;height:250px;display:block}.download-qr-btn{padding:.5rem 1rem;background:#f9fafb;color:#6b7280;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;font-weight:400;cursor:pointer;transition:all .2s;display:inline-block}.download-qr-btn:hover{background:#f3f4f6;color:#374151}.bank-info-section{margin-bottom:2rem}.bank-info-section h2{margin:0 0 1.5rem;font-size:1.25rem;font-weight:600;color:#1f2937}.info-row{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f9fafb;border-radius:6px;margin-bottom:.75rem;border:1px solid #e5e7eb;gap:1rem}.info-label{font-weight:500;color:#374151;font-size:.9375rem;min-width:150px;flex-shrink:0}.info-value-group{display:flex;align-items:center;gap:.75rem;flex:1;justify-content:flex-end}.info-value{font-weight:600;color:#1f2937;font-size:.9375rem;word-break:break-all;text-align:right}.amount-highlight{color:#059669;font-size:1.1rem}.copy-btn{padding:.5rem 1rem;background:#fff;color:#3b82f6;border:1px solid #3b82f6;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap;flex-shrink:0}.copy-btn:hover{background:#eff6ff}.copy-btn:active{transform:scale(.95)}.warning-section{margin-bottom:1.5rem}.warning-box{background:#fef3c7;border:1px solid #fbbf24;border-radius:8px;padding:1.25rem}.warning-box strong{display:block;color:#92400e;font-size:1rem;margin-bottom:.75rem}.warning-box ul{margin:0;padding-left:1.5rem;color:#78350f;font-size:.9375rem;line-height:1.6}.warning-box li{margin-bottom:.5rem}.warning-box li strong{display:inline;margin-bottom:0}.confirm-deposit-btn{width:100%;padding:1rem 2rem;background:linear-gradient(135deg,#87ceeb,#b0e0e6);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin-bottom:1rem;box-shadow:0 2px 8px #87ceeb4d}.confirm-deposit-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #87ceeb66}.confirm-deposit-btn:active{transform:translateY(0)}@media(max-width:768px){.deposit-info-card{padding:1.5rem}.qr-code{width:200px;height:200px}.info-row{flex-direction:column;align-items:flex-start;gap:.75rem}.info-label{min-width:auto}.info-value-group{width:100%;justify-content:space-between}.info-value{text-align:left}}@media(max-width:480px){.deposit-info-card{padding:1rem}.qr-code{width:180px;height:180px}.info-row{padding:.75rem}}.settings-page{min-height:100vh;background-color:#f5f7fa;padding:20px;display:flex!important;flex-direction:column;align-items:center;visibility:visible!important;opacity:1!important}.settings-container{width:100%;max-width:1200px;margin:0 auto;padding:20px;display:block!important;visibility:visible!important}.settings-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:24px;width:100%;box-sizing:border-box;display:block!important;visibility:visible!important;opacity:1!important}.settings-card h1{font-size:28px;font-weight:600;color:#1a1a1a;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #e5e7eb}.settings-section{margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid #e5e7eb;display:block!important;visibility:visible!important}.settings-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.settings-section h2{font-size:20px;font-weight:600;color:#1a1a1a;margin-bottom:12px}.settings-section p{color:#6b7280;font-size:14px;line-height:1.6;margin-bottom:16px}.info-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f3f4f6}.info-item:last-child{border-bottom:none}.info-label{font-weight:500;color:#4b5563;font-size:14px}.info-value{color:#1a1a1a;font-size:14px;font-weight:600}.verified-badge{margin-left:8px;padding:2px 8px;background-color:#10b981;color:#fff;border-radius:4px;font-size:12px;font-weight:500}.phone-description{color:#6b7280;font-size:14px;margin-bottom:20px}.phone-form{display:flex;flex-direction:column;gap:16px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:14px;font-weight:500;color:#374151}.form-group input{padding:12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;transition:border-color .2s}.form-group input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-group input:disabled{background-color:#f9fafb;cursor:not-allowed}.otp-input{font-size:18px;letter-spacing:4px;text-align:center}.form-buttons-row{display:flex;gap:12px;flex-wrap:wrap}.action-btn{padding:12px 24px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;border:none;flex:1;min-width:150px;display:inline-block!important;visibility:visible!important}.telegram-btn{background-color:#08c;color:#fff}.telegram-btn:hover{background-color:#006ba3}.submit-btn{background-color:#3b82f6;color:#fff}.submit-btn:hover:not(:disabled){background-color:#2563eb}.submit-btn:disabled{background-color:#9ca3af;cursor:not-allowed}.activity-buttons{display:flex;flex-direction:column;gap:12px}.activity-btn{padding:14px 20px;background-color:#fff;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;font-weight:500;color:#374151;cursor:pointer;transition:all .2s;text-align:left;display:block!important;visibility:visible!important}.activity-btn:hover{background-color:#f9fafb;border-color:#d1d5db}.commission-description{margin-bottom:16px}.commission-btn{padding:12px 24px;background-color:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s;width:100%;display:inline-block!important;visibility:visible!important}.commission-btn:hover{background-color:#2563eb}.logout-description{margin-bottom:16px}.logout-button{padding:12px 24px;background-color:#ef4444!important;color:#fff!important;border:none!important;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s;width:100%;display:inline-block!important;visibility:visible!important;opacity:1!important}.logout-button:hover{background-color:#dc2626!important}.error-message{padding:12px;background-color:#fee2e2;color:#991b1b;border-radius:8px;font-size:14px;margin-bottom:16px}.success-message{padding:12px;background-color:#d1fae5;color:#065f46;border-radius:8px;font-size:14px;margin-bottom:16px}@media(max-width:768px){.settings-page{padding:16px}.settings-container{padding:0}.settings-card{padding:20px}.form-buttons-row{flex-direction:column}.action-btn{width:100%}}.history-page{min-height:100vh;background-color:#f5f7fa;padding:20px;display:flex;flex-direction:column;align-items:center;width:100%;overflow-x:hidden;position:relative;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;opacity:1;transform:none;animation:none}.history-page{backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:translateZ(0);-webkit-transform:translate3d(0,0,0)}.ticket-item,.tickets-list,.history-card{backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:translateZ(0);-webkit-transform:translate3d(0,0,0);will-change:auto}.history-container{width:100%;max-width:1200px;margin:0 auto;padding:0 1rem;box-sizing:border-box;position:relative}.history-card{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb;width:100%;box-sizing:border-box;position:relative;contain:layout style;opacity:1;transform:translateZ(0);-webkit-transform:translate3d(0,0,0);animation:none!important;backface-visibility:hidden;-webkit-backface-visibility:hidden}.history-card h1{margin:0 0 2rem;font-size:1.5rem;font-weight:600;color:#1f2937;min-height:2rem;line-height:1.5}.filters{display:flex;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap;padding-bottom:1.5rem;border-bottom:1px solid #e5e7eb;width:100%;box-sizing:border-box;min-height:80px}.filter-group{display:flex;flex-direction:column;gap:.5rem;flex:1;min-width:150px}.filter-group label{font-weight:500;color:#374151;font-size:.875rem}.filter-input{padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;background:#fff;color:#1f2937;outline:none;transition:border-color .2s}.filter-input:focus{border-color:#3b82f6;outline:2px solid transparent;outline-offset:2px;box-shadow:0 0 0 3px #3b82f61a}.filter-input select,.filter-input option{cursor:pointer}.reset-filter-btn{padding:.5rem 1rem;background:#f3f4f6;color:#374151;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.reset-filter-btn:hover{background:#e5e7eb}.transactions-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.transaction-item{display:flex;flex-direction:column;gap:.75rem;padding:1rem;background:#fff;border-radius:6px;border:1px solid #e5e7eb;transition:border-color .2s}.transaction-item-top{display:flex;align-items:center;gap:1rem;width:100%}.transaction-item:hover{border-color:#d1d5db}.transaction-icon{font-size:1.5rem;line-height:1;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#f9fafb;border-radius:6px;flex-shrink:0}.transaction-info{flex:1;display:flex;flex-direction:column;gap:.25rem}.transaction-title{font-weight:600;color:#1f2937;font-size:1rem;margin-bottom:.25rem}.transaction-content{font-weight:400;color:#4b5563;font-size:.9375rem;margin-bottom:.25rem}.transaction-date{font-size:.8125rem;color:#6b7280}.transaction-type-row{width:100%;padding-top:.5rem;border-top:1px solid #f3f4f6}.transaction-type{font-size:.8125rem;color:#6b7280}.transaction-amount{display:flex;flex-direction:column;align-items:flex-end;gap:.375rem;text-align:right}.amount{font-weight:600;font-size:1rem}.amount.positive{color:#059669}.amount.negative{color:#dc2626}.status{font-size:.75rem;padding:.25rem .5rem;border-radius:4px;font-weight:500;text-transform:uppercase;letter-spacing:.025em}.status.success{background:#d1fae5;color:#065f46}.status.pending{background:#fef3c7;color:#92400e}.status.failed{background:#fee2e2;color:#991b1b}.no-transactions{text-align:center;padding:3rem 2rem;color:#6b7280}.no-transactions p{margin:0;font-size:.9375rem}.pagination{display:flex;justify-content:center;align-items:center;gap:1rem;margin-bottom:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb;width:100%;box-sizing:border-box;min-height:60px;position:relative;contain:layout style}.pagination-btn{padding:.5rem 1rem;background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:6px;font-weight:500;font-size:.875rem;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,opacity .2s ease;min-width:80px;white-space:nowrap;flex-shrink:0}.pagination-btn:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.pagination-btn:disabled:not([disabled=""]){position:relative}.pagination-btn:disabled:not([disabled=""]):after{content:"";position:absolute;top:50%;left:50%;width:16px;height:16px;margin:-8px 0 0 -8px;border:2px solid #9ca3af;border-top-color:transparent;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.pagination-info{font-weight:500;color:#6b7280;font-size:.875rem;min-width:100px;text-align:center;white-space:nowrap;flex-shrink:0}.history-actions{padding-top:1.5rem;border-top:1px solid #e5e7eb;width:100%;box-sizing:border-box;min-height:60px}.back-btn{width:100%;padding:.75rem 1.5rem;background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:6px;font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s}.back-btn:hover{background:#f9fafb;border-color:#9ca3af}.tickets-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:2rem;width:100%;box-sizing:border-box;min-height:200px;contain:layout style;opacity:1;transform:translateZ(0);-webkit-transform:translate3d(0,0,0);animation:none!important;transition:none}.tickets-list.loading{opacity:.6;pointer-events:none;transition:opacity .15s ease}.ticket-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#fff;border-radius:8px;border:1px solid #e5e7eb;transition:border-color .2s ease,box-shadow .2s ease;width:100%;box-sizing:border-box;min-height:120px;position:relative;contain:layout style;opacity:1;transform:translateZ(0);-webkit-transform:translate3d(0,0,0);animation:none!important;backface-visibility:hidden;-webkit-backface-visibility:hidden}.ticket-item:hover{border-color:#d1d5db;box-shadow:0 2px 8px #0000000d}.ticket-actions{margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end}.transfer-btn{padding:.5rem 1rem;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-weight:500;font-size:.875rem;cursor:pointer;transition:all .2s}.transfer-btn:hover{background:#2563eb}.transfer-btn:active{background:#1d4ed8}.claim-btn{padding:.5rem 1rem;background:#9ca3af;color:#fff;border:none;border-radius:6px;font-weight:500;font-size:.875rem;cursor:pointer;transition:all .2s}.claim-btn:hover{background:#6b7280}.claim-btn:active{background:#4b5563}.ticket-info{flex:1;display:flex;flex-direction:column;gap:.5rem;min-width:0;width:100%;box-sizing:border-box}.ticket-header{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;width:100%;box-sizing:border-box}.ticket-number{font-size:1rem;font-weight:600;color:#1f2937}.ticket-status{padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:600;white-space:nowrap}.ticket-status.active{background:#eff6ff;color:#1e40af}.ticket-status.winner{background:#d1fae5;color:#065f46}.ticket-status.loser{background:#fee2e2;color:#991b1b}.ticket-status.pending{background:#fef3c7;color:#92400e}.ticket-status.awarded{background:#d1fae5;color:#065f46}.ticket-details{display:flex;flex-direction:column;gap:.25rem}.ticket-product{font-size:.9375rem;font-weight:500;color:#374151}.ticket-date{font-size:.875rem;color:#6b7280}.detail-button{padding:.625rem 1.25rem;background:linear-gradient(135deg,#87ceeb,#b0e0e6);color:#fff;border:none;border-radius:6px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .3s ease;white-space:nowrap}.detail-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #87ceeb4d}.detail-button:active{transform:translateY(0)}@media(max-width:768px){.history-page{padding:1rem}.ticket-item{flex-direction:column;align-items:flex-start;gap:1rem;min-height:auto}.detail-button{width:100%}.ticket-header{width:100%;justify-content:space-between}.history-card{padding:1.5rem}.filters{flex-direction:column;min-height:auto}.filter-group{width:100%}.transaction-item{flex-wrap:wrap}.transaction-amount{width:100%;align-items:flex-start;margin-top:.5rem;flex-direction:row;justify-content:space-between}.pagination{flex-wrap:wrap;min-height:auto}.pagination-info{width:100%;order:-1}.pagination-btn{min-width:70px;padding:.5rem .75rem;font-size:.8125rem}}@media(max-width:480px){.history-page{padding:.75rem}.history-container{padding:0 .5rem}.history-card{padding:1rem}.history-card h1{font-size:1.25rem;margin-bottom:1.5rem}.transaction-item{padding:.75rem}.tickets-list{min-height:150px}.pagination{gap:.5rem}.pagination-btn{min-width:60px;padding:.5rem .625rem;font-size:.75rem}}.prize-info-section{display:flex;gap:20px;padding:20px;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:20px}.prize-thumbnail{width:120px;height:120px;object-fit:cover;border-radius:8px;flex-shrink:0}.prize-info-content{flex:1;display:flex;flex-direction:column;justify-content:center;height:100%}.prize-name{margin:0 0 10px;font-size:1.25rem;font-weight:600;color:#1f2937}.prize-value{margin:5px 0;font-weight:700;color:#374151;font-size:1rem}@media(max-width:768px){.prize-info-section{gap:12px;padding:16px}.prize-thumbnail{width:80px;height:80px}.prize-name{font-size:1rem;margin:0 0 8px}.prize-value{font-size:.875rem;margin:0}}@media(max-width:480px){.prize-info-section{gap:10px;padding:12px;align-items:center}.prize-thumbnail{width:60px;height:60px}.prize-name{font-size:.875rem;margin:0 0 4px;line-height:1.2}.prize-value{font-size:.75rem;margin:0;line-height:1.2}.prize-info-content{justify-content:center;height:60px}}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;border-radius:8px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 4px 6px #0000001a}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e5e7eb}.modal-header h2{margin:0;font-size:1.5rem;font-weight:600}.modal-close{background:none;border:none;font-size:2rem;cursor:pointer;color:#6b7280;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;line-height:1}.modal-close:hover{color:#374151}.modal-body{padding:1.5rem}.prize-info{background-color:#f3f4f6;padding:1rem;border-radius:6px;margin-bottom:1.5rem}.prize-info p{margin:.5rem 0}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#374151}.search-container{position:relative}.form-input{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:6px;font-size:1rem;box-sizing:border-box}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-input:disabled{background-color:#f3f4f6;cursor:not-allowed}.form-textarea{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:6px;font-size:1rem;font-family:inherit;resize:vertical;box-sizing:border-box}.form-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-textarea:disabled{background-color:#f3f4f6;cursor:not-allowed}.search-loading{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);color:#6b7280;font-size:.875rem}.suggestions-list{margin-top:.5rem;border:1px solid #d1d5db;border-radius:6px;max-height:200px;overflow-y:auto;background:#fff}.suggestion-item{padding:.75rem;cursor:pointer;border-bottom:1px solid #f3f4f6;transition:background-color .2s}.suggestion-item:last-child{border-bottom:none}.suggestion-item:hover{background-color:#f9fafb}.suggestion-item.selected{background-color:#eff6ff;border-color:#3b82f6}.suggestion-email{font-weight:500;color:#111827}.suggestion-code{font-size:.875rem;color:#6b7280;margin-top:.25rem}.selected-agent{margin-top:.75rem;padding:.75rem;background-color:#eff6ff;border-radius:6px;border:1px solid #bfdbfe}.selected-agent p{margin:0;color:#1e40af}.form-hint{margin-top:.5rem;font-size:.875rem;color:#6b7280}.error-message{padding:.75rem;background-color:#fee2e2;color:#dc2626;border-radius:6px;margin-top:1rem;border:1px solid #fecaca}.modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1.5rem;border-top:1px solid #e5e7eb}.btn{padding:.75rem 1.5rem;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;border:none;transition:all .2s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background-color:#f3f4f6;color:#374151}.btn-secondary:hover:not(:disabled){background-color:#e5e7eb}.btn-primary{background-color:#3b82f6;color:#fff}.btn-primary:hover:not(:disabled){background-color:#2563eb}.alert-modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1001}.alert-modal-content{background:#fff;border-radius:8px;width:90%;max-width:400px;box-shadow:0 4px 6px #0000001a;animation:slideIn .3s ease-out}@keyframes slideIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.alert-modal-header{display:flex;align-items:center;gap:.75rem;padding:1.5rem 1.5rem 1rem}.alert-icon{font-size:1.5rem;line-height:1}.alert-title{margin:0;font-size:1.25rem;font-weight:600;color:#1f2937}.alert-modal-body{padding:0 1.5rem 1.5rem}.alert-message{margin:0;color:#374151;line-height:1.6;font-size:1rem}.alert-modal-footer{padding:1rem 1.5rem 1.5rem;display:flex;justify-content:flex-end}.alert-btn{padding:.75rem 1.5rem;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;border:none;transition:all .2s}.alert-btn-primary{background-color:#3b82f6;color:#fff}.alert-btn-primary:hover{background-color:#2563eb}.alert-btn-primary:active{background-color:#1d4ed8}.alert-info{border-top:4px solid #3b82f6}.alert-info .alert-title{color:#1e40af}.alert-warning{border-top:4px solid #f59e0b}.alert-warning .alert-title{color:#92400e}.alert-error{border-top:4px solid #ef4444}.alert-error .alert-title{color:#991b1b}.alert-success{border-top:4px solid #10b981}.alert-success .alert-title{color:#065f46}.commission-page{min-height:calc(100vh - 80px);padding:2rem 0;background:#f5f5f5}.commission-container{max-width:1200px;margin:0 auto;padding:0 1rem}.commission-card{background:#fff;border-radius:8px;padding:2rem;border:1px solid #e0e0e0}.commission-card h1{font-size:2rem;font-weight:600;color:#333;margin:0 0 2rem}.commission-summary{display:flex;gap:2rem;margin-bottom:2.5rem;padding-bottom:2rem;border-bottom:1px solid #e0e0e0}.summary-item{display:flex;flex-direction:column;gap:.5rem}.summary-label{font-size:.9375rem;color:#666;font-weight:500}.summary-value{font-size:1.5rem;font-weight:600;color:#333}.summary-value.total{color:#007bff}.referral-section{margin-bottom:2.5rem;padding-bottom:2.5rem;border-bottom:1px solid #e0e0e0}.referral-section h2{font-size:1.25rem;font-weight:600;color:#333;margin:0 0 1rem}.referral-link-box{display:flex;gap:.75rem;margin-bottom:.75rem}.referral-link-input{flex:1;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:.9375rem;background:#f9f9f9}.referral-link-input:focus{outline:none;border-color:#007bff;background:#fff}.copy-link-btn{padding:.75rem 1.5rem;background:#007bff;color:#fff;border:1px solid #007bff;border-radius:4px;font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.copy-link-btn:hover{background:#0056b3;border-color:#0056b3}.referral-hint{color:#666;font-size:.9375rem;line-height:1.6;margin:0}.terms-section{margin-bottom:2.5rem;padding-bottom:2.5rem;border-bottom:1px solid #e0e0e0}.terms-button{padding:.75rem 1.5rem;background:#fff;color:#333;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.terms-button:hover{background:#f5f5f5;border-color:#bbb}.commission-history{margin-bottom:0}.commission-history h2{font-size:1.25rem;font-weight:600;color:#333;margin:0 0 1.5rem}.history-list{display:flex;flex-direction:column;gap:.75rem}.history-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f9f9f9;border:1px solid #e0e0e0;border-radius:4px;transition:all .2s}.history-item:hover{background:#f5f5f5;border-color:#ccc}.history-date{font-size:.9375rem;color:#666;font-weight:500}.history-amount{font-size:1.125rem;font-weight:600;color:#059669}.no-records{text-align:center;padding:3rem 2rem;color:#666}.no-records p{margin:0;font-size:1rem}@media(max-width:768px){.commission-container{padding:0 .75rem}.commission-card{padding:1.5rem}.commission-summary{flex-direction:column;gap:1.5rem}.referral-link-box{flex-direction:column}.copy-link-btn{width:100%}}.terms-page{min-height:calc(100vh - 80px);padding:2rem 0;background:#f5f5f5}.terms-container{max-width:1200px;margin:0 auto;padding:0 1rem}.terms-card{background:#fff;border-radius:8px;padding:2rem;border:1px solid #e0e0e0}.terms-card h1{font-size:2rem;font-weight:600;color:#333;margin:0 0 2rem}.back-button{background:transparent;border:1px solid #ddd;color:#333;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.9375rem;margin-bottom:1.5rem;transition:all .2s}.back-button:hover{background:#f5f5f5;border-color:#bbb}.terms-content{line-height:1.8;color:#333}.terms-content h2{font-size:1.5rem;font-weight:600;color:#333;margin:2rem 0 1rem}.terms-content h2:first-child{margin-top:0}.terms-content h3{font-size:1.25rem;font-weight:600;color:#333;margin:1.5rem 0 .75rem}.terms-content p{margin:0 0 1rem;color:#666}.terms-content ul,.terms-content ol{margin:0 0 1rem;padding-left:2rem;color:#666}.terms-content li{margin-bottom:.5rem}.terms-content strong{color:#333;font-weight:600}.terms-content a{color:#007bff;text-decoration:none}.terms-content a:hover{text-decoration:underline}.terms-section{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #e0e0e0}.terms-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.highlight-box{background:#f9f9f9;border:1px solid #e0e0e0;border-radius:4px;padding:1.5rem;margin:1.5rem 0}.highlight-box p{margin:0;color:#333}@media(max-width:768px){.terms-container{padding:0 .75rem}.terms-card{padding:1.5rem}.terms-card h1{font-size:1.75rem}.terms-content h2{font-size:1.25rem}.terms-content h3{font-size:1.125rem}}.app{min-height:100vh;display:flex;flex-direction:column}.app-content{flex:1}*{box-sizing:border-box;margin:0;padding:0}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#1f2937;background-color:#f9fafb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh}#root{min-height:100vh}a{text-decoration:none}button{font-family:inherit}input,button{outline:none}
