/**
 * Live Stream Page Styles
 * Generated from content.html inline styles
 * This file is loaded globally in container.html to prevent FOUC
 */

/* ================================================
   SECTION 1: Photobooth Styles
   ================================================ */

		 
		 .photobooth-container {
		     background: linear-gradient(145deg, rgba(20, 20, 30, 0.9), rgba(40, 40, 60, 0.8));
		     border-radius: 24px;
		     border: 2px solid rgba(138, 43, 226, 0.3);
		     padding: 24px;
		     margin-bottom: 24px;
		     backdrop-filter: blur(20px);
		     box-shadow: 0 8px 32px rgba(138, 43, 226, 0.2),
		                 inset 0 1px 0 rgba(255, 255, 255, 0.1);
		     position: relative;
		     overflow: hidden;
		 }
		 
		 .photobooth-container::before {
		     content: '';
		     position: absolute;
		     top: 0;
		     left: -100%;
		     width: 100%;
		     height: 100%;
		     background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.1), transparent);
		     animation: shine 3s infinite;
		 }
		 
		 @keyframes shine {
		     0% { left: -100%; }
		     100% { left: 100%; }
		 }
		 
		 .photobooth-header {
		     text-align: center;
		     margin-bottom: 24px;
		 }
		 
		 .photobooth-icon {
		     font-size: 48px;
		     margin-bottom: 12px;
		     display: block;
		     filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.6));
		     animation: float 3s ease-in-out infinite;
		 }
		 
		 @keyframes float {
		     0%, 100% { transform: translateY(0px); }
		     50% { transform: translateY(-10px); }
		 }
		 
		 .photobooth-title {
		     font-size: 24px;
		     font-weight: 700;
		     color: #fff;
		     margin: 0 0 8px 0;
		     text-shadow: 0 0 20px rgba(138, 43, 226, 0.8);
		 }
		 
		 .photobooth-subtitle {
		     font-size: 14px;
		     color: rgba(255, 255, 255, 0.7);
		     margin: 0;
		 }
		 
		 .photobooth-controls {
		     display: flex;
		     flex-direction: column;
		     gap: 20px;
		     align-items: center;
		 }
		 
		 .capture-btn {
		     position: relative;
		     background: linear-gradient(135deg, #8a2be2 0%, #4b0082 50%, #9932cc 100%);
		     color: white;
		     border: none;
		     border-radius: 20px;
		     padding: 20px 40px;
		     font-size: 18px;
		     font-weight: 700;
		     cursor: pointer;
		     transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
		     box-shadow: 0 8px 30px rgba(138, 43, 226, 0.4),
		                 inset 0 1px 0 rgba(255, 255, 255, 0.2);
		     min-width: 220px;
		     display: flex;
		     align-items: center;
		     justify-content: center;
		     gap: 12px;
		     overflow: hidden;
		 }
		 
		 .capture-btn::before {
		     content: '';
		     position: absolute;
		     top: 0;
		     left: -100%;
		     width: 100%;
		     height: 100%;
		     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
		     transition: left 0.5s;
		 }
		 
		 .btn-icon {
		     font-size: 20px;
		     animation: pulse 2s infinite;
		 }
		 
		 .btn-text {
		     font-weight: 700;
		     text-transform: uppercase;
		     letter-spacing: 1px;
		 }
		 
		 .btn-glow {
		     position: absolute;
		     top: -2px;
		     left: -2px;
		     right: -2px;
		     bottom: -2px;
		     background: linear-gradient(45deg, #8a2be2, #4b0082, #9932cc, #8a2be2);
		     border-radius: 22px;
		     z-index: -1;
		     opacity: 0;
		     transition: opacity 0.3s;
		     animation: rotate 4s linear infinite;
		 }
		 
		 @keyframes rotate {
		     from { transform: rotate(0deg); }
		     to { transform: rotate(360deg); }
		 }
		 
		 @keyframes pulse {
		     0%, 100% { transform: scale(1); }
		     50% { transform: scale(1.1); }
		 }
		 
		 .capture-btn:hover {
		     transform: translateY(-5px) scale(1.05);
		     box-shadow: 0 15px 40px rgba(138, 43, 226, 0.6),
		                 inset 0 1px 0 rgba(255, 255, 255, 0.3);
		 }
		 
		 .capture-btn:hover::before {
		     left: 100%;
		 }
		 
		 .capture-btn:hover .btn-glow {
		     opacity: 1;
		 }
		 
		 .capture-btn:active {
		     transform: translateY(-2px) scale(1.02);
		 }
		 
		 /* Recording Test Button Styles */
		 .test-btn {
		     padding: 12px 20px;
		     border: none;
		     border-radius: 8px;
		     color: white;
		     font-weight: bold;
		     cursor: pointer;
		     transition: all 0.3s ease;
		     font-size: 14px;
		 }
		 
		 .test-btn:hover {
		     transform: translateY(-2px);
		     box-shadow: 0 5px 15px rgba(0,0,0,0.3);
		 }
		 
		 .test-btn:disabled {
		     opacity: 0.5;
		     cursor: not-allowed;
		     transform: none;
		 }
		 
		 .auto-photo-toggle {
		     width: 100%;
		 }
		 
		 .toggle-wrapper {
		     display: flex;
		     align-items: center;
		     justify-content: center;
		     gap: 16px;
		     padding: 16px;
		     background: rgba(0, 0, 0, 0.3);
		     border-radius: 16px;
		     border: 1px solid rgba(138, 43, 226, 0.2);
		 }
		 
		 .photobooth-toggle-switch {
		     position: relative;
		     display: inline-block;
		     width: 70px;
		     height: 36px;
		 }

		 .photobooth-toggle-switch input {
		     opacity: 0;
		     width: 0;
		     height: 0;
		 }

		 .photobooth-toggle-slider {
		     position: absolute;
		     cursor: pointer;
		     top: 0;
		     left: 0;
		     right: 0;
		     bottom: 0;
		     background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
		     transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
		     border-radius: 36px;
		     border: 2px solid rgba(138, 43, 226, 0.3);
		     box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3),
		                 0 2px 8px rgba(138, 43, 226, 0.2);
		 }

		 .photobooth-toggle-ball {
		     position: absolute;
		     content: "";
		     height: 26px;
		     width: 26px;
		     left: 5px;
		     top: 50%;
		     transform: translateY(-50%);
		     background: linear-gradient(145deg, #ffffff, #e0e0e0);
		     transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
		     border-radius: 50%;
		     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3),
		                 inset 0 1px 0 rgba(255, 255, 255, 0.8);
		     display: flex;
		     align-items: center;
		     justify-content: center;
		 }

		 .photobooth-toggle-ball::before {
		     content: '\2715';
		     color: #666;
		     font-size: 12px;
		     transition: all 0.3s;
		 }

		 input:checked + .photobooth-toggle-slider {
		     background: linear-gradient(145deg, #8a2be2, #4b0082);
		     border-color: rgba(138, 43, 226, 0.8);
		     box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2),
		                 0 0 20px rgba(138, 43, 226, 0.4);
		 }

		 input:checked + .photobooth-toggle-slider .photobooth-toggle-ball {
		     transform: translateX(34px) translateY(-50%);
		     background: linear-gradient(145deg, #ffffff, #f0f0f0);
		     box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4),
		                 inset 0 1px 0 rgba(255, 255, 255, 0.9);
		 }

		 input:checked + .photobooth-toggle-slider .photobooth-toggle-ball::before {
		     content: '\2713';
		     color: #8a2be2;
		     font-weight: bold;
		 }
		 
		 .toggle-info {
		     display: flex;
		     flex-direction: column;
		     gap: 4px;
		 }
		 
		 .toggle-label {
		     color: #fff;
		     font-size: 16px;
		     font-weight: 600;
		     margin: 0;
		 }
		 
		 .toggle-desc {
		     color: rgba(255, 255, 255, 0.6);
		     font-size: 12px;
		     margin: 0;
		 }
		 
		 /* Timer display when active */
		 #autoTimerDisplay {
		     font-weight: 600;
		     transition: color 0.3s ease;
		 }
		 
		 .toggle-wrapper input:checked ~ .toggle-info #autoTimerDisplay {
		     color: #64ff64;
		     font-weight: 700;
		 }
		 
		 /* === PHOTOBOOTH V3 WOW EDITION === */
		 
		 /* Overlay - NO BLACK BACKGROUND */
		 .photobooth-overlay {
		     display: none;
		     position: fixed;
		     top: 0;
		     left: 0;
		     width: 100vw;
		     height: 100vh;
		     z-index: 999999;
		     pointer-events: none;
		 }
		 
		 /* === OFFLINE OVERLAY WITH GLASS MORPHISM === */
		 .photobooth-offline-overlay {
		     position: absolute;
		     top: 0;
		     left: 0;
		     width: 100%;
		     height: 100%;
		     z-index: 10;
		     display: flex;
		     align-items: center;
		     justify-content: center;
		     pointer-events: all;
		     animation: offlineOverlayFadeIn 0.8s ease-out;
		     border-radius: 24px;
		     background: rgba(0, 0, 0, 0.3);
		     backdrop-filter: blur(10px);
		 }
		 
		 .offline-glass-container {
		     position: relative;
		     padding: 60px;
		     background: linear-gradient(135deg, 
		         rgba(120, 150, 255, 0.25) 0%, 
		         rgba(180, 120, 255, 0.25) 100%);
		     backdrop-filter: blur(25px) saturate(180%);
		     -webkit-backdrop-filter: blur(25px) saturate(180%);
		     border-radius: 32px;
		     border: 2px solid rgba(255, 255, 255, 0.3);
		     box-shadow: 
		         0 30px 60px rgba(0, 0, 0, 0.3),
		         inset 0 1px 0 rgba(255, 255, 255, 0.5),
		         0 0 120px rgba(100, 150, 255, 0.2);
		     overflow: hidden;
		     transform: perspective(1000px) rotateX(2deg);
		     animation: offlineContainerFloat 6s ease-in-out infinite;
		 }
		 
		 .offline-content {
		     position: relative;
		     z-index: 2;
		     text-align: center;
		     color: white;
		 }
		 
		 .offline-icon-pulse {
		     margin-bottom: 24px;
		     animation: iconPulse 2s ease-in-out infinite;
		 }
		 
		 .offline-icon-pulse svg {
		     filter: drop-shadow(0 0 20px rgba(100, 150, 255, 0.8));
		     color: #fff;
		 }
		 
		 .offline-title {
		     font-size: 32px;
		     font-weight: 700;
		     margin: 0 0 12px 0;
		     background: linear-gradient(135deg, #ffffff, #e0e7ff);
		     -webkit-background-clip: text;
		     -webkit-text-fill-color: transparent;
		     text-shadow: 0 0 40px rgba(100, 150, 255, 0.6);
		 }
		 
		 .offline-message {
		     font-size: 18px;
		     opacity: 0.9;
		     margin: 0 0 24px 0;
		     color: rgba(255, 255, 255, 0.95);
		 }
		 
		 /* Animated particles */
		 .offline-particles {
		     position: absolute;
		     top: 0;
		     left: 0;
		     width: 100%;
		     height: 100%;
		     overflow: hidden;
		     pointer-events: none;
		 }
		 
		 .offline-particles::before,
		 .offline-particles::after {
		     content: '';
		     position: absolute;
		     width: 4px;
		     height: 4px;
		     background: rgba(255, 255, 255, 0.8);
		     border-radius: 50%;
		     animation: floatParticle 15s linear infinite;
		 }
		 
		 .offline-particles::before {
		     top: 10%;
		     left: 20%;
		     animation-delay: 0s;
		 }
		 
		 .offline-particles::after {
		     top: 80%;
		     right: 20%;
		     animation-delay: 7s;
		 }
		 
		 /* Glow orb effect */
		 .offline-glow-orb {
		     position: absolute;
		     top: -100px;
		     right: -100px;
		     width: 300px;
		     height: 300px;
		     background: radial-gradient(circle, 
		         rgba(150, 100, 255, 0.4) 0%, 
		         transparent 70%);
		     border-radius: 50%;
		     animation: orbFloat 8s ease-in-out infinite;
		     filter: blur(40px);
		 }
		 
		 .offline-glow-orb-2 {
		     position: absolute;
		     bottom: -150px;
		     left: -150px;
		     width: 350px;
		     height: 350px;
		     background: radial-gradient(circle, 
		         rgba(100, 180, 255, 0.3) 0%, 
		         transparent 60%);
		     border-radius: 50%;
		     animation: orbFloat 10s ease-in-out infinite reverse;
		     filter: blur(50px);
		 }
		 
		 /* Individual particles */
		 .particle-1, .particle-2, .particle-3, .particle-4, .particle-5 {
		     position: absolute;
		     width: 6px;
		     height: 6px;
		     background: rgba(255, 255, 255, 0.9);
		     border-radius: 50%;
		     box-shadow: 0 0 10px rgba(100, 150, 255, 0.8);
		 }
		 
		 .particle-1 {
		     top: 20%;
		     left: 10%;
		     animation: floatParticle 12s linear infinite;
		 }
		 
		 .particle-2 {
		     top: 60%;
		     left: 80%;
		     animation: floatParticle 15s linear infinite;
		     animation-delay: 3s;
		 }
		 
		 .particle-3 {
		     top: 80%;
		     left: 30%;
		     animation: floatParticle 18s linear infinite;
		     animation-delay: 6s;
		 }
		 
		 .particle-4 {
		     top: 30%;
		     right: 20%;
		     animation: floatParticle 14s linear infinite;
		     animation-delay: 9s;
		 }
		 
		 .particle-5 {
		     bottom: 40%;
		     left: 50%;
		     animation: floatParticle 16s linear infinite;
		     animation-delay: 12s;
		 }
		 
		 /* Wave animation */
		 .offline-wave-animation {
		     display: flex;
		     gap: 6px;
		     justify-content: center;
		     margin-top: 20px;
		 }
		 
		 .offline-wave-animation span {
		     display: inline-block;
		     width: 8px;
		     height: 30px;
		     background: linear-gradient(180deg, 
		         rgba(100, 150, 255, 0.8), 
		         rgba(150, 100, 255, 0.8));
		     border-radius: 4px;
		     animation: waveAnimation 1.2s ease-in-out infinite;
		 }
		 
		 .offline-wave-animation span:nth-child(1) { animation-delay: 0s; }
		 .offline-wave-animation span:nth-child(2) { animation-delay: 0.1s; }
		 .offline-wave-animation span:nth-child(3) { animation-delay: 0.2s; }
		 .offline-wave-animation span:nth-child(4) { animation-delay: 0.3s; }
		 .offline-wave-animation span:nth-child(5) { animation-delay: 0.4s; }
		 
		 /* Shimmer effect */
		 .offline-shimmer {
		     position: absolute;
		     top: -100%;
		     left: -100%;
		     width: 300%;
		     height: 300%;
		     background: linear-gradient(
		         105deg,
		         transparent 40%,
		         rgba(255, 255, 255, 0.2) 50%,
		         transparent 60%
		     );
		     animation: shimmerEffect 3s ease-in-out infinite;
		 }
		 
		 /* Animations */
		 @keyframes offlineOverlayFadeIn {
		     from {
		         opacity: 0;
		         transform: scale(0.95);
		     }
		     to {
		         opacity: 1;
		         transform: scale(1);
		     }
		 }
		 
		 @keyframes offlineContainerFloat {
		     0%, 100% {
		         transform: perspective(1000px) rotateX(2deg) translateY(0);
		     }
		     50% {
		         transform: perspective(1000px) rotateX(2deg) translateY(-10px);
		     }
		 }
		 
		 @keyframes iconPulse {
		     0%, 100% {
		         transform: scale(1);
		         filter: drop-shadow(0 0 20px rgba(100, 150, 255, 0.8));
		     }
		     50% {
		         transform: scale(1.1);
		         filter: drop-shadow(0 0 40px rgba(100, 150, 255, 1));
		     }
		 }
		 
		 @keyframes floatParticle {
		     0% {
		         transform: translateY(100vh) rotate(0deg);
		         opacity: 0;
		     }
		     10% {
		         opacity: 1;
		     }
		     90% {
		         opacity: 1;
		     }
		     100% {
		         transform: translateY(-100vh) rotate(720deg);
		         opacity: 0;
		     }
		 }
		 
		 @keyframes orbFloat {
		     0%, 100% {
		         transform: translate(0, 0) scale(1);
		     }
		     33% {
		         transform: translate(-30px, 30px) scale(1.1);
		     }
		     66% {
		         transform: translate(30px, -20px) scale(0.9);
		     }
		 }
		 
		 @keyframes waveAnimation {
		     0%, 100% {
		         transform: scaleY(0.5);
		         opacity: 0.5;
		     }
		     50% {
		         transform: scaleY(1);
		         opacity: 1;
		     }
		 }
		 
		 @keyframes shimmerEffect {
		     0% {
		         transform: translateX(-100%) translateY(-100%) rotate(30deg);
		     }
		     100% {
		         transform: translateX(100%) translateY(100%) rotate(30deg);
		     }
		 }
		 
		 /* REAL CAMERA LENS */
		 .photobooth-lens {
		     position: absolute;
		     top: 50%;
		     left: 50%;
		     transform: translate(-50%, -50%) perspective(800px) rotateX(0deg);
		     width: 420px;
		     height: 420px;
		     border-radius: 50%;
		     pointer-events: all;
		     
		     /* REALISTIC LENS GLASS WITH BLUR LAYER */
		     background: 
		         radial-gradient(circle at 35% 35%, rgba(255,255,255,0.4) 0%, transparent 20%),
		         radial-gradient(circle at 65% 65%, rgba(255,255,255,0.1) 0%, transparent 30%),
		         radial-gradient(circle at center, 
		             rgba(255,255,255,0.05) 0%,
		             rgba(100,150,255,0.15) 20%,
		             rgba(50,100,200,0.25) 40%,
		             rgba(20,50,100,0.4) 60%,
		             rgba(10,20,40,0.85) 80%,
		             rgba(0,0,0,0.95) 100%);
		     
		     /* BLACK LENS RING */
		     border: 25px solid #000;
		     position: relative;
		     
		     /* LENS DEPTH */
		     box-shadow:
		         inset 0 0 100px rgba(0,0,0,0.5),
		         inset 0 0 50px rgba(100,150,255,0.2),
		         inset 0 10px 20px rgba(255,255,255,0.2),
		         inset 0 -10px 20px rgba(0,0,0,0.8),
		         0 0 200px rgba(100,150,255,0.4),
		         0 0 100px rgba(255,255,255,0.1),
		         0 30px 60px rgba(0,0,0,0.6);
		     
		     /* GLASS EFFECT - REMOVED TO FIX TRANSPARENCY BUG */
		     /* backdrop-filter: blur(10px) brightness(1.1); */
		     /* -webkit-backdrop-filter: blur(10px) brightness(1.1); */
		     
		     overflow: hidden;
		     animation: lensOpen 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
		 }
		 
		 /* BLUR LAYER INSIDE LENS */
		 .lens-blur-layer {
		     position: absolute;
		     top: 0;
		     left: 0;
		     width: 100%;
		     height: 100%;
		     border-radius: 50%;
		     background: radial-gradient(circle at center,
		         rgba(255,255,255,0.02) 0%,
		         rgba(100,150,200,0.05) 30%,
		         rgba(50,100,150,0.1) 60%,
		         rgba(20,50,100,0.15) 100%);
		     backdrop-filter: blur(3px);
		     -webkit-backdrop-filter: blur(3px);
		     pointer-events: none;
		 }
		 
		 /* LENS INNER REFLECTIONS */
		 .photobooth-lens::before {
		     content: '';
		     position: absolute;
		     top: -5px;
		     left: -5px;
		     right: -5px;
		     bottom: -5px;
		     border-radius: 50%;
		     background: linear-gradient(135deg, 
		         transparent 0%, 
		         rgba(255,255,255,0.1) 45%, 
		         transparent 50%);
		     pointer-events: none;
		 }
		 
		 /* SIMPLE CLEAN TEXT - NO MORE MESS */
		 .photobooth-status {
		     position: fixed;
		     top: calc(50vh + 160px);
		     left: 50%;
		     transform: translateX(-50%);
		     z-index: 1000000;
		     
		     /* TEXT STYLING */
		     font-size: 42px;
		     font-weight: 900;
		     color: #fff;
		     text-transform: uppercase;
		     letter-spacing: 4px;
		     padding: 18px 32px;
		     
		     /* GLASS BUBBLE */
		     background: linear-gradient(135deg, 
		         rgba(100, 150, 255, 0.3),
		         rgba(150, 100, 255, 0.3));
		     backdrop-filter: blur(20px);
		     -webkit-backdrop-filter: blur(20px);
		     border-radius: 50px;
		     border: 2px solid rgba(255, 255, 255, 0.4);
		     
		     /* SHADOW & GLOW */
		     box-shadow:
		         0 10px 30px rgba(0, 0, 0, 0.3),
		         0 0 60px rgba(100, 150, 255, 0.4),
		         inset 0 0 20px rgba(255, 255, 255, 0.1);
		     
		     /* TEXT GLOW */
		     text-shadow:
		         0 0 20px rgba(100, 255, 255, 0.8),
		         0 0 40px rgba(100, 150, 255, 0.4),
		         0 2px 4px rgba(0, 0, 0, 0.8);
		     
		     /* 3D EFFECT */
		     transform-style: preserve-3d;
		     animation: statusFloat3D 3s ease-in-out infinite;
		 }
		 
		 /* NO MORE ::before and ::after! */
		 
		 /* 3D COUNTDOWN NUMBER */
		 .photobooth-counter {
		     position: absolute;
		     top: 50%;
		     left: 50%;
		     transform: translate(-50%, -50%) translateZ(50px);
		     transform-style: preserve-3d;
		     
		     font-size: 200px;
		     font-weight: 900;
		     color: #fff;
		     line-height: 1;
		     
		     /* EPIC GLOW */
		     text-shadow:
		         0 0 30px rgba(255,255,255,1),
		         0 0 60px rgba(100,200,255,0.8),
		         0 0 90px rgba(100,200,255,0.6),
		         0 0 120px rgba(100,200,255,0.4),
		         0 10px 20px rgba(0,0,0,0.8);
		     
		     animation: numberPop 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
		 }
		 
		 /* Photo Result */
		 .photobooth-result {
		     display: none;
		     position: absolute;
		     top: 0;
		     left: 0;
		     width: 100%;
		     height: 100%;
		     object-fit: cover;
		     border-radius: 50%;
		     animation: photoFlash 0.3s ease-out;
		 }
		 
		 /* FLASH OVERLAY */
		 .photo-flash-overlay {
		     display: none;
		     position: absolute;
		     top: 0;
		     left: 0;
		     width: 100%;
		     height: 100%;
		     background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 70%);
		     border-radius: 50%;
		     pointer-events: none;
		     animation: flashBurst 0.5s ease-out;
		 }
		 
		 /* FLASH EFFECT */
		 @keyframes photoFlash {
		     0% { 
		         filter: brightness(2) contrast(1.3);
		         transform: scale(1.05);
		     }
		     100% { 
		         filter: brightness(1) contrast(1);
		         transform: scale(1);
		     }
		 }
		 
		 @keyframes flashBurst {
		     0% { 
		         opacity: 1;
		         transform: scale(0.8);
		     }
		     50% {
		         opacity: 0.8;
		         transform: scale(1.2);
		     }
		     100% { 
		         opacity: 0;
		         transform: scale(1.5);
		     }
		 }
		 
		 /* WOW ANIMATIONS */
		 @keyframes lensOpen {
		     0% {
		         transform: translate(-50%, -50%) perspective(800px) rotateY(-180deg) scale(0);
		         opacity: 0;
		     }
		     50% {
		         transform: translate(-50%, -50%) perspective(800px) rotateY(-90deg) scale(0.5);
		         opacity: 0.5;
		     }
		     100% {
		         transform: translate(-50%, -50%) perspective(800px) rotateY(0) scale(1);
		         opacity: 1;
		     }
		 }
		 
		 @keyframes statusFloat3D {
		     0%, 100% {
		         transform: translateX(-50%) translateY(0) rotateX(10deg);
		     }
		     50% {
		         transform: translateX(-50%) translateY(-10px) rotateX(5deg) scale(1.05);
		     }
		 }
		 
		 @keyframes numberPop {
		     0% {
		         transform: translate(-50%, -50%) translateZ(200px) scale(2) rotateZ(180deg);
		         opacity: 0;
		         filter: blur(10px);
		     }
		     40% {
		         transform: translate(-50%, -50%) translateZ(100px) scale(1.3) rotateZ(90deg);
		         filter: blur(2px);
		     }
		     70% {
		         transform: translate(-50%, -50%) translateZ(50px) scale(0.9) rotateZ(20deg);
		     }
		     100% {
		         transform: translate(-50%, -50%) translateZ(50px) scale(1) rotateZ(0);
		         opacity: 1;
		         filter: blur(0);
		     }
		 }
		 
		 
		 
		 /* WOW AUTO PHOTO STATUS STYLES */
		 .wow-photo-status {
		     position: relative;
		     background: linear-gradient(135deg, 
		         rgba(255, 20, 147, 0.15) 0%,
		         rgba(138, 43, 226, 0.15) 25%,
		         rgba(75, 0, 130, 0.15) 50%,
		         rgba(255, 105, 180, 0.15) 75%,
		         rgba(255, 20, 147, 0.15) 100%);
		     border-radius: 24px;
		     border: 3px solid;
		     border-image: linear-gradient(45deg, #ff1493, #8a2be2, #4b0082, #ff69b4) 1;
		     padding: 24px;
		     margin: 20px 0;
		     backdrop-filter: blur(15px);
		     box-shadow: 0 0 40px rgba(255, 20, 147, 0.3),
		                 inset 0 1px 0 rgba(255, 255, 255, 0.2);
		     overflow: hidden;
		     animation: statusGlow 4s ease-in-out infinite;
		 }
		 
		 @keyframes statusGlow {
		     0%, 100% { 
		         box-shadow: 0 0 40px rgba(255, 20, 147, 0.3),
		                     inset 0 1px 0 rgba(255, 255, 255, 0.2);
		     }
		     50% { 
		         box-shadow: 0 0 60px rgba(138, 43, 226, 0.5),
		                     inset 0 1px 0 rgba(255, 255, 255, 0.3);
		     }
		 }
		 
		 /* Flying Emojis */
		 .emoji-container {
		     position: absolute;
		     top: 0;
		     left: 0;
		     right: 0;
		     bottom: 0;
		     pointer-events: none;
		     overflow: hidden;
		 }
		 
		 .flying-emoji {
		     position: absolute;
		     font-size: 24px;
		     animation: flyAround 8s linear infinite;
		     opacity: 0.8;
		 }
		 
		 .flying-emoji:nth-child(1) { 
		     animation-delay: 0s; 
		     left: 10%; 
		     animation-duration: 6s;
		 }
		 .flying-emoji:nth-child(2) { 
		     animation-delay: 1s; 
		     left: 20%; 
		     animation-duration: 7s;
		 }
		 .flying-emoji:nth-child(3) { 
		     animation-delay: 2s; 
		     left: 80%; 
		     animation-duration: 8s;
		 }
		 .flying-emoji:nth-child(4) { 
		     animation-delay: 3s; 
		     left: 60%; 
		     animation-duration: 5s;
		 }
		 .flying-emoji:nth-child(5) { 
		     animation-delay: 0.5s; 
		     left: 90%; 
		     animation-duration: 9s;
		 }
		 .flying-emoji:nth-child(6) { 
		     animation-delay: 1.5s; 
		     left: 40%; 
		     animation-duration: 6.5s;
		 }
		 .flying-emoji:nth-child(7) { 
		     animation-delay: 2.5s; 
		     left: 70%; 
		     animation-duration: 7.5s;
		 }
		 .flying-emoji:nth-child(8) { 
		     animation-delay: 3.5s; 
		     left: 30%; 
		     animation-duration: 8.5s;
		 }
		 
		 @keyframes flyAround {
		     0% {
		         transform: translateY(100%) translateX(0) rotate(0deg) scale(0.5);
		         opacity: 0;
		     }
		     10% {
		         opacity: 1;
		         transform: translateY(80%) translateX(20px) rotate(45deg) scale(0.8);
		     }
		     50% {
		         transform: translateY(20%) translateX(-30px) rotate(180deg) scale(1.2);
		         opacity: 0.9;
		     }
		     90% {
		         transform: translateY(-10%) translateX(40px) rotate(315deg) scale(0.7);
		         opacity: 0.5;
		     }
		     100% {
		         transform: translateY(-120%) translateX(0) rotate(360deg) scale(0.3);
		         opacity: 0;
		     }
		 }
		 
		 /* Status Main Content */
		 .status-main {
		     display: flex;
		     align-items: center;
		     gap: 20px;
		     position: relative;
		     z-index: 2;
		 }
		 
		 /* Pulsing Camera Icon */
		 .status-icon-wrapper {
		     position: relative;
		     display: flex;
		     align-items: center;
		     justify-content: center;
		 }
		 
		 .status-icon {
		     font-size: 48px;
		     z-index: 3;
		     animation: iconBounce 2s ease-in-out infinite;
		     filter: drop-shadow(0 0 20px rgba(255, 20, 147, 0.8));
		 }
		 
		 @keyframes iconBounce {
		     0%, 100% { transform: scale(1) rotate(0deg); }
		     25% { transform: scale(1.1) rotate(-5deg); }
		     75% { transform: scale(1.1) rotate(5deg); }
		 }
		 
		 .pulse-ring {
		     position: absolute;
		     border: 3px solid rgba(255, 20, 147, 0.6);
		     border-radius: 50%;
		     animation: pulsate 2s ease-out infinite;
		 }
		 
		 .pulse-ring-1 {
		     width: 80px;
		     height: 80px;
		     animation-delay: 0s;
		 }
		 
		 .pulse-ring-2 {
		     width: 100px;
		     height: 100px;
		     animation-delay: 0.5s;
		     border-color: rgba(138, 43, 226, 0.4);
		 }
		 
		 .pulse-ring-3 {
		     width: 120px;
		     height: 120px;
		     animation-delay: 1s;
		     border-color: rgba(255, 105, 180, 0.3);
		 }
		 
		 @keyframes pulsate {
		     0% {
		         transform: scale(0.1);
		         opacity: 1;
		     }
		     100% {
		         transform: scale(1.2);
		         opacity: 0;
		     }
		 }
		 
		 /* Status Content */
		 .status-content {
		     flex: 1;
		 }
		 
		 .status-title {
		     position: relative;
		     margin-bottom: 16px;
		 }
		 
		 .title-text {
		     font-size: 20px;
		     font-weight: 800;
		     color: #fff;
		     text-transform: uppercase;
		     letter-spacing: 2px;
		     background: linear-gradient(45deg, #ff1493, #8a2be2, #4b0082, #ff69b4);
		     background-size: 300% 300%;
		     background-clip: text;
		     -webkit-background-clip: text;
		     -webkit-text-fill-color: transparent;
		     animation: gradientShift 3s ease-in-out infinite;
		 }
		 
		 @keyframes gradientShift {
		     0% { background-position: 0% 50%; }
		     50% { background-position: 100% 50%; }
		     100% { background-position: 0% 50%; }
		 }
		 
		 .sparkles {
		     position: absolute;
		     top: -10px;
		     right: -10px;
		     display: flex;
		     gap: 8px;
		 }
		 
		 .sparkle {
		     font-size: 16px;
		     animation: sparkleRotate 2s linear infinite;
		 }
		 
		 .sparkle:nth-child(1) { animation-delay: 0s; }
		 .sparkle:nth-child(2) { animation-delay: 0.7s; }
		 .sparkle:nth-child(3) { animation-delay: 1.4s; }
		 
		 @keyframes sparkleRotate {
		     0% { transform: rotate(0deg) scale(1); opacity: 1; }
		     50% { transform: rotate(180deg) scale(1.5); opacity: 0.7; }
		     100% { transform: rotate(360deg) scale(1); opacity: 1; }
		 }
		 
		 /* Timer Display */
		 .timer-display {
		     margin-bottom: 16px;
		     text-align: center;
		 }
		 
		 .timer-label {
		     font-size: 14px;
		     color: rgba(255, 255, 255, 0.8);
		     margin-bottom: 8px;
		 }
		 
		 .timer-value {
		     display: flex;
		     align-items: baseline;
		     justify-content: center;
		     gap: 8px;
		 }
		 
		 .timer-number {
		     font-size: 32px;
		     font-weight: 900;
		     color: #fff;
		     text-shadow: 0 0 20px rgba(255, 20, 147, 0.8);
		     animation: timerPulse 1s ease-in-out infinite;
		 }
		 
		 @keyframes timerPulse {
		     0%, 100% { transform: scale(1); }
		     50% { transform: scale(1.1); }
		 }
		 
		 .timer-suffix {
		     font-size: 14px;
		     color: rgba(255, 255, 255, 0.7);
		     font-weight: 500;
		 }
		 
		 /* Motivation Text */
		 .motivation-text {
		     text-align: center;
		 }
		 
		 .motivation-line {
		     font-size: 16px;
		     font-weight: 600;
		     color: #fff;
		     margin: 4px 0;
		     opacity: 0;
		     animation: fadeInOut 6s ease-in-out infinite;
		 }
		 
		 .motivation-line:nth-child(1) { animation-delay: 0s; }
		 .motivation-line:nth-child(2) { animation-delay: 2s; }
		 .motivation-line:nth-child(3) { animation-delay: 4s; }
		 
		 @keyframes fadeInOut {
		     0%, 83.33% { opacity: 0; transform: translateY(10px); }
		     16.66%, 66.66% { opacity: 1; transform: translateY(0); }
		 }
		 
		 /* Floating Particles */
		 .particles {
		     position: absolute;
		     top: 0;
		     left: 0;
		     right: 0;
		     bottom: 0;
		     pointer-events: none;
		 }
		 
		 .particle {
		     position: absolute;
		     width: 4px;
		     height: 4px;
		     background: radial-gradient(circle, #ff1493, transparent);
		     border-radius: 50%;
		     animation: particleFloat 4s linear infinite;
		 }
		 
		 .particle-1 { 
		     top: 20%; 
		     left: 10%; 
		     animation-delay: 0s; 
		     animation-duration: 5s;
		 }
		 .particle-2 { 
		     top: 60%; 
		     left: 80%; 
		     animation-delay: 1s; 
		     animation-duration: 4s;
		 }
		 .particle-3 { 
		     top: 30%; 
		     left: 60%; 
		     animation-delay: 2s; 
		     animation-duration: 6s;
		 }
		 .particle-4 { 
		     top: 80%; 
		     left: 20%; 
		     animation-delay: 1.5s; 
		     animation-duration: 4.5s;
		 }
		 .particle-5 { 
		     top: 10%; 
		     left: 90%; 
		     animation-delay: 3s; 
		     animation-duration: 5.5s;
		 }
		 
		 @keyframes particleFloat {
		     0% {
		         transform: translateY(0) scale(0);
		         opacity: 0;
		     }
		     20% {
		         opacity: 1;
		         transform: translateY(-20px) scale(1);
		     }
		     80% {
		         opacity: 1;
		         transform: translateY(-60px) scale(1.5);
		     }
		     100% {
		         transform: translateY(-80px) scale(0);
		         opacity: 0;
		     }
		 }
		 
		 .status-title {
		     font-weight: 600;
		     color: rgba(255, 255, 255, 0.9);
		     margin-bottom: 4px;
		 }
		 
		 .next-capture {
		     font-size: 14px;
		     color: rgba(255, 255, 255, 0.7);
		 }
		 
		 #nextCaptureTimer {
		     color: #667eea;
		     font-weight: 600;
		 }
		 
		 /* ANIMATIONS */
		 @keyframes statusPulse {
		     0%, 100% {
		         opacity: 1;
		         transform: scale(1);
		     }
		     50% {
		         opacity: 0.7;
		         transform: scale(1.1);
		     }
		 }
		 
		 @keyframes circularAppear {
		     0% {
		         transform: translate(-50%, -50%) scale(0.1) rotate(180deg);
		         opacity: 0;
		         filter: blur(50px);
		         border-radius: 0;
		     }
		     50% {
		         transform: translate(-50%, -50%) scale(1.2) rotate(90deg);
		         opacity: 0.7;
		         filter: blur(10px);
		         border-radius: 30%;
		     }
		     100% {
		         transform: translate(-50%, -50%) scale(1) rotate(0deg);
		         opacity: 1;
		         filter: blur(0);
		         border-radius: 50%;
		     }
		 }
		 
		 @keyframes epicGlow {
		     0% {
		         box-shadow: 
		             0 0 80px rgba(255, 20, 147, 0.4),
		             0 0 160px rgba(138, 43, 226, 0.3),
		             0 0 240px rgba(255, 105, 180, 0.2),
		             inset 0 0 100px rgba(255, 255, 255, 0.1),
		             inset 0 0 50px rgba(255, 20, 147, 0.1);
		     }
		     100% {
		         box-shadow: 
		             0 0 120px rgba(255, 20, 147, 0.7),
		             0 0 200px rgba(138, 43, 226, 0.5),
		             0 0 300px rgba(255, 105, 180, 0.3),
		             inset 0 0 150px rgba(255, 255, 255, 0.2),
		             inset 0 0 80px rgba(255, 20, 147, 0.2);
		     }
		 }
		 
		 @keyframes floatingModal {
		     0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(0deg); }
		     50% { transform: translate(-50%, -50%) translateY(-10px) rotate(1deg); }
		 }
		 
		 
		 
		 
		 /* EPIC PAPARAZZI KEYFRAMES */
		 @keyframes textBounce {
		     0% { transform: translateY(30px); opacity: 0; }
		     100% { transform: translateY(0); opacity: 1; }
		 }
		 
		 @keyframes orbitRotation {
		     0% { transform: rotate(0deg); }
		     100% { transform: rotate(360deg); }
		 }
		 
		 @keyframes paparazziShoot {
		     0%, 80% { 
		         opacity: 0; 
		         transform: scale(0.2) rotate(-20deg); 
		     }
		     5% { 
		         opacity: 1; 
		         transform: scale(1.4) rotate(10deg); 
		     }
		     10% { 
		         opacity: 0.9; 
		         transform: scale(1.2) rotate(-5deg); 
		     }
		     15%, 75% { 
		         opacity: 0; 
		         transform: scale(0.8) rotate(0deg); 
		     }
		 }
		 
		 @keyframes paparazziFlash {
		     0%, 80% { 
		         opacity: 0; 
		         transform: scale(0.3); 
		     }
		     5% { 
		         opacity: 1; 
		         transform: scale(2.5); 
		     }
		     8% { 
		         opacity: 0.7; 
		         transform: scale(2); 
		     }
		     12%, 75% { 
		         opacity: 0; 
		         transform: scale(1.5); 
		     }
		 }
		 
		 
		 
		 @keyframes orbitSmiles {
		     0% { transform: rotate(0deg); }
		     100% { transform: rotate(-360deg); }
		 }
		 
		 @keyframes smileFloat {
		     0%, 100% { 
		         transform: translateY(0) scale(1); 
		         opacity: 0.8; 
		     }
		     50% { 
		         transform: translateY(-15px) scale(1.1); 
		         opacity: 1; 
		     }
		 }
		 
		 @keyframes smileGlow {
		     0% { filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)); }
		     100% { filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1)); }
		 }
		 
		 @keyframes cameraBlink {
		     0%, 100% { 
		         opacity: 1; 
		         transform: scale(1); 
		     }
		     50% { 
		         opacity: 0.3; 
		         transform: scale(1.2); 
		         filter: brightness(1.5);
		     }
		 }
		 
		 /* LENS & TEXT ANIMATIONS */
		 @keyframes lensZoom {
		     0% {
		         opacity: 0;
		         transform: translate(-50%, -50%) scale(0.5) rotate(45deg);
		     }
		     60% {
		         transform: translate(-50%, -50%) scale(1.1) rotate(-5deg);
		     }
		     100% {
		         opacity: 1;
		         transform: translate(-50%, -50%) scale(1) rotate(0deg);
		     }
		 }
		 
		 @keyframes floatAbove {
		     0%, 100% {
		         transform: translateX(-50%) translateY(0);
		     }
		     50% {
		         transform: translateX(-50%) translateY(-15px);
		     }
		 }
		 
		 @keyframes glassShine {
		     0% {
		         transform: translateX(-100%) translateY(-100%);
		     }
		     100% {
		         transform: translateX(100%) translateY(100%);
		     }
		 }
		 
		 @keyframes numberScale {
		     0% {
		         transform: scale(0);
		         opacity: 0;
		     }
		     50% {
		         transform: scale(1.1);
		     }
		     100% {
		         transform: scale(1);
		         opacity: 1;
		     }
		 }
		 
		 @keyframes textPulse {
		     0%, 100% {
		         transform: scale(1);
		         opacity: 0.9;
		     }
		     50% {
		         transform: scale(1.02);
		         opacity: 1;
		     }
		 }
		 
		 @keyframes photoModalIn {
		     0% {
		         opacity: 0;
		         transform: translate(-50%, -45%) scale(0.8) rotateX(20deg);
		     }
		     50% {
		         transform: translate(-50%, -48%) scale(1.05) rotateX(-5deg);
		     }
		     100% {
		         opacity: 1;
		         transform: translate(-50%, -50%) scale(1) rotateX(0deg);
		     }
		 }
		 
		 @keyframes modalFadeOut {
		     0% {
		         opacity: 1;
		         transform: translate(-50%, -50%) scale(1);
		     }
		     100% {
		         opacity: 0;
		         transform: translate(-50%, -55%) scale(0.9) rotateX(-20deg);
		     }
		 }
		 
		 @keyframes photoFadeIn {
		     0% {
		         opacity: 0;
		         transform: scale(0.8) rotate(-10deg);
		     }
		     100% {
		         opacity: 1;
		         transform: scale(1) rotate(0deg);
		     }
		 }
		 
		 /* CAMERA FLASH EFFECT */
		 .camera-flash {
		     position: fixed;
		     top: 0;
		     left: 0;
		     width: 100vw;
		     height: 100vh;
		     background: radial-gradient(circle at center, 
		         rgba(255, 255, 255, 1) 0%, 
		         rgba(255, 255, 255, 0.9) 30%, 
		         rgba(255, 255, 100, 0.4) 60%, 
		         transparent 100%);
		     z-index: 20000;
		     pointer-events: none;
		     mix-blend-mode: screen;
		     animation: cameraFlashBurst 0.5s ease-out forwards;
		 }
		 
		 @keyframes cameraFlashBurst {
		     0% {
		         opacity: 0;
		         transform: scale(0.6);
		     }
		     15% {
		         opacity: 1;
		         transform: scale(1.3);
		     }
		     100% {
		         opacity: 0;
		         transform: scale(1);
		     }
		 }
		 
		 
		 
		 @keyframes frameGlow {
		     0% {
		         box-shadow: 
		             0 0 100px rgba(138, 43, 226, 0.4),
		             0 0 200px rgba(255, 20, 147, 0.2),
		             inset 0 2px 0 rgba(255, 255, 255, 0.1);
		     }
		     100% {
		         box-shadow: 
		             0 0 120px rgba(138, 43, 226, 0.6),
		             0 0 240px rgba(255, 20, 147, 0.4),
		             inset 0 2px 0 rgba(255, 255, 255, 0.2);
		     }
		 }
		 
		 @keyframes sparkleFloat {
		     0%, 100% { opacity: 0.3; transform: scale(1); }
		     50% { opacity: 1; transform: scale(1.2); }
		 }
		 
		 @keyframes photoReveal {
		     0% {
		         opacity: 0;
		         transform: scale(0.8) rotateX(45deg);
		         filter: blur(5px);
		     }
		     100% {
		         opacity: 1;
		         transform: scale(1) rotateX(0deg);
		         filter: blur(0);
		     }
		 }
		 
		 @keyframes photoShine {
		     0% { transform: translateX(-100%) skewX(-15deg); }
		     100% { transform: translateX(200%) skewX(-15deg); }
		 }
		 
		 @keyframes frameFadeOut {
		     0% { opacity: 1; transform: scale(1); }
		     100% { opacity: 0; transform: scale(0.9); }
		 }
		 
		 /* FACEBOOK SHARE MODAL STYLES */
		 .share-preview {
		     text-align: center;
		     margin-bottom: 24px;
		 }
		 
		 .share-preview img {
		     max-width: 100%;
		     max-height: 300px;
		     border-radius: 12px;
		     box-shadow: 0 8px 24px rgba(138, 43, 226, 0.3);
		     border: 2px solid rgba(138, 43, 226, 0.2);
		 }
		 
		 .share-message {
		     text-align: center;
		     margin-bottom: 24px;
		     padding: 20px;
		     background: rgba(138, 43, 226, 0.1);
		     border-radius: 12px;
		     border: 1px solid rgba(138, 43, 226, 0.2);
		 }
		 
		 .share-message h5 {
		     color: #fff;
		     font-size: 18px;
		     font-weight: 600;
		     margin-bottom: 8px;
		 }
		 
		 .share-message p {
		     color: rgba(255, 255, 255, 0.8);
		     margin: 8px 0;
		     font-size: 14px;
		 }
		 
		 .share-preview-text {
		     line-height: 1.6;
		     margin-top: 12px !important;
		 }
		 
		 .share-preview-text small {
		     color: rgba(138, 43, 226, 0.8);
		     font-weight: 600;
		 }
		 
		 .facebook-post-text {
		     position: relative;
		     margin-top: 16px;
		 }
		 
		 .facebook-post-text textarea {
		     width: 100%;
		     height: 180px;
		     background: rgba(0, 0, 0, 0.3);
		     border: 2px solid rgba(138, 43, 226, 0.3);
		     border-radius: 12px;
		     padding: 16px;
		     color: #fff;
		     font-size: 14px;
		     line-height: 1.4;
		     resize: none;
		     font-family: inherit;
		 }
		 
		 .facebook-post-text textarea:focus {
		     outline: none;
		     border-color: rgba(138, 43, 226, 0.6);
		     box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
		 }
		 
		 .copy-post-btn {
		     position: absolute;
		     top: 12px;
		     right: 12px;
		     background: rgba(138, 43, 226, 0.8);
		     color: white;
		     border: none;
		     border-radius: 8px;
		     padding: 8px 12px;
		     font-size: 12px;
		     font-weight: 600;
		     display: flex;
		     align-items: center;
		     gap: 6px;
		     cursor: pointer;
		     transition: all 0.3s ease;
		 }
		 
		 .copy-post-btn:hover {
		     background: rgba(138, 43, 226, 1);
		     transform: translateY(-2px);
		 }
		 
		 .share-actions {
		     display: flex;
		     flex-wrap: wrap;
		     gap: 12px;
		     justify-content: center;
		 }
		 
		 .facebook-share {
		     background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
		     color: white;
		     border: none;
		     padding: 12px 24px;
		     border-radius: 8px;
		     font-weight: 600;
		     display: flex;
		     align-items: center;
		     gap: 8px;
		     transition: all 0.3s ease;
		 }
		 
		 .facebook-share:hover {
		     transform: translateY(-2px);
		     box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
		 }
		 
		 .instagram-share {
		     background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d, #f56040, #f77737, #fcaf45, #ffdc80);
		     background-size: 400% 400%;
		     color: white;
		     border: none;
		     padding: 12px 24px;
		     border-radius: 8px;
		     font-weight: 600;
		     display: flex;
		     align-items: center;
		     gap: 8px;
		     transition: all 0.3s ease;
		     animation: instagramGradient 3s ease infinite;
		 }
		 
		 @keyframes instagramGradient {
		     0% { background-position: 0% 50%; }
		     50% { background-position: 100% 50%; }
		     100% { background-position: 0% 50%; }
		 }
		 
		 .instagram-share:hover {
		     transform: translateY(-2px);
		     box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
		     animation-duration: 1s;
		 }
		 
		 .copy-link {
		     background: rgba(255, 255, 255, 0.1);
		     color: white;
		     border: 1px solid rgba(255, 255, 255, 0.2);
		     padding: 12px 24px;
		     border-radius: 8px;
		     font-weight: 600;
		     display: flex;
		     align-items: center;
		     gap: 8px;
		     transition: all 0.3s ease;
		 }
		 
		 .copy-link:hover {
		     background: rgba(255, 255, 255, 0.2);
		     transform: translateY(-2px);
		 }
		 
		 /* ========================================== */
		 /* SOPHISTICATED PHOTOBOOTH DESIGN           */
		 /* ========================================== */
		 
		 .pro-photo-frame-enhanced {
		     position: fixed;
		     top: 0;
		     left: 0;
		     width: 100vw;
		     height: 100vh;
		     z-index: 15000;
		     display: flex;
		     align-items: center;
		     justify-content: center;
		     background: rgba(0, 0, 0, 0.85);
		     backdrop-filter: blur(10px);
		     animation: modalFadeIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
		 }
		 
		 .photo-booth-container {
		     position: relative;
		     width: 90%;
		     max-width: 700px;
		     background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
		     border-radius: 20px;
		     padding: 30px;
		     box-shadow: 
		         0 25px 50px rgba(0, 0, 0, 0.5),
		         0 0 100px rgba(138, 43, 226, 0.2),
		         inset 0 1px 0 rgba(255, 255, 255, 0.1);
		     animation: containerSlideUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
		 }
		 
		 /* Animated Background Pattern */
		 .animated-bg-pattern {
		     position: absolute;
		     top: 0;
		     left: 0;
		     right: 0;
		     bottom: 0;
		     background-image: 
		         repeating-linear-gradient(45deg, 
		             transparent, 
		             transparent 10px, 
		             rgba(255, 255, 255, 0.01) 10px, 
		             rgba(255, 255, 255, 0.01) 20px);
		     border-radius: 20px;
		     animation: patternMove 20s linear infinite;
		 }
		 
		 /* Corner Accents */
		 .corner-accent {
		     position: absolute;
		     width: 60px;
		     height: 60px;
		     border: 3px solid;
		     border-image: linear-gradient(45deg, #ff1493, #8a2be2) 1;
		 }
		 
		 .corner-tl {
		     top: 10px;
		     left: 10px;
		     border-right: none;
		     border-bottom: none;
		     animation: cornerPulse 2s ease-in-out infinite;
		 }
		 
		 .corner-tr {
		     top: 10px;
		     right: 10px;
		     border-left: none;
		     border-bottom: none;
		     animation: cornerPulse 2s ease-in-out infinite 0.5s;
		 }
		 
		 .corner-bl {
		     bottom: 10px;
		     left: 10px;
		     border-right: none;
		     border-top: none;
		     animation: cornerPulse 2s ease-in-out infinite 1s;
		 }
		 
		 .corner-br {
		     bottom: 10px;
		     right: 10px;
		     border-left: none;
		     border-top: none;
		     animation: cornerPulse 2s ease-in-out infinite 1.5s;
		 }
		 
		 /* Photo Card */
		 .photo-card {
		     position: relative;
		     background: #fff;
		     border-radius: 12px;
		     overflow: hidden;
		     box-shadow: 
		         0 10px 40px rgba(0, 0, 0, 0.3),
		         0 0 60px rgba(138, 43, 226, 0.2);
		     animation: photoReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
		 }
		 
		 /* Camera Flash Effect */
		 .camera-flash-effect {
		     position: absolute;
		     top: 0;
		     left: 0;
		     right: 0;
		     bottom: 0;
		     background: radial-gradient(circle at center, rgba(255, 255, 255, 0.9), transparent);
		     z-index: 100;
		     pointer-events: none;
		     animation: flashBurst 0.6s ease-out;
		 }
		 
		 /* Photo Wrapper */
		 .photo-wrapper {
		     position: relative;
		     width: 100%;
		     aspect-ratio: 16/9;
		     overflow: hidden;
		     background: #000;
		 }
		 
		 .captured-photo-enhanced {
		     width: 100%;
		     height: 100%;
		     object-fit: cover;
		     filter: brightness(1.05) contrast(1.1) saturate(1.15);
		 }
		 
		 .photo-overlay {
		     position: absolute;
		     top: 0;
		     left: 0;
		     right: 0;
		     bottom: 0;
		     background: linear-gradient(180deg, 
		         transparent 0%, 
		         transparent 70%, 
		         rgba(0, 0, 0, 0.3) 100%);
		     pointer-events: none;
		 }
		 
		 /* Photo Strip */
		 .photo-strip {
		     display: flex;
		     justify-content: space-between;
		     align-items: center;
		     padding: 15px 20px;
		     background: linear-gradient(90deg, #f8fafc, #f1f5f9);
		     border-top: 1px solid #e2e8f0;
		 }
		 
		 .strip-left, .strip-center, .strip-right {
		     display: flex;
		     align-items: center;
		     gap: 8px;
		 }
		 
		 .strip-icon {
		     font-size: 20px;
		 }
		 
		 .strip-text {
		     font-weight: 600;
		     color: #334155;
		     font-size: 14px;
		     letter-spacing: 0.5px;
		 }
		 
		 .strip-date {
		     color: #64748b;
		     font-size: 13px;
		 }
		 
		 .strip-brand {
		     color: #8a2be2;
		     font-weight: 700;
		     font-size: 14px;
		     text-transform: uppercase;
		     letter-spacing: 1px;
		 }
		 
		 /* Action Buttons */
		 .photo-actions {
		     display: flex;
		     gap: 12px;
		     margin-top: 20px;
		     justify-content: center;
		 }
		 
		 .photo-action-btn {
		     padding: 12px 24px;
		     border: none;
		     border-radius: 10px;
		     font-size: 14px;
		     font-weight: 600;
		     cursor: pointer;
		     display: flex;
		     align-items: center;
		     gap: 8px;
		     transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
		 }
		 
		 .download-btn {
		     background: linear-gradient(135deg, #3b82f6, #2563eb);
		     color: white;
		 }
		 
		 .download-btn:hover {
		     transform: translateY(-2px);
		     box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
		 }
		 
		 .share-btn {
		     background: linear-gradient(135deg, #8b5cf6, #7c3aed);
		     color: white;
		 }
		 
		 .share-btn:hover {
		     transform: translateY(-2px);
		     box-shadow: 0 10px 20px rgba(139, 92, 246, 0.4);
		 }
		 
		 .close-btn {
		     background: linear-gradient(135deg, #10b981, #059669);
		     color: white;
		 }
		 
		 .close-btn:hover {
		     transform: translateY(-2px);
		     box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
		 }
		 
		 /* Animations */
		 @keyframes modalFadeIn {
		     0% { opacity: 0; }
		     100% { opacity: 1; }
		 }
		 
		 @keyframes containerSlideUp {
		     0% { 
		         opacity: 0; 
		         transform: translateY(50px) scale(0.95); 
		     }
		     100% { 
		         opacity: 1; 
		         transform: translateY(0) scale(1); 
		     }
		 }
		 
		 @keyframes patternMove {
		     0% { background-position: 0 0; }
		     100% { background-position: 40px 40px; }
		 }
		 
		 @keyframes cornerPulse {
		     0%, 100% { 
		         opacity: 0.5; 
		         transform: scale(1); 
		     }
		     50% { 
		         opacity: 1; 
		         transform: scale(1.1); 
		     }
		 }
		 
		 @keyframes photoReveal {
		     0% { 
		         opacity: 0; 
		         transform: scale(0.8) rotateX(10deg); 
		     }
		     100% { 
		         opacity: 1; 
		         transform: scale(1) rotateX(0); 
		     }
		 }
		 
		 @keyframes flashBurst {
		     0% { opacity: 0; }
		     10% { opacity: 1; }
		     100% { opacity: 0; }
		 }
		 
		 
		 /* Glass Morphism Stream Status Styles */
		 .glass-stream-status {
		     background: linear-gradient(135deg, rgba(39, 206, 120, 0.95) 0%, rgba(156, 255, 205, 0.9) 100%);
		     backdrop-filter: blur(20px);
		     -webkit-backdrop-filter: blur(20px);
		     border-radius: 20px;
		     padding: 0;
		     position: relative;
		     overflow: hidden;
		     box-shadow: 0 20px 60px rgba(39, 206, 120, 0.3),
		                 inset 0 0 20px rgba(255, 255, 255, 0.2);
		 }
		 
		 .on-air-header {
		     padding: 30px;
		     text-align: center;
		     background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
		 }
		 
		 .on-air-badge {
		     display: inline-flex;
		     align-items: center;
		     gap: 15px;
		     padding: 15px 30px;
		     background: rgba(255, 255, 255, 0.2);
		     border-radius: 50px;
		     backdrop-filter: blur(10px);
		     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
		     margin-bottom: 15px;
		 }
		 
		 .pulse-dot {
		     width: 20px;
		     height: 20px;
		     background: #ff0000;
		     border-radius: 50%;
		     box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
		     animation: pulse 2s infinite;
		 }
		 
		 @keyframes pulse {
		     0%, 100% { transform: scale(1); opacity: 1; }
		     50% { transform: scale(1.2); opacity: 0.8; }
		 }
		 
		 .on-air-text {
		     font-size: 2.5em;
		     font-weight: bold;
		     color: #fff;
		     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
		     margin: 0;
		 }
		 
		 /* Glass Stats Container */
		 .glass-stats-container {
		     padding: 25px;
		     background: rgba(255, 255, 255, 0.05);
		 }
		 
		 .glass-stats-grid {
		     display: grid;
		     grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		     gap: 15px;
		     margin-bottom: 25px;
		 }
		 
		 .glass-stat-card {
		     background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
		     backdrop-filter: blur(10px);
		     border-radius: 15px;
		     padding: 15px;
		     border: 1px solid rgba(255, 255, 255, 0.2);
		     display: flex;
		     align-items: center;
		     gap: 12px;
		     transition: all 0.3s ease;
		 }
		 
		 .glass-stat-card:hover {
		     background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
		     transform: translateY(-2px);
		     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
		 }
		 
		 .stat-icon {
		     font-size: 24px;
		     filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
		 }
		 
		 .stat-content {
		     flex: 1;
		 }
		 
		 .stat-label {
		     display: block;
		     font-size: 11px;
		     color: rgba(255, 255, 255, 0.7);
		     text-transform: uppercase;
		     letter-spacing: 1px;
		     margin-bottom: 3px;
		 }
		 
		 .stat-value {
		     display: block;
		     font-size: 16px;
		     font-weight: bold;
		     color: #fff;
		     text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
		 }
		 
		 /* Glass Graphs Container */
		 .glass-graphs-container {
		     display: flex;
		     flex-direction: column;
		     gap: 15px;
		 }
		 
		 .glass-graph-card {
		     background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
		     backdrop-filter: blur(10px);
		     border-radius: 15px;
		     padding: 20px;
		     border: 1px solid rgba(255, 255, 255, 0.1);
		 }
		 
		 .graph-header {
		     display: flex;
		     justify-content: space-between;
		     align-items: center;
		     margin-bottom: 15px;
		     padding-bottom: 10px;
		     border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		 }
		 
		 .graph-title {
		     font-size: 14px;
		     font-weight: 600;
		     color: rgba(255, 255, 255, 0.9);
		     text-transform: uppercase;
		     letter-spacing: 1px;
		 }
		 
		 .graph-value {
		     font-size: 18px;
		     font-weight: bold;
		     color: #fff;
		     text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
		 }
		 
		 #bitrateChart, #fpsChart {
		     width: 100% !important;
		     height: 120px !important;
		 }
		 
		 /* Responsive Design */
		 @media (max-width: 768px) {
		     .glass-stats-grid {
		         grid-template-columns: repeat(2, 1fr);
		     }
		 }

		 /* Glass Morphism Offline Overlay Animations */
		 @keyframes pulse {
		     0% { opacity: 1; }
		     50% { opacity: 0.5; }
		     100% { opacity: 1; }
		 }

		 /* Responsive offline overlay */
		 @media (max-width: 768px) {
		     .offline-social-container {
		         padding: 8px !important;
		     }
		     .offline-social-panel {
		         padding: 6px !important;
		     }
		     .offline-social-btn {
		         width: 22px !important;
		         height: 22px !important;
		     }
		     .offline-social-btn i {
		         font-size: 10px !important;
		     }
		     .offline-badge-container {
		         padding: 10px !important;
		     }
		     .offline-badge {
		         padding: 4px 8px !important;
		     }
		     .offline-badge span {
		         font-size: 10px !important;
		     }
		     .offline-badge div:first-child {
		         width: 6px !important;
		         height: 6px !important;
		     }
		 }


/* ================================================
   SECTION 2: Glass Section Card & Stream Status Styles
   ================================================ */


/* === STREAM MODE TOGGLE STYLES === */
.stream-mode-selector {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stream-mode-label {
    flex: 1;
    margin: 0;
    cursor: pointer;
}

.stream-mode-label input[type="radio"] {
    display: none;
}

.mode-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #6b7280;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    background: transparent;
}

.stream-mode-label input[type="radio"]:checked + .mode-button {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(139, 92, 246, 0.8));
    color: white;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.mode-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.stream-mode-label input[type="radio"]:checked + .mode-button:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 1), rgba(139, 92, 246, 1));
}

/* === WEBRTC INTERFACE STYLES === */
/* === PREMIUM GLASSMORPHISM WEBRTC STREAMING DASHBOARD === */
.premium-webrtc-dashboard {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.15) 0%, 
        rgba(139, 92, 246, 0.15) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 28px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    color: #1f2937;
    overflow: hidden;
}

.premium-webrtc-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* Main Preview Area */
.streaming-preview-area {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.6) 0%, 
        rgba(30, 41, 59, 0.6) 100%);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-preview-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: radial-gradient(circle at center, 
        rgba(30, 41, 59, 0.8) 0%, 
        rgba(15, 23, 42, 0.9) 100%);
}

.streaming-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.stream-status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    padding: 12px 20px;
    border-radius: 50px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6b7280;
    animation: glassPulse 2s infinite;
    box-shadow: 0 0 8px rgba(107, 114, 128, 0.5);
}

.status-dot.connecting { 
    background: #f59e0b; 
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}
.status-dot.streaming { 
    background: #10b981; 
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}
.status-dot.error { 
    background: #ef4444; 
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
}

@keyframes glassPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.status-text {
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.streaming-info {
    display: flex;
    gap: 12px;
    align-self: flex-end;
    flex-wrap: wrap;
}

.info-item {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 80px;
}

.info-label {
    color: rgba(255, 255, 255, 0.7);
    margin-right: 6px;
    font-size: 11px;
}

.info-value {
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Cool Audio Level Meter - Desktop */
.audio-level-item {
    min-width: 140px !important;
}

.audio-level-meter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.audio-level-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
    padding: 2px;
}

.audio-bar {
    width: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    transition: all 0.15s ease;
    position: relative;
}

.audio-bar[data-level="1"] { height: 4px; }
.audio-bar[data-level="2"] { height: 6px; }
.audio-bar[data-level="3"] { height: 8px; }
.audio-bar[data-level="4"] { height: 10px; }
.audio-bar[data-level="5"] { height: 12px; }
.audio-bar[data-level="6"] { height: 14px; }
.audio-bar[data-level="7"] { height: 16px; }
.audio-bar[data-level="8"] { height: 16px; }
.audio-bar[data-level="9"] { height: 16px; }
.audio-bar[data-level="10"] { height: 16px; }

/* Active bar colors with glow effect */
.audio-bar.active-low {
    background: linear-gradient(180deg, #22c55e, #16a34a);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.audio-bar.active-medium {
    background: linear-gradient(180deg, #eab308, #ca8a04);
    box-shadow: 0 0 8px rgba(234, 179, 8, 0.6);
}

.audio-bar.active-high {
    background: linear-gradient(180deg, #ef4444, #dc2626);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    animation: pulseHigh 0.3s ease-in-out;
}

@keyframes pulseHigh {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

.audio-level-text {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    min-width: 40px;
    text-align: right;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Control Panel */
.streaming-control-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.control-row {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.control-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.control-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 16px 0;
}

.control-section-title svg {
    color: #6366f1;
    filter: drop-shadow(0 1px 2px rgba(99, 102, 241, 0.3));
}

/* Glass Device Controls */
.device-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}


.device-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.device-label {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.device-select {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="%234B5563" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.device-select:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
    box-shadow: 
        0 8px 15px -3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.device-select:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 0 0 3px rgba(99, 102, 241, 0.1),
        0 8px 15px -3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Stream Controls */
.control-row.stream-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.12);
}

.main-controls {
    display: flex;
    gap: 16px;
}

.utility-controls {
    display: flex;
    gap: 12px;
}

.premium-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 16px -4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.premium-btn:hover::before {
    left: 100%;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.premium-btn.start-btn {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(5, 150, 105, 0.9));
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.premium-btn.start-btn:hover {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.95), rgba(4, 120, 87, 0.95));
}

.premium-btn.stop-btn {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.9));
    color: white;
    border: 1px solid rgba(239, 68, 68, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.premium-btn.stop-btn:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.95), rgba(185, 28, 28, 0.95));
}

.control-btn {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.control-btn:hover::before {
    width: 100%;
    height: 100%;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #374151;
    transform: translateY(-1px) scale(1.05);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.control-btn.active {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white;
    border-color: rgba(16, 185, 129, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}


.control-btn.muted {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.8), rgba(220, 38, 38, 0.8));
    color: white;
    border-color: rgba(239, 68, 68, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* === DESKTOP & MOBILE LAYOUT SEPARATION === */

/* Desktop layout - default visible */
.desktop-layout {
    display: block;
}

/* Mobile overlay - hidden by default */  
.mobile-native-overlay {
    display: none;
}

/* Microphone Mute Animation */
.control-btn, .mobile-overlay-btn {
    position: relative;
    transition: all 0.3s ease;
}

.control-btn.muted, .mobile-overlay-btn.muted {
    background: rgba(220, 38, 38, 0.9) !important;
    animation: pulseRed 2s infinite;
}

.control-btn.muted::after, .mobile-overlay-btn.muted::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 120%;
    background: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 2px;
    animation: strikeThrough 0.4s ease;
    z-index: 2;
}

.control-btn.muted::before, .mobile-overlay-btn.muted::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 120%;
    background: #fff;
    transform: translate(-50%, -50%) rotate(-45deg);
    border-radius: 2px;
    animation: strikeThrough 0.4s ease;
    z-index: 2;
}

@keyframes strikeThrough {
    from {
        height: 0%;
        opacity: 0;
    }
    to {
        height: 120%;
        opacity: 1;
    }
}

@keyframes pulseRed {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
    }
}

@keyframes shake {
    0%, 100% { 
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-3px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(3px);
    }
}

/* Mobile hidden elements */
.mobile-hidden {
    display: block;
}

/* === MOBILE NATIVE LAYOUT === */
@media (max-width: 768px) {
    /* Hide desktop layout completely */
    .desktop-layout {
        display: none !important;
    }
    
    .mobile-hidden {
        display: none !important;
    }
    
@media (max-width: 768px) {
    
    /* Show mobile native overlay */
    .mobile-native-overlay {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 9999;
        background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
        overflow-y: auto;
        overflow-x: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* === MOBILE HEADER === */
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-status-section {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .mobile-back-link {
        cursor: pointer;
        transition: opacity 0.2s ease;
    }
    
    .mobile-back-link:hover {
        opacity: 0.7;
    }
    
    .mobile-header-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    /* Cool Mobile Audio Level Meter - Vertical */
    .mobile-audio-level-meter-vertical {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 8px;
        padding: 6px 4px;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .mobile-audio-bars-vertical {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        height: 60px;
        width: 20px;
        padding: 2px;
        justify-content: flex-end;
    }
    
    .mobile-audio-bar-vertical {
        width: 16px;
        height: 3px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 2px;
        transition: all 0.15s ease;
        position: relative;
    }
    
    .mobile-audio-bar-vertical[data-level="1"] { height: 3px; }
    .mobile-audio-bar-vertical[data-level="2"] { height: 4px; }
    .mobile-audio-bar-vertical[data-level="3"] { height: 5px; }
    .mobile-audio-bar-vertical[data-level="4"] { height: 6px; }
    .mobile-audio-bar-vertical[data-level="5"] { height: 7px; }
    
    /* Mobile vertical active bar colors */
    .mobile-audio-bar-vertical.active-low {
        background: linear-gradient(90deg, #22c55e, #16a34a);
        box-shadow: 0 0 8px rgba(34, 197, 94, 1);
    }
    
    .mobile-audio-bar-vertical.active-medium {
        background: linear-gradient(90deg, #eab308, #ca8a04);
        box-shadow: 0 0 8px rgba(234, 179, 8, 1);
    }
    
    .mobile-audio-bar-vertical.active-high {
        background: linear-gradient(90deg, #ef4444, #dc2626);
        box-shadow: 0 0 10px rgba(239, 68, 68, 1);
        animation: mobileAudioPulseVertical 0.3s ease-in-out;
    }
    
    @keyframes mobileAudioPulseVertical {
        0%, 100% { transform: scaleX(1); }
        50% { transform: scaleX(1.2); }
    }
    
    .mobile-status-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #10b981;
        animation: pulse 2s infinite;
    }
    
    .mobile-status-dot.status-streaming {
        background: #ef4444;
    }
    
    .mobile-status-dot.status-error {
        background: #f59e0b;
    }
    
    .mobile-status-text {
        color: white;
        font-size: 14px;
        font-weight: 500;
    }
    
    .mobile-viewer-count {
        display: flex;
        align-items: center;
        gap: 6px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 14px;
        font-weight: 500;
    }
    
    /* === MOBILE VIDEO SECTION === */
    .mobile-video-section {
        display: flex;
        flex-direction: column;
        height: calc(100dvh - 40px); /* iPhone Safari fix */
        margin: 0;
        flex-shrink: 0;
    }
    
    .mobile-video-container {
        flex: 1;
        position: relative;
        background: #000;
        overflow: hidden;
    }
    
    .mobile-video-element {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    
    .mobile-video-placeholder {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
    }
    
    .mobile-placeholder-content {
        text-align: center;
        color: rgba(255, 255, 255, 0.6);
    }
    
    .mobile-placeholder-text {
        margin: 12px 0 0 0;
        font-size: 16px;
        font-weight: 500;
    }
    
    /* === INSTAGRAM/TIKTOK STYLE VIDEO OVERLAY === */
    .mobile-video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        pointer-events: auto;
    }
    
    /* Top Overlay Controls */
    .mobile-overlay-top {
        position: absolute;
        top: 26px;
        left: 16px;
        right: 16px;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    /* Device Popup */
    .mobile-device-popup {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 16px;
        margin-bottom: 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-device-popup-content {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 180px; /* Presne ako PiP */
        position: relative;
    }
    
    .mobile-popup-close {
        position: absolute;
        top: -8px;
        right: -8px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #333;
    }
    
    /* Skryť settings button keď je modal otvorený - čistý CSS */
    #mobileDevicePopup:not([style*="display: none"]) ~ .mobile-settings-btn,
    #mobileDevicePopup[style*="display: block"] ~ .mobile-settings-btn {
        display: none !important;
    }
    
    .mobile-device-option {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    
    .device-label {
        color: rgba(255, 255, 255, 0.8);
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .mobile-overlay-select {
        padding: 10px 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        font-size: 14px;
        appearance: none;
        backdrop-filter: blur(10px);
        width: 100%;
        /* Text ellipsis pre dlhý text */
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
    
    .mobile-overlay-select option {
        background: #1a1a1a;
        color: white;
    }
    
    /* Overlay Buttons */
    .mobile-overlay-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border: none;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(10px);
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .mobile-overlay-btn:hover {
        background: rgba(0, 0, 0, 0.8);
        transform: scale(1.1);
    }
    
    .mobile-overlay-btn.active {
        background: rgba(59, 130, 246, 0.8);
        border-color: #3b82f6;
    }
    
    .mobile-overlay-btn.muted {
        background: rgba(239, 68, 68, 0.8);
        border-color: #ef4444;
    }
    
    /* Right Side Controls (TikTok Style) */
    .mobile-overlay-right {
        position: absolute;
        right: 16px;
        top: calc(50% + 100px); /* Posunuté o 100px nižšie */
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .mobile-camera-switch {
        width: 56px;
        height: 56px;
    }
    
    /* Bottom Overlay Controls */
    .mobile-overlay-bottom {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
    }
    
    /* Main Stream Button (Instagram Style) */
    .mobile-stream-button-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-stream-btn {
        width: 80px;
        height: 80px;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    .mobile-stream-btn.mobile-start {
        background: linear-gradient(135deg, #10b981, #059669);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.2);
    }
    
    .mobile-stream-btn.mobile-stop {
        background: linear-gradient(135deg, #ef4444, #dc2626);
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.2);
    }
    
    .mobile-stream-btn:hover {
        transform: scale(1.05);
    }
    
    .mobile-stream-btn:active {
        transform: scale(0.95);
    }
    
    .mobile-btn-inner {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        color: white;
    }
    
    /* Settings Button */
    .mobile-settings-btn {
        background: rgba(0, 0, 0, 0.6);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    /* === MOBILE CHAT SECTION === */
    .mobile-chat-section {
        display: flex;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 0;
        height: calc(100dvh - 40px); /* iPhone Safari fix */
        overflow: hidden;
        position: absolute;
        top: 40px;
        left: 0;
        right: 0;
        z-index: 999;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    
    .mobile-chat-header {
        padding: 12px 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.95);
    }
    
    .mobile-chat-title {
        font-size: 16px;
        font-weight: 600;
        color: #374151;
        margin: 0;
        text-align: center;
    }
    
    .mobile-chat-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    
    .mobile-chat-iframe {
        flex: 1;
        border: none;
        background: white;
        min-height: 400px;
    }
    
    /* === MOBILE PICTURE-IN-PICTURE SYSTEM === */
    
    /* Floating Chat PiP (FaceTime style) - 50% bigger */
    .mobile-chat-pip {
        position: fixed;
        top: 70px;
        right: 20px;
        width: 180px;
        height: 240px;
        z-index: 1001;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
        cursor: grab; /* Draggable cursor */
        backdrop-filter: blur(20px);
        border: 2px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.05);
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        cursor: pointer;
    }
    
    .mobile-chat-pip:hover {
        transform: scale(1.02);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    }
    
    .mobile-chat-pip-container {
        position: relative;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 14px;
        overflow: hidden;
    }
    
    .mobile-chat-pip-iframe {
        width: 167%; /* Zväčšiť iframe aby vyplnil priestor */
        height: 300%; /* Vyššie aby sa videl chat-box */
        border: none;
        background: white;
        border-radius: 14px 14px 0 0;
        transform: scale(0.6) translateY(-300px); /* Posunúť výrazne hore aby boli vidieť prvé správy */
        transform-origin: top left;
        overflow: hidden;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    
    
    .mobile-pip-header {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 30px;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 8px;
        border-radius: 0 0 14px 14px;
    }
    
    .mobile-pip-title {
        color: white;
        font-size: 12px;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .mobile-pip-expand-btn {
        width: 20px;
        height: 20px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        border-radius: 50%;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-pip-expand-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }
    
    /* Floating Video PiP (when chat is fullscreen) - 50% bigger */
    .mobile-video-pip {
        position: fixed;
        top: 70px;
        right: 20px;
        width: 180px;
        height: 240px;
        z-index: 1002;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
        cursor: grab; /* Draggable cursor */
        backdrop-filter: blur(20px);
        border: 2px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.1);
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        cursor: pointer;
    }
    
    .mobile-video-pip:hover {
        transform: scale(1.05);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    }
    
    .mobile-video-pip-container {
        position: relative;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.95);
        border-radius: 14px;
        overflow: hidden;
    }
    
    .mobile-video-pip-element {
        width: 100%;
        height: calc(100% - 30px);
        object-fit: cover;
        object-position: center;
        border-radius: 14px 14px 0 0;
    }
    
    /* PiP Animations */
    @keyframes pipAppear {
        0% {
            transform: scale(0) rotate(45deg);
            opacity: 0;
        }
        60% {
            transform: scale(1.1) rotate(-5deg);
            opacity: 0.9;
        }
        100% {
            transform: scale(1) rotate(0deg);
            opacity: 1;
        }
    }
    
    .mobile-chat-pip,
    .mobile-video-pip {
        animation: pipAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    /* Animations */
    @keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.5; }
    }
}
    
    .control-row {
        padding: 12px;
        border-radius: 12px;
    }
    
    .control-section-title {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    
    .device-select {
        padding: 14px 16px;
        font-size: 16px; /* Prevent zoom on iOS */
        border-radius: 10px;
    }
    
    /* Stream controls - larger touch targets */
    .control-row.stream-controls {
        flex-direction: column;
        gap: 16px;
        padding: 20px 16px;
    }
    
    .main-controls {
        width: 100%;
        justify-content: center;
    }
    
    .premium-btn {
        padding: 16px 32px;
        font-size: 16px;
        border-radius: 12px;
        min-height: 44px; /* iOS touch target minimum */
    }
    
    .utility-controls {
        justify-content: center;
        gap: 16px;
    }
    
    .control-btn {
        width: 52px;
        height: 52px;
        min-height: 44px; /* iOS touch target minimum */
    }
    
    /* Audio level meter - simplified on mobile */
    .audio-level-item {
        min-width: 100px !important;
    }
    
    .audio-level-bar {
        width: 50px;
        height: 6px;
    }
    
    .streaming-info {
        gap: 8px;
        justify-content: center;
    }
    
    .info-item {
        padding: 6px 10px;
        font-size: 11px;
        border-radius: 8px;
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .premium-webrtc-dashboard {
        padding: 12px;
        border-radius: 12px;
    }
    
    .premium-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .control-btn {
        width: 48px;
        height: 48px;
    }
    
    .streaming-info {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    
    .info-item {
        min-width: auto;
        text-align: center;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .premium-btn:hover {
        transform: none;
    }
    
    .control-btn:hover {
        transform: none;
    }
    
    .device-select:hover {
        transform: none;
    }
    
    /* Larger touch targets */
    .premium-btn, .control-btn, .device-select {
        min-height: 44px;
    }
}

/* === GLASSMORPHISM OBS MODAL STYLES === */
.glass-modal .modal-dialog {
    margin: 30px auto;
    max-width: 700px;
}

.glass-modal-content {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 100%);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #1f2937;
}

.glass-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.glass-modal-header {
    padding: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.glass-modal-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.glass-modal-icon svg {
    color: #6366f1;
}

.glass-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    flex: 1;
}

.glass-modal-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #6b7280;
}

.glass-modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    transform: scale(1.05);
}

.glass-modal-body {
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.9);
}

.glass-modal-body p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.glass-modal-body small {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Form elements in glass modals */
.glass-modal-body .pp_mat_input label {
    color: #4B5563 !important; /* Dark gray */
    background: transparent !important;
    text-shadow: none !important;
}

.glass-modal-body .pp_mat_input input,
.glass-modal-body .pp_mat_input textarea,
.glass-modal-body .pp_mat_input select {
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.glass-modal-body .help-block {
    color: rgba(255, 255, 255, 0.6) !important;
}

.glass-modal-body .cont-det {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Radio buttons and checkboxes */
.glass-modal-body .radio-group label,
.glass-modal-body input[type="radio"] + label,
.glass-modal-body input[type="checkbox"] + label {
    color: rgba(255, 255, 255, 0.8) !important;
    background: transparent !important;
    text-shadow: none !important;
}

/* All labels in glass modal - fallback for any missed cases */
.glass-modal-body label {
    color: #4B5563 !important; /* Dark gray */
    background: transparent !important;
    text-shadow: none !important;
}

.obs-config-section {
    margin-bottom: 25px;
}

.obs-config-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

.obs-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.obs-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.obs-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.obs-copy-btn, .obs-reset-btn {
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(139, 92, 246, 0.8));
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.obs-reset-btn {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.8), rgba(220, 38, 38, 0.8));
}

.obs-copy-btn:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 1), rgba(139, 92, 246, 1));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.obs-reset-btn:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 1), rgba(220, 38, 38, 1));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.obs-button-group {
    display: flex;
    gap: 8px;
}

.glass-modal-footer {
    padding: 20px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.glass-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.glass-btn.secondary {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.glass-btn.secondary:hover {
    background: rgba(107, 114, 128, 0.2);
    color: #4b5563;
}

.glass-btn.primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(139, 92, 246, 0.8));
    color: white;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.glass-btn.primary:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 1), rgba(139, 92, 246, 1));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* === WEBRTC TEST PLAYER STYLES === */
.webrtc-test-player {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(147, 51, 234, 0.05));
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 15px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(5px);
}

.webrtc-test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.webrtc-test-status {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.webrtc-test-preview {
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
    margin-bottom: 12px;
}

.webrtc-test-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.webrtc-test-controls {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.webrtc-test-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: #374151;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.webrtc-test-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.webrtc-test-btn.play-btn {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    border-color: #047857;
}

.webrtc-test-btn.play-btn:hover {
    background: linear-gradient(135deg, #047857, #065f46);
}

.webrtc-test-btn.stop-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-color: #b91c1c;
}

.webrtc-test-btn.stop-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
}

/* Responsive design */
@media (max-width: 768px) {
    .glass-modal .modal-dialog {
        margin: 15px;
        max-width: none;
    }
    
    .glass-modal-content {
        padding: 20px;
    }
    
    .obs-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .obs-button-group {
        justify-content: center;
    }
    
    .webrtc-test-controls {
        flex-wrap: wrap;
    }
}

/* Orientation Warning Overlay (Instagram style) */
.orientation-warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.orientation-warning-content {
    max-width: 300px;
}

.orientation-phone-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    animation: rotatePhone 2s ease-in-out infinite;
}

.orientation-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.orientation-message {
    font-size: 16px;
    line-height: 1.4;
    opacity: 0.8;
    margin-bottom: 30px;
}

@keyframes rotatePhone {
    0% { transform: rotate(90deg); }
    50% { transform: rotate(0deg); }
    100% { transform: rotate(90deg); }
}

@media (orientation: landscape) and (max-height: 600px) {
    .orientation-warning-overlay {
        display: flex !important;
    }
    
    .mobile-native-overlay {
        display: none !important;
    }
}

/* Desktop Glass Morphism Control Panel */
.desktop-control-panel {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-control-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.glass-control-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #1f2937;
}

.glass-control-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.glass-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.glass-control-btn:hover .glass-btn-icon {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.glass-btn-text {
    font-weight: 600;
    letter-spacing: 0.025em;
}

/* Specific button styling */
.obs-setup-btn .glass-btn-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.obs-setup-btn:hover .glass-btn-icon {
    background: rgba(245, 158, 11, 0.2);
}

.settings-btn .glass-btn-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.settings-btn:hover .glass-btn-icon {
    background: rgba(239, 68, 68, 0.2);
}

.privacy-btn .glass-btn-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.privacy-btn:hover .glass-btn-icon {
    background: rgba(59, 130, 246, 0.2);
}

.offline-cover-btn .glass-btn-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.offline-cover-btn:hover .glass-btn-icon {
    background: rgba(16, 185, 129, 0.2);
}

.guests-display {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    cursor: default;
    pointer-events: none;
}

.guests-display .glass-btn-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.guests-display .glass-btn-text {
    color: #16a34a;
}

/* Responsive design for desktop controls */
@media (max-width: 768px) {
    .desktop-control-panel {
        display: none !important; /* Hide on mobile - use mobile interface */
    }
}

@media (max-width: 1024px) {
    .desktop-control-panel {
        gap: 12px;
        padding: 16px;
    }
    
    .glass-control-btn {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 100px;
    }
    
    .glass-btn-icon {
        width: 28px;
        height: 28px;
    }
}

/* Glass Morphism Section Cards */
.glass-section-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.glass-section-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.glass-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
}

.glass-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.glass-section-card:hover .glass-section-icon {
    background: rgba(59, 130, 246, 0.15);
    transform: scale(1.05);
}

.glass-section-title {
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.025em;
}

/* Specific section styling */
.status-card .glass-section-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-card:hover .glass-section-icon {
    background: rgba(16, 185, 129, 0.15);
}

.cover-card .glass-section-icon {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.cover-card:hover .glass-section-icon {
    background: rgba(168, 85, 247, 0.15);
}

.chat-card .glass-section-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.chat-card:hover .glass-section-icon {
    background: rgba(239, 68, 68, 0.15);
}

/* Section content styling */
.glass-section-card .player-video {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
}

.glass-section-card .thumbnail-preview {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
}

.glass-section-card .thumbnail-preview img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.photobooth-container .thumbnail-preview {
    padding: 5px;
    margin: 16px 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.photobooth-container .thumbnail-preview img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(138, 43, 226, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(138, 43, 226, 0.1);
}

.photobooth-container .thumbnail-preview img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(138, 43, 226, 0.5);
    border-color: rgba(138, 43, 226, 0.3);
}

.glass-section-card:hover .thumbnail-preview img {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.glass-section-card .cont-chat {
    padding: 0;
    border: none !important;
    background: rgba(255, 255, 255, 0.02);
}

.glass-section-card .cont-chat iframe {
    border-radius: 0 0 16px 16px;
    background: white;
}

/* ON AIR styling improvements */
.glass-section-card .on-air-text {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* WebRTC Dashboard in glass card */
.glass-section-card .premium-webrtc-dashboard {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 16px;
    border-radius: 0;
}

.glass-section-card .streaming-preview-area {
    border-radius: 12px;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass-section-card {
        margin-bottom: 16px;
    }
    
    .glass-section-header {
        padding: 16px 20px;
    }
    
    .glass-section-icon {
        width: 36px;
        height: 36px;
    }
    
    .glass-section-title {
        font-size: 16px;
    }
    
    .glass-section-card .player-video,
    .glass-section-card .thumbnail-preview {
        padding: 16px;
    }
}

/* Video Processing Background Rounded Corners */
.video-processing {
    border-radius: 12px;
    overflow: hidden;
}

/* Virtual Photographer */
.virtual-photographer {
    margin-top: 15px;
    text-align: center;
}

.capture-button {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.capture-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,107,107,0.4);
}

.capture-status {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

