/* =============================================================================
   deal-detail.css
   Styles for the deal detail page hero banner.
   Loaded via deal-detail.blade.php via @push('styles').

   Contents:
     1. CSS variables (dark theme for hero)
     2. Hero box — dark gradient banner
     3. Badge + heading + sub text
     4. Deal pill
     5. Hero image
     6. Responsive
============================================================================= */


/* -----------------------------------------------------------------------------
   1. CSS VARIABLES — dark deal theme
----------------------------------------------------------------------------- */
:root {
    --dd-bg-1:       #141c2b;
    --dd-bg-2:       #1e2940;
    --dd-accent:     var(--brand-accent);
    --dd-accent-soft:#ffe9b0;
    --dd-card:       #192133;
    --dd-text-main:  #f7fbff;
    --dd-text-sub:   #c6d3ea;
}


/* -----------------------------------------------------------------------------
   2. HERO BOX
----------------------------------------------------------------------------- */
.hero-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-deeper, #143f2d));
    box-shadow: 0 0 8px rgba(0, 0, 0, .7);
    padding: 2.5rem clamp(2rem, 4vw, 3.25rem);
    border-radius: 0;
}

/* Ambient glow orbs */
.hero-box::before,
.hero-box::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .7;
    pointer-events: none;
}

.hero-box::before {
    width: 260px;
    height: 260px;
    background: rgba(255, 179, 0, .33);
    top: -60px;
    left: -40px;
}

.hero-box::after {
    width: 340px;
    height: 340px;
    background: rgba(88, 190, 255, .28);
    bottom: -80px;
    right: -40px;
}

.hero-grid {
    position: relative;
    z-index: 2;
}


/* -----------------------------------------------------------------------------
   3. BADGE + HEADING + SUBTEXT
----------------------------------------------------------------------------- */
.badge-top {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .3rem .9rem;
    border-radius: 999px;
    background: rgba(7, 11, 25, .75);
    border: 1px solid rgba(255, 255, 255, .06);
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--dd-text-sub);
    margin-bottom: 1.2rem;
}

.badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-hot));
}

.hero-heading {
    font-size: clamp(2.4rem, 4vw, 3.1rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #f7f7f7;
}

.hero-heading span.highlight { color: var(--dd-accent-soft); }

.hero-sub {
    font-size: 1.05rem;
    color: var(--dd-text-sub);
    max-width: 26rem;
    margin-bottom: 1.6rem;
}


/* -----------------------------------------------------------------------------
   4. DEAL PILL
----------------------------------------------------------------------------- */
.deal-pill {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .6rem 1.1rem;
    border-radius: 999px;
    background: rgba(8, 13, 30, .9);
    border: 1px solid rgba(255, 255, 255, .1);
    margin-bottom: 2rem;
    font-size: .86rem;
    color: var(--dd-text-sub);
}

.deal-pill strong {
    font-size: 1.2rem;
    color: var(--dd-accent-soft);
}


/* -----------------------------------------------------------------------------
   5. HERO IMAGE
----------------------------------------------------------------------------- */
.hero-image-box { text-align: center; }

.hero-image {
    width: 270px;
    height: 350px;
    object-fit: cover;
    border-radius: 18px;
    border: 3px solid rgba(255, 255, 255, .15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .45);
}


/* -----------------------------------------------------------------------------
   6. RESPONSIVE
----------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .hero-grid  { text-align: center; }
    .hero-image { margin-top: 20px; height: 270px; }
}

@media (max-width: 767px) {
    .hero-image   { width: 230px; height: 230px; }
    .hero-heading { font-size: 2.2rem; }
}