
/* Phamatex Cinematic Presentation */
.phamatex-presentation {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.cinematic-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 10s linear;
    filter: brightness(0.5) contrast(1.1);
}

.cinematic-layer.active {
    opacity: 1;
    transform: scale(1.1) translateX(10px);
}

.cinematic-shade {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: overlay;
    transition: background 1.5s ease;
}

/* Different color grades for cinematic feel */
.shade-gold { background: rgba(212, 175, 55, 0.2); }
.shade-blue { background: rgba(59, 130, 246, 0.2); }
.shade-sepia { background: rgba(112, 66, 20, 0.2); }

.subtitle-container {
    position: relative;
    z-index: 10;
    width: 90%;
    padding-bottom: 40px;
    text-align: center;
}

.subtitle {
    font-size: clamp(16px, 3vw, 22px);
    font-weight: 500;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s ease;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto;
}

.subtitle.active {
    opacity: 1;
    transform: translateY(0);
}

.cinematic-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.3) 100%);
    z-index: 5;
    pointer-events: none;
}


.presentation-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.control-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.control-dot.active {
    background: #d4af37;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.presentation-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.5s;
}

.play-button {
    width: 80px;
    height: 80px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #000;
    margin-bottom: 15px;
    transition: transform 0.3s;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.play-overlay:hover .play-button {
    transform: scale(1.1);
}

.sector-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    opacity: 0.8;
}

.sector-icons i {
    font-size: 24px;
    color: #d4af37;
}

.virtual-host {
    position: absolute;
    top: 20px;
    left: 20px;
    bottom: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(5px);
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 20;
    transition: all 0.5s ease;
}

@media (max-width: 600px) {
    .phamatex-presentation {
        height: 250px !important;
        display: flex !important;
        visibility: visible !important;
    }
    .subtitle {
        font-size: 14px;
        padding: 0 15px;
    }
    .virtual-host {
        padding: 5px 10px;
        top: 10px;
        left: 10px;
    }
}


.virtual-host.active {
    opacity: 1;
    transform: translateX(0);
}

.host-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 20px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.host-info {
    text-align: left;
}

.host-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.host-status {
    font-size: 10px;
    color: #d4af37;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 5px #00ff00;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.sound-toggle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 10px;
    color: #fff;
    transition: background 0.3s;
}

.sound-toggle:hover {
    background: rgba(212,175,55,0.3);
}
