/* ============================================================
   DEAL LANDING PAGE STYLES
   You normally edit config.php, not this file.
   ============================================================ */

:root {
    --fk-blue: #2874f0;
    --fk-dark-blue: #172337;
    --fk-yellow: #ffe500;
    --fk-gold: #ffc200;
    --fk-orange: #fb641b;
    --fk-green: #388e3c;
    --fk-green-light: #e8f5e9;
    --text-main: #212121;
    --text-muted: #878787;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at 50% 20%, #1a3a6b 0%, #0c1c38 45%, #050c1a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
    position: relative;
    overflow-x: hidden;
    color: var(--text-main);
}

/* Ambient glows */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    animation: glowPulse 6s ease-in-out infinite alternate;
}
.glow-1 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(40, 116, 240, 0.45), transparent 70%);
    top: -60px; left: -80px;
}
.glow-2 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(255, 194, 0, 0.28), transparent 70%);
    bottom: -80px; right: -80px;
    animation-delay: -3s;
}
.glow-3 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(251, 100, 27, 0.22), transparent 70%);
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
}
@keyframes glowPulse {
    0%   { transform: scale(1) translateY(0); opacity: 0.45; }
    100% { transform: scale(1.15) translateY(-20px); opacity: 0.7; }
}

/* Particles canvas */
#shoppingCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Floating background tags (desktop only) */
.bg-float-pill {
    position: fixed;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    animation: floatSlow 7s ease-in-out infinite alternate;
}
.pill-1 { top: 8%; left: 6%; animation-delay: 0s; }
.pill-2 { bottom: 12%; left: 8%; animation-delay: -2.5s; }
.pill-3 { top: 14%; right: 6%; animation-delay: -4s; }
.pill-4 { bottom: 16%; right: 7%; animation-delay: -1.2s; }
@keyframes floatSlow {
    0%   { transform: translateY(0) rotate(0deg); }
    50%  { transform: translateY(-12px) rotate(1.5deg); }
    100% { transform: translateY(6px) rotate(-1.5deg); }
}
@media (max-width: 900px) {
    .bg-float-pill { display: none; }
}

/* ── Main Shopping Card ── */
.shopping-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.45),
        0 1px 3px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    animation: cardEntrance 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    cursor: pointer;
}
.shopping-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 0 2px rgba(255, 194, 0, 0.6),
        0 30px 70px rgba(40, 116, 240, 0.35),
        0 10px 30px rgba(0, 0, 0, 0.3);
}
@keyframes cardEntrance {
    from { opacity: 0; transform: translateY(35px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Top Header ── */
.fk-top-header {
    background: linear-gradient(135deg, #2874f0 0%, #1e5fc7 100%);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    border-bottom: 2px solid #ffe500;
}
.fk-brand { display: flex; align-items: baseline; gap: 4px; }
.fk-brand-name {
    font-size: 20px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.5px;
    color: #ffffff;
}
.fk-plus-tag {
    font-size: 11px;
    font-weight: 700;
    color: #ffe500;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 2px;
}
.fk-plus-star { color: #ffe500; font-size: 13px; }

.fk-live-deal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.pulse-dot {
    width: 8px; height: 8px;
    background-color: #00e676;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    animation: pulseGreen 1.5s infinite;
}
@keyframes pulseGreen {
    0%   { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70%  { box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* ── Card Content Body ── */
.card-body {
    padding: 18px 20px 22px 20px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

/* ── Product Image Box ── */
.product-image-box {
    position: relative;
    width: 100%;
    height: 270px;
    background: linear-gradient(180deg, #f8faff 0%, #f0f4fc 100%);
    border-radius: 18px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3eaf7;
    overflow: hidden;
    margin-bottom: 14px;
}
.product-image {
    max-width: 82%;
    max-height: 80%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 12px 20px rgba(0, 20, 60, 0.15));
}
.shopping-card:hover .product-image { transform: scale(1.05); }

.discount-ribbon {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 2;
    background: linear-gradient(135deg, #e53935 0%, #d32f2f 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.assured-badge {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 2;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 3px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 4px;
}
.assured-text {
    font-size: 11px;
    font-weight: 800;
    font-style: italic;
    color: #2874f0;
}
.assured-icon { color: #ff9f00; font-size: 12px; }

/* Stock claim progress bar */
.stock-progress-wrap {
    margin-bottom: 14px;
    background: #fbfbfb;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px dashed #ffd180;
}
.stock-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 5px;
}
.stock-claimed-txt { color: #e65100; }
.stock-left-txt {
    color: #d84315;
    animation: pulseText 1.5s infinite;
}
@keyframes pulseText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: #eeeeee;
    border-radius: 10px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9800, #f44336);
    border-radius: 10px;
}

/* ── Product Info ── */
.product-meta { text-align: left; margin-bottom: 14px; }
.product-brand {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--fk-blue);
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}
.product-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    margin-bottom: 8px;
}
.product-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.rating-chip {
    background-color: #388e3c;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.rating-reviews-txt { font-size: 12px; color: #717478; font-weight: 600; }
.verified-buyer-tag {
    font-size: 11px;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* Price */
.price-box {
    background: #f7f9fd;
    border: 1px solid #e1e9f7;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
    text-align: left;
}
.price-header-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}
.price-current {
    font-size: 28px;
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.5px;
}
.price-original {
    font-size: 15px;
    color: #878787;
    text-decoration: line-through;
    font-weight: 500;
}
.price-discount {
    font-size: 14px;
    font-weight: 800;
    color: #388e3c;
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 6px;
}
.savings-tag {
    font-size: 12px;
    font-weight: 700;
    color: #2e7d32;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Perks */
.perks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
}
.perk-item {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 8px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.perk-icon { font-size: 16px; }
.perk-title { font-size: 10px; font-weight: 700; color: #333333; line-height: 1.2; }
.perk-sub { font-size: 9px; color: #757575; }

/* ── CTA Button ── */
.buy-now-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #fb641b 0%, #ff8c00 50%, #fb641b 100%);
    background-size: 200% auto;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    border-radius: 14px;
    text-align: center;
    overflow: hidden;
    box-shadow:
        0 6px 20px rgba(251, 100, 27, 0.45),
        0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.25s ease;
    margin-bottom: 14px;
}
.buy-now-btn:hover {
    transform: translateY(-2px);
    background-position: right center;
    box-shadow:
        0 10px 28px rgba(251, 100, 27, 0.6),
        0 3px 8px rgba(0, 0, 0, 0.15);
}
.buy-now-btn:active { transform: translateY(0) scale(0.98); }
.buy-now-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-25deg);
    animation: btnShine 2.5s infinite;
}
@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 180%; }
}
.btn-text-content { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.btn-main-txt {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.btn-sub-txt { font-size: 11px; font-weight: 600; color: #ffe0b2; letter-spacing: 0.3px; }
.btn-icon-flash {
    font-size: 22px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: bounceBolt 1.2s infinite alternate;
}
@keyframes bounceBolt {
    0%   { transform: scale(1) translateY(0); }
    100% { transform: scale(1.15) translateY(-2px); }
}

/* Store line */
.store-subtext {
    font-size: 12px;
    color: #616161;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
}
.store-tag { color: var(--fk-blue); font-weight: 700; }

/* ── Trust Footer ── */
.trust-footer {
    border-top: 1px solid #eeeeee;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.payment-partner-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #616161;
    font-weight: 500;
}
.razorpay-logo { height: 16px; width: auto; vertical-align: middle; }
.security-badges-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    color: #757575;
    font-weight: 600;
}
.sec-item { display: inline-flex; align-items: center; gap: 4px; }
.sec-item-icon { color: #2e7d32; font-size: 13px; }

/* ── Mobile (priority) ── */
@media (max-width: 480px) {
    body { padding: 12px 10px; align-items: flex-start; }
    .shopping-card { border-radius: 22px; }
    .card-body { padding: 14px 16px 18px 16px; }
    .product-image-box { height: 230px; }
    .price-current { font-size: 25px; }
    .buy-now-btn { padding: 14px 20px; }
    .btn-main-txt { font-size: 16px; }
    .perks-grid { gap: 6px; }
    .perk-item { padding: 6px 4px; }
}
