* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #ff006e 0%, #8338ec 50%, #000000 100%);
  min-height: 100vh;
  color: #fff;
}

.navbar {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(255, 0, 110, 0.3);
  border-bottom: 1px solid rgba(255, 0, 110, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, #ff006e, #8338ec);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
}

.main-content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

/* Auth Styles */
.auth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 80vh;
  gap: 2rem;
  padding: 2rem 0;
}

.auth-card {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(255, 0, 110, 0.2);
  border: 1px solid rgba(255, 0, 110, 0.3);
  width: 100%;
  max-width: 450px;
  position: relative;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h2 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 2rem;
  background: linear-gradient(45deg, #ff006e, #8338ec);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-header p {
  color: #ccc;
  font-size: 1.1rem;
}

.auth-step {
  display: none;
}

.auth-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.auth-step h3 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.auth-step p {
  color: #ccc;
  margin-bottom: 1.5rem;
}

.welcome-back {
  text-align: center;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(131, 56, 236, 0.2));
  border-radius: 10px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 0, 110, 0.3);
}

.welcome-back h3 {
  color: #ff006e;
  margin-bottom: 0.5rem;
}

.welcome-back p {
  margin-bottom: 0.5rem;
  color: #ccc;
}

.welcome-back strong {
  color: #fff;
}

.signup-benefits {
  background: rgba(255, 0, 110, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 0, 110, 0.2);
}

.signup-benefits h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.signup-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.signup-benefits li {
  padding: 0.5rem 0;
  color: #ccc;
  font-size: 0.95rem;
}

.success-message {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  border: 1px solid rgba(40, 167, 69, 0.3);
  text-align: center;
  font-weight: 500;
}

/* Dashboard Styles */
.dashboard-container {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 50px rgba(255, 0, 110, 0.2);
  border: 1px solid rgba(255, 0, 110, 0.3);
}

.dashboard-header {
  text-align: center;
  margin-bottom: 2rem;
}

.user-welcome {
  text-align: center;
  margin-bottom: 2rem;
}

.user-welcome h2 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 2rem;
  background: linear-gradient(45deg, #ff006e, #8338ec);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.user-welcome p {
  color: #ccc;
  font-size: 1.1rem;
}

.user-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: linear-gradient(135deg, #ff006e 0%, #8338ec 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.action-card {
  background: rgba(255, 0, 110, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 0, 110, 0.3);
  backdrop-filter: blur(10px);
}

.action-header {
  margin-bottom: 1.5rem;
}

.action-header h3 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.action-header p {
  color: #ccc;
  font-size: 0.95rem;
}

/* Live Rooms Section */
.live-rooms-section {
  margin-top: 3rem;
  background: rgba(255, 0, 110, 0.1);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 0, 110, 0.3);
  backdrop-filter: blur(10px);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header h3 {
  color: #fff;
  font-size: 1.5rem;
  background: linear-gradient(45deg, #ff006e, #8338ec);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: #ccc;
  margin: 0.5rem 0;
}

.live-rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.live-room-card {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 0, 110, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.live-room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 0, 110, 0.3);
  border-color: #ff006e;
}

.live-room-card.private {
  border-color: rgba(131, 56, 236, 0.5);
}

.live-room-card.private:hover {
  border-color: #8338ec;
  box-shadow: 0 15px 40px rgba(131, 56, 236, 0.3);
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.room-name {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.room-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-count {
  color: #ff006e;
  font-size: 0.9rem;
  font-weight: 500;
}

.private-badge {
  color: #8338ec;
  font-size: 0.8rem;
}

.room-info {
  margin-bottom: 1rem;
}

.creator {
  color: #ccc;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.current-song {
  color: #ff006e;
  font-size: 0.9rem;
  font-weight: 500;
}

.no-song {
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
}

.join-button {
  text-align: center;
  padding: 0.75rem;
  background: linear-gradient(135deg, #ff006e, #8338ec);
  border-radius: 8px;
  margin-top: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.live-room-card:hover .join-button {
  opacity: 1;
}

.join-text {
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
}

.loading-rooms,
.no-rooms {
  text-align: center;
  color: #ccc;
  padding: 3rem;
  font-style: italic;
  grid-column: 1 / -1;
}

/* Room Search Suggestions */
.room-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 0, 110, 0.3);
  border-radius: 10px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 0.5rem;
}

.room-suggestion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 0, 110, 0.2);
  transition: background 0.3s ease;
}

.room-suggestion:hover {
  background: rgba(255, 0, 110, 0.1);
}

.room-suggestion:last-child {
  border-bottom: none;
}

.suggestion-info {
  flex: 1;
}

.suggestion-name {
  color: #fff;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

.suggestion-meta {
  color: #ccc;
  font-size: 0.8rem;
}

.no-suggestions {
  padding: 1rem;
  text-align: center;
  color: #ccc;
  font-style: italic;
}

/* Room Styles */
.room-container {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 50px rgba(255, 0, 110, 0.2);
  border: 1px solid rgba(255, 0, 110, 0.3);
  height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 0, 110, 0.3);
}

.room-header h2 {
  color: #fff;
  background: linear-gradient(45deg, #ff006e, #8338ec);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.room-info {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.room-id {
  background: rgba(255, 0, 110, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #ff006e;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 0, 110, 0.3);
}

.room-id:hover {
  background: rgba(255, 0, 110, 0.3);
  color: #fff;
  transform: scale(1.05);
}

.users-online {
  color: #8338ec;
  font-weight: 500;
}

.room-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  flex: 1;
  overflow: hidden;
}

/* Player Styles */
#youtube-player {
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.player-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.music-player {
  background: linear-gradient(135deg, #ff006e 0%, #8338ec 50%, #000000 100%);
  color: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(255, 0, 110, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-info {
  margin-bottom: 2rem;
}

.current-song {
  margin-bottom: 1rem;
}

.song-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.current-thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.song-details {
  flex: 1;
}

.song-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
  line-height: 1.3;
  color: #fff;
}

.song-channel {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
  color: #ff006e;
}

.song-duration {
  font-size: 0.8rem;
  opacity: 0.7;
  color: #8338ec;
}

.no-song {
  font-size: 1.2rem;
  opacity: 0.7;
  color: #ccc;
}

.player-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.control-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.control-btn:hover:not(:disabled) {
  background: rgba(255, 0, 110, 0.3);
  border-color: #ff006e;
  transform: scale(1.1);
}

.control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.progress-container {
  margin-top: 1rem;
}

.progress-bar {
  background: rgba(255, 255, 255, 0.2);
  height: 8px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: height 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar:hover {
  height: 10px;
}

.progress-fill {
  background: linear-gradient(90deg, #ff006e, #8338ec);
  height: 100%;
  width: 0%;
  transition: width 0.1s ease;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  opacity: 0.8;
  color: #fff;
}

/* Sidebar Styles */
.sidebar {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 0, 110, 0.3);
}

.tabs {
  display: flex;
  background: rgba(255, 0, 110, 0.1);
}

.tab-btn {
  flex: 1;
  padding: 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  color: #ccc;
  border-bottom: 2px solid transparent;
}

.tab-btn.active {
  background: linear-gradient(135deg, #ff006e, #8338ec);
  color: white;
  border-bottom-color: #ff006e;
}

.tab-btn:hover:not(.active) {
  background: rgba(255, 0, 110, 0.2);
  color: #fff;
}

.tab-content {
  display: none;
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.tab-content.active {
  display: block;
}

/* Search Styles */
.search-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.search-form input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid rgba(255, 0, 110, 0.3);
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  backdrop-filter: blur(10px);
}

.search-form input::placeholder {
  color: #ccc;
}

.search-form input:focus {
  outline: none;
  border-color: #ff006e;
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
}

.search-loading {
  text-align: center;
  padding: 2rem;
  color: #ccc;
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 0, 110, 0.2);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  background: rgba(255, 0, 110, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.search-result:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 0, 110, 0.2);
  border-color: #ff006e;
}

.result-thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.result-info {
  flex: 1;
}

.result-title {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.3;
}

.result-channel {
  font-size: 0.8rem;
  color: #ff006e;
  margin-bottom: 0.25rem;
}

.result-duration {
  font-size: 0.75rem;
  color: #8338ec;
}

.add-song-btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* Playlist Styles */
.playlist {
  max-height: 400px;
  overflow-y: auto;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 0, 110, 0.2);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  background: rgba(255, 0, 110, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.playlist-item.current {
  background: linear-gradient(135deg, #ff006e 0%, #8338ec 100%);
  color: white;
  border-color: #ff006e;
  box-shadow: 0 5px 20px rgba(255, 0, 110, 0.3);
}

.playlist-thumbnail {
  width: 50px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.playlist-info {
  flex: 1;
}

.playlist-title {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  line-height: 1.2;
  color: #fff;
}

.playlist-channel {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
  color: #ff006e;
}

.playlist-duration {
  font-size: 0.7rem;
  opacity: 0.7;
  color: #8338ec;
}

.playlist-position {
  font-size: 0.8rem;
  font-weight: bold;
  opacity: 0.7;
  min-width: 20px;
  text-align: center;
  color: #fff;
}

.empty-playlist {
  text-align: center;
  color: #ccc;
  padding: 2rem;
  font-style: italic;
}

/* Users List */
.users-list {
  max-height: 300px;
  overflow-y: auto;
}

.user-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 0, 110, 0.2);
  color: #fff;
}

.user-avatar {
  font-size: 1.2rem;
}

.user-name {
  font-weight: 500;
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #fff;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(255, 0, 110, 0.3);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  backdrop-filter: blur(10px);
}

.form-group input::placeholder {
  color: #ccc;
}

.form-group input:focus {
  outline: none;
  border-color: #ff006e;
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
}

.form-help {
  display: block;
  color: #ccc;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  position: relative;
  color: #fff;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: #ff006e;
}

/* Button Styles */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, #ff006e, #8338ec);
  color: white;
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
}

.btn-secondary {
  background: rgba(255, 0, 110, 0.2);
  color: #ff006e;
  border: 2px solid #ff006e;
}

.btn-secondary:hover {
  background: #ff006e;
  color: white;
  transform: translateY(-2px);
}

.btn-icon {
  margin-right: 0.5rem;
}

/* Error Messages */
.error-message {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
  padding: 0.75rem;
  border-radius: 10px;
  margin-top: 1rem;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.error {
  color: #dc3545;
  text-align: center;
  padding: 1rem;
}

.no-results {
  text-align: center;
  color: #ccc;
  padding: 2rem;
  font-style: italic;
}

/* Notifications */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #ff006e, #8338ec);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
  z-index: 1000;
  animation: slideIn 0.3s ease;
  max-width: 300px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification.error {
  background: linear-gradient(135deg, #dc3545, #c82333);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Features Section */
.features-section {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(255, 0, 110, 0.2);
  border: 1px solid rgba(255, 0, 110, 0.3);
  width: 100%;
  max-width: 800px;
}

.features-section h3 {
  text-align: center;
  color: #fff;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  background: linear-gradient(45deg, #ff006e, #8338ec);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 0, 110, 0.1);
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 0, 110, 0.2);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 0, 110, 0.2);
  border-color: #ff006e;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h4 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Enhanced Form Styles */
.auth-form {
  margin-bottom: 1rem;
}

.auth-form .form-group {
  margin-bottom: 1.5rem;
}

.auth-form input[readonly] {
  background-color: rgba(255, 0, 110, 0.1);
  color: #ccc;
}

.auth-form .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Loading States */
.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .room-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .sidebar {
    order: -1;
    max-height: 300px;
  }

  .dashboard-actions {
    grid-template-columns: 1fr;
  }

  .user-stats {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .stat-card {
    min-width: 100px;
  }

  .user-welcome h2 {
    font-size: 1.7rem;
  }

  .room-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .room-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .main-content {
    padding: 0 1rem;
  }

  .auth-container {
    padding: 1rem;
  }

  .auth-card {
    padding: 2rem;
    margin: 0 1rem;
  }

  .features-section {
    margin: 0 1rem;
    padding: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .auth-header h2 {
    font-size: 1.7rem;
  }

  .feature-card {
    padding: 1rem;
  }

  .song-info {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .current-thumbnail {
    width: 60px;
    height: 45px;
  }

  .live-rooms-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .tabs {
    flex-direction: column;
  }

  .tab-btn {
    padding: 0.75rem;
  }

  .search-form {
    flex-direction: column;
  }

  .search-result {
    flex-direction: column;
    text-align: center;
  }

  .result-thumbnail {
    align-self: center;
  }

  .auth-card {
    padding: 1.5rem;
  }

  .signup-benefits {
    padding: 1rem;
  }

  .features-section {
    padding: 1rem;
  }

  .playlist-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .playlist-thumbnail {
    width: 60px;
    height: 45px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff006e, #8338ec);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #e6005e, #7530d4);
}
