/**
 * MMA Tower - Premium Kiosk Design System
 * ========================================
 * Hyper-realistic corporate kiosk that sets the premium tone
 * 
 * DESIGN GOALS:
 * - Photo-realistic hardware materials
 * - Premium glass effects and reflections
 * - Sophisticated lighting and shadows
 * - Elegant micro-interactions
 * - Sets expectation for $700+ experience
 */

/* ==========================================
   CSS CUSTOM PROPERTIES
   ========================================== */

:root {
    /* Kiosk Materials */
    --kiosk-metal-dark: #0d0d0d;
    --kiosk-metal-mid: #1a1a1a;
    --kiosk-metal-light: #2d2d2d;
    --kiosk-metal-highlight: #3a3a3a;
    --kiosk-metal-shine: rgba(255, 255, 255, 0.08);
    
    /* Glass Effects */
    --kiosk-glass-tint: rgba(10, 15, 25, 0.85);
    --kiosk-glass-reflection: rgba(255, 255, 255, 0.03);
    --kiosk-glass-edge: rgba(255, 255, 255, 0.1);
    
    /* Accent Lighting */
    --kiosk-accent: #c5a028;
    --kiosk-accent-glow: rgba(197, 160, 40, 0.4);
    --kiosk-led-green: #22c55e;
    --kiosk-led-blue: #3b82f6;
    
    /* Premium Gold Gradient */
    --kiosk-gold-gradient: linear-gradient(135deg, #c5a028 0%, #d4af37 50%, #b8960c 100%);
}


/* ==========================================
   KIOSK HARDWARE - HYPER-REALISTIC
   ========================================== */

.kiosk-premium {
    position: relative;
    perspective: 1500px;
    filter: drop-shadow(0 60px 80px rgba(0, 0, 0, 0.7));
}

/* Main Kiosk Body - Brushed Metal Effect */
.kiosk-premium-body {
    position: relative;
    background: 
        /* Brushed metal texture */
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 2px
        ),
        /* Base gradient */
        linear-gradient(180deg, 
            var(--kiosk-metal-light) 0%, 
            var(--kiosk-metal-mid) 20%,
            var(--kiosk-metal-dark) 80%,
            #050505 100%
        );
    border-radius: 32px 32px 24px 24px;
    padding: 24px;
    
    /* Multi-layer shadow for depth */
    box-shadow: 
        /* Outer ambient shadow */
        0 60px 120px -20px rgba(0, 0, 0, 0.8),
        /* Mid shadow */
        0 30px 60px -10px rgba(0, 0, 0, 0.6),
        /* Edge definition */
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 0 0 2px var(--kiosk-metal-dark),
        /* Inner top highlight */
        inset 0 1px 0 var(--kiosk-metal-shine),
        /* Inner bottom shadow */
        inset 0 -2px 0 rgba(0, 0, 0, 0.5);
    
    /* Subtle 3D tilt */
    transform: rotateX(2deg);
    transform-origin: center bottom;
}

/* Top edge highlight strip */
.kiosk-premium-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.15) 20%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.15) 80%,
        transparent 100%
    );
    border-radius: 32px 32px 0 0;
}

/* Side ambient glow */
.kiosk-premium-body::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -30px;
    right: -30px;
    height: 200px;
    transform: translateY(-50%);
    background: radial-gradient(ellipse at center, var(--kiosk-accent-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}


/* ==========================================
   SCREEN BEZEL - PRECISION ENGINEERING
   ========================================== */

.kiosk-premium-bezel {
    background: 
        /* Inner gradient */
        linear-gradient(180deg, 
            var(--kiosk-metal-dark) 0%, 
            #080808 50%,
            #050505 100%
        );
    border-radius: 20px;
    padding: 16px;
    position: relative;
    
    /* Precision edge shadows */
    box-shadow: 
        /* Outer ring */
        0 0 0 2px rgba(255, 255, 255, 0.03),
        0 0 0 4px var(--kiosk-metal-dark),
        0 0 0 5px rgba(0, 0, 0, 0.5),
        /* Inner shadow */
        inset 0 0 40px rgba(0, 0, 0, 0.8),
        inset 0 2px 4px rgba(0, 0, 0, 0.5);
}


/* ==========================================
   SCREEN - PREMIUM GLASS DISPLAY
   ========================================== */

.kiosk-premium-screen {
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    
    /* Screen glow from content */
    box-shadow: 
        inset 0 0 60px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(197, 160, 40, 0.1);
}

/* Glass reflection overlay */
.kiosk-premium-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.04) 0%, 
        rgba(255, 255, 255, 0.01) 40%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 100;
}

/* Subtle vignette */
.kiosk-premium-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 100;
}


/* ==========================================
   CAMERA - PRECISION DETAIL
   ========================================== */

.kiosk-premium-camera {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    z-index: 200;
    
    /* Camera lens */
    background: radial-gradient(circle at 30% 30%, 
        #444 0%, 
        #222 40%, 
        #111 100%
    );
    border-radius: 50%;
    
    /* Metal ring */
    box-shadow: 
        0 0 0 2px #1a1a1a,
        0 0 0 3px #2a2a2a,
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* Camera lens highlight */
.kiosk-premium-camera::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, 
        rgba(100, 150, 255, 0.4) 0%, 
        transparent 100%
    );
    border-radius: 50%;
}

/* Recording indicator */
.kiosk-premium-camera::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 3px;
    background: var(--kiosk-led-blue);
    border-radius: 50%;
    animation: camera-pulse 3s ease-in-out infinite;
}

@keyframes camera-pulse {
    0%, 85%, 100% { opacity: 0.2; box-shadow: none; }
    90% { opacity: 1; box-shadow: 0 0 6px var(--kiosk-led-blue); }
}


/* ==========================================
   LOGO STRIP - BRANDED FOOTER
   ========================================== */

.kiosk-premium-footer {
    background: 
        linear-gradient(180deg, 
            var(--kiosk-metal-mid) 0%, 
            var(--kiosk-metal-dark) 100%
        );
    padding: 14px 24px;
    margin-top: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    
    box-shadow: 
        inset 0 1px 0 var(--kiosk-metal-shine),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* Speaker Grilles */
.kiosk-premium-speaker {
    width: 70px;
    height: 28px;
    background: 
        repeating-linear-gradient(
            90deg,
            var(--kiosk-metal-dark) 0px,
            var(--kiosk-metal-dark) 2px,
            #080808 2px,
            #080808 4px
        );
    border-radius: 14px;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.6),
        0 1px 0 var(--kiosk-metal-shine);
}

/* Status LED */
.kiosk-premium-led {
    width: 8px;
    height: 8px;
    background: var(--kiosk-led-green);
    border-radius: 50%;
    box-shadow: 
        0 0 8px var(--kiosk-led-green),
        0 0 16px var(--kiosk-led-green),
        inset 0 -1px 2px rgba(0, 0, 0, 0.3);
    animation: led-breathe 2s ease-in-out infinite;
}

@keyframes led-breathe {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 8px var(--kiosk-led-green), 0 0 16px var(--kiosk-led-green); 
    }
    50% { 
        opacity: 0.7; 
        box-shadow: 0 0 4px var(--kiosk-led-green); 
    }
}

/* Brand Text */
.kiosk-premium-brand {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #4a4a4a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}


/* ==========================================
   STAND & BASE - INDUSTRIAL DESIGN
   ========================================== */

.kiosk-premium-neck {
    width: 100px;
    height: 16px;
    background: linear-gradient(180deg, 
        var(--kiosk-metal-light) 0%, 
        var(--kiosk-metal-mid) 100%
    );
    margin: 0 auto;
    border-radius: 0 0 8px 8px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

.kiosk-premium-pole {
    width: 50px;
    height: 100px;
    margin: 0 auto;
    background: 
        /* Cylindrical highlight */
        linear-gradient(90deg, 
            var(--kiosk-metal-dark) 0%, 
            var(--kiosk-metal-mid) 20%,
            var(--kiosk-metal-highlight) 50%,
            var(--kiosk-metal-mid) 80%,
            var(--kiosk-metal-dark) 100%
        );
    box-shadow: 
        4px 0 15px rgba(0, 0, 0, 0.3),
        -4px 0 15px rgba(0, 0, 0, 0.3);
}

.kiosk-premium-base {
    width: 200px;
    height: 20px;
    margin: 0 auto;
    background: 
        linear-gradient(180deg, 
            var(--kiosk-metal-mid) 0%, 
            var(--kiosk-metal-dark) 50%,
            #050505 100%
        );
    border-radius: 10px;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.5),
        inset 0 2px 0 var(--kiosk-metal-shine),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}

/* Floor reflection */
.kiosk-premium-base::after {
    content: '';
    display: block;
    width: 160px;
    height: 8px;
    margin: 8px auto 0;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.03) 0%, 
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(4px);
}


/* ==========================================
   PREMIUM MENU BUTTONS
   ========================================== */

.kiosk-menu-premium {
    background: 
        linear-gradient(180deg, 
            rgba(30, 41, 59, 0.9) 0%, 
            rgba(15, 23, 42, 0.95) 100%
        );
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 16px;
    padding: 18px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Glass effect */
    backdrop-filter: blur(10px);
    
    /* Inner glow */
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Ambient gold edge glow */
.kiosk-menu-premium::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: linear-gradient(135deg, 
        rgba(197, 160, 40, 0.3) 0%, 
        transparent 30%,
        transparent 70%,
        rgba(197, 160, 40, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

/* Shine sweep */
.kiosk-menu-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.08) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    z-index: 1;
}

.kiosk-menu-premium:hover {
    border-color: rgba(197, 160, 40, 0.5);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 20px 50px rgba(197, 160, 40, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.4);
}

.kiosk-menu-premium:hover::before {
    opacity: 1;
}

.kiosk-menu-premium:hover::after {
    left: 120%;
}

.kiosk-menu-premium:active {
    transform: translateY(-3px) scale(1.01);
}


/* ==========================================
   PREMIUM MENU ICONS
   ========================================== */

.kiosk-icon-container {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

/* Icon background glow */
.kiosk-icon-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    opacity: 0.8;
    transition: all 0.4s ease;
}

/* Identity Assessment - DNA/Fingerprint Style */
.kiosk-icon-identity {
    background: linear-gradient(135deg, rgba(197, 160, 40, 0.15) 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 1px solid rgba(197, 160, 40, 0.3);
}

.kiosk-icon-identity::before {
    background: radial-gradient(circle at 30% 30%, rgba(197, 160, 40, 0.2) 0%, transparent 60%);
}

.kiosk-icon-identity svg {
    color: #d4af37;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

/* Elevator - Blue Tech Style */
.kiosk-icon-elevator {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(96, 165, 250, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.kiosk-icon-elevator::before {
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
}

.kiosk-icon-elevator svg {
    color: #60a5fa;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.4));
}

/* Vault/Resources - Emerald Style */
.kiosk-icon-vault {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(52, 211, 153, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.kiosk-icon-vault::before {
    background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.2) 0%, transparent 60%);
}

.kiosk-icon-vault svg {
    color: #34d399;
    filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.4));
}

/* Video - Purple/Magenta Style */
.kiosk-icon-video {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(192, 132, 252, 0.1) 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.kiosk-icon-video::before {
    background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.2) 0%, transparent 60%);
}

.kiosk-icon-video svg {
    color: #c084fc;
    filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.4));
}

/* Hover state for icons */
.kiosk-menu-premium:hover .kiosk-icon-container {
    transform: scale(1.1);
}

.kiosk-menu-premium:hover .kiosk-icon-container svg {
    filter: drop-shadow(0 0 12px currentColor);
}


/* ==========================================
   SCREEN HEADER
   ========================================== */

.kiosk-screen-header {
    background: linear-gradient(180deg, 
        rgba(15, 23, 42, 0.98) 0%, 
        rgba(15, 23, 42, 0.95) 100%
    );
    border-bottom: 1px solid rgba(197, 160, 40, 0.2);
    padding: 16px 20px;
    position: relative;
}

/* Gold accent line */
.kiosk-screen-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(197, 160, 40, 0.5) 50%, 
        transparent 100%
    );
}

.kiosk-screen-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.kiosk-screen-subtitle {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c5a028;
    margin-top: 2px;
}


/* ==========================================
   STATUS BADGES
   ========================================== */

.kiosk-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.kiosk-badge-gold {
    background: linear-gradient(135deg, rgba(197, 160, 40, 0.2) 0%, rgba(197, 160, 40, 0.1) 100%);
    border: 1px solid rgba(197, 160, 40, 0.3);
    color: #d4af37;
}

.kiosk-badge-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.kiosk-badge-locked {
    background: rgba(100, 116, 139, 0.2);
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: #94a3b8;
}


/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes kiosk-glow {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(197, 160, 40, 0.1); 
    }
    50% { 
        box-shadow: 0 0 50px rgba(197, 160, 40, 0.2); 
    }
}

.kiosk-premium-body {
    animation: kiosk-glow 4s ease-in-out infinite;
}

/* Slide up entrance */
@keyframes kiosk-entrance {
    from {
        opacity: 0;
        transform: rotateX(2deg) translateY(40px);
    }
    to {
        opacity: 1;
        transform: rotateX(2deg) translateY(0);
    }
}

.kiosk-premium {
    animation: kiosk-entrance 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
