:root {
  --temp-orange: #ff6b35;
  --temp-pink: #ff006e;
  --temp-dark: #1a1a2e;
  --temp-darker: #14142a;
  --temp-light: #ffffff;
  --temp-gray: #a0a0a0;
  --temp-success: #06d6a0;
  --temp-danger: #ef476f;
  --temp-gradient-primary: linear-gradient(
    135deg,
    var(--temp-orange) 0%,
    var(--temp-pink) 100%
  );
  --temp-gradient-dark: linear-gradient(
    135deg,
    var(--temp-darker) 0%,
    var(--temp-dark) 100%
  );
  --temp-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --temp-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --temp-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* 🔧 Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--temp-gradient-dark);
  color: var(--temp-light);
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.temp-main-content {
  max-width: 2500px;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  overflow-x: hidden;
}

/* 🧭 Navbar */
.temp-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 46, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 0;
}

.temp-nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.temp-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.temp-btn-lg {
  padding: 18px 32px;
  font-size: 18px;
}

/* Chat-specific container - full viewport */
.temp-chat-container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* ============================================
   PAGE-SPECIFIC LAYOUTS
   ============================================ */

/* Welcome Page Layout - Scrollable */
#temp-landing-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100vw;
  height: auto;
}

/* Chat Page Layout - Fixed Viewport */
#temp-chat-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  overflow: hidden;
}

.temp-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 700;
  background: var(--temp-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.temp-logo i {
  font-size: 32px;
  background: var(--temp-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 🌍 Language Selector - Custom Dropdown */
.temp-language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

/* Custom Dropdown Container */
.temp-custom-dropdown {
  position: relative;
  cursor: pointer;
  user-select: none;
}

/* Selected Display */
.temp-dropdown-selected {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 14px;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  min-width: 120px;
  text-align: center;
  white-space: nowrap;
}

.temp-dropdown-selected:hover {
  border-color: var(--temp-orange);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.temp-custom-dropdown.open .temp-dropdown-selected {
  border-color: var(--temp-orange);
  background: rgba(255, 255, 255, 0.08);
}

.temp-selected-flag {
  font-size: 18px;
  line-height: 1;
}

.temp-selected-text {
  color: var(--temp-light);
  font-size: 14px;
  font-weight: 600;
  flex: 1;
}

.temp-dropdown-arrow {
  color: var(--temp-gray);
  font-size: 12px;
  transition: transform 0.3s ease;
}

.temp-custom-dropdown.open .temp-dropdown-arrow {
  transform: rotate(180deg);
  color: var(--temp-orange);
}

/* Dropdown Options */
.temp-dropdown-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0; /* 👈 Right align karo taaki overflow na ho */
  left: auto; /* Left ko auto karo */
  background: var(--temp-darker);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: var(--temp-shadow-lg);
  min-width: 150px; /* Minimum width set karo */
  width: 200px;
  max-height: 50vh;
  overflow-y: auto;
}

.temp-custom-dropdown.open .temp-dropdown-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Individual Option */
.temp-dropdown-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.temp-dropdown-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.temp-dropdown-option.active {
  background: rgba(255, 107, 53, 0.1);
}

.temp-option-flag {
  font-size: 20px;
  line-height: 1;
}

.temp-option-text {
  color: var(--temp-light);
  font-size: 14px;
  font-weight: 600;
  flex: 1;
}

.temp-option-check {
  color: var(--temp-orange);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.temp-dropdown-option.active .temp-option-check {
  opacity: 1;
}

/* Chat Header Specific Styles */
.temp-chat-header-actions .temp-custom-dropdown {
  min-width: auto;
}

.temp-chat-header-actions .temp-dropdown-selected {
  padding: 6px 12px;
  min-width: 90px;
}

.temp-chat-header-actions .temp-selected-flag {
  font-size: 16px;
}

.temp-chat-header-actions .temp-selected-text {
  font-size: 13px;
}

/* 🚀 Hero Section */
.temp-hero-section {
  position: relative;
  text-align: center;
  padding: 120px 20px 100px;
  width: 100%;
  margin: 0 auto 60px;
  height: 800px;
  overflow: hidden;
  isolation: isolate;
}

.temp-hero-bg {
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  width: 100vw;
  height: calc(100% + 100px);
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.temp-hero-pattern {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 107, 53, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 0, 110, 0.1) 0%,
      transparent 50%
    );
  animation: temp-float 20s ease-in-out infinite;
}

.temp-hero-gradient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.15) 0%,
    transparent 70%
  );
  filter: blur(60px);
  animation: temp-pulse 8s ease-in-out infinite;
}

@keyframes temp-float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(5deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }
}

@keyframes temp-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.temp-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.temp-hero-title {
  font-size: 72px;
  font-weight: 900;
  margin-bottom: 24px;
  background: var(--temp-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -2px;
}

.temp-hero-subtitle {
  font-size: 22px;
  color: var(--temp-gray);
  margin-bottom: 60px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.temp-hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* 🚀 Hero CTA Button */
.temp-hero-cta {
  display: flex;
  justify-content: center;
  margin-top: 70px;
  gap: 20px;
}

.temp-hero-btn {
  position: relative;
  padding: 18px 48px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.temp-hero-btn-primary {
  background: var(--temp-gradient-primary);
  color: var(--temp-light);
  border: 2px solid transparent;
}

.temp-hero-btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.4);
}

.temp-hero-btn-primary:active {
  transform: translateY(-2px) scale(1.02);
}

.temp-btn-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.temp-hero-btn:hover .temp-btn-icon {
  transform: scale(1.2) rotate(10deg);
}

.temp-btn-text {
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ✨ Shine Effect */
.temp-btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.temp-hero-btn:hover .temp-btn-shine {
  left: 100%;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .temp-hero-cta {
    margin-top: 35px;
  }

  .temp-hero-btn {
    padding: 16px 36px;
    font-size: 16px;
  }

  .temp-btn-icon {
    font-size: 18px;
  }
}

.temp-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.temp-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--temp-orange);
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.temp-stat-item:hover .temp-stat-icon {
  background: rgba(255, 107, 53, 0.1);
  border-color: var(--temp-orange);
  transform: translateY(-4px);
}

.temp-stat-value {
  font-size: 32px;
  font-weight: 800;
  background: var(--temp-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.temp-stat-label {
  font-size: 14px;
  color: var(--temp-gray);
  font-weight: 600;
}

/* 🎉 Welcome Section */
.temp-welcome-section {
  text-align: center;
  padding: 40px 20px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* ✨ Features Section */
.temp-features-section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: transparent;
}

.temp-section-title {
  font-size: 52px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  background: var(--temp-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.temp-section-subtitle {
  font-size: 18px;
  color: var(--temp-gray);
  text-align: center;
  margin-bottom: 60px;
}

.temp-welcome-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  background: var(--temp-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.temp-welcome-subtitle {
  font-size: 18px;
  color: var(--temp-gray);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ✨ Features Grid */
.temp-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.temp-feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.temp-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--temp-shadow-md);
  border-color: var(--temp-orange);
}

.temp-feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
  color: var(--temp-orange);
}

.temp-feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.temp-feature-desc {
  font-size: 14px;
  color: var(--temp-gray);
}

/* 🏠 Create Room Section */
.temp-create-room-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--temp-shadow-lg);
  margin: 0 auto 40px;
}

.temp-create-room-section .temp-section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.temp-create-room-section .temp-section-subtitle {
  font-size: 14px;
  color: var(--temp-gray);
  text-align: center;
  margin-bottom: 30px;
}

/* 📝 Form Components */
.temp-form-group {
  margin-bottom: 20px;
}

.temp-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--temp-light);
}

.temp-form-label i {
  margin-right: 8px;
  color: var(--temp-orange);
}

.temp-form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: var(--temp-light);
  font-size: 16px;
  transition: all 0.3s ease;
}

.temp-form-input:focus {
  outline: none;
  border-color: var(--temp-orange);
  background: rgba(255, 255, 255, 0.08);
}

.temp-form-input::placeholder {
  color: var(--temp-gray);
}

.temp-form-error {
  color: var(--temp-danger);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.temp-form-error.visible {
  display: block;
}

/* 🔘 Button Components */
.temp-btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}

.temp-btn-primary {
  background: var(--temp-gradient-primary);
  color: var(--temp-light);
  box-shadow: var(--temp-shadow-md);
}

.temp-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--temp-shadow-lg);
}

.temp-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--temp-light);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.temp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--temp-orange);
}

.temp-btn-success {
  background: var(--temp-success);
  color: var(--temp-darker);
}

.temp-btn-success:hover {
  background: #05b88a;
}

/* ➖ Divider */
.temp-divider {
  display: flex;
  align-items: center;
  margin: 30px 0;
  color: var(--temp-gray);
  font-size: 14px;
}

.temp-divider::before,
.temp-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.temp-divider span {
  padding: 0 16px;
}

/* 🔗 Join Link Section */
.temp-join-link-section {
  display: flex;
  gap: 12px;
}

.temp-join-link-section .temp-form-input {
  flex: 1;
}

.temp-join-link-section .temp-btn {
  width: auto;
  padding: 14px 24px;
}

/* 💬 Chat Room Styles */
.temp-chat-layout {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  height: 100%;
  gap: 0;
  overflow: hidden;
}

/* 📋 Sidebar */
.temp-sidebar {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(50px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* border-radius: 16px 0px 0px 16px; */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  position: relative;
}

/* Sidebar close button - hidden by default */
.temp-sidebar-close-btn {
  display: none;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--temp-light);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.temp-sidebar-close-btn:hover {
  background: var(--temp-danger);
  transform: scale(1.1);
}

.temp-sidebar-close-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
}

.temp-room-info {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.temp-room-info-content {
  flex: 1;
  min-width: 0;
}

.temp-room-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.temp-room-name i {
  color: var(--temp-orange);
}

.temp-room-meta {
  font-size: 12px;
  color: var(--temp-gray);
}

/* 👥 Participants */
.temp-participants-section {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.temp-participants-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--temp-gray);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.temp-participant-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.temp-participant-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.temp-participant-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.temp-participant-item.temp-owner {
  border-left: 3px solid var(--temp-orange);
}

.temp-participant-item.temp-you {
  border-left: 3px solid var(--temp-success);
}

.temp-participant-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--temp-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.temp-participant-info {
  flex: 1;
  min-width: 0;
}

.temp-participant-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.temp-participant-role {
  font-size: 11px;
  color: var(--temp-gray);
}

.temp-participant-actions {
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.temp-participant-item:hover .temp-participant-actions {
  opacity: 1;
}

.temp-participant-action-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--temp-light);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.temp-participant-action-btn:hover {
  background: var(--temp-orange);
}

.temp-sidebar-actions {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 💬 Chat Area */
.temp-chat-area {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* border-radius: 0px 16px 16px 0px; */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  min-height: 0;
}

.temp-chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.temp-chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.temp-chat-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--temp-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.temp-chat-header-details h3 {
  font-size: 16px;
  font-weight: 700;
}

.temp-chat-header-details span {
  font-size: 12px;
  color: var(--temp-gray);
}

.temp-chat-header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.temp-chat-header-actions .temp-language-selector {
  display: flex;
  align-items: center;
  gap: 6px;
}

.temp-chat-header-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--temp-light);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.temp-chat-header-btn:hover {
  background: var(--temp-orange);
}

/* Mobile menu button - hidden by default */
.temp-mobile-menu-btn {
  display: none;
}

/* 📨 Messages */
.temp-messages-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.temp-message {
  display: flex;
  gap: 12px;
  max-width: 70%;
}

.temp-message.temp-sent {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.temp-message.temp-received {
  align-self: flex-start;
}

.temp-message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--temp-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.temp-message-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.temp-message-bubble {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 1px 10px 5px 8px;
  position: relative;
  border-radius: 12px;
  line-height: 1.5;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  min-height: 40px;
  word-wrap: break-word;
}

/* 👤 Username display - top pe small me */
.temp-message-username {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--temp-gray);
  opacity: 0.9;
}

.temp-message-username::before {
  content: "@";
}

/* Sent message ka username different color */
.temp-message.temp-sent .temp-message-username {
  color: var(--temp-gray);
}

/* 💬 Message text aur metadata container - WhatsApp style inline */
.temp-message-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.35rem;
}

/* Message text - flexible width */
.temp-message-text {
  flex: 0 1 auto;
  word-break: break-word;
}

/* 💬 Received message - rounded on right, sharp tail on left */
.temp-message.temp-received .temp-message-bubble {
  border-top-left-radius: 0px;
  background: rgba(255, 255, 255, 0.08);
}

.temp-message.temp-received .temp-message-bubble::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 12px 0;
  border-color: transparent rgba(255, 255, 255, 0.08) transparent transparent;
}

/* 📤 Sent message - rounded on left, sharp tail on right */
.temp-message.temp-sent .temp-message-bubble {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.25) 0%,
    rgba(255, 0, 110, 0.25) 100%
  );
  border-top-right-radius: 0px;
}

.temp-message.temp-sent .temp-message-bubble::before {
  content: "";
  position: absolute;
  right: -8px;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 12px 8px;
  border-color: transparent transparent transparent rgb(83, 35, 54);
}

/* 📊 Inline metadata inside bubble - WhatsApp style */
.temp-message-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  margin-left: auto;
}

.temp-message-time {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.temp-time-period {
  font-size: 0.65rem;
  text-transform: lowercase;
  opacity: 0.8;
}

/* ✅ Message status ticks - WhatsApp style */
.temp-message-status {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.temp-message-status.sent {
  color: rgba(255, 255, 255, 0.4); /* Single gray tick */
}

.temp-message-status.delivered {
  color: rgba(255, 255, 255, 0.6); /* Double gray tick - brighter */
}

.temp-message-status.read {
  color: #53bdeb; /* Double blue tick */
}

.temp-system-message {
  align-self: center;
  text-align: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  font-size: 12px;
  color: var(--temp-gray);
  max-width: 80%;
}

/* 📅 Date Separator - WhatsApp style */
.temp-date-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
  position: relative;
}

.temp-date-separator::before,
.temp-date-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.temp-date-label {
  padding: 6px 16px;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--temp-orange);
  margin: 0 12px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ⌨️ Chat Input */
.temp-chat-input-area {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.temp-chat-input-wrapper {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.temp-chat-input {
  width: 100%;
  padding: 14px 60px 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  color: var(--temp-light);
  font-size: 15px;
  height: 48px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.temp-chat-input:focus {
  outline: none;
  border-color: var(--temp-orange);
  background: rgba(255, 255, 255, 0.08);
}

.temp-chat-input::placeholder {
  color: var(--temp-gray);
}

.temp-chat-send-btn {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--temp-gradient-primary);
  color: var(--temp-light);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.temp-chat-send-btn:hover:not(:disabled) {
  transform: scale(1.1);
  box-shadow: var(--temp-shadow-md);
}

.temp-chat-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 🪟 Modal Styles */
.temp-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.temp-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.temp-modal {
  background: var(--temp-darker);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  max-width: 450px;
  width: 90%;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

.temp-modal-overlay.active .temp-modal {
  transform: scale(1);
}

.temp-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.temp-modal-icon {
  font-size: 48px;
  color: var(--temp-orange);
  margin-bottom: 16px;
}

.temp-modal-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.temp-modal-subtitle {
  font-size: 14px;
  color: var(--temp-gray);
}

.temp-modal-body {
  margin-bottom: 24px;
}

.temp-share-link-box {
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.temp-share-link-text {
  flex: 1;
  font-size: 13px;
  color: var(--temp-gray);
  word-break: break-all;
}

.temp-share-link-copy {
  padding: 12px;
  border: none;
  background: var(--temp-gradient-primary);
  color: var(--temp-light);
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
}

.temp-share-link-copy:hover {
  transform: scale(1.05);
}

.temp-share-link-copy:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.temp-share-link-copy.copied {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.temp-modal-actions {
  display: flex;
  gap: 12px;
}

.temp-modal-actions .temp-btn {
  flex: 1;
}

/* 🍞 Toast Notifications */
.temp-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.temp-toast {
  background: var(--temp-darker);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--temp-shadow-lg);
  transform: translateX(400px);
  transition: all 0.4s ease;
  max-width: 350px;
}

.temp-toast.show {
  transform: translateX(0);
}

.temp-toast-icon {
  font-size: 20px;
}

.temp-toast.success .temp-toast-icon {
  color: var(--temp-success);
}

.temp-toast.error .temp-toast-icon {
  color: var(--temp-danger);
}

.temp-toast.info .temp-toast-icon {
  color: var(--temp-orange);
}

.temp-toast-content {
  flex: 1;
}

.temp-toast-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.temp-toast-message {
  font-size: 13px;
  color: var(--temp-gray);
}

.temp-toast-close {
  background: none;
  border: none;
  color: var(--temp-gray);
  cursor: pointer;
  font-size: 16px;
  transition: color 0.3s ease;
}

.temp-toast-close:hover {
  color: var(--temp-light);
}

/* ✏️ Edit Name Modal */
.temp-edit-name-form {
  margin-top: 20px;
}

/* 📱 Responsive Design */
@media (max-width: 768px) {
  .temp-chat-layout {
    grid-template-columns: 1fr !important;
    height: 100%;
    width: 100%;
    max-width: 100%;
  }

  .temp-ads-section {
    display: none !important;
  }

  /* Custom Dropdown Mobile Styles */
  .temp-custom-dropdown .temp-dropdown-selected {
    padding: 6px 10px;
    min-width: 90px;
  }

  .temp-selected-flag {
    font-size: 16px;
  }

  /* 📱 Mobile pe short name dikhao - full text hide karo, sirf short dikhao */
  .temp-selected-text {
    font-size: 0 !important;
  }

  .temp-selected-text::before {
    content: attr(data-short);
    font-size: 13px;
    color: var(--temp-light);
    font-weight: 600;
  }

  .temp-dropdown-options {
    min-width: 140px;
  }

  .temp-chat-container {
    height: 100dvh;
    max-width: 100%;
    padding: 0;
    width: 100%;
  }

  .temp-chat-area {
    border-radius: 0;
    width: 100%;
    max-width: 100%;
  }

  .temp-chat-input-area {
    padding: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
  }

  .temp-sidebar {
    display: none;
  }

  .temp-sidebar.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    border-radius: 0;
    transform: translateX(-100%);
    animation: slideInFromLeft 0.3s ease-out forwards;
  }

  @keyframes slideInFromLeft {
    from {
      transform: translateX(-100%);
    }
    to {
      transform: translateX(0);
    }
  }

  /* Closing animation */
  .temp-sidebar.mobile-closing {
    animation: slideOutToLeft 0.3s ease-in forwards;
  }

  @keyframes slideOutToLeft {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }

  /* Show close button only when sidebar is open on mobile */
  .temp-sidebar.mobile-open .temp-sidebar-close-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Show mobile menu button only on mobile */
  .temp-mobile-menu-btn {
    display: flex !important;
  }

  .temp-welcome-title {
    font-size: 32px;
  }

  .temp-create-room-section {
    padding: 24px;
  }

  .temp-features-grid {
    grid-template-columns: 1fr;
  }

  .temp-message {
    max-width: 85%;
  }

  /* Modal responsive styles */
  .temp-modal {
    width: 95%;
    max-width: 95%;
    padding: 20px;
    margin: 10px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .temp-modal-icon {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .temp-modal-title {
    font-size: 18px;
  }

  .temp-modal-subtitle {
    font-size: 13px;
  }

  .temp-modal-actions {
    flex-direction: column;
  }

  .temp-modal-actions .temp-btn {
    width: 100%;
  }

  .temp-share-link-box {
    flex-direction: row;
    align-items: center;
  }

  .temp-share-link-copy {
    width: auto;
    min-width: 40px;
    min-height: 40px;
    font-size: 16px;
    padding: 10px;
    flex-shrink: 0;
  }

  /* Toast responsive */
  .temp-toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .temp-toast {
    max-width: 100%;
  }

  /* 📱 Landing Page Mobile Styles */
  .temp-navbar {
    padding: 12px 0;
  }

  .temp-nav-container {
    padding: 0 15px;
  }

  /* Mobile pe sirf logo icon dikhao, text hide karo */
  .temp-logo span {
    display: none;
  }

  .temp-logo {
    gap: 0;
  }

  .temp-logo i {
    font-size: 32px;
  }

  /* Buttons ko small karo */
  .temp-nav-actions {
    gap: 8px;
  }

  .temp-nav-actions .temp-btn {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  /* Language dropdown ko bhi compact karo */
  .temp-custom-dropdown .temp-dropdown-selected {
    padding: 8px 10px;
    min-width: auto;
  }

  .temp-hero-section {
    padding: 60px 15px 40px;
    margin-bottom: 40px;
    max-width: 100%;
    height: 600px;
  }

  .temp-hero-bg {
    max-width: 100vw;
    width: 100vw;
  }

  .temp-hero-gradient {
    width: 90vw;
    max-width: 400px;
    height: 400px;
  }

  .temp-hero-title {
    font-size: 36px;
    letter-spacing: -1px;
    line-height: 1.2;
  }

  .temp-hero-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
    padding: 0 10px;
    max-width: 100%;
  }

  .temp-hero-stats {
    gap: 30px;
    padding: 0 10px;
  }

  .temp-stat-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .temp-stat-value {
    font-size: 28px;
  }

  .temp-stat-label {
    font-size: 12px;
  }

  .temp-section-title {
    font-size: 25px;
  }

  .temp-section-subtitle {
    font-size: 16px;
  }

  .temp-features-section,
  .temp-faq-section,
  .temp-how-it-works-section,
  .temp-use-cases-section,
  .temp-testimonials-section {
    padding: 60px 20px;
  }

  /* How It Works - Mobile */
  .temp-steps-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .temp-step-connector {
    transform: rotate(90deg);
  }

  .temp-step-card {
    max-width: 100%;
    width: 100%;
  }

  /* Use Cases - Mobile */
  .temp-use-cases-section {
    padding: 40px 15px;
    max-width: 100%;
  }

  .temp-use-cases-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-top: 24px;
  }

  .temp-use-case-card {
    padding: 20px;
    width: 100%;
  }

  .temp-use-case-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .temp-use-case-title {
    font-size: 16px;
  }

  .temp-use-case-desc {
    font-size: 13px;
  }

  /* Testimonials - Mobile */
  .temp-testimonials-section {
    padding: 40px 15px;
    max-width: 100%;
  }

  .temp-testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-top: 24px;
  }

  .temp-testimonial-card {
    padding: 20px;
    width: 100%;
  }

  .temp-testimonial-text {
    font-size: 14px;
  }

  .temp-testimonial-avatar {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .temp-testimonial-name {
    font-size: 14px;
  }

  .temp-testimonial-role {
    font-size: 12px;
  }

  .temp-footer {
    padding: 40px 20px 30px;
    margin-top: 60px;
  }
}

/* 🙈 Hidden States */
.temp-hidden {
  display: none !important;
}

/* 📜 Scrollbar Styling */

/* 🦊 Firefox ke liye - Standard CSS properties */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

/* 🌐 Chrome, Edge, Safari ke liye - Webkit properties */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ⏳ Loading Spinner */
.temp-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--temp-light);
  animation: temp-spin 1s ease-in-out infinite;
}

@keyframes temp-spin {
  to {
    transform: rotate(360deg);
  }
}

/* 📭 Empty State */
.temp-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--temp-gray);
  text-align: center;
}

.temp-empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.2);
}

.temp-empty-state p {
  font-size: 14px;
}

/* ❓ FAQ Section */
.temp-faq-section {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.temp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.temp-faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.temp-faq-item:hover {
  border-color: var(--temp-orange);
}

.temp-faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--temp-light);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.temp-faq-question:hover {
  color: var(--temp-orange);
}

.temp-faq-question i {
  transition: transform 0.3s ease;
  color: var(--temp-orange);
}

.temp-faq-item.active .temp-faq-question i {
  transform: rotate(180deg);
}

.temp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.temp-faq-item.active .temp-faq-answer {
  max-height: 200px;
}

.temp-faq-answer p {
  padding: 0 24px 20px;
  color: var(--temp-gray);
  line-height: 1.6;
}

/* 📋 How It Works Section */
.temp-how-it-works-section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.temp-steps-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.temp-step-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  transition: all 0.3s ease;
  position: relative;
}

.temp-step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--temp-shadow-md);
  border-color: var(--temp-orange);
}

.temp-step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--temp-gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: white;
  box-shadow: var(--temp-shadow-sm);
}

.temp-step-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: rgba(255, 107, 53, 0.1);
  border: 2px solid rgba(255, 107, 53, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--temp-orange);
  margin: 10px auto 20px;
  transition: all 0.3s ease;
}

.temp-step-card:hover .temp-step-icon {
  background: rgba(255, 107, 53, 0.2);
  border-color: var(--temp-orange);
  transform: scale(1.05);
}

.temp-step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--temp-light);
}

.temp-step-desc {
  font-size: 14px;
  color: var(--temp-gray);
  line-height: 1.6;
}

.temp-step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--temp-orange);
  opacity: 0.5;
  align-self: center;
}

/* 🎯 Use Cases Section */
.temp-use-cases-section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.temp-use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.temp-use-case-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.temp-use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--temp-shadow-md);
  border-color: var(--temp-orange);
}

.temp-use-case-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--temp-orange);
  margin: 0 auto 16px;
  transition: all 0.3s ease;
}

.temp-use-case-card:hover .temp-use-case-icon {
  background: rgba(255, 107, 53, 0.2);
  border-color: var(--temp-orange);
}

.temp-use-case-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--temp-light);
}

.temp-use-case-desc {
  font-size: 14px;
  color: var(--temp-gray);
  line-height: 1.5;
}

/* 💬 Testimonials Section */
.temp-testimonials-section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.temp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.temp-testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.temp-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--temp-shadow-md);
  border-color: var(--temp-orange);
}

.temp-testimonial-stars {
  color: #ffc107;
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.temp-testimonial-text {
  font-size: 15px;
  color: var(--temp-light);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
  font-style: italic;
}

.temp-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.temp-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--temp-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
}

.temp-testimonial-info {
  display: flex;
  flex-direction: column;
}

.temp-testimonial-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--temp-light);
}

.temp-testimonial-role {
  font-size: 13px;
  color: var(--temp-gray);
}

/* 🦶 Footer */
.temp-footer {
  padding: 60px 20px 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 80px;
}

.temp-footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.temp-footer .temp-logo {
  justify-content: center;
  margin-bottom: 16px;
  font-size: 32px;
}

.temp-footer-tagline {
  font-size: 16px;
  color: var(--temp-gray);
  margin-bottom: 24px;
}

.temp-footer-copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* 📢 Ads Section - Desktop Only */
.temp-ads-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(50px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  padding: 20px;
}

.temp-ads-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.temp-ad-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--temp-gray);
  letter-spacing: 1px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.temp-ad-label i {
  color: var(--temp-orange);
  font-size: 14px;
}

.temp-ad-slot {
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.temp-ad-slot:hover {
  border-color: var(--temp-orange);
  background: rgba(255, 255, 255, 0.05);
}

.temp-ad-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: var(--temp-gray);
  text-align: center;
  min-height: 250px;
}

.temp-ad-placeholder i {
  font-size: 48px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.2);
}

.temp-ad-placeholder p {
  font-size: 13px;
  font-weight: 600;
}

/* Hide ads on tablet (keep sidebar) */
@media (max-width: 1200px) {
  .temp-ads-section {
    display: none;
  }

  .temp-chat-layout {
    grid-template-columns: 280px 1fr;
  }
}
