/* ==========================================================================
   AuraStay OS - Minimal Luxury Hospitality TV Platform (Light Theme)
   ========================================================================== */

:root {
  --bg-primary: #FAFAF8;
  --bg-secondary: #F4F4F0;
  --bg-card: #FFFFFF;
  --bg-subtle: #F0EFEA;
  --text-main: #18181B;
  --text-secondary: #52525B;
  --text-muted: #71717A;
  --text-light: #A1A1AA;
  --accent-gold: #9E7D3B;
  --accent-gold-soft: #F5EEDB;
  --accent-gold-border: #E8D8B5;
  --accent-dark: #1C1917;
  --border-light: #E4E4E7;
  --border-subtle: #EFEFEF;
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
}

/* Base Setup */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Refined Typography */
.font-editorial {
  font-family: 'Newsreader', 'Playfair Display', Georgia, serif;
}

/* Clean Minimal Cards */
.minimal-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.minimal-card:hover {
  border-color: #D4D4D8;
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.minimal-card-interactive {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

/* Subtle Accent Badges */
.badge-minimal-gold {
  background: var(--accent-gold-soft);
  color: #785E29;
  border: 1px solid var(--accent-gold-border);
}

.badge-minimal-dark {
  background: #18181B;
  color: #FAFAF8;
}

.badge-minimal-gray {
  background: #F4F4F5;
  color: #52525B;
  border: 1px solid #E4E4E7;
}

/* TV Frame - Minimal Architectural Aesthetic (Samsung "The Frame" Style) */
.tv-frame-minimal {
  position: relative;
  border-radius: 12px;
  background: #18181B;
  padding: 10px 10px 14px 10px;
  box-shadow: 
    0 25px 60px -15px rgba(24, 24, 27, 0.22),
    0 10px 25px -5px rgba(24, 24, 27, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.tv-bezel-inner {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #FFFFFF;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.tv-pedestal {
  width: 110px;
  height: 8px;
  margin: 0 auto;
  background: #D4D4D8;
  border-radius: 0 0 4px 4px;
}

.tv-pedestal-base {
  width: 180px;
  height: 4px;
  margin: 0 auto;
  background: #A1A1AA;
  border-radius: 2px;
}

/* Sleek Minimal Remote (Matte Aluminum Style) */
.minimal-remote {
  width: 124px;
  background: linear-gradient(180deg, #F4F4F5 0%, #E4E4E7 100%);
  border: 1px solid #D4D4D8;
  border-radius: 28px;
  padding: 16px 12px;
  box-shadow: 
    0 16px 32px -8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 #FFFFFF;
}

.remote-key {
  transition: all 0.15s ease;
  user-select: none;
}

.remote-key:active {
  transform: scale(0.94);
}

.d-pad-minimal {
  width: 82px;
  height: 82px;
  background: #FFFFFF;
  border: 1px solid #D4D4D8;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.d-pad-ok {
  width: 32px;
  height: 32px;
  background: #18181B;
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* TV Screen Views Switching */
.tv-screen-view {
  display: none;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(0.99);
}

.tv-screen-view.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

/* Minimal Sliders */
input[type=range] {
  -webkit-appearance: none;
  background: #E4E4E7;
  height: 6px;
  border-radius: 3px;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #18181B;
  cursor: pointer;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Subtle architectural grid */
.minimal-grid-pattern {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
}

/* Clean Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #F4F4F0;
}

::-webkit-scrollbar-thumb {
  background: #D4D4D8;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #A1A1AA;
}
