/* --- Section Basics --- */
.pro-section {
    background-color: #000;
    padding: 100px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.pro-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.pro-header {
    text-align: center;
    margin-bottom: 60px;
}

.pro-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 10px 0;
}

.pro-subtitle {
    font-size: 16px;
    color: #888;
    font-weight: 500;
}

/* --- Carousel Stage --- */
.pro-stage {
    position: relative;
    width: 100%;
    height: 420px; 
    /* Masking: Fades out the far edges */
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* --- Navigation Arrows --- */
.pro-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.pro-nav:hover {
    background: #2563eb;
    border-color: #2563eb;
}

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

/* --- The Track --- */
.pro-track {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
}

/* --- The Card --- */
.pro-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Initial center */
    
    width: 220px;
    height: 320px;
    background: #000;
    border-radius: 0px; /* Sharp corners */
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #222;
    
    /* Standard Transition */
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s, filter 0.5s;
    
    opacity: 0.4;
    filter: grayscale(100%);
    z-index: 1;
}

/* --- THE FIX: Class to kill animation instantly --- */
.pro-card.no-transition {
    transition: none !important;
}

/* --- SPOTLIGHT STATE (Active) --- */
.pro-card.active {
    opacity: 1;
    filter: grayscale(0%);
    z-index: 20;
    
    /* Blue Border */
    border: 2px solid #2563eb;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9);
}

/* Media Area */
.pro-media {
    position: relative;
    width: 100%;
    height: 60%;
    background: #000;
    overflow: hidden;
    border-bottom: 1px solid #111;
}

.pro-poster {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    position: absolute;
    inset: 0;
    /* padding: 10px; */
}

.pro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.pro-card.active .pro-video {
    opacity: 1;
}

/* Hover Overlay */
.pro-hover-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.pro-card.active:hover .pro-hover-overlay {
    opacity: 1;
}

.pro-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 0px;
    transform: translateY(10px);
    transition: transform 0.2s ease, background 0.2s;
}

.pro-card.active:hover .pro-btn {
    transform: translateY(0);
}

.pro-btn:hover {
    background: #2563eb;
    color: #fff;
}

/* Info Area */
.pro-info {
    height: 40%;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #050505;
}

.pro-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pro-stat {
    font-size: 11px;
    color: #888;
    margin-bottom: 10px;
}

.pro-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pro-tag {
    background: #1f1f1f;
    color: #aaa;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Progress Bar */
.pro-progress-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.pro-progress-track {
    width: 150px;
    height: 3px;
    background: #222;
    border-radius: 0px;
    overflow: hidden;
}

.pro-progress-bar {
    height: 100%;
    width: 0%;
    background: #2563eb;
    transition: width 0.05s linear;
}