.hn-carousel-container-e5980326 {
    --hn-color-1: #00f0ff;
    --hn-color-2: #ff00ff;
    position: relative;
    overflow: hidden;
    padding: clamp(20px, 4vw, 40px) 0 clamp(60px, 8vw, 80px) 0;
    background: transparent;
}

/* Background animated grid */
.hn-carousel-container-e5980326 .hn-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(color-mix(in srgb, var(--hn-color-1) 10%, transparent) 1px, transparent 1px),
                      linear-gradient(90deg, color-mix(in srgb, var(--hn-color-1) 10%, transparent) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
    opacity: 0.5;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: bottom center;
    animation: hn-grid-move 10s linear infinite;
    pointer-events: none;
}

@keyframes hn-grid-move {
    0% { background-position: 0 0; }
    100% { background-position: 0 30px; }
}

/* Top HUD Line */
.hn-carousel-container-e5980326 .hn-hud-top-line {
    position: absolute;
    top: 0;
    left: clamp(10px, 2vw, 20px);
    right: clamp(10px, 2vw, 20px);
    height: 15px;
    border-top: 1px solid color-mix(in srgb, var(--hn-color-1) 30%, transparent);
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: clamp(0.5rem, 1vw, 0.65rem);
    color: color-mix(in srgb, var(--hn-color-1) 60%, transparent);
    z-index: 10;
    padding-top: 5px;
}
.hn-carousel-container-e5980326 .hn-hud-top-line::before,
.hn-carousel-container-e5980326 .hn-hud-top-line::after {
    content: '';
    position: absolute;
    top: -2px;
    width: clamp(10px, 2vw, 20px);
    height: 3px;
    background: var(--hn-color-1);
}
.hn-carousel-container-e5980326 .hn-hud-top-line::before { left: 0; }
.hn-carousel-container-e5980326 .hn-hud-top-line::after { right: 0; }


.hn-carousel-container-e5980326 .swiper-wrapper {
    align-items: stretch;
    padding-top: 20px; /* Space for HUD */
}

/* Base properties for the slides */
.hn-carousel-container-e5980326 .swiper-slide {
    height: auto;
    display: flex;
    z-index: 1;
}

.hn-slide-e5980326 .hn-card {
    position: relative;
    width: 100%;
    background: rgba(5, 5, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    padding: 2px; /* For the border wrapper effect */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: visible; /* Changed to visible for glowing borders */
}

.hn-slide-e5980326 .hn-card:hover {
    transform: translateY(-5px); /* Reduced hover lift slightly */
}

/* Card glowing backing */
.hn-slide-e5980326 .hn-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent;
    border: 1px solid var(--hn-current-color);
    box-shadow: inset 0 0 15px color-mix(in srgb, var(--hn-current-color) 20%, transparent),
                0 0 20px color-mix(in srgb, var(--hn-current-color) 40%, transparent);
    opacity: 0.3;
    transition: opacity 0.3s;
    z-index: 0;
}

.hn-slide-e5980326 .hn-card:hover::before {
    opacity: 1;
}

.hn-slide-e5980326 .hn-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(0, 5, 10, 0.95);
    padding: clamp(15px, 2vw, 20px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

/* Image styling with glitch effect */
.hn-slide-e5980326 .hn-img-wrap {
    position: relative;
    width: 100%;
    height: clamp(140px, 15vw, 180px); /* slightly smaller to fit better */
    overflow: hidden;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--hn-current-color);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.hn-slide-e5980326 .hn-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) sepia(20%) hue-rotate(180deg) brightness(0.8) contrast(1.5);
    transition: all 0.5s ease;
}

.hn-slide-e5980326 .hn-card:hover .hn-img-wrap img {
    filter: grayscale(0%) brightness(1.1) contrast(1.2);
    transform: scale(1.05);
}

.hn-slide-e5980326 .hn-img-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.2) 2px, rgba(0,0,0,0.2) 4px);
    pointer-events: none;
    z-index: 2;
}

/* Glitch Image Effect */
.hn-slide-e5980326 .hn-img-glitch {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 3;
    pointer-events: none;
    filter: grayscale(0);
    mix-blend-mode: screen;
}

.hn-slide-e5980326 .hn-card:hover .hn-img-glitch {
    animation: hn-glitch-anim 0.4s cubic-bezier(.25, .46, .45, .94) both infinite;
    opacity: 0.5;
}

@keyframes hn-glitch-anim {
    0% { clip-path: inset(10% 0 80% 0); transform: translate(-2px, 2px); }
    20% { clip-path: inset(80% 0 5% 0); transform: translate(2px, -2px); }
    40% { clip-path: inset(40% 0 40% 0); transform: translate(-2px, -2px); }
    60% { clip-path: inset(20% 0 60% 0); transform: translate(2px, 2px); }
    80% { clip-path: inset(60% 0 10% 0); transform: translate(-2px, -2px); }
    100% { clip-path: inset(30% 0 50% 0); transform: translate(2px, 2px); }
}

.hn-slide-e5980326 .hn-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* HUD Data Element */
.hn-slide-e5980326 .hn-hud-data {
    font-family: monospace;
    font-size: clamp(0.5rem, 1vw, 0.65rem);
    color: color-mix(in srgb, var(--hn-current-color) 70%, transparent);
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.hn-slide-e5980326 .hn-hud-data::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--hn-current-color);
    margin-right: 8px;
    animation: hn-blink 1s infinite;
}

@keyframes hn-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hn-slide-e5980326 .hn-categories {
    margin-bottom: 12px;
}

.hn-slide-e5980326 .hn-category {
    display: inline-block;
    color: var(--hn-current-color);
    font-size: clamp(0.6rem, 1.2vw, 0.75rem);
    font-family: monospace;
    text-transform: uppercase;
    margin-right: 10px;
    font-weight: bold;
    text-shadow: 0 0 5px color-mix(in srgb, var(--hn-current-color) 50%, transparent);
}

.hn-slide-e5980326 .hn-title {
    position: relative;
    margin: 0 0 10px;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-family: 'Courier New', Courier, monospace; /* Fallback high-tech font */
    text-transform: uppercase;
    line-height: 1.3;
}

.hn-slide-e5980326 .hn-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.hn-slide-e5980326 .hn-card:hover .hn-title a {
    color: var(--hn-current-color);
    text-shadow: 0 0 8px color-mix(in srgb, var(--hn-current-color) 60%, transparent);
}

/* Text Glitch on hover */
.hn-slide-e5980326 .hn-card:hover .hn-title::before,
.hn-slide-e5980326 .hn-card:hover .hn-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}
.hn-slide-e5980326 .hn-card:hover .hn-title::before {
    left: 2px;
    text-shadow: -1px 0 red;
    animation: hn-glitch-text-1 2s infinite linear alternate-reverse;
}
.hn-slide-e5980326 .hn-card:hover .hn-title::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    animation: hn-glitch-text-2 3s infinite linear alternate-reverse;
}

@keyframes hn-glitch-text-1 {
    0% { clip-path: inset(20% 0 80% 0); }
    20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(40% 0 50% 0); }
    60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(10% 0 70% 0); }
    100% { clip-path: inset(30% 0 20% 0); }
}
@keyframes hn-glitch-text-2 {
    0% { clip-path: inset(10% 0 60% 0); }
    20% { clip-path: inset(30% 0 20% 0); }
    40% { clip-path: inset(70% 0 10% 0); }
    60% { clip-path: inset(20% 0 50% 0); }
    80% { clip-path: inset(50% 0 30% 0); }
    100% { clip-path: inset(5% 0 80% 0); }
}


.hn-slide-e5980326 .hn-excerpt {
    color: #a0aab5;
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.hn-slide-e5980326 .hn-action-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.hn-slide-e5980326 .hn-readmore {
    position: relative;
    display: inline-block;
    color: var(--hn-current-color);
    font-family: monospace;
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    font-weight: bold;
    text-decoration: none;
    padding: 8px 15px;
    background: transparent;
    transition: all 0.3s;
    overflow: hidden;
}

.hn-slide-e5980326 .hn-readmore::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--hn-current-color);
    opacity: 0.1;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.hn-slide-e5980326 .hn-readmore::after {
    content: '>>';
    margin-left: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
    display: inline-block;
}

.hn-slide-e5980326 .hn-card:hover .hn-readmore::before {
    transform: scaleX(1);
}

.hn-slide-e5980326 .hn-card:hover .hn-readmore::after {
    opacity: 1;
    transform: translateX(0);
}

/* Fake HUD Chart */
.hn-slide-e5980326 .hn-bar-chart {
    display: flex;
    align-items: flex-end;
    height: 20px;
    gap: 3px;
    opacity: 0.5;
}
.hn-slide-e5980326 .hn-bar-chart span {
    width: 4px;
    background: var(--hn-current-color);
}
.hn-slide-e5980326 .hn-bar-chart span:nth-child(1) { height: 40%; animation: hn-chart-bounce 1s infinite alternate; }
.hn-slide-e5980326 .hn-bar-chart span:nth-child(2) { height: 80%; animation: hn-chart-bounce 1.5s infinite alternate; }
.hn-slide-e5980326 .hn-bar-chart span:nth-child(3) { height: 60%; animation: hn-chart-bounce 1.2s infinite alternate; }

@keyframes hn-chart-bounce {
    0% { height: 20%; }
    100% { height: 100%; }
}

/* Borders and Corners */
.hn-slide-e5980326 .hn-border-top,
.hn-slide-e5980326 .hn-border-bottom {
    position: absolute;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--hn-current-color);
    z-index: 10;
    opacity: 0;
    transition: all 0.4s;
    box-shadow: 0 0 10px var(--hn-current-color);
}
.hn-slide-e5980326 .hn-border-top { top: -1px; }
.hn-slide-e5980326 .hn-border-bottom { bottom: -1px; }

.hn-slide-e5980326 .hn-card:hover .hn-border-top,
.hn-slide-e5980326 .hn-card:hover .hn-border-bottom {
    opacity: 1;
    width: 100%;
    left: 0;
}

.hn-slide-e5980326 .hn-corner {
    position: absolute;
    width: 15px;
    height: 15px;
    z-index: 10;
    transition: all 0.3s;
    opacity: 0.5;
}

.hn-slide-e5980326 .hn-card:hover .hn-corner {
    width: 25px;
    height: 25px;
    border-color: var(--hn-current-color);
    opacity: 1;
    box-shadow: 0 0 10px var(--hn-current-color);
}

.hn-slide-e5980326 .top-left { top: -2px; left: -2px; border-top: 2px solid var(--hn-current-color); border-left: 2px solid var(--hn-current-color); }
.hn-slide-e5980326 .top-right { top: -2px; right: -2px; border-top: 2px solid var(--hn-current-color); border-right: 2px solid var(--hn-current-color); }
.hn-slide-e5980326 .bottom-left { bottom: -2px; left: -2px; border-bottom: 2px solid var(--hn-current-color); border-left: 2px solid var(--hn-current-color); }
.hn-slide-e5980326 .bottom-right { bottom: -2px; right: -2px; border-bottom: 2px solid var(--hn-current-color); border-right: 2px solid var(--hn-current-color); }

/* Scanline */
.hn-slide-e5980326 .hn-scanline {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--hn-current-color);
    box-shadow: 0 0 20px var(--hn-current-color), 0 0 40px var(--hn-current-color);
    z-index: 20;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: overlay;
}

.hn-slide-e5980326 .hn-card:hover .hn-scanline {
    animation: hn-scan-e5980326 3s linear infinite;
    opacity: 0.8;
}

@keyframes hn-scan-e5980326 {
    0% { top: -10%; }
    100% { top: 110%; }
}

/* -------------------------------------------
   NEW BOTTOM NAVIGATION BAR
------------------------------------------- */
.hn-carousel-container-e5980326 .hn-bottom-nav-bar {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 20px);
    z-index: 30;
    padding: 10px clamp(10px, 2vw, 20px);
    background: rgba(5,5,10, 0.8);
    border: 1px solid color-mix(in srgb, var(--hn-color-1) 30%, transparent);
    border-top: 2px solid var(--hn-color-1);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 100%, 0 100%);
    width: 80%;
    max-width: 600px;
}

.hn-carousel-container-e5980326 .hn-nav-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: monospace;
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    color: var(--hn-color-1);
    transition: all 0.3s;
    opacity: 0.7;
}

.hn-carousel-container-e5980326 .hn-nav-ctrl:hover,
.hn-carousel-container-e5980326 .hn-nav-ctrl:focus {
    opacity: 1;
    text-shadow: 0 0 8px var(--hn-color-1);
}

.hn-carousel-container-e5980326 .hn-nav-arrow-left,
.hn-carousel-container-e5980326 .hn-nav-arrow-right {
    width: clamp(8px, 1.5vw, 10px);
    height: clamp(8px, 1.5vw, 10px);
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}
.hn-carousel-container-e5980326 .hn-nav-arrow-left { transform: rotate(-135deg); }
.hn-carousel-container-e5980326 .hn-nav-arrow-right { transform: rotate(45deg); }


.hn-carousel-container-e5980326 .hn-pagination-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    position: relative;
    padding: 0 15px;
    overflow: hidden; /* prevents pagination bullets escaping container */
}

/* Swiper Bullet Pagination Override */
.hn-carousel-container-e5980326 .swiper-pagination-bullets {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto;
    display: flex;
    align-items: center;
    gap: clamp(5px, 1vw, 10px);
    flex-wrap: wrap; /* allow wrapping on small devices */
    justify-content: center;
}

.hn-carousel-container-e5980326 .swiper-pagination-bullet {
    width: clamp(15px, 3vw, 30px);
    height: 4px;
    border-radius: 0;
    background: color-mix(in srgb, var(--hn-color-1) 20%, transparent);
    opacity: 1;
    transition: all 0.3s;
    margin: 0 !important;
}

.hn-carousel-container-e5980326 .swiper-pagination-bullet-active {
    background: var(--hn-color-1);
    box-shadow: 0 0 10px var(--hn-color-1);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hn-carousel-container-e5980326 .hn-bottom-nav-bar {
        width: 95%;
        padding: 10px;
    }
    
    .hn-carousel-container-e5980326 .hn-nav-ctrl span {
        display: none; /* Hide text on mobile for space */
    }
}
