/* =========================================
   GLOBAL & VARIABLES
========================================= */
:root {
    --bg-dark: #0f172a;
    --primary: #4f46e5;
    --accent: #a855f7;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-light: #e2e8f0;
    --neon-green: #10b981;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.2) 0%, transparent 50%);
    color: var(--text-light);
    font-family: 'Hind Siliguri', sans-serif;
    margin: 0; padding-top: 100px;
    overflow-x: hidden;
}

/* =========================================
   HERO SECTION
========================================= */
.offer-hero {
    text-align: center;
    padding: 60px 20px;
    position: relative;
}
.offer-title {
    font-size: 3.5rem; font-weight: 800; margin: 0;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: fadeInDown 1s ease;
}
.offer-sub {
    color: #94a3b8; font-size: 1.2rem; margin-top: 15px;
    max-width: 600px; margin-left: auto; margin-right: auto;
}

/* Countdown Timer */
.timer-box {
    display: inline-flex; gap: 15px; margin-top: 30px;
    background: rgba(255,255,255,0.05); padding: 15px 30px;
    border-radius: 50px; border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}
.time-unit { text-align: center; }
.time-val { font-size: 1.5rem; font-weight: 800; color: var(--neon-green); display: block; }
.time-label { font-size: 0.8rem; color: #94a3b8; text-transform: uppercase; }

/* =========================================
   OFFER CARDS GRID
========================================= */
.offers-container {
    max-width: 1200px; margin: 50px auto 100px; padding: 0 20px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.offer-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(15px);
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: center;
}

/* Hover Glow Effect */
.offer-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 10px 40px rgba(79, 70, 229, 0.2);
}
.offer-card::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    opacity: 0; transition: 0.4s; pointer-events: none;
}
.offer-card:hover::before { opacity: 1; }

/* Badge */
.discount-badge {
    position: absolute; top: 20px; right: 20px;
    background: linear-gradient(135deg, #ef4444, #f43f5e);
    color: white; padding: 5px 15px; border-radius: 50px;
    font-weight: 700; font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

.service-icon {
    font-size: 3.5rem; margin-bottom: 20px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.card-title { font-size: 1.8rem; font-weight: 700; color: white; margin-bottom: 10px; }
.card-desc { color: #94a3b8; margin-bottom: 20px; font-size: 0.95rem; }

/* Coupon Box */
.coupon-area {
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px; padding: 15px;
    margin: 25px 0; display: flex;
    align-items: center; justify-content: space-between;
    cursor: pointer; transition: 0.3s; position: relative;
}
.coupon-area:hover { border-color: var(--primary); background: rgba(79, 70, 229, 0.1); }

.code-label { font-size: 0.8rem; color: #94a3b8; display: block; text-align: left; }
.coupon-code { font-size: 1.4rem; font-weight: 800; color: var(--neon-green); letter-spacing: 2px; }
.copy-icon { color: white; background: rgba(255,255,255,0.1); padding: 8px; border-radius: 5px; }

/* Pricing */
.price-tag { margin-bottom: 25px; }
.old-price { text-decoration: line-through; color: #64748b; font-size: 1rem; margin-right: 10px; }
.new-price { font-size: 2rem; font-weight: 800; color: white; }
.duration { font-size: 1rem; color: #94a3b8; }

.cta-btn {
    display: inline-block; width: 100%; padding: 15px;
    background: var(--primary); color: white;
    border-radius: 10px; font-weight: 700; text-decoration: none;
    transition: 0.3s;
}
.cta-btn:hover { background: var(--accent); transform: scale(1.02); }

/* Confetti Animation */
.confetti {
    position: absolute; width: 8px; height: 8px; background: #f00;
    top: 50%; left: 50%; opacity: 0; pointer-events: none;
}
@keyframes pop {
    0% { transform: translate(0,0) scale(0); opacity: 1; }
    100% { transform: translate(var(--x), var(--y)) scale(1); opacity: 0; }
}

/* Animations */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Toast Notification */
#toast {
    visibility: hidden; min-width: 250px; background-color: #333; color: #fff;
    text-align: center; border-radius: 50px; padding: 16px; position: fixed;
    z-index: 9999; left: 50%; bottom: 30px; transform: translateX(-50%);
    font-size: 1rem; background: rgba(16, 185, 129, 0.9); backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
#toast.show { visibility: visible; animation: fadein 0.5s, fadeout 0.5s 2.5s; }
@keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} }
@keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }