/* ============================================================
   offers.css — HostMafiya Offers Page
   Ye file: assets/css/offers.css mein rakhna
   Main site ka style.css alag se load hota rahega
   ============================================================ */

/* ---- Basic reset for page layout ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --red:        #e63946;
    --red-dark:   #b30000;
    --bg-hero:    #0d0000;
    --text-muted: #aaa;
    --card-bg:    #ffffff;
    --radius:     10px;
}

.highlight { color: var(--red); }

/* ============================================================
   NAVBAR (agar alag navbar file nahi hai to ye use karo)
   ============================================================ */
.navbar {
    background: #0d0d0d;
    padding: 14px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #1f1f1f;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    text-decoration: none;
    letter-spacing: 1px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 18px;
    align-items: center;
}
.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color .15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--red); }
.btn-signin {
    background: var(--red);
    color: #fff !important;
    padding: 7px 16px;
    border-radius: 6px;
    font-weight: 600;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.offers-hero {
    background: radial-gradient(ellipse at top right, #6b0000 0%, #1a0000 50%, #0d0000 100%);
    padding: 60px 30px;
    color: #fff;
}
.offers-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-left  { flex: 1 1 480px; }
.hero-right { flex: 1 1 380px; position: relative; display: flex; justify-content: center; }

.hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.25;
}
.hero-subtitle {
    margin-top: 12px;
    font-size: 15px;
    color: #e0b3b3;
}

.hero-features {
    list-style: none;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 14px;
    color: #e0c8c8;
}
.hero-features li { display: flex; align-items: center; gap: 6px; }

/* Countdown */
.countdown-box {
    margin-top: 28px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: inline-block;
}
.countdown-label { font-size: 13px; color: #e0b3b3; margin-bottom: 10px; }
.countdown-timer { display: flex; align-items: center; gap: 10px; }
.time-block {
    background: rgba(0,0,0,0.4);
    border-radius: 6px;
    padding: 8px 14px;
    text-align: center;
    min-width: 54px;
}
.time-block span  { display: block; font-size: 22px; font-weight: 700; }
.time-block small { font-size: 11px; color: #c9a0a0; }
.colon { font-size: 20px; color: #c9a0a0; }

/* Hero image & badge */
.hero-img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}
.badge-off {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #111;
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    z-index: 2;
}
.badge-off strong { display: block; font-size: 28px; color: var(--red); }

/* ============================================================
   DEALS SECTION
   ============================================================ */
.deals-section { background: #f5f5f7; padding: 50px 30px 70px; }
.deals-container { max-width: 1200px; margin: 0 auto; }

.deals-header { text-align: center; margin-bottom: 28px; }
.deals-header h2 { font-size: 28px; color: #111; }
.deals-header p  { color: #666; margin-top: 6px; font-size: 15px; }

/* Tabs */
.tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}
.tab-btn {
    border: 1px solid #ddd;
    background: #fff;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .15s, color .15s;
    color: #444;
}
.tab-btn:hover  { border-color: var(--red); color: var(--red); }
.tab-btn.active { border-color: var(--red); color: var(--red); font-weight: 700; }

/* Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Deal Card */
.deal-card {
    position: relative;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow .2s;
}
.deal-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }

.deal-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.badge-bestseller { background: #e63946; }
.badge-popular    { background: #2563eb; }
.badge-limited    { background: #16a34a; }
.badge-combo      { background: #ea580c; }

.deal-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.deal-card h3      { font-size: 16px; color: #111; font-weight: 700; }
.deal-discount     { color: var(--red); font-weight: 800; font-size: 16px; }
.what-you-get      { font-size: 12px; color: #888; }

.deal-features {
    list-style: none;
    font-size: 13px;
    color: #444;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.deal-features li::before { content: "✓ "; color: #16a34a; font-weight: 700; }

.deal-pricing      { margin-top: auto; }
.starts-at         { font-size: 12px; color: #888; display: block; margin-bottom: 2px; }
.price-row         { display: flex; align-items: baseline; gap: 4px; }
.price             { font-size: 22px; font-weight: 800; color: #111; }
.period            { font-size: 13px; color: #777; }
.old-price         { font-size: 13px; color: #bbb; text-decoration: line-through; margin-top: 2px; display: block; }

.coupon-code {
    border: 1.5px dashed #ddd;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 13px;
    color: #555;
    text-align: center;
}
.coupon-code strong { color: #111; }

.deal-cta-btn {
    display: block;
    text-align: center;
    padding: 11px;
    border-radius: 7px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: opacity .15s;
}
.deal-cta-btn:hover { opacity: .88; }

.limited-text { font-size: 11px; color: var(--red); text-align: center; }

/* ---- Trust Strip ---- */
.trust-strip {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid #eee;
}
.trust-item      { text-align: center; }
.trust-icon      { font-size: 26px; }
.trust-item strong { display: block; margin: 8px 0 4px; font-size: 14px; color: #111; }
.trust-item p    { font-size: 12px; color: #777; line-height: 1.5; }

/* ---- Newsletter ---- */
.newsletter-bar {
    margin-top: 24px;
    background: linear-gradient(90deg, #8b0000, var(--red));
    border-radius: var(--radius);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff;
    flex-wrap: wrap;
}
.nl-icon { font-size: 28px; }
.nl-text  { flex: 1 1 240px; }
.nl-text p { font-size: 12px; color: #ffe0e0; margin-top: 3px; }
.nl-form   { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-form input {
    padding: 10px 14px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    min-width: 220px;
}
.nl-form button {
    background: #111;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
}
.nl-form button:hover { background: #222; }

/* ---- Footer ---- */
.site-footer {
    background: #0d0d0d;
    color: #888;
    text-align: center;
    padding: 20px;
    font-size: 13px;
    margin-top: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .deals-grid  { grid-template-columns: repeat(2, 1fr); }
    .trust-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .deals-grid   { grid-template-columns: 1fr; }
    .trust-strip  { grid-template-columns: 1fr; }
    .hero-title   { font-size: 28px; }
    .tabs-wrapper { gap: 8px; }
    .tab-btn      { font-size: 12px; padding: 7px 12px; }
    .offers-hero  { padding: 40px 16px; }
    .deals-section { padding: 30px 16px 50px; }
}
