/* ============================================================
   SILVERWARS TACTICAL CARD OVERRIDES (OFFICIAL)
============================================================ */




/* --- CALLOUT CARDS --- */
body .kg-callout-card {
    background: rgba(255, 0, 0, 0.05) !important;
    border-left: 3px solid #ff0000 !important;
    border-radius: 4px !important;
}

body .kg-callout-text {
    color: #d7dce2 !important;
    font-size: 1.1rem !important;
}

.kg-callout-card-accent {

    background: var(--ghost-accent-color);

    color: #fff

}

.kg-callout-card.kg-callout-card-accent a {

    color: #fff;

    text-decoration: underline

}



.kg-callout-card div.kg-callout-emoji {

    padding-right: .8em;

    line-height: 1.25em;

    font-size: 1.15em

}



.kg-callout-card div.kg-callout-text {

    font-size: .95em;

    line-height: 1.5em

}



.kg-callout-card+.kg-callout-card {

    margin-top: 1em

}


/* --- PRODUCT CARDS --- */
body .kg-product-card-container {
    background: #111 !important;
    border: 1px solid #333 !important;
    color: #fff !important;
}

body .kg-product-card-title {
    color: #ff0000 !important;
}

body .kg-product-card-btn-accent {
    background-color: #ff0000 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/*------------------------------------------------------
BUTTONS
---------------------------------------------------------------*/

/* 1. Center the Button Container */
.kg-button-card {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 2rem 0 !important; /* Spacing above/below */
}

/* 2. Stylize the Button */
body .kg-button-card a.kg-btn-accent {
    /* Shape & Size */
    display: inline-block !important;
    padding: 12px 30px !important;
    border-radius: 2px !important; /* Sharp tactical corners */
    
    /* Silver Gradient Background */
    background-color: #C0C0C0 !important;
    background-image: linear-gradient(180deg, #E8E8E8 0%, #C0C0C0 40%, #A0A0A0 100%) !important;
    
    /* Typography */
    color: #000000 !important; /* Black text for contrast against silver */
    font-family: "Refinery-75-Bold", sans-serif !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 800 !important;
    text-decoration: none !important;

    /* Borders & Glow */
    border: 1px solid #ffffff !important;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.5) !important;
    transition: all 0.2s ease-in-out !important;
}

/* 3. Hover Effect */
body .kg-button-card a.kg-btn-accent:hover {
    background-image: linear-gradient(180deg, #ffffff 0%, #dcdcdc 100%) !important;
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8) !important;
}


/*------------------------------------------------------
SEPARATOR
1. Target the post content wrapper (.gh-content)
     2. Target the divider tag (hr) 
-------------------------------------------------------*/


.gh-content hr {
    border: 0 !important;
    height: 3px !important; /* Slightly thinner for a laser look */
    margin: 1.25em 0 !important;
    display: block !important;
    
    /* Red Gradient Core */
    background: linear-gradient(90deg, 
        rgba(0,0,0,0) 0%, 
        rgba(200, 0, 0, 1) 50%, 
        rgba(0,0,0,0) 100%
    ) !important;
    
    /* Animation: 3s duration matches the button */
    animation: redLinePulse 3s ease-in-out infinite !important;


@keyframes redLinePulse {
    0% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.4);
        opacity: 0.8;
    }
    50% {
        /* Glow expands and gets brighter */
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.9), 0 0 10px rgba(255, 50, 50, 0.5);
        opacity: 1;
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.4);
        opacity: 0.8;
    }
}

/* --- 1. CONTAINER CENTER ALIGNMENT --- */
.kg-button-card {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 3rem 0 !important;
}

/* --- 2. BUTTON STYLING & ANIMATION APPLICATION --- */
body .kg-button-card a.kg-btn-accent {
    /* Shape */
    padding: 16px 40px !important;
    border-radius: 1px !important; /* Almost square */
    display: inline-block !important;
    
    /* Deep Red Tech Background */
    background-color: #990000 !important;
    background-image: linear-gradient(180deg, rgba(220, 20, 20, 0.9) 0%, rgba(80, 0, 0, 1) 100%) !important;
    
    /* Typography */
    color: #fff !important;
    /* Ensuring we use the font from your previous code */
    font-family: "Refinery-75-Bold", sans-serif !important; 
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    
    /* Tech Borders */
    border: 2px solid #ff4d4d !important;
    border-left: 5px solid #ff0000 !important; /* Thicker tactical left accent */
    
    /* APPLY THE ANIMATION HERE */
    /* name | duration | timing-function | iteration-count */
    animation: radioactivePulse 3s ease-in-out infinite !important;
    
    transition: all 0.2s ease !important;
}

/* --- 3. HOVER STATE (INTERACTION) --- */
/* When hovered, it pauses the pulse and goes full brightness */
body .kg-button-card a.kg-btn-accent:hover {
    animation-play-state: paused !important;
    background-color: #ff0000 !important;
    transform: scale(1.03) !important; /* Slight grow effect */
    box-shadow: 0 0 40px rgba(255, 50, 50, 1) !important;
    border-color: #fff !important;
}


/* --- 1. CONTAINER CENTER ALIGNMENT --- */
.kg-button-card {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 3rem 0 !important;
}

/* --- 2. BUTTON BASE STYLES --- */
body .kg-button-card a.kg-btn-accent {
    /* Necessary for the scanner effect to stay inside the button */
    position: relative !important;
    overflow: hidden !important; 

    /* Shape & Size */
    padding: 16px 40px !important;
    border-radius: 2px !important;
    display: inline-block !important;
    
    /* Looks like the previous red button */
    background: linear-gradient(180deg, #cc0000 0%, #800000 100%) !important;
    color: #fff !important;
    font-family: "Refinery-75-Bold", sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border: 1px solid #ff3333 !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5) !important;
    transition: all 0.3s ease !important;
}

/* --- 3. THE SCANNER LIGHT (Pseudo-element) --- */
body .kg-button-card a.kg-btn-accent::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important; /* Start off-screen left */
    width: 100% !important;
    height: 100% !important;
    
    /* The bright scanner beam */
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6), 
        transparent
    ) !important;
    
    /* Angled look */
    transform: skewX(-20deg) !important;
    transition: none !important; /* Hidden by default */
}

/* --- 4. HOVER TRIGGER --- */
body .kg-button-card a.kg-btn-accent:hover {
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.9) !important;
}

/* Fire the animation on hover */
body .kg-button-card a.kg-btn-accent:hover::after {
    /* Move the scanner beam from left to right */
    left: 100% !important; 
    transition: 0.7s ease-in-out !important;
}