/* ==========================================================================
   Presentation Mode Styles
   ========================================================================== */

/* 1. Hide Standard UI Elements when active */
body.presentation-mode-active #app-header,
body.presentation-mode-active #main-toolbar,
body.presentation-mode-active #tool-settings-slot,
body.presentation-mode-active .inspector-panel,
body.presentation-mode-active .adg-timeline {
    display: none !important;
}

body.presentation-mode-active #viewport-container {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1000;
}

/* 2. Presentation Overlay Canvas */
.presentation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    /* Let clicks pass through to 3D canvas */
    z-index: 9999;
}

/* 3. Header / Watermark */
.pr-header {
    position: absolute;
    top: 30px;
    left: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.pr-logo {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    opacity: 0.9;
}

.pr-title {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 1px;
}

/* 4. Controls (Interactive) */
.pr-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 16px;
    pointer-events: auto;
    /* Re-enable clicks for buttons */
}

.pr-btn {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pr-btn:hover {
    background: rgba(50, 50, 50, 0.8);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.pr-btn-danger {
    background: rgba(255, 69, 58, 0.2);
    border-color: rgba(255, 69, 58, 0.4);
    color: #ff453a;
}

.pr-btn-danger:hover {
    background: rgba(255, 69, 58, 0.8);
    border-color: #ff453a;
    color: white;
}

/* 5. Info Panel (Optional, for future use) */
.pr-info-panel {
    position: absolute;
    bottom: 40px;
    left: 40px;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.pr-info-panel h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
}

.pr-info-panel p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}