/**
 * Hero Slider 2 - Sci-Fi Style
 * 3D panels, neon glow, tech grid
 */

/* ===== RESET & BASE ===== */
.hero-slider-2-page {
    margin: 0;
    padding: 0;
}

/* ===== HERO SECTION ===== */
.hmanhwa-hero-scifi {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--scifi-bg-dark, #050505);
}

/* ===== BACKGROUND LAYER ===== */
.hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Gradient Overlays */
.hero-gradient-left {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.85) 30%,
        rgba(0, 0, 0, 0.5) 60%,
        transparent 100%
    );
}

.hero-gradient-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 1) 0%,
        transparent 40%
    );
}

/* Tech Grid Background */
.hero-tech-grid {
    position: absolute;
    inset: 0;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    pointer-events: none;
}

/* Green Glow Spot */
.hero-glow-spot {
    position: absolute;
    top: 50%;
    left: 25%;
    width: 500px;
    height: 500px;
    background: rgba(var(--scifi-neon-rgb), 0.08);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

/* ===== MAIN SLIDER LAYOUT ===== */
.hero-main {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px 100px;
    height: 100%;
    box-sizing: border-box;
}

.hero-slider-container {
    display: grid;
    grid-template-columns: 380px 1fr 320px;
    gap: 48px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== COVER CARD ===== */
.hero-cover-section {
    position: relative;
}

.hero-cover-wrapper {
    position: relative;
    perspective: 1200px;
}

.hero-cover-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4.3;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(var(--scifi-neon-rgb), 0.5) 0%, transparent 50%);
    padding: 3px;
    box-shadow: 
        0 0 30px rgba(var(--scifi-neon-rgb), 0.3),
        0 0 60px rgba(var(--scifi-neon-rgb), 0.15);
    transition: all 0.5s ease;
    transform: rotateY(-5deg);
}

.hero-cover-card:hover {
    transform: rotateY(0deg) scale(1.02);
    box-shadow: 
        0 0 50px rgba(var(--scifi-neon-rgb), 0.5),
        0 0 100px rgba(var(--scifi-neon-rgb), 0.25);
}

.hero-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.7s ease;
}

.hero-cover-card:hover .hero-cover-img {
    transform: scale(1.1);
}

.hero-cover-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 14px;
}

.hero-cover-card:hover .hero-cover-shine {
    opacity: 1;
}

.hero-cover-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(var(--scifi-neon-rgb), 0.3);
    border-radius: 14px;
    pointer-events: none;
}

.hero-cover-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: rgba(var(--scifi-neon-rgb), 0.05);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* ===== CONTENT SECTION ===== */
.hero-content-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 16px;
}

/* Tags */
.hero-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-tag {
    padding: 8px 16px;
    background: rgba(var(--scifi-neon-rgb), 0.1);
    border: 1px solid rgba(var(--scifi-neon-rgb), 0.3);
    color: var(--scifi-neon);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(var(--scifi-neon-rgb), 0.2);
    transition: all 0.3s ease;
}

.hero-tag:hover {
    background: rgba(var(--scifi-neon-rgb), 0.2);
    box-shadow: 0 0 15px rgba(var(--scifi-neon-rgb), 0.4);
}

/* Title */
.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 24px 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    letter-spacing: -1px;
}

/* Description */
.hero-description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 40px 0;
    max-width: 520px;
    padding-left: 16px;
    border-left: 3px solid rgba(255, 255, 255, 0.2);
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 24px;
    align-items: center;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 40px;
    border: none;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

.hero-btn-primary {
    background: var(--scifi-neon);
    color: #000;
    box-shadow: 0 0 30px rgba(var(--scifi-neon-rgb), 0.4);
}

.hero-btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 40px rgba(var(--scifi-neon-rgb), 0.6);
    transform: translateY(-3px);
    color: #000;
}

.hero-btn-glass {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* ===== INFO PANELS (3D Skewed) ===== */
.hero-panels-section {
    perspective: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-panels-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(5deg);
    padding-right: 32px;
}

.hero-info-panel {
    background: linear-gradient(90deg, rgba(16, 46, 26, 0.7) 0%, rgba(5, 5, 5, 0.4) 100%);
    border: 1px solid rgba(var(--scifi-neon-rgb), 0.3);
    border-left: 4px solid var(--scifi-neon);
    transform: skewX(-20deg) translateX(var(--panel-offset, 0));
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.hero-info-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.hero-info-panel:hover::after {
    left: 100%;
}

.hero-info-panel:hover {
    background: linear-gradient(90deg, rgba(var(--scifi-neon-rgb), 0.2) 0%, rgba(5, 5, 5, 0.6) 100%);
    box-shadow: 0 0 15px rgba(var(--scifi-neon-rgb), 0.3);
    border-color: var(--scifi-neon);
}

.hero-panel-content {
    transform: skewX(20deg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 16px 32px;
}

.hero-panel-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-panel-label {
    color: var(--scifi-neon);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.7;
}

.hero-panel-value {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hero-panel-value-tech {
    font-family: 'Orbitron', 'Courier New', monospace;
}

.hero-panel-value-tech svg {
    color: var(--scifi-neon);
}

.hero-panel-icon {
    color: rgba(var(--scifi-neon-rgb), 0.5);
    transition: color 0.3s ease;
}

.hero-info-panel:hover .hero-panel-icon {
    color: #fff;
}

/* ===== PAGINATION ===== */
.hero-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 20;
}

.hero-progress-bar {
    width: 400px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    position: relative;
    overflow: visible;
}

.hero-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 25%;
    background: var(--scifi-neon);
    box-shadow: 0 0 10px var(--scifi-neon);
    transition: width 0.5s ease;
}

.hero-progress-dot {
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--scifi-neon);
    border-radius: 50%;
    box-shadow: 
        0 0 15px var(--scifi-neon),
        0 0 30px var(--scifi-neon);
    transition: left 0.5s ease;
}

.hero-pagination-numbers {
    display: flex;
    gap: 32px;
}

.hero-page-num {
    font-family: 'Orbitron', 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
}

.hero-page-num:hover {
    color: rgba(255, 255, 255, 0.8);
}

.hero-page-num.is-active {
    color: #fff;
}

/* ===== SLIDE ANIMATIONS ===== */
.slide-enter {
    animation: slideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-exit {
    animation: slideOut 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: translateX(50px) scale(0.95); 
        filter: blur(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0) scale(1); 
        filter: blur(0); 
    }
}

@keyframes slideOut {
    from { 
        opacity: 1; 
        transform: translateX(0); 
    }
    to { 
        opacity: 0; 
        transform: translateX(-50px) scale(1.05); 
        filter: blur(10px); 
    }
}


/* ===== RESPONSIVE ===== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .hero-slider-container {
        max-width: 1440px;
        gap: 64px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cover-card {
        box-shadow: 
            0 0 40px rgba(var(--scifi-neon-rgb), 0.35),
            0 0 80px rgba(var(--scifi-neon-rgb), 0.2);
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    .hero-slider-container {
        grid-template-columns: 340px 1fr 300px;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-main {
        padding: 50px 48px 100px;
    }
}

/* Small Desktop / Large Tablet (1024px - 1199px) */
@media (max-width: 1199px) {
    .hero-slider-container {
        grid-template-columns: 300px 1fr 260px;
        gap: 32px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-main {
        padding: 40px 32px 100px;
    }
    
    .hero-cover-card {
        transform: rotateY(-3deg);
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 32px;
    }
    
    .hero-panels-wrapper {
        gap: 18px;
        transform: rotateY(-12deg) rotateX(4deg);
    }
    
    .hero-panel-content {
        padding: 14px 14px 14px 28px;
    }
    
    .hero-panel-value {
        font-size: 16px;
    }
    
    .hero-panel-icon {
        width: 28px;
        height: 28px;
    }
}

/* Tablet Landscape (900px - 1023px) */
@media (max-width: 1023px) {
    .hero-slider-container {
        grid-template-columns: 260px 1fr;
        gap: 40px;
    }
    
    .hero-panels-section {
        display: none;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-main {
        padding: 40px 40px 120px;
    }
    
    .hero-cover-card {
        transform: rotateY(-2deg);
    }
    
    /* Show mini info badges under description */
    .hero-content-section::after {
        content: '';
        display: block;
    }
}

/* Tablet Portrait (768px - 899px) */
@media (max-width: 899px) {
    .hero-slider-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-cover-section {
        order: 1;
    }
    
    .hero-content-section {
        order: 2;
        align-items: center;
        padding-left: 0;
    }
    
    .hero-cover-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-cover-card {
        transform: none;
        box-shadow: 
            0 0 25px rgba(var(--scifi-neon-rgb), 0.3),
            0 0 50px rgba(var(--scifi-neon-rgb), 0.15);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        border-left: none;
        padding-left: 0;
        text-align: center;
        max-width: 500px;
        margin: 0 auto 32px;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-tags {
        justify-content: center;
    }
    
    .hero-progress-bar {
        width: 300px;
    }
    
    .hero-main {
        padding: 30px 32px 130px;
    }
    
    .hero-glow-spot {
        width: 350px;
        height: 350px;
        left: 50%;
        top: 30%;
    }
}

/* Large Mobile (640px - 767px) */
@media (max-width: 767px) {
    .hmanhwa-hero-scifi {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
        height: auto;
    }
    
    .hero-main {
        padding: 24px 24px 140px;
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .hero-cover-wrapper {
        max-width: 240px;
    }
    
    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 28px;
        max-width: 100%;
    }
    
    .hero-tags {
        margin-bottom: 20px;
        gap: 8px;
    }
    
    .hero-tag {
        padding: 6px 14px;
        font-size: 10px;
        letter-spacing: 0.5px;
    }
    
    .hero-btn {
        height: 50px;
        padding: 0 28px;
        font-size: 14px;
        border-radius: 25px;
    }
    
    .hero-actions {
        gap: 12px;
        width: 100%;
    }
    
    .hero-btn-primary {
        flex: 1;
        max-width: 200px;
    }
    
    .hero-btn-glass {
        flex: 1;
        max-width: 200px;
    }
    
    .hero-progress-bar {
        width: 220px;
    }
    
    .hero-pagination-numbers {
        gap: 24px;
    }
    
    .hero-pagination {
        bottom: 30px;
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-gradient-left {
        background: linear-gradient(180deg, 
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 30%,
            rgba(0, 0, 0, 0.3) 60%,
            transparent 100%
        );
    }
}

/* Mobile (480px - 639px) */
@media (max-width: 639px) {
    .hero-main {
        padding: 20px 20px 130px;
    }
    
    .hero-cover-wrapper {
        max-width: 220px;
    }
    
    .hero-title {
        font-size: 1.7rem;
        letter-spacing: -0.5px;
    }
    
    .hero-description {
        font-size: 13px;
        -webkit-line-clamp: 4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
    
    .hero-progress-bar {
        width: 180px;
    }
    
    .hero-page-num {
        font-size: 13px;
    }
    
    .hero-pagination-numbers {
        gap: 20px;
    }
    
    .hero-tech-grid {
        background-size: 30px 30px;
        opacity: 0.5;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {
    .hero-main {
        padding: 16px 16px 120px;
    }
    
    .hero-cover-wrapper {
        max-width: 180px;
    }
    
    .hero-cover-card {
        border-radius: 12px;
        padding: 2px;
    }
    
    .hero-cover-img {
        border-radius: 10px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-tags {
        gap: 6px;
    }
    
    .hero-tag {
        padding: 5px 10px;
        font-size: 9px;
        border-radius: 12px;
    }
    
    .hero-description {
        font-size: 12px;
        margin-bottom: 24px;
        -webkit-line-clamp: 3;
    }
    
    .hero-btn {
        height: 46px;
        padding: 0 20px;
        font-size: 13px;
        gap: 8px;
    }
    
    .hero-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .hero-progress-bar {
        width: 140px;
    }
    
    .hero-page-num {
        font-size: 12px;
    }
    
    .hero-pagination-numbers {
        gap: 16px;
    }
    
    .hero-pagination {
        bottom: 24px;
        gap: 12px;
    }
    
    .hero-progress-dot {
        width: 10px;
        height: 10px;
    }
    
    .hero-glow-spot {
        width: 250px;
        height: 250px;
        filter: blur(80px);
    }
}

/* Extra Small Mobile (< 360px) */
@media (max-width: 359px) {
    .hero-main {
        padding: 12px 12px 110px;
    }
    
    .hero-cover-wrapper {
        max-width: 160px;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-tag {
        padding: 4px 8px;
        font-size: 8px;
    }
    
    .hero-description {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }
    
    .hero-btn {
        height: 42px;
        font-size: 12px;
    }
    
    .hero-progress-bar {
        width: 120px;
    }
    
    .hero-pagination-numbers {
        gap: 12px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hmanhwa-hero-scifi {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-main {
        padding: 20px 40px 80px;
    }
    
    .hero-slider-container {
        grid-template-columns: 180px 1fr;
        gap: 32px;
        text-align: left;
    }
    
    .hero-content-section {
        align-items: flex-start;
    }
    
    .hero-cover-wrapper {
        max-width: 180px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .hero-description {
        font-size: 12px;
        margin-bottom: 16px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: left;
        border-left: 2px solid rgba(255, 255, 255, 0.2);
        padding-left: 12px;
    }
    
    .hero-tags {
        justify-content: flex-start;
        margin-bottom: 12px;
    }
    
    .hero-actions {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .hero-btn {
        height: 40px;
        padding: 0 20px;
        font-size: 12px;
        max-width: none;
        width: auto;
    }
    
    .hero-pagination {
        bottom: 16px;
        flex-direction: row;
    }
    
    .hero-progress-bar {
        width: 150px;
    }
}

/* ===== TOUCH FRIENDLY ===== */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .hero-btn {
        min-height: 48px;
    }
    
    .hero-page-num {
        padding: 8px 12px;
        margin: -8px -12px;
    }
    
    .hero-tag {
        padding: 10px 16px;
    }
    
    /* Disable hover effects on touch */
    .hero-cover-card:hover {
        transform: none;
    }
    
    .hero-cover-card:hover .hero-cover-img {
        transform: none;
    }
    
    .hero-cover-card:hover .hero-cover-shine {
        opacity: 0;
    }
    
    .hero-info-panel:hover {
        background: linear-gradient(90deg, rgba(16, 46, 26, 0.7) 0%, rgba(5, 5, 5, 0.4) 100%);
        box-shadow: none;
    }
    
    .hero-info-panel:hover::after {
        left: -100%;
    }
    
    /* Active states for touch */
    .hero-btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .hero-page-num:active {
        color: var(--scifi-neon);
    }
}

/* ===== SAFE AREA (iPhone notch/home indicator) ===== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .hero-main {
        padding-bottom: calc(100px + env(safe-area-inset-bottom));
    }
    
    .hero-pagination {
        bottom: calc(30px + env(safe-area-inset-bottom));
    }
    
    @media (max-width: 767px) {
        .hero-main {
            padding-bottom: calc(130px + env(safe-area-inset-bottom));
        }
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    .hero-tag {
        border-width: 2px;
        border-color: var(--scifi-neon);
    }
    
    .hero-btn-glass {
        border-width: 2px;
    }
    
    .hero-info-panel {
        border-width: 2px;
        border-left-width: 4px;
    }
    
    .hero-description {
        color: rgba(255, 255, 255, 0.9);
    }
}

/* ===== DARK MODE (already dark, but ensure consistency) ===== */
@media (prefers-color-scheme: dark) {
    .hmanhwa-hero-scifi {
        background: var(--scifi-bg-dark, #050505);
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .hero-cover-card,
    .hero-cover-img,
    .hero-info-panel,
    .hero-btn,
    .hero-progress-fill,
    .hero-progress-dot,
    .hero-bg-image {
        transition: none;
    }
    
    .slide-enter,
    .slide-exit {
        animation: none;
    }
    
    .hero-info-panel::after {
        display: none;
    }
}

/* Focus states for keyboard navigation */
.hero-btn:focus-visible,
.hero-page-num:focus-visible {
    outline: 2px solid var(--scifi-neon);
    outline-offset: 2px;
}

.hero-page-num:focus-visible {
    color: #fff;
}

/* ===== CUSTOM SCROLLBAR ===== */
.hmanhwa-hero-scifi::-webkit-scrollbar {
    width: 6px;
}

.hmanhwa-hero-scifi::-webkit-scrollbar-track {
    background: #000;
}

.hmanhwa-hero-scifi::-webkit-scrollbar-thumb {
    background: var(--scifi-neon);
    border-radius: 3px;
}

/* ===== LOADING STATE ===== */
.hero-cover-img.loading {
    opacity: 0.5;
    filter: blur(5px);
}

.hero-title.loading,
.hero-description.loading {
    color: transparent;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
