/* ==========================================================================
   TENEBRISM UI STYLESHEET - METALLIC BLUE & SILVER PALETTE (NO YELLOW)
   ========================================================================== */

:root {
    --bg-solid: #000000;
    --metallic-blue: #2a3b5c;
    --metallic-silver: #a6b5c9;
    --silver-glow: rgba(166, 181, 201, 0.3);
    --text-color: #e5e5e5;
}

body.tenebrism-body {
    background-color: var(--bg-solid);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Cinematic Page Loader Overlay Styles */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 280px;
}

.loader-logo {
    width: 160px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(166, 181, 201, 0.5));
    animation: logoGlowPulse 2s infinite ease-in-out;
}

.loader-bar-track {
    width: 100%;
    height: 2px;
    background-color: rgba(166, 181, 201, 0.15);
    position: relative;
    overflow: hidden;
}

.loader-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #a6b5c9;
    box-shadow: 0 0 10px #a6b5c9;
}

.loader-text {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: rgba(166, 181, 201, 0.6);
    text-transform: uppercase;
}

@keyframes logoGlowPulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(166, 181, 201, 0.3)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 25px rgba(166, 181, 201, 0.7)); transform: scale(1.03); }
}

.tenebrism-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    background: radial-gradient(circle at 50% 35%, #0d121c 0%, var(--bg-solid) 80%);
}

/* Header */
.tenebrism-header {
    text-align: center;
    padding: 40px 20px 25px 20px;
    background-color: #000000;
    border-bottom: 1px solid rgba(166, 181, 201, 0.1);
}

.brand-logo-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.brand-logo-img {
    width: 180px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(166, 181, 201, 0.4));
}

/* Stage & Carousel Track */
.tenebrism-stage {
    position: relative;
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.tenebrism-track {
    width: 100%;
    position: relative;
    min-height: 540px;
}

.tenebrism-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.tenebrism-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
}

/* Single Unified Image Frame Container */
.single-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.image-frame {
    background: #000000;
    padding: 14px;
    border: 1px solid rgba(166, 181, 201, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.98), 
                inset 0 0 25px rgba(0, 0, 0, 0.9),
                0 0 35px var(--silver-glow);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease;
    max-width: 100%;
}

.image-frame:hover {
    border-color: var(--metallic-silver);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 1),
                0 0 45px rgba(166, 181, 201, 0.5);
    transform: translateY(-4px);
}

.showcase-img {
    display: block;
    width: 100%;
    max-width: 760px;
    height: 450px;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.95);
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 14, 22, 0.9);
    color: var(--metallic-silver);
    border: 1px solid rgba(166, 181, 201, 0.3);
    font-size: 1.1rem;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.nav-arrow:hover {
    background: var(--metallic-blue);
    color: #ffffff;
    border-color: var(--metallic-silver);
    box-shadow: 0 0 20px var(--silver-glow);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Pagination Dots */
.tenebrism-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    z-index: 5;
}

.dot {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(166, 181, 201, 0.3);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background: var(--metallic-silver);
    border-color: #ffffff;
    box-shadow: 0 0 12px var(--silver-glow);
    transform: scale(1.3);
}

/* Footer */
.tenebrism-footer {
    text-align: center;
    padding: 25px;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.35);
    background-color: #000000;
    border-top: 1px solid rgba(166, 181, 201, 0.1);
}

/* Responsive */
@media (max-width: 900px) {
    .showcase-img {
        height: 320px;
    }
    .nav-arrow {
        width: 38px;
        height: 38px;
    }
}