/* ==========================================================================
   JELODA - Changelog & Versions Premium Stylesheet (p/version/dom/index.css)
   ========================================================================== */

.version-page-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* 3D Scene Container & Canvas */
#hero-3d-scene {
    width: 100%;
    max-width: 100vw;
    overflow: hidden !important;
    touch-action: pan-y;
    height: 480px;
    position: relative;
    cursor: grab;
    margin: 0 auto 20px;
    z-index: 5;
}

#hero-3d-scene canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    display: block;
    outline: none;
}

/* Interaction Hint Layer */
.interaction-hint {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
    text-align: center;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hint-icon {
    font-size: 44px;
    margin-bottom: 12px;
    animation: pulse-click 2s infinite ease-in-out;
}

.hint-icon i {
    font-size: 48px !important;
}

.hint-text {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.85;
}

.interaction-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes pulse-click {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Title & Description */
.version-page-title {
    font-size: 2.5rem;
    transition: color 0.3s ease;
}

.version-page-desc {
    transition: color 0.3s ease;
}

/* Version card timeline */
.version-card {
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* Badges */
.version-badge {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.version-badge-main {
    background: #651fff;
    color: #ffffff;
}

.version-item-title {
    font-weight: 800;
    transition: color 0.3s ease;
}

.version-date {
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.version-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.version-features-list {
    border-left: 2px solid #651fff;
    padding-left: 15px;
    margin-left: 5px;
}

.version-card:nth-child(even) .version-features-list {
    border-left-color: rgba(101, 31, 255, 0.45);
}

.version-features-list li {
    font-size: 0.92rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

/* ==========================================================================
   SUPPORT FOR LIGHT / DARK THEMES
   ========================================================================== */

/* Dark Theme Colors */
.theme--dark .interaction-hint {
    color: rgba(255, 255, 255, 0.85);
}

.theme--dark .hint-icon {
    text-shadow: 0 0 25px rgba(37, 99, 235, 0.7);
}

.theme--dark .version-page-title {
    color: #ffffff;
}

.theme--dark .version-page-desc {
    color: rgba(255, 255, 255, 0.65);
}

.theme--dark .version-card {
    background: rgba(20, 20, 20, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.theme--dark .version-card:hover {
    border-color: rgba(101, 31, 255, 0.25);
    box-shadow: 0 12px 35px rgba(101, 31, 255, 0.08);
    transform: translateY(-2px);
}

.theme--dark .version-item-title {
    color: #ffffff;
}

.theme--dark .version-badge-sub {
    background: rgba(179, 136, 255, 0.12);
    color: #b388ff;
    border: 1px solid rgba(179, 136, 255, 0.25);
}

.theme--dark .version-date {
    color: rgba(255, 255, 255, 0.45);
}

.theme--dark .version-desc {
    color: rgba(255, 255, 255, 0.65);
}

.theme--dark .version-features-list li {
    color: rgba(255, 255, 255, 0.75);
}

/* Light Theme Colors */
.theme--light .interaction-hint {
    color: rgba(101, 31, 255, 0.85);
}

.theme--light .hint-icon {
    text-shadow: 0 0 25px rgba(101, 31, 255, 0.35);
}

.theme--light .version-page-title {
    color: #111111;
}

.theme--light .version-page-desc {
    color: rgba(0, 0, 0, 0.65);
}

.theme--light .version-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(101, 31, 255, 0.03);
}

.theme--light .version-card:hover {
    border-color: rgba(101, 31, 255, 0.2);
    box-shadow: 0 12px 35px rgba(101, 31, 255, 0.06);
    transform: translateY(-2px);
}

.theme--light .version-item-title {
    color: #111111;
}

.theme--light .version-badge-sub {
    background: rgba(101, 31, 255, 0.08);
    color: #651fff;
    border: 1px solid rgba(101, 31, 255, 0.2);
}

.theme--light .version-date {
    color: rgba(0, 0, 0, 0.5);
}

.theme--light .version-desc {
    color: rgba(0, 0, 0, 0.65);
}

.theme--light .version-features-list li {
    color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .version-page-title {
        font-size: 2rem;
    }
    #hero-3d-scene {
        height: 380px;
    }
    .hint-icon {
        font-size: 32px;
    }
    .hint-icon i {
        font-size: 36px !important;
    }
}
