/* ========================================
   Experience Lighting Page Styles
   Premium Interactive 3D Lighting Lab
======================================== */

/* Loading Screen */
.loading-screen {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: 8px;
    margin-bottom: 32px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.loading-progress {
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 16px;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.3s ease;
}

.loading-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* WebGL Fallback */
.webgl-fallback {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    padding: 20px;
}

.fallback-content {
    text-align: center;
    max-width: 500px;
}

.fallback-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 16px;
}

.fallback-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 24px;
}

.fallback-cta {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.fallback-cta:hover {
    transform: translateY(-2px);
}

/* Experience Hero */
.experience-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 160px 5% 60px;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.experience-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(100, 116, 139, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.experience-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.page-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 6px 16px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 30px;
    margin-bottom: 1.5rem;
}

.experience-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.experience-title .highlight {
    color: #94a3b8;
    font-style: italic;
    font-weight: 400;
}

.experience-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-bottom: 1rem;
    font-style: italic;
}

.experience-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.start-experience-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: #fff;
    color: #0a0a0a;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-experience-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.start-experience-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.start-experience-btn:hover svg {
    transform: translateX(4px);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Main Experience Container */
.experience-main {
    position: relative;
    height: calc(100vh - 60px);
    min-height: 700px;
    background: #0a0a0a;
    display: flex;
    overflow: hidden;
    margin-top: 60px;
}

/* Scene Container */
.scene-container {
    flex: 1;
    position: relative;
    background: #000;
    overflow: hidden;
}

.scene-container canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
}

.scene-container canvas:active {
    cursor: grabbing;
}

/* Scene Top Controls */
.scene-top-controls {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.scene-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scene-btn:hover {
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(255, 255, 255, 0.25);
}

.scene-btn svg {
    width: 16px;
    height: 16px;
}

/* Light Selector - positioned outside scene-container for reliable interaction */
.scene-light-selector {
    position: absolute;
    top: 80px;
    right: 380px;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 16px 18px;
    z-index: 200;
    width: 260px;
    pointer-events: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.light-selector-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    pointer-events: none;
    font-weight: 600;
}

.light-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    width: 100%;
}

.light-btn {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-width: 40px;
    min-height: 40px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    line-height: 1;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.light-btn-icon {
    font-size: 0.85rem;
    line-height: 1;
}

.light-btn-num {
    font-size: 0.55rem;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.light-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.light-btn:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.2);
}

.light-btn.active {
    background: #fff;
    color: #0a0a0a;
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 4px 12px rgba(255, 255, 255, 0.2);
}

.light-btn.active .light-btn-num {
    opacity: 0.6;
}

.light-btn.off-state {
    opacity: 0.4;
}

.light-btn.off-state .light-btn-icon {
    text-decoration: line-through;
}

/* Info Panel */
.scene-info-panel {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 18px;
    z-index: 10;
    min-width: 240px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.scene-info-panel.hidden {
    transform: translateY(calc(100% + 20px));
    opacity: 0;
    pointer-events: none;
}

.info-panel-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    margin-bottom: 2px;
}

.info-disclaimer {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.info-panel-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-stat:last-child {
    border-bottom: none;
}

.info-stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-stat-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #fff;
    font-weight: 600;
}

/* Educational Tooltip */
.edu-tooltip {
    position: absolute;
    bottom: 20px;
    right: 20px;
    max-width: 280px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 12px;
    padding: 14px 18px;
    z-index: 10;
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.edu-tooltip-content {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.edu-tooltip-content strong {
    color: #94a3b8;
    display: block;
    margin-bottom: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Control Panel */
.control-panel {
    width: 360px;
    background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 22px;
    overflow-y: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.control-panel::-webkit-scrollbar {
    width: 4px;
}

.control-panel::-webkit-scrollbar-track {
    background: transparent;
}

.control-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.control-panel-header {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}

.control-panel-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
}

.control-panel-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.selected-light-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    box-shadow: 0 0 8px rgba(148, 163, 184, 0.5);
}

.selected-light-indicator.active .indicator-dot {
    background: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

.control-section {
    margin-bottom: 22px;
}

.control-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.control-group {
    margin-bottom: 16px;
}

.control-group:last-child {
    margin-bottom: 0;
}

.control-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.control-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.control-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.control-buttons {
    display: flex;
    gap: 6px;
}

.mini-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mini-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.mini-btn.on-btn.active {
    background: #fff;
    color: #0a0a0a;
    border-color: #fff;
}

.mini-btn.off-btn.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #555;
}

/* Sliders */
.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    transition: background 0.2s ease;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* CCT Slider - Warm to Cool gradient */
.cct-slider {
    background: linear-gradient(90deg, #ff9b53 0%, #ffd9a8 30%, #fff4d6 50%, #f0f5ff 70%, #c9d8ff 100%);
}

.cct-slider::-webkit-slider-thumb {
    border: 2px solid #1a1a1a;
}

/* Preset Grids */
.preset-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.preset-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preset-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.preset-btn.active {
    background: #fff;
    color: #0a0a0a;
    border-color: #fff;
}

.preset-icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* Beam Presets */
.beam-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.beam-btn {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.beam-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.beam-btn.active {
    background: #fff;
    color: #0a0a0a;
    border-color: #fff;
}

/* CCT Presets */
.cct-presets {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    margin-top: 8px;
}

.cct-preset-btn {
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cct-preset-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.cct-preset-btn.active {
    background: #fff;
    color: #0a0a0a;
    border-color: #fff;
}

/* Material Presets */
.material-presets {
    display: flex;
    gap: 8px;
}

.material-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    padding: 0;
}

.material-btn:hover {
    transform: scale(1.05);
}

.material-btn.active {
    border-color: #fff;
    box-shadow: 0 0 0 1px #0a0a0a, 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Mobile Control Toggle */
.mobile-control-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: #0a0a0a;
    border: none;
    cursor: pointer;
    z-index: 50;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
}

.mobile-control-toggle svg {
    width: 24px;
    height: 24px;
}

/* CTA Section */
.experience-cta {
    padding: 100px 5%;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: #94a3b8;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: #fff;
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.cta-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.cta-primary:hover svg {
    transform: translateX(4px);
}

.cta-disclaimer {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 24px;
    letter-spacing: 0.5px;
}

/* Experience page specific: hide footer initially */
body.experience-page .footer {
    background: #0a0a0a;
}

/* ========================================
   Responsive Design
======================================== */

@media (max-width: 1024px) {
    .control-panel {
        width: 320px;
        padding: 20px 18px;
    }

    .scene-info-panel {
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .experience-main {
        flex-direction: column;
        height: auto;
        min-height: auto;
        margin-top: 50px;
    }

    .scene-container {
        height: 60vh;
        min-height: 400px;
    }

    .control-panel {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 70vh;
        max-height: 80vh;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(calc(100% - 56px));
        z-index: 40;
        padding: 16px 18px 24px;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    }

    .control-panel.open {
        transform: translateY(0);
    }

    .control-panel::before {
        content: '';
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 2px;
    }

    .control-panel-header {
        margin-top: 12px;
    }

    .mobile-control-toggle {
        display: flex;
    }

    .scene-top-controls {
        top: 12px;
        left: 12px;
    }

    .scene-btn span {
        display: none;
    }

    .scene-btn {
        padding: 10px;
    }

    .scene-light-selector {
        top: 60px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
        padding: 10px 12px;
    }

    .light-buttons {
        grid-template-columns: repeat(10, 1fr);
        gap: 4px;
    }

    .light-btn {
        min-width: 28px;
        min-height: 28px;
        font-size: 0.6rem;
    }

    .light-selector-label {
        font-size: 0.6rem;
    }

    .light-btn {
        width: 30px;
        height: 30px;
        font-size: 0.65rem;
    }

    .scene-info-panel {
        bottom: 12px;
        left: 12px;
        right: 12px;
        min-width: 0;
    }

    .edu-tooltip {
        bottom: auto;
        top: 60px;
        right: 12px;
        left: 12px;
        max-width: none;
    }

    .preset-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .preset-btn {
        padding: 10px 4px;
    }

    .preset-name {
        font-size: 0.6rem;
    }

    .beam-presets {
        grid-template-columns: repeat(4, 1fr);
    }

    .cct-presets {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 480px) {
    .experience-hero {
        padding: 140px 5% 50px;
    }

    .scene-container {
        height: 50vh;
        min-height: 350px;
    }

    .info-panel-stats {
        gap: 4px;
    }

    .info-stat {
        padding: 3px 0;
    }
}

/* ========================================
   MOBILE-ONLY POPUP - 3D Experience requires larger screen
   ======================================== */
.mobile-experience-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: popupFadeIn 0.35s ease;
}

@keyframes popupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-popup-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mobile-popup-card {
    position: relative;
    background: linear-gradient(165deg, #1a1a22 0%, #0f0f15 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    padding: 32px 24px 28px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    animation: popupSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popupSlideUp {
    from { transform: translateY(30px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.mobile-popup-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
}

.mobile-popup-icon svg {
    width: 32px;
    height: 32px;
}

.mobile-popup-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 12px;
    letter-spacing: 0.01em;
}

.mobile-popup-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 26px;
    font-weight: 300;
}

.mobile-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-popup-btn {
    display: block;
    width: 100%;
    padding: 13px 20px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1.5px solid transparent;
}

.mobile-popup-btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #b8941e 100%);
    color: #0a0a0a;
    border-color: #d4af37;
}

.mobile-popup-btn-primary:hover,
.mobile-popup-btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.mobile-popup-btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.mobile-popup-btn-secondary:hover,
.mobile-popup-btn-secondary:active {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 769px) {
    .mobile-experience-popup {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .mobile-popup-card {
        padding: 26px 20px 22px;
    }
    .mobile-popup-title {
        font-size: 1.4rem;
    }
    .mobile-popup-text {
        font-size: 0.85rem;
    }
}
