:root {
    --primary: #FF6B35;
    --secondary: #004E89;
    --accent: #00D9A3;
    --dark: #1A1A2E;
    --purple: #382247;
    --gray: #666;
    --light: #F8F9FA;
}

* { margin: 0; padding: 0; }
body { background: #fff; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--dark); overflow-x: hidden; }
html { scroll-behavior: smooth; }

.navbar { background: #382247 !important; box-shadow: 0 1px 3px rgba(0,0,0,0.08); padding: 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.navbar .container { padding-top: 0; padding-bottom: 0; }
.navbar-brand { display: flex; align-items: center; padding: 12px 0; }
.navbar-brand img { height: 55px; width: auto; object-fit: contain; }
.navbar-nav { gap: 0.5rem; align-items: center; }
.nav-link { font-weight: 500; color: #fff !important; padding: 0.5rem 1rem !important; transition: color 0.3s; font-size: 15px; }
.nav-link:hover { color: #d7d9df !important; }
.nav-link.member-area { background: linear-gradient(135deg,#00D9A3,#00C090); color: white !important; border-radius: 50px; padding: 0.5rem 1rem !important; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.nav-link.member-area:hover { background: linear-gradient(135deg,#00C090,#00A878); color: white !important; }
.navbar-toggler { border: none !important; box-shadow: none !important; padding: 0.25rem 0; }
.navbar-toggler-icon { filter: brightness(0) invert(1); }
.navbar-toggler:focus { box-shadow: none; }

.footer { background: #382247; color: white; padding: 80px 0 40px; }
.footer-logo img { height: 55px; width: auto; object-fit: contain; }
.footer h5 { font-size: 18px; margin-bottom: 20px; font-weight: 700; }
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; display: block; margin-bottom: 12px; transition: color 0.3s; }
.footer a:hover { color: var(--primary); }
.footer p { color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.footer-newsletter-text { font-size: 14px; }
.social-links { display: flex; gap: 12px; margin-top: 30px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 8px; transition: all 0.3s; margin-bottom: 0; }
.social-links a:hover { background: var(--primary); color: white; }
.footer-bottom { text-align: center; padding-top: 40px; margin-top: 60px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); }
.newsletter-footer-form { display: flex; gap: 8px; margin-top: 8px; }
.newsletter-footer-form input { flex: 1; padding: 11px 14px; border: none; border-radius: 8px; background: rgba(255,255,255,0.1); color: white; font-size: 14px; min-width: 0; }
.newsletter-footer-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-footer-form input:focus { outline: none; background: rgba(255,255,255,0.15); }
.newsletter-footer-form button { padding: 11px 16px; background: var(--accent); color: white; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; flex-shrink: 0; transition: background .3s; }
.newsletter-footer-form button:hover { background: #00C090; }
#newsletterFooterMsg { display: none; color: #00D9A3; font-size: 14px; font-weight: 600; }
#newsletterFooterErr { display: none; color: #ff6b6b; font-size: 13px; margin-top: 6px; }

.coupon-fixed { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 1000; background: white; padding: 14px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.12); width: 170px; border: 2px solid #f0f0f0; animation: cfSlideIn 0.5s ease-out; }
.coupon-fixed-header { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.coupon-fixed-icon { width: 24px; height: 24px; background: linear-gradient(135deg,#FF6B35,#FF8C5A); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: white; flex-shrink: 0; }
.coupon-fixed-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #666; }
.coupon-fixed-code { background: linear-gradient(135deg,#f8f9fa,#e9ecef); color: #382247; padding: 10px 8px; border-radius: 6px; text-align: center; font-size: 15px; font-weight: 800; letter-spacing: 1px; margin-bottom: 6px; border: 1px dashed #d0d0d0; overflow-wrap: break-word; word-break: break-all; line-height: 1.3; }
.coupon-fixed-desc { color: #888; font-size: 10px; text-align: center; margin-bottom: 10px; line-height: 1.3; }
.coupon-fixed-btn { width: 100%; padding: 8px; background: #382247; color: white; border: none; border-radius: 6px; font-weight: 600; font-size: 11px; cursor: pointer; transition: all .3s; display: flex; align-items: center; justify-content: center; gap: 4px; }
.coupon-fixed-btn:hover { background: #2d1a38; }
.coupon-close { position: absolute; top: 6px; right: 6px; background: transparent; border: none; color: #999; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all .3s; }
.coupon-close:hover { color: #666; background: #f0f0f0; }
.toast-notification { position: fixed; top: 100px; right: 20px; background: white; padding: 16px 20px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.15); display: flex; align-items: center; gap: 12px; z-index: 9999; opacity: 0; transform: translateX(400px); transition: all 0.4s ease-out; border-left: 4px solid #00D9A3; }
.toast-notification.show { opacity: 1; transform: translateX(0); }
.toast-icon { width: 40px; height: 40px; background: linear-gradient(135deg,#00D9A3,#00C090); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; }
.toast-title { font-weight: 700; font-size: 14px; color: #1A1A2E; margin-bottom: 2px; }
.toast-message { font-size: 12px; color: #666; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cfSlideIn {
    from { right: -220px; opacity: 0; }
    to { right: 20px; opacity: 1; }
}

@media(max-width:991px) {
    .coupon-fixed { right: 10px; width: 155px; padding: 12px; }
}

@media(max-width:768px) {
    .navbar-brand { padding: 10px 0; }
    .navbar-brand img { height: 46px; }
    .navbar-collapse { padding-bottom: 10px; }
    .navbar-nav { align-items: flex-start; }
    .navbar-nav.ms-auto { margin-left: 0 !important; width: 100%; }
    .navbar-nav .nav-item { width: 100%; }
    .navbar-nav .nav-link { justify-content: flex-start; }
    .nav-link.member-area { font-size: 13px; padding: 0.45rem 0.85rem !important; margin-bottom: 14px; }
}
