/* ARMSTAR Custom Styles */
html, body {overscroll-behavior: none; -ms-scroll-chaining: none; scroll-behavior: smooth;}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #DC2626;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B91C1C;
}

/* Submenu transitions */
#support-submenu {
    transition: all 0.3s ease;
}

#support-arrow {
    transition: transform 0.3s ease;
}

/* Premium decorative elements */
.premium-line {
    position: relative;
    overflow: hidden;
}

.premium-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(220, 38, 38, 0.2) 20%,
        rgba(220, 38, 38, 0.5) 50%,
        rgba(220, 38, 38, 0.2) 80%,
        transparent 100%
    );
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Luxury patterns */
.pattern-dots {
    background-image: radial-gradient(circle at 1px 1px, rgba(220, 38, 38, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Premium text effects */
.text-shadow-luxury {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 60px rgba(220, 38, 38, 0.2);
}

/* Weapon card hover effects */
.weapon-card {
    position: relative;
    overflow: hidden;
}

.weapon-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: rotate(45deg) translateY(100%);
    transition: transform 0.6s;
}

.weapon-card:hover::before {
    transform: rotate(45deg) translateY(-100%);
}

/* CTA Section animations */
.cta-text-glow {
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 20px rgba(220, 38, 38, 0.5), 0 0 40px rgba(220, 38, 38, 0.3), 0 0 60px rgba(220, 38, 38, 0.1);
    }
    to {
        text-shadow: 0 0 30px rgba(220, 38, 38, 0.7), 0 0 50px rgba(220, 38, 38, 0.5), 0 0 70px rgba(220, 38, 38, 0.3);
    }
}

.cta-border-animate {
    position: relative;
}

.cta-border-animate::before,
.cta-border-animate::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 0.5rem;
    padding: 2px;
    background: linear-gradient(45deg, #dc2626, transparent, #dc2626);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    100% {
        transform: rotate(360deg);
    }
}

/* CTA Section Background */
.cta-premium {
    background-color: #1a1a1a;
}

/* CTA pattern background */
.cta-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"%3E%3Cpath d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(220,38,38,0.05)" stroke-width="1"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="100%25" height="100%25" fill="url(%23grid)" /%3E%3C/svg%3E');
    opacity: 0.5;
    z-index: 2;
}

/* CTA Button Primary */
.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.375rem;
    background-image: linear-gradient(to right, #DC2626, #B91C1C);
    padding: 1rem 2.5rem;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.5);
}

.cta-button:hover {
    transform: scale(1.05);
    background-image: linear-gradient(to right, #B91C1C, #991B1B);
    border-color: rgba(220, 38, 38, 0.8);
}

.cta-button::after {
    content: '';
    position: absolute;
    inset: 0;
    transform-origin: left;
    transform: scaleX(0);
    border-radius: 0.375rem;
    background-color: rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.cta-button:hover::after {
    transform: scaleX(1);
}

/* Badge Premium */
.badge-premium {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(220, 38, 38, 0.1));
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #DC2626;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hover Glow Effect */
.hover-glow:hover {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4), 0 0 40px rgba(220, 38, 38, 0.2);
}

/* Dark CTA Button Variant */
.cta-button-dark {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.375rem;
    background-image: linear-gradient(to right, #111827, #1F2937);
    padding: 1rem 2.5rem;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(55, 65, 81, 0.5);
}

.cta-button-dark:hover {
    transform: scale(1.05);
    background-image: linear-gradient(to right, #1F2937, #374151);
    border-color: rgba(107, 114, 128, 0.5);
}

.cta-button-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    transform-origin: left;
    transform: scaleX(0);
    border-radius: 0.375rem;
    background-color: rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.cta-button-dark:hover::after {
    transform: scaleX(1);
}

/* Footer enhancements */
.bg-gray-950 {
    background-color: #0a0a0a;
}

footer {
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Slider Navigation Styles */
.slider-nav-premium {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    opacity: 0;
}

.swiper:hover .slider-nav-premium {
    opacity: 1;
}

.slider-nav-premium:hover {
    background: rgba(220, 38, 38, 0.8);
    border-color: rgba(220, 38, 38, 0.5);
    transform: scale(1.1);
}

.slider-nav-premium::after {
    display: none;
}

.swiper-button-next.slider-nav-premium {
    right: 30px;
}

.swiper-button-prev.slider-nav-premium {
    left: 30px;
}

/* Premium Pagination */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.swiper-pagination-bullet-active {
    width: 40px;
    height: 12px;
    border-radius: 6px;
    background: #DC2626;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.swiper-pagination-bullet-active::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(220, 38, 38, 0.5);
    border-radius: 8px;
    animation: pulseBorder 2s infinite;
}

@keyframes pulseBorder {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slider Image Enhancement */
.heroSwiper {
    width: 100%;
}

.heroSwiper .swiper-slide {
    height: auto;
}

.heroSwiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Prevent horizontal overflow */
body {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .slider-nav-premium {
        width: 45px;
        height: 45px;
    }
    
    .slider-nav-premium svg {
        width: 24px;
        height: 24px;
    }
    
    .swiper-button-next.slider-nav-premium {
        right: 15px;
    }
    
    .swiper-button-prev.slider-nav-premium {
        left: 15px;
    }
}

/* Parallax Effect */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.parallax-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    object-position: center center;
    transform: translateY(-20%);
}

/* Certificate Logo Effects */
.certificate-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 48px;
}

.certificate-logo img {
    filter: grayscale(100%);
    opacity: 0.35;
    transition: all 0.3s ease;
    display: block;
}

.certificate-logo:hover img {
    filter: grayscale(0%);
    opacity: 0.75;
    transform: scale(1.03);
}

/* Counter Animation */
.counter-animation {
    display: inline-block;
}

/* Aggressive Counter Styles */
.aggressive-counter-box {
    position: relative;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

/* Aggressive Separators */
.aggressive-separator {
    position: relative;
}

.aggressive-separator::before,
.aggressive-separator::after {
    content: '';
    position: absolute;
    top: 25%;
    bottom: 25%;
    width: 3px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        #DC2626 30%, 
        #DC2626 70%, 
        transparent 100%
    );
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.6);
}

.aggressive-separator::before {
    left: 0;
    transform: translateX(-50%);
}

.aggressive-separator::after {
    right: 0;
    transform: translateX(50%);
}



.counter-inner {
    position: relative;
    z-index: 2;
}

.aggressive-counter {
    position: relative;
    -webkit-text-stroke: 2px #DC2626;
    -webkit-text-fill-color: transparent;
    text-stroke: 2px #DC2626;
    text-fill-color: transparent;
    letter-spacing: 0.05em;
    animation: counterPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}


@keyframes counterPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.02);
        filter: brightness(1.2);
    }
}

/* Aggressive counter glow effect */
.aggressive-counter::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.2) 0%, transparent 70%);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}


/* Professional Aggressive Heading Styles */
.aggressive-heading-container {
    position: relative;
    text-align: center;
}

.aggressive-heading {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #111827 0%, #1F2937 50%, #111827 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.aggressive-heading::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, transparent, #DC2626);
    opacity: 0.8;
}

.aggressive-heading::after {
    content: '';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(to left, transparent, #DC2626);
    opacity: 0.8;
}

/* Aggressive Divider */
.aggressive-divider {
    width: 200px;
    height: 4px;
    position: relative;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #DC2626 20%, 
        #DC2626 80%, 
        transparent 100%
    );
    overflow: hidden;
}

.aggressive-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.5) 50%, 
        transparent 100%
    );
    animation: aggressiveShimmer 3s ease-in-out infinite;
}

@keyframes aggressiveShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Hover Effects */
.aggressive-heading-container:hover .aggressive-heading {
    transform: scale(1.02);
    text-shadow: 0 6px 30px rgba(220, 38, 38, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .aggressive-heading::before,
    .aggressive-heading::after {
        display: none;
    }
    
    .aggressive-divider {
        width: 150px;
    }
}

/* Military Text Style */
.military-text {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.military-text::before,
.military-text::after {
    content: '★';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #DC2626;
    opacity: 0.3;
    font-size: 0.6em;
}

.military-text::before {
    left: -2em;
}

.military-text::after {
    right: -2em;
}

/* Tactical Divider - Knight Rider KITT Style */
.tactical-divider {
    width: 300px;
    height: 4px;
    position: relative;
    overflow: hidden;
}

.tactical-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(220, 38, 38, 0.6) 30%,
        #DC2626 50%,
        rgba(220, 38, 38, 0.6) 70%,
        transparent 100%
    );
    box-shadow: 
        0 0 15px #DC2626,
        0 0 30px rgba(220, 38, 38, 0.6),
        0 0 50px rgba(220, 38, 38, 0.3);
    animation: kittScanner 2s ease-in-out infinite;
}

.tactical-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    pointer-events: none;
}

/* Animations */

@keyframes kittScanner {
    0% {
        left: -20%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -20%;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .military-emblem-header {
        padding: 0;
    }
    
    .military-text {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    .military-text::before,
    .military-text::after {
        display: none;
    }
    
    .tactical-divider {
        width: 200px;
    }
}

/* Newsletter Premium Styles */
.newsletter-premium {
    background: linear-gradient(135deg, #111827 0%, #1F2937 50%, #111827 100%);
}

.newsletter-form-container {
    position: relative;
}

.newsletter-form {
    position: relative;
}

.newsletter-input:focus + div {
    opacity: 1;
}

.newsletter-button:hover .absolute {
    opacity: 1;
}

.newsletter-form::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 0.75rem;
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(220, 38, 38, 0.5), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.newsletter-form:hover::before {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .newsletter-form::before {
        display: none;
    }
}

/* Additional custom styles can be added here */

.page-texts p {
	margin-bottom: 1rem;
}

.mainSwiper img {
	border-radius: 1rem;
}

.product-thumbs .swiper-slide {max-width:300px}