/* style.css - All in One */

@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;700&display=swap');

:root {
    --gold-main: #d4af37;
    --gold-light: #f3e5ab;
    --red-premium: #c0392b;
    --green-money: #27ae60;
    --bg-body: #f8f9fa;
}

body {
    font-family: 'Prompt', sans-serif;
    background-color: var(--bg-body);
    color: #333;
}

/* Navbar */
.navbar-custom {
    background: linear-gradient(to right, #2c3e50, #4ca1af);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.navbar-brand { font-weight: 700; color: #ffd700 !important; letter-spacing: 1px; }

/* Product Card */
.sim-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-bottom: 4px solid var(--gold-main);
    border-radius: 15px;
    padding: 25px 15px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.sim-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--gold-main);
}

/* Phone Number */
.sim-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--red-premium);
    margin: 15px 0;
    letter-spacing: 1px;
    line-height: 1.2;
    background: -webkit-linear-gradient(45deg, #c0392b, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Price & Sum */
.sim-price { font-size: 1.4rem; font-weight: 700; color: var(--green-money); }
.sim-sum { font-size: 1rem; color: #777; background-color: #f0f0f0; padding: 4px 12px; border-radius: 20px; }

/* Buttons */
.btn-booking {
    border: 2px solid var(--green-money);
    color: var(--green-money);
    font-weight: 600;
    border-radius: 8px;
    padding: 8px 0;
    transition: 0.2s;
}
.btn-booking:hover { background-color: var(--green-money); color: white; }

/* Badges */
.badge-network {
    position: absolute; top: 15px; left: 15px;
    background: #f8f9fa; border: 1px solid #ddd;
    color: #666; padding: 4px 10px; font-size: 0.8rem; border-radius: 4px;
}
.badge-lucky {
    font-size: 0.85rem !important; font-weight: 500;
    padding: 6px 12px !important; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.5); box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.badge-gold { background: linear-gradient(135deg, #FFD700 0%, #FDB931 100%) !important; color: #000 !important; }
.badge-emerald { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important; color: #fff !important; }
.badge-ruby { background: linear-gradient(135deg, #cb2d3e 0%, #ef473a 100%) !important; color: #fff !important; }
.badge-sapphire { background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%) !important; color: #fff !important; }

/* Advanced Search Inputs */
.digit-inputs { display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; }
.digit-box {
    width: 38px; height: 45px; font-size: 1.2rem; font-weight: bold; text-align: center;
    border: 1px solid #ced4da; border-radius: 8px; color: #2c3e50; transition: all 0.2s;
}
.digit-box:focus { border-color: var(--gold-main); box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25); outline: none; }
.digit-box.prefix { background-color: #f8f9fa; color: #888; }

/* Sales Notification Popup */
.sales-notify {
    position: fixed; bottom: 20px; left: 20px; z-index: 9999;
    background: #fff; border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15); padding: 15px;
    display: flex; align-items: center; gap: 15px; max-width: 320px;
    border-left: 5px solid var(--gold-main);
    transform: translateY(150%); transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); opacity: 0;
}
.sales-notify.show { transform: translateY(0); opacity: 1; }

/* Fix Icon Size */
.notify-img img {
    width: 50px !important; height: 50px !important;
    border-radius: 50%; object-fit: cover; border: 2px solid #f0f0f0;
}
.btn i, .nav-link i { font-size: 1rem; vertical-align: middle; }
.badge-lucky i { font-size: 0.75rem; margin-right: 2px; }

.notify-content h6 { font-size: 0.9rem; margin: 0; font-weight: bold; color: #333; }
.notify-content p { font-size: 0.8rem; margin: 0; color: #666; }
.notify-time { font-size: 0.7rem; color: #999; margin-top: 2px; display: block; }
.btn-close-notify { position: absolute; top: 5px; right: 8px; font-size: 12px; color: #ccc; background: none; border: none; cursor: pointer; }
.btn-close-notify:hover { color: #ff0000; }

/* Footer */
.footer-custom {
    background: linear-gradient(to bottom, #2c3e50, #000000);
    border-top: 5px solid var(--gold-main); color: #fff;
}
.footer-custom a:hover { color: var(--gold-main) !important; transition: 0.3s; }
.social-icon {
    width: 40px; height: 40px; background: #333; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: white;
    text-decoration: none; transition: all 0.3s;
}
.social-icon:hover { transform: translateY(-3px); color: white; }
.bg-facebook:hover { background: #1877F2; }
.bg-line:hover { background: #00C300; }
.bg-tiktok:hover { background: #000; border: 1px solid #333; }
.bg-youtube:hover { background: #FF0000; }

/* Back to Top */
#btnBackToTop {
    display: none; position: fixed; bottom: 20px; right: 20px; z-index: 99;
    font-size: 18px; border: none; outline: none; background-color: var(--gold-main); color: black;
    cursor: pointer; padding: 10px 15px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: 0.3s;
}
#btnBackToTop:hover { background-color: #fff; color: var(--gold-main); }