/* comic-override.css */
@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');

/* 1. Typography (Layered, Not Replaced) */
.comic-panel h1, 
.comic-panel h2, 
.comic-panel h3 {
    font-family: 'Bangers', cursive !important;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
    letter-spacing: 1px;
}

/* 2. Borders & "Ink" Panels (Structural Only) */
.comic-panel {
    border: 4px solid #1a1a1a !important;
    outline: 2px dashed var(--c-saffron);
    outline-offset: -8px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15) !important;
    position: relative;
    /* Ensure content stays inside the hard borders */
    overflow: hidden;
    transition: all 0.3s ease;
}

.comic-panel:hover {
    outline-color: #1a1a1a !important; /* Darken the dashed border */
    box-shadow: 10px 10px 0px rgba(0,0,0,0.25) !important; /* Darken the shadow */
}

/* 3. Background Texture (Subtle Ben-Day dots) */
.comic-bg {
    position: relative;
    z-index: 1;
}

.comic-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(26, 26, 26, 0.08) 20%, transparent 20%);
    background-size: 8px 8px;
    background-position: 0 0;
    z-index: -1; /* Keep it behind text/content but above background color */
    pointer-events: none;
}

/* 4. Buttons & CTAs (The 3D "THUD") */
.premium-btn,
.btn.premium-btn {
    border-bottom: 6px solid rgba(0,0,0,0.3) !important;
    transition: transform 0.1s ease, border-bottom 0.1s ease, box-shadow 0.1s ease !important;
}

.premium-btn:active,
.btn.premium-btn:active {
    border-bottom: 2px solid rgba(0,0,0,0.3) !important;
    transform: translateY(4px) !important;
    /* Adjust margin to prevent surrounding layout jump */
    margin-bottom: 4px;
}

/* 5. JS Micro-Interactions (Vanilla) - CSS portion */
.product-card {
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.2s ease !important;
}

.product-card.tilt {
    transform: translateY(-6px) !important;
    box-shadow: 12px 12px 0px rgba(0,0,0,0.2) !important;
    z-index: 10;
}

/* 6. The "Speed Line" Burst (Background FX) */
.action-burst {
    position: absolute;
    top: -50%; 
    left: -50%; 
    right: -50%; 
    bottom: -50%;
    /* Removes the transparent ray effect the user disliked */
    display: none !important;
}

/* The Shatter Hover Effect */
.product-card:hover .action-burst {
    transform: scale(1.1) rotate(15deg);
}

/* Ensure contents stay above burst */
.product-card > * {
    position: relative;
    z-index: 1;
}

/* 7. The "Pointer Arrow" (UX Guide) */
/* The premium button needs a relative wrapper to position the arrow correctly */
/* Removed duplicate upward arrow CSS */

/* 8. "Action Captions" (Replace Badges) */
.action-caption {
    position: absolute;
    top: 15px;
    right: 10px; /* Kept inside to avoid overflow: hidden clipping */
    background: #fff;
    border: 4px solid #1a1a1a;
    padding: 6px 12px;
    font-family: 'Bangers', cursive;
    font-size: 1rem;
    color: var(--c-deep-red);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.15);
    z-index: 10;
    transform: rotate(3deg);
    white-space: nowrap;
}

/* Pointed tail for the speech bubble look */
.action-caption::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 15px;
    border-width: 12px 12px 0;
    border-style: solid;
    border-color: #1a1a1a transparent transparent transparent;
}

/* Inner white tail to hollow out the border */
.action-caption::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 19px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    z-index: 1;
}
/* 
 * comic-action.css 
 * Comic-Book Action Staging Theme 
 */

/* =========================================================================
   1. HERO SECTION - "The Comic Panel Frame"
   ========================================================================= */
.hero-comic-panel {
    /* Modify these variables to tweak the appearance */
    --border-thickness: 6px;
    --border-color: #1a1a1a;
    --inner-dash-thickness: 4px;
    --inner-dash-offset: -12px;
    
    position: relative;
    border: var(--border-thickness) solid var(--border-color);
    outline: var(--inner-dash-thickness) dashed var(--border-color);
    outline-offset: var(--inner-dash-offset);
    background: inherit; /* Keeps existing background unchanged */
    overflow: hidden;
    margin-bottom: 30px;
}

/* L-shaped corner cutouts using ::before and ::after */
.hero-comic-panel::before,
.hero-comic-panel::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: transparent;
    border: var(--border-thickness) solid var(--border-color);
    z-index: 10;
    pointer-events: none;
}

/* Top-Left Corner */
.hero-comic-panel::before {
    top: -var(--border-thickness);
    left: -var(--border-thickness);
    border-right: none;
    border-bottom: none;
    background: #fff; /* to cover inner dashed line if needed, or transparent */
}

/* Bottom-Right Corner */
.hero-comic-panel::after {
    bottom: -var(--border-thickness);
    right: -var(--border-thickness);
    border-left: none;
    border-top: none;
    background: #fff; 
}


/* =========================================================================
   2. BOUNCING SCROLL ARROW (Hero to Products)
   ========================================================================= */
.hero-to-products-flow {
    text-align: center;
    margin: 20px 0 40px 0;
    font-size: 2.5rem;
    color: #1a1a1a;
    /* Adjust animation speed here */
    animation: comicBounce 1.5s infinite ease-in-out;
}

@keyframes comicBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}


/* =========================================================================
   3. FOOTER - "Dotted Flow Arrows"
   ========================================================================= */
.footer-comic-wrapper {
    position: relative;
    padding-top: 20px;
}

/* We target the columns inside the footer */
.footer-comic-wrapper .col-md-4 {
    position: relative;
}

/* The dotted horizontal line connecting columns (desktop only) */
@media (min-width: 768px) {
    .footer-comic-wrapper .col-md-4:not(:last-child)::after {
        display: none;
    }

    /* The solid arrow head pointing right */
    .footer-comic-wrapper .col-md-4:not(:last-child)::before {
        display: none;
    }
}


/* =========================================================================
   4. PRODUCT CARDS - "Action Staging"
   ========================================================================= */
.product-card {
    position: relative;
    overflow: hidden; /* Contains the speed lines */
    /* Add smooth transition for the card itself */
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease !important;
}

/* (A) The "Speed Line" Burst (Background FX) */
.action-burst {
    /* Tweak opacity and ray sizes here */
    --ray-opacity: 0.08;
    --burst-speed: 0.3s;
    
    position: absolute;
    top: -50%; 
    left: -50%; 
    right: -50%; 
    bottom: -50%;
    
    /* Conic gradient using existing brand saffron color at low opacity */
    background: repeating-conic-gradient(
        from 0deg,
        transparent 0deg 15deg,
        rgba(224, 169, 109, var(--ray-opacity)) 15deg 30deg 
    );
    z-index: 0;
    transition: transform var(--burst-speed) ease-out;
    pointer-events: none;
}

/* (D) The Shatter Hover Effect */
/* Triggered by JS class .action-hover or purely CSS */
.product-card.action-hover .action-burst,
.product-card:hover .action-burst {
    transform: scale(1.1) rotate(15deg);
}

/* Ensure product content stays above the action burst */
.product-card > * {
    position: relative;
    z-index: 1;
}

/* (B) The "Pointer Arrow" (UX Guide) on Add To Cart Button */
.premium-btn {
    position: relative;
    overflow: visible !important;
}

/* Removed upward arrow per user request */

/* (C) "Action Captions" (Dynamic Superpower Badges) */
.action-caption {
    position: absolute;
    top: 15px;
    right: 10px;
    background: #fff;
    border: 4px solid #1a1a1a;
    padding: 6px 12px;
    font-family: 'Bangers', sans-serif;
    font-size: 1.1rem;
    color: var(--c-deep-red); /* Uses existing brand color */
    box-shadow: 4px 4px 0px rgba(0,0,0,0.15);
    z-index: 10;
    transform: rotate(3deg);
    white-space: nowrap;
}

/* Pointed tail */
.action-caption::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 15px;
    border-width: 12px 12px 0;
    border-style: solid;
    border-color: #1a1a1a transparent transparent transparent;
}

/* Inner white tail to hollow it out */
.action-caption::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 19px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    z-index: 1;
}
/* 
 * footer-comic.css
 * Premium Vintage Comic-Book "End Credits" Panel
 */

:root {
    /* Variables you can tweak */
    --fc-border-thick: 6px solid #1a1a1a;
    --fc-border-dashed: 3px dashed #1a1a1a;
    --fc-arrow-color: #1a1a1a;
    --fc-hover-lift: -3px;
    --fc-hover-border: 4px solid #1a1a1a;
}

/* 1. The "End Credits" Panel Wrapper */
.footer-comic-wrapper {
    background: inherit;
    position: relative;
    border-top: var(--fc-border-thick);
    box-shadow: 0 -8px 0px rgba(0,0,0,0.05);
    width: 100%;
}

/* Comic "Page Edge" Effect (Removed per request) */

/* 2. Navigation Links */
.comic-nav-list {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.comic-nav-list li {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 35px !important; /* Space for the arrow */
    margin-left: 0 !important;
}

.comic-nav-list li:last-child {
    margin-right: 0 !important;
}

/* Dotted horizontal line between links */
.comic-nav-list li:not(:last-child)::before {
    content: '';
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    border-top: var(--fc-border-dashed);
    pointer-events: none;
}

/* Solid triangle arrow at the end of the dotted line */
.comic-nav-list li:not(:last-child)::after {
    content: '▶';
    position: absolute;
    right: -32px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--fc-arrow-color);
    pointer-events: none;
}

/* Link Hover Lift Effect */
.comic-nav-list li a {
    display: inline-block;
    transition: transform 0.2s ease, border-color 0.2s ease;
    border-bottom: 4px solid transparent;
    padding-bottom: 2px;
}

.comic-nav-list li a:hover {
    transform: translateY(var(--fc-hover-lift));
    border-bottom: var(--fc-hover-border);
}

/* 3. The Copyright Text Badge */
.comic-credits {
    border: 2px solid #1a1a1a;
    padding: 8px 16px;
    display: inline-block;
    position: relative;
    background: inherit;
    margin-top: 15px; /* Spacing from social icons */
}

/* "MANBHAR" Star Badge */
.comic-credits::after {
    content: '★ MANBHAR';
    position: absolute;
    bottom: -12px;
    right: -15px;
    background-color: #1a1a1a;
    color: #fff; /* contrast text */
    font-family: sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    transform: rotate(-4deg);
    white-space: nowrap;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
    pointer-events: none;
}

/* 4. Responsive Overrides */
@media (max-width: 768px) {
    .comic-nav-list {
        margin: 10px 0 !important;
        gap: 5px; /* Tighter gap on mobile to fit horizontally */
    }
    
    .comic-nav-list li {
        margin-right: 15px !important; /* Smaller arrow spacing on mobile */
    }
    
    /* Keep horizontal arrow but shrink it slightly */
    .comic-nav-list li:not(:last-child)::before {
        width: 8px;
        right: -13px;
    }
    .comic-nav-list li:not(:last-child)::after {
        right: -17px;
    }
}

/* 5. Social Icons Hover Effects */
.footer-comic-wrapper a:has(i.fa-instagram),
.footer-comic-wrapper a:has(i.fa-facebook) {
    border: 2px solid transparent;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

/* Custom CSS Tooltips for Socials */
.footer-comic-wrapper a:has(i.fa-instagram)::after {
    content: 'Follow on Instagram';
}
.footer-comic-wrapper a:has(i.fa-facebook)::after {
    content: 'Follow on Facebook';
}

.footer-comic-wrapper a:has(i.fa-instagram)::after,
.footer-comic-wrapper a:has(i.fa-facebook)::after {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #1a1a1a;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: sans-serif;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Tooltip Little Triangle Pointer */
.footer-comic-wrapper a:has(i.fa-instagram)::before,
.footer-comic-wrapper a:has(i.fa-facebook)::before {
    content: '';
    position: absolute;
    bottom: calc(120% - 6px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: #1a1a1a transparent transparent transparent;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.footer-comic-wrapper a:has(i.fa-instagram):hover::after,
.footer-comic-wrapper a:has(i.fa-facebook):hover::after,
.footer-comic-wrapper a:has(i.fa-instagram):hover::before,
.footer-comic-wrapper a:has(i.fa-facebook):hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Reddish Insta Color */
.footer-comic-wrapper a:has(i.fa-instagram):hover {
    border-color: #E1306C;
    background-color: rgba(225, 48, 108, 0.1);
}
.footer-comic-wrapper a:has(i.fa-instagram):hover i {
    color: #E1306C !important;
}

/* Blueish Meta Color */
.footer-comic-wrapper a:has(i.fa-facebook):hover {
    border-color: #1877F2;
    background-color: rgba(24, 119, 242, 0.1);
}
.footer-comic-wrapper a:has(i.fa-facebook):hover i {
    color: #1877F2 !important;
}
/* 
 * story-comic.css 
 * Comic-Book Styling for the Story/About Page
 */

/* 1. The Main Panel Wrapper */
.story-comic-wrapper {
    position: relative;
    border: 6px solid #1a1a1a;
    outline: 3px dashed #1a1a1a;
    outline-offset: -15px;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.06);
    background: inherit;
    border-radius: 4px;
    overflow: hidden;
}

/* 2. The Headline Caption Box */
.comic-headline-box {
    display: inline-block;
    background: #fff;
    border: 4px solid #1a1a1a;
    padding: 10px 20px;
    position: relative;
    transform: rotate(-1.5deg);
    margin-bottom: 20px;
    z-index: 10;
}

/* Black tail */
.comic-headline-box::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 20px;
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: #1a1a1a transparent transparent transparent;
}

/* Inner white tail to hollow out the border */
.comic-headline-box::before {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 23px;
    border-width: 11px 11px 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    z-index: 1;
}

/* 3. The "Villain vs Hero" Layout */
.villain-text {
    background: rgba(0,0,0,0.04);
    padding: 20px;
    position: relative;
    clip-path: polygon(0% 0%, 100% 1%, 99% 100%, 1% 99%);
    border-left: 4px solid rgba(0,0,0,0.2); /* Muted border */
    margin-bottom: 20px;
}

.hero-text {
    position: relative;
    padding: 20px;
    border-left: 8px solid #1a1a1a;
    /* Burst using brand accent at 6% opacity */
    background: radial-gradient(circle at right, rgba(224, 169, 109, 0.06) 0%, transparent 60%);
    margin-bottom: 20px;
}

/* 4. The Bullet Points (Power Panels) */
.power-panel {
    position: relative;
    border: 3px dashed #1a1a1a;
    padding: 15px 15px 15px 45px;
    background: #fff;
    margin-bottom: 15px;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.power-panel:hover {
    transform: rotate(1deg) scale(1.01);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
}

.power-panel::before {
    content: attr(data-number);
    position: absolute;
    top: -10px;
    left: -10px;
    width: 35px;
    height: 35px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 2px 2px 0px var(--c-saffron, #E0A96D);
}

/* Hide the existing font-awesome checkmarks to replace with our number badges */
.power-panel .fa-check {
    display: none !important;
}

/* 5. The 3 Spice "Character Cards" (Strips) */
.character-strip-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    position: relative;
    z-index: 3;
    margin-top: 20px;
}

/* Horizontal dotted line connecting the strips */
.character-strip-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    border-top: 3px dotted #1a1a1a;
    z-index: -1;
}

.character-strip {
    background: #fff;
    border: 2px solid #1a1a1a;
    border-bottom: 4px solid #1a1a1a; /* Thick bottom border */
    padding: 8px 15px;
    position: relative;
    font-family: var(--font-heading);
    font-weight: bold;
    color: #1a1a1a !important; /* Overriding btn colors for comic effect */
    transition: transform 0.2s ease;
    text-decoration: none;
}

.character-strip:hover {
    transform: translateY(-3px);
}

.power-label {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--c-deep-red);
    font-size: 0.65rem;
    padding: 2px 6px;
    border: 2px solid #1a1a1a;
    white-space: nowrap;
    font-family: 'Bangers', cursive;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

/* 6. The Final CTA (EXPERIENCE THE PURITY) */
.cta-splash {
    position: relative;
    display: inline-block;
    padding: 40px;
    margin-top: 20px;
}

/* Giant explosion burst behind button */
.cta-splash::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250%;
    height: 250%;
    transform: translate(-50%, -50%);
    background: repeating-conic-gradient(
        transparent 0deg 15deg,
        rgba(224, 169, 109, 0.05) 15deg 30deg /* 5% opacity */
    );
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
}

.cta-btn-comic {
    position: relative;
    z-index: 2;
    border-bottom: 6px solid #1a1a1a !important; /* 3D press effect */
    transition: all 0.1s ease !important;
}

.cta-btn-comic:active {
    border-bottom: 2px solid #1a1a1a !important;
    transform: translateY(4px) !important;
}

/* Pointer arrow from the left mimicking ServerFreak ad */
.cta-btn-comic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -45px; /* Adjust spacing */
    transform: translateY(-50%);
    width: 30px;
    height: 15px;
    background: #1a1a1a;
    /* Polygon drawing arrow pointing right */
    clip-path: polygon(0 30%, 70% 30%, 70% 0, 100% 50%, 70% 100%, 70% 70%, 0 70%);
    animation: pulseArrowRight 1s infinite alternate;
}

@keyframes pulseArrowRight {
    from { left: -55px; }
    to { left: -40px; }
}
