/* 
  Nutuva Live - Premium Design System
  Modern, Minimal & Glassmorphism UI
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --bg-dark: #0f172a;
  --glass: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #22d3ee;
  --danger: #ef4444;
  --success: #22c55e;
  --warning: #f59e0b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(circle at top right, #1e293b, #0f172a);
}

/* Glassmorphism Containers */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Auth / Entry Container */
.entry-container {
  max-width: 450px;
  width: 90%;
  margin: auto;
  padding: 40px;
  text-align: center;
  transition: transform 0.3s ease;
}

.entry-container:hover {
  transform: translateY(-5px);
}

.logo {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

/* Form Elements */
.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  margin-left: 4px;
}

input[type="text"], 
input[type="password"], 
select {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s;
}

input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Responsive Grid for Videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  flex: 1;
}

.video-slot {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.video-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-slot .info {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.5);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Signal Strength Indicator */
.signal-bar {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.signal-bar span {
  width: 3px;
  background: #444;
  border-radius: 1px;
}

.signal-bar.lv4 span { background: var(--success); }
.signal-bar span:nth-child(1) { height: 30%; }
.signal-bar span:nth-child(2) { height: 50%; }
.signal-bar span:nth-child(3) { height: 75%; }
.signal-bar span:nth-child(4) { height: 100%; }

/* Mobile Optimizations */
@media (max-width: 768px) {
  .entry-container {
    padding: 30px 20px;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
}
