* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background-color: #12141d;
    color: #fff;
    overflow-y: auto;
    background-image: radial-gradient(circle at center, rgba(232, 48, 140, 0.15) 0%, #12141d 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23ffffff' stroke-width='1.5' opacity='0.05'/%3E%3Cpath d='M250 80 l15 -15 m0 15 l-15 -15' stroke='%23e8308c' stroke-width='3' opacity='0.4'/%3E%3Cpath d='M80 250 l15 -15 m0 15 l-15 -15' stroke='%23e83a30' stroke-width='3' opacity='0.4'/%3E%3Ccircle cx='200' cy='200' r='12' fill='none' stroke='%23f9d549' stroke-width='2' opacity='0.2'/%3E%3C/svg%3E");
    padding-bottom: 55px; /* এডের জন্য নিচে জায়গা ছেড়ে দেওয়া */
}

/* Home Page Elements */
.gift-wrapper {
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    z-index: 10;
}

h2.main-text {
    color: #ffffff;
    margin-top: 15px;
    font-size: 28px;
    text-shadow: 0 0 10px rgba(232, 48, 140, 0.8);
}

/* ---- Header Container ---- */
.header-container {
    position: absolute;
    top: 40px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 10;
}

/* ---- App Title (NotDrop) ---- */
.app-title {
    font-family: "DynaPuff", system-ui !important;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 32px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #e8308c, #ff5757);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 4px 15px rgba(232, 48, 140, 0.4);
    margin: 0;
}

/* ---- Subtitle (Win up to 1M NOTCOIN) ---- */
.hook-text {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #f9d549, #fff, #f9d549);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmerText 3s linear infinite;
}

@keyframes shimmerText {
    to {
        background-position: 200% center;
    }
}

/* ---- Top Right Wallet Icon ---- */
.top-wallet-btn {
    position: absolute;
    top: 180px; /* এই ভ্যালুটা দিয়ে আইকনটি সেন্টার থেকে একটু উপরে আপনার মার্ক করা জায়গায় সেট হবে */
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(5px);
    z-index: 50;
    transition: 0.3s;
    width: 48px;
    height: 48px;
    display: none; /* app.js will set to flex */
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.top-wallet-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.footer-text {
    position: absolute;
    bottom: 20px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
}

/* Toast */
#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: #252836;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-left: 4px solid #ff5757;
    animation: slideDown 0.3s ease-out forwards, fadeOut 0.3s ease-in 2.7s forwards;
    opacity: 0;
}

.toast.success {
    border-left-color: #28a745;
}

.toast.info {
    border-left-color: #f9d549;
}

@keyframes slideDown {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

/* Popups */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.popup {
    background: rgba(25, 28, 41, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 380px;
    text-align: center;
    display: none;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.popup img.coin-icon {
    width: 70px;
    margin-bottom: 15px;
}

.popup h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #f9d549;
}

.amount-won {
    font-size: 32px;
    font-weight: 700;
    color: #e8308c;
    margin-bottom: 20px;
}

/* Buttons & Inputs */
.btn {
    background: linear-gradient(45deg, #e8308c, #ff5757);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
    margin-top: 10px;
}

.btn:hover {
    opacity: 0.9;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-outline {
    background: transparent;
    border: 2px solid #555;
}

.input-group {
    text-align: left;
    margin-bottom: 15px;
    position: relative;
}

.input-group label {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 5px;
    display: block;
}

.input-group input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    outline: none;
}

.input-group input:focus {
    border-color: #e8308c;
}

.max-btn {
    position: absolute;
    right: 8px;
    top: 30px;
    background: #333;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Tasks */
.task-list {
    margin: 20px 0;
    text-align: left;
}

.task-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.task-item span {
    font-size: 14px;
    font-weight: 600;
}

.task-btn {
    background: #ffffff;
    color: #000;
    border: none;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 65px;
    height: 32px;
}

.task-btn.verifying {
    background: #f9d549;
    color: #000;
}

.task-btn.completed {
    background: #28a745;
    color: #fff;
    padding: 0;
    width: 32px;
    min-width: 32px;
    border-radius: 50%;
}

/* Wallet Page Elements */
.back-btn {
    position: absolute;
    top: 30px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    z-index: 100;
}

.wallet-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.referral-box {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-bar-bg {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 5px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e8308c, #f9d549);
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 0%;
}

/* ---- Red Notification Badge ---- */
#notification-badge {
    position: absolute;
    top: 65px;      /* আইকনের উপর-নিচ পজিশন ঠিক করার জন্য */
    right: 45px;    /* আইকনের ডানে-বামে পজিশন ঠিক করার জন্য */
    background-color: #ff3b30;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.6);
    z-index: 20;
    border: 2px solid #12141d; /* ব্যাকগ্রাউন্ডের সাথে মানানসই বর্ডার */
}

/* Pulse Animation for the Badge */
.badge-pulse {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.material-symbols-rounded {
    font-size: 20px;
}

/* ---- Custom Range Slider ---- */
.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}
.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: #f9d549;
    cursor: pointer;
    margin-top: -7px;
    box-shadow: 0 0 10px rgba(249, 213, 73, 0.8);
    border: 2px solid #fff;
}
.custom-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: linear-gradient(90deg, #e8308c, rgba(255, 255, 255, 0.1));
    border-radius: 5px;
}

/* ---- Referral Box Blink Animation ---- */
.highlight-ref {
    animation: blinkBox 0.8s 3; /* ৩ বার ব্লিঙ্ক করবে */
}
@keyframes blinkBox {
    50% { box-shadow: 0 0 25px rgba(232, 48, 140, 0.8); border-color: #e8308c; transform: scale(1.02); }
}

/* ---- Social Share Buttons (Minimal & Compact) ---- */
.social-btn {
    width: 38px;   /* সাইজ ছোট করা হয়েছে */
    height: 38px;  /* সাইজ ছোট করা হয়েছে */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s ease;
}

/* One Color Design (Monochromatic) */
.mono-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaaaaa; /* আইকনের হালকা কালার */
}

/* Hover Effect */
.mono-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff; /* হোভার করলে আইকন উজ্জ্বল সাদা হবে */
    transform: translateY(-2px);
}

/* শুধু ব্যানার এডের জন্য */
.ad-container-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    background: rgba(18, 20, 29, 0.95);
    z-index: 9999; /* যেন সবকিছুর উপরে থাকে */
    padding: 2px 0;
}