/* ==========================================================================
   VANILLA CSS DESIGN SYSTEM - LIVELOG PRO (GLASSMORPHISM PREMIUM)
   ========================================================================== */

:root {
  /* Curated Dark Mode HSL Palettes */
  --bg-base: #0b0f19;
  --bg-surface: rgba(18, 27, 44, 0.65);
  --bg-surface-hover: rgba(28, 41, 66, 0.8);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glass-hover: rgba(255, 255, 255, 0.25);
  
  /* Vibrant Glowing Accents */
  --purple-glow: #a855f7;
  --pink-glow: #ec4899;
  --blue-glow: #38bdf8;
  --yellow-glow: #facc15;
  --red-glow: #f87171;
  --emerald-glow: #34d399;
  
  /* Text Colors */
  --text-main: #f8fafc;
  --text-sub: #94a3b8;
  --text-muted: #64748b;
  
  /* Gradients */
  --gradient-pink: linear-gradient(135deg, var(--purple-glow), var(--pink-glow));
  --gradient-blue: linear-gradient(135deg, #0284c7, var(--blue-glow));
  --gradient-gold: linear-gradient(135deg, #ca8a04, var(--yellow-glow));
  
  /* Shadow Tokens */
  --shadow-glass: 0 10px 35px -10px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 20px rgba(168, 85, 247, 0.25);
}

/* ==========================================================================
   RESET & BASE TYPOGRAPHY
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-base);
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

button, select, input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: 4px;
  border: 1px solid var(--border-glass);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--purple-glow);
}

/* ==========================================================================
   BACKGROUND GLOWING ORBS
   ========================================================================== */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  animation: floatOrb 12s ease-in-out infinite alternate;
}
.orb-purple {
  background: var(--purple-glow);
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
}
.orb-pink {
  background: var(--pink-glow);
  width: 450px;
  height: 450px;
  top: 30%;
  right: -50px;
  animation-delay: -4s;
}
.orb-blue {
  background: var(--blue-glow);
  width: 550px;
  height: 550px;
  bottom: -100px;
  left: 20%;
  animation-delay: -8s;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(50px) scale(1.15); }
}

/* UTILITIES */
.text-highlight { color: var(--pink-glow); }
.text-yellow { color: var(--yellow-glow); }
.text-pink { color: var(--pink-glow); }
.text-blue { color: var(--blue-glow); }
.text-purple { color: var(--purple-glow); }
.text-sub { color: var(--text-sub); }
.text-white { color: var(--text-main); }
.hidden { display: none !important; }

.bg-blue-glow { background: rgba(56, 189, 248, 0.15); color: var(--blue-glow); border: 1px solid rgba(56, 189, 248, 0.3); }
.bg-yellow-glow { background: rgba(250, 204, 21, 0.15); color: var(--yellow-glow); border: 1px solid rgba(250, 204, 21, 0.3); }
.bg-slate-glow { background: rgba(148, 163, 184, 0.15); color: var(--text-sub); border: 1px solid rgba(148, 163, 184, 0.3); }
.bg-red-glow { background: rgba(248, 113, 113, 0.15); color: var(--red-glow); border: 1px solid rgba(248, 113, 113, 0.3); }

/* ANIMATIONS */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-spin-slow { animation: spin 8s linear infinite; }
.animate-ping-slow { animation: ping 3s cubic-bezier(0, 0, 0.2, 1) infinite; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(1); opacity: 1; } 80%, 100% { transform: scale(2); opacity: 0; } }

/* ==========================================================================
   GLASSMORPHISM BASE COMPONENT
   ========================================================================== */
.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  box-shadow: var(--shadow-glass);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.glass-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 14px 24px;
}
.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}
.logo-text { font-size: 22px; font-weight: 900; font-family: 'Outfit', sans-serif; }

.live-selector-group {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
}
.selector-label { font-size: 14px; font-weight: 600; color: var(--text-sub); }
.glass-select {
  background: transparent;
  color: var(--text-main);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.glass-select option { background: var(--bg-base); color: var(--text-main); }

.live-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-glow); }
.status-text { font-size: 12px; font-weight: 700; color: var(--emerald-glow); text-transform: uppercase; letter-spacing: 0.05em; }

/* ==========================================================================
   DASHBOARD MAIN CONTAINER
   ========================================================================== */
.dashboard-main {
  max-width: 1280px;
  margin: 32px auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ==========================================================================
   HERO SUMMARY CARD
   ========================================================================== */
.hero-card { padding: 28px; position: relative; overflow: hidden; }
.hero-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.hero-profile-group { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.profile-image-wrapper { width: 140px; height: 175px; border-radius: 20px; overflow: hidden; position: relative; flex-shrink: 0; box-shadow: 0 10px 25px rgba(0,0,0,0.5); border: 1px solid var(--border-glass); }
.member-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.profile-image-wrapper:hover .member-image { transform: scale(1.08); }

.platform-badge { position: absolute; top: 10px; left: 10px; backdrop-filter: blur(12px); padding: 4px 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; gap: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.idn-badge { background: rgba(0, 0, 0, 0.75); }
.badge-title { font-size: 12px; font-weight: 900; color: #ef4444; }
.badge-live-tag { font-size: 9px; font-weight: 800; background: #dc2626; color: white; padding: 2px 6px; border-radius: 6px; display: flex; align-items: center; gap: 4px; }

.hero-quick-info { display: flex; flex-direction: column; gap: 14px; }
.member-name { font-size: 38px; line-height: 1.1; background: linear-gradient(to right, #fff, #cbd5e1); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.info-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.info-item { display: flex; align-items: center; gap: 10px; }
.info-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.info-val { font-size: 16px; font-weight: 600; }

.glass-btn { padding: 12px 24px; border-radius: 14px; font-weight: 700; font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: all 0.2s ease; }
.primary-btn { background: rgba(30, 41, 59, 0.8); border: 1px solid var(--border-glass); color: white; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.primary-btn:hover { background: rgba(48, 65, 93, 0.9); border-color: var(--border-glass-hover); transform: translateY(-2px); }
.primary-btn:active { transform: translateY(0); }

/* ==========================================================================
   EXPANDED DETAILS SECTION
   ========================================================================== */
.expanded-section { transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, transform 0.4s ease; max-height: 700px; opacity: 1; transform: translateY(0); overflow: hidden; }
.expanded-section.collapsed { max-height: 0; opacity: 0; transform: translateY(-20px); pointer-events: none; }

.details-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; }
.details-left-column { display: flex; flex-direction: column; gap: 20px; justify-content: space-between; }
.sub-info-card { padding: 22px; display: flex; align-items: center; gap: 18px; flex: 1; }
.card-icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.card-title { font-size: 18px; font-weight: 700; color: white; margin-bottom: 4px; }
.card-subtitle { font-size: 14px; color: var(--text-sub); }

.table-card { padding: 26px; }
.table-card-header { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border-glass); padding-bottom: 16px; margin-bottom: 18px; }
.table-card-header h3 { font-size: 20px; color: white; }
.custom-table { width: 100%; border-collapse: collapse; }
.custom-table tr { border-bottom: 1px solid rgba(255,255,255,0.06); }
.custom-table tr:last-child { border-bottom: none; }
.td-label { padding: 14px 0; color: var(--text-sub); font-weight: 500; width: 35%; }
.td-val { padding: 14px 0; text-align: right; }

/* ==========================================================================
   GIFT INFO BAR
   ========================================================================== */
.gift-info-card { padding: 24px 28px; display: flex; flex-direction: column; gap: 18px; }
.gift-info-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.info-title-group { display: flex; align-items: center; gap: 12px; font-size: 20px; }
.gift-info-title { font-size: 20px; color: white; }
.gift-info-total { font-size: 22px; font-weight: 900; font-family: 'Outfit', sans-serif; color: var(--yellow-glow); background: rgba(250, 204, 21, 0.1); border: 1px solid rgba(250, 204, 21, 0.3); padding: 4px 14px; border-radius: 12px; }

.progress-track { width: 100%; height: 16px; background: rgba(0, 0, 0, 0.5); border-radius: 10px; overflow: hidden; padding: 2px; border: 1px solid var(--border-glass); }
.progress-fill { height: 100%; border-radius: 8px; transition: width 1s cubic-bezier(0.4, 0, 0.2, 1); }
.bg-gradient-pink { background: var(--gradient-pink); box-shadow: 0 0 15px rgba(236, 72, 153, 0.5); }

.progress-legend { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; }
.legend-item { display: flex; align-items: center; gap: 8px; }

/* ==========================================================================
   TAB NAVIGATION & SEARCH
   ========================================================================== */
.tab-nav-section { padding: 10px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.tab-buttons-group { display: flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, 0.4); padding: 6px; border-radius: 18px; border: 1px solid var(--border-glass); overflow-x: auto; max-width: 100%; }
.tab-btn { padding: 12px 22px; border-radius: 14px; font-size: 14px; font-weight: 700; color: var(--text-sub); background: transparent; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: all 0.3s ease; white-space: nowrap; }
.tab-btn:hover { color: white; background: rgba(255, 255, 255, 0.05); }
.tab-btn.active { background: var(--gradient-pink); color: white; box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4); transform: scale(1.02); }

.search-box-group { position: relative; flex: 1; min-width: 280px; max-width: 400px; }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 16px; pointer-events: none; }
.glass-input { width: 100%; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--border-glass); border-radius: 16px; padding: 12px 42px; font-size: 14px; color: white; transition: all 0.2s ease; }
.glass-input:focus { border-color: var(--purple-glow); box-shadow: 0 0 15px rgba(168, 85, 247, 0.3); }
.clear-btn { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: var(--text-sub); cursor: pointer; font-size: 12px; }
.clear-btn:hover { background: var(--pink-glow); color: white; }

/* ==========================================================================
   TAB CONTENTS (LEADERBOARD, LOG, CATALOG)
   ========================================================================== */
.tab-content-container { min-height: 400px; }
.tab-panel { animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* LEADERBOARD GRID */
.leaderboard-grid { display: flex; flex-direction: column; gap: 16px; }
.gifter-card { background: var(--bg-surface); border: 1px solid var(--border-glass); border-radius: 20px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; transition: all 0.3s ease; backdrop-filter: blur(20px); }
.gifter-card:hover { border-color: var(--border-glass-hover); transform: translateY(-3px); box-shadow: var(--shadow-glow); }

.gifter-profile-left { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 250px; }
.rank-badge { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; font-family: 'Outfit', sans-serif; flex-shrink: 0; }
.rank-1 { background: rgba(250, 204, 21, 0.2); border: 1px solid rgba(250, 204, 21, 0.5); color: var(--yellow-glow); box-shadow: 0 0 15px rgba(250, 204, 21, 0.3); }
.rank-2 { background: rgba(203, 213, 225, 0.2); border: 1px solid rgba(203, 213, 225, 0.5); color: #cbd5e1; box-shadow: 0 0 15px rgba(203, 213, 225, 0.3); }
.rank-3 { background: rgba(180, 83, 9, 0.2); border: 1px solid rgba(180, 83, 9, 0.5); color: #d97706; box-shadow: 0 0 15px rgba(180, 83, 9, 0.3); }
.rank-other { background: rgba(0, 0, 0, 0.5); border: 1px solid var(--border-glass); color: var(--text-sub); }

.gifter-avatar-wrapper { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid var(--purple-glow); flex-shrink: 0; box-shadow: 0 0 10px rgba(168, 85, 247, 0.4); }
.gifter-avatar { width: 100%; height: 100%; object-fit: cover; }
.gifter-info h3 { font-size: 18px; color: white; display: flex; align-items: center; gap: 8px; }
.gifter-id-tag { font-size: 12px; color: var(--text-sub); background: rgba(0,0,0,0.5); border: 1px solid var(--border-glass); padding: 2px 8px; border-radius: 6px; margin-top: 4px; display: inline-block; }

.gifter-gifts-center { display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.4); border: 1px solid var(--border-glass); padding: 10px 14px; border-radius: 16px; max-width: 450px; overflow-x: auto; flex-wrap: nowrap; }
.mini-gift-pill { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-glass); padding: 6px 12px; border-radius: 10px; flex-shrink: 0; }
.mini-gift-img { width: 24px; height: 24px; object-fit: contain; }
.mini-gift-meta { display: flex; flex-direction: column; line-height: 1.2; }
.mini-gift-name { font-size: 12px; font-weight: 700; color: white; }
.mini-gift-pts { font-size: 10px; font-weight: 600; color: var(--yellow-glow); }

.gifter-contrib-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; min-width: 180px; border-left: 1px solid var(--border-glass); padding-left: 24px; }
.contrib-label { font-size: 12px; font-weight: 700; color: var(--text-sub); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.contrib-pts { font-size: 24px; font-weight: 900; font-family: 'Outfit', sans-serif; color: var(--purple-glow); text-shadow: 0 0 15px rgba(168, 85, 247, 0.4); }
.contrib-idr { font-size: 12px; font-weight: 700; color: var(--emerald-glow); background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); padding: 2px 10px; border-radius: 10px; margin-top: 4px; }

/* GIFT LOG TIMELINE */
.log-container { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.log-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-bottom: 1px solid var(--border-glass); padding-bottom: 18px; }
.log-title-group { display: flex; align-items: center; gap: 12px; font-size: 20px; color: white; font-family: 'Outfit', sans-serif; font-weight: 800; }
.live-pulse-badge { font-size: 12px; font-weight: 700; color: var(--purple-glow); background: rgba(168, 85, 247, 0.15); border: 1px solid rgba(168, 85, 247, 0.3); padding: 4px 14px; border-radius: 20px; animation: pulse 2s infinite; }

.log-list-wrapper { max-height: 550px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding-right: 8px; }
.log-item { display: flex; align-items: center; justify-content: space-between; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--border-glass); padding: 14px 20px; border-radius: 16px; animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-15px); } to { opacity: 1; transform: translateY(0); } }

.log-user-group { display: flex; align-items: center; gap: 14px; }
.log-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid var(--purple-glow); }
.log-user-info h4 { font-size: 15px; color: white; font-family: 'Inter', sans-serif; font-weight: 700; }
.log-time { font-size: 11px; color: var(--text-muted); }

.log-gift-group { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.05); padding: 6px 14px; border-radius: 12px; border: 1px solid var(--border-glass); }
.log-gift-img { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5)); }
.log-gift-count { font-size: 16px; font-weight: 900; font-family: 'Outfit', sans-serif; color: var(--yellow-glow); }

/* CATALOG GRID */
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.catalog-card { background: var(--bg-surface); border: 1px solid var(--border-glass); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: all 0.3s ease; backdrop-filter: blur(20px); }
.catalog-card:hover { border-color: var(--purple-glow); transform: translateY(-5px); box-shadow: var(--shadow-glow); }

.catalog-img-wrapper { width: 85px; height: 85px; margin-bottom: 16px; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--border-glass); border-radius: 20px; padding: 12px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.catalog-card:hover .catalog-img-wrapper { transform: scale(1.15); }
.catalog-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5)); }

.catalog-name { font-size: 16px; font-weight: 700; color: white; margin-bottom: 12px; line-height: 1.3; }
.catalog-footer { width: 100%; border-top: 1px solid var(--border-glass); padding-top: 14px; margin-top: auto; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.catalog-pts { font-size: 14px; font-weight: 900; font-family: 'Outfit', sans-serif; color: var(--yellow-glow); background: rgba(250, 204, 21, 0.1); border: 1px solid rgba(250, 204, 21, 0.3); padding: 4px 14px; border-radius: 20px; width: 100%; }
.catalog-tag { font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 4px 12px; border-radius: 8px; letter-spacing: 0.05em; }
.tag-free { background: rgba(0,0,0,0.5); border: 1px solid var(--border-glass); color: var(--text-sub); }
.tag-paid { background: rgba(236, 72, 153, 0.15); border: 1px solid rgba(236, 72, 153, 0.3); color: var(--pink-glow); }

/* ALL ROOMS GRID */
.all-rooms-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 32px; }
.room-summary-card { padding: 20px; display: flex; flex-direction: column; gap: 16px; cursor: pointer; }
.room-summary-card:hover { transform: translateY(-5px); border-color: var(--purple-glow); box-shadow: var(--shadow-glow); }
.room-card-header { display: flex; align-items: center; gap: 16px; }
.room-card-avatar-wrapper { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; border: 2px solid var(--border-glass); flex-shrink: 0; position: relative; }
.room-card-avatar { width: 100%; height: 100%; object-fit: cover; }
.room-card-info { display: flex; flex-direction: column; gap: 4px; }
.room-card-title { font-size: 18px; font-weight: 800; color: white; line-height: 1.2; }
.room-card-stats { display: flex; flex-direction: column; gap: 8px; background: rgba(0,0,0,0.4); padding: 12px; border-radius: 16px; border: 1px solid var(--border-glass); font-size: 13px; }
.stat-line { display: flex; align-items: center; justify-content: space-between; }
.stat-label { color: var(--text-sub); }
.stat-value { font-weight: 700; color: white; }

/* EMPTY STATE */
.empty-state { grid-column: 1 / -1; padding: 60px 20px; text-align: center; background: rgba(0,0,0,0.3); border: 1px solid var(--border-glass); border-radius: 24px; }
.empty-icon { font-size: 54px; color: var(--text-muted); margin-bottom: 16px; }
.empty-title { font-size: 22px; color: white; margin-bottom: 6px; }
.empty-desc { font-size: 14px; color: var(--text-sub); }

/* ==========================================================================
   TOAST NOTIFICATION CONTAINER
   ========================================================================== */
.toast-container { position: fixed; bottom: 32px; right: 32px; z-index: 100; display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
.toast-card { background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(20px); border: 1px solid var(--purple-glow); border-radius: 16px; padding: 16px 22px; display: flex; align-items: center; gap: 16px; box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3); pointer-events: auto; animation: slideInToast 0.4s cubic-bezier(0.4, 0, 0.2, 1), fadeOutToast 0.4s ease 4.6s forwards; max-width: 400px; }
@keyframes slideInToast { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOutToast { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100px); opacity: 0; } }

.toast-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--gradient-gold); display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; flex-shrink: 0; box-shadow: 0 0 15px rgba(250, 204, 21, 0.4); }
.toast-content { display: flex; flex-direction: column; line-height: 1.3; }
.toast-title { font-size: 14px; font-weight: 800; color: white; font-family: 'Outfit', sans-serif; margin-bottom: 2px; }
.toast-desc { font-size: 12px; color: var(--yellow-glow); font-weight: 600; }

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .details-grid { grid-template-columns: 1fr; }
  .gifter-contrib-right { border-left: none; border-top: 1px solid var(--border-glass); padding-top: 16px; align-items: flex-start; margin-top: 12px; width: 100%; }
}

@media (max-width: 640px) {
  .navbar-container { flex-direction: column; align-items: stretch; gap: 12px; }
  .live-selector-group { justify-content: space-between; }
  .live-status-badge { justify-content: center; }
  
  .hero-profile-group { flex-direction: column; align-items: center; text-align: center; width: 100%; }
  .info-row { justify-content: center; }
  .hero-action-group { width: 100%; display: flex; justify-content: center; }
  
  .details-left-column { gap: 16px; }
  .sub-info-card { flex-direction: column; text-align: center; }
  .td-label { width: 45%; }
  
  .gift-info-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .progress-legend { flex-direction: column; align-items: flex-start; gap: 12px; }
  
  .tab-buttons-group { flex-wrap: wrap; }
  .tab-btn { flex: 1; justify-content: center; }
  .search-box-group { max-width: 100%; }
}
