/* General Styling */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --dark-glass-bg: rgba(255, 255, 255, 0.1);
  --dark-glass-border: rgba(255, 255, 255, 0.1);
  --dark-glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

body {
  transition: all 0.3s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 50%, #fff3e0 100%);
  min-height: 100vh;
  position: relative;
  padding-bottom: 80px;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

body.dark-mode {
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
  color: #ffffff;
}

body.dark-mode::before {
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
}

body.dark-mode a {
  color: #bb86fc;
}

/* Search Bar - Liquid Glass Effect */
.search-bar {
  font-size: 1.1rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 15px 20px;
}

.search-bar:focus {
  border-color: rgba(103, 126, 234, 0.5);
  box-shadow: 
    var(--glass-shadow),
    0 0 0 0.2rem rgba(103, 126, 234, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

body.dark-mode .search-bar {
  background: var(--dark-glass-bg);
  border-color: var(--dark-glass-border);
  box-shadow: var(--dark-glass-shadow);
  color: #ffffff;
}

body.dark-mode .search-bar:focus {
  border-color: rgba(187, 134, 252, 0.5);
  box-shadow: 
    var(--dark-glass-shadow),
    0 0 0 0.2rem rgba(187, 134, 252, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.search-bar::placeholder {
  color: rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
}

body.dark-mode .search-bar::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Header/Navigation - Enhanced Liquid Glass */
.navbar {
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 1rem 0;
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.1) 50%, 
    transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar:hover::before {
  opacity: 1;
}

body.dark-mode .navbar {
  background: var(--dark-glass-bg);
  border-bottom: 1px solid var(--dark-glass-border);
  box-shadow: var(--dark-glass-shadow);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.75rem;
  text-decoration: none !important;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.nav-link {
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  padding: 10px 18px !important;
  margin: 0 6px;
  position: relative;
  color: rgba(0, 0, 0, 0.8) !important;
  text-decoration: none;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 12px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link:hover {
  transform: translateY(-2px);
  color: var(--primary-gradient) !important;
  box-shadow: 0 4px 15px rgba(103, 126, 234, 0.2);
}

body.dark-mode .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.dark-mode .nav-link::before {
  background: var(--dark-glass-bg);
}

body.dark-mode .nav-link:hover {
  color: #bb86fc !important;
  box-shadow: 0 4px 15px rgba(187, 134, 252, 0.2);
}

/* Dropdown styling */
.dropdown-menu {
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: 
    0 8px 32px rgba(31, 38, 135, 0.3),
    0 4px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  padding: 0.75rem 0;
  margin-top: 0.5rem;
}

body.dark-mode .dropdown-menu {
  background: rgba(40, 40, 60, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.dropdown-item {
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  margin: 2px 8px;
  transition: all 0.3s ease;
  color: rgba(0, 0, 0, 0.8);
}

.dropdown-item:hover {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateX(4px);
  color: rgba(0, 0, 0, 0.9);
}

body.dark-mode .dropdown-item {
  color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .dropdown-item:hover {
  background: var(--dark-glass-bg);
  color: rgba(255, 255, 255, 1);
}

.dropdown-divider {
  margin: 0.75rem 0;
  border-color: rgba(255, 255, 255, 0.1);
}

/* User menu button enhancement */
#userMenu {
  position: relative;
  overflow: hidden;
}

#userMenu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(79, 172, 254, 0.1), 
    rgba(0, 242, 254, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

#userMenu:hover::before {
  opacity: 1;
}

/* Container with glass effect */
.container {
  position: relative;
}

.glass-container {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  padding: 2rem;
  margin-bottom: 2rem;
}

body.dark-mode .glass-container {
  background: var(--dark-glass-bg);
  border-color: var(--dark-glass-border);
  box-shadow: var(--dark-glass-shadow);
}

/* Enhanced animations and transitions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(111, 66, 193, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(111, 66, 193, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(111, 66, 193, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}

/* World Cards Enhanced - Liquid Glass */
.world-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow);
  animation: fadeInUp 0.6s ease-out;
  cursor: pointer;
  position: relative;
}

.world-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.2), 
    transparent);
  transition: left 0.6s;
  z-index: 1;
}

.world-card:hover::before {
  left: 100%;
}

.world-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 
    var(--glass-shadow),
    0 20px 40px rgba(103, 126, 234, 0.2);
  border-color: rgba(103, 126, 234, 0.3);
}

body.dark-mode .world-card {
  background: var(--dark-glass-bg);
  border-color: var(--dark-glass-border);
  box-shadow: var(--dark-glass-shadow);
}

body.dark-mode .world-card:hover {
  box-shadow: 
    var(--dark-glass-shadow),
    0 20px 40px rgba(187, 134, 252, 0.2);
  border-color: rgba(187, 134, 252, 0.3);
}

.world-card:nth-child(odd) {
  animation-delay: 0.1s;
}

.world-card:nth-child(even) {
  animation-delay: 0.2s;
}

/* Grid and List View Styles */
.view-grid .world-card {
  margin-bottom: 2rem;
}

.view-list .world-card {
  margin-bottom: 1rem;
  animation: slideInLeft 0.5s ease-out;
}

.view-list .world-card .card-body {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.view-list .world-thumbnail {
  width: 120px;
  height: 80px;
  flex-shrink: 0;
}

/* Loading skeleton animation */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-card {
  height: 300px;
  border-radius: 16px;
  margin-bottom: 2rem;
}

/* Search suggestions */
#searchSuggestions {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #dee2e6;
  border-radius: 0 0 8px 8px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#searchSuggestions .dropdown-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f8f9fa;
  transition: background-color 0.2s ease;
}

#searchSuggestions .dropdown-item:hover {
  background-color: #f8f9fa;
}

#searchSuggestions .dropdown-item:last-child {
  border-bottom: none;
}

/* Popular keywords styling */
#popularKeywords .badge {
  cursor: pointer;
  transition: all 0.2s ease;
  animation: pulse 2s infinite;
}

#popularKeywords .badge:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Enhanced theme toggle */
#themeToggle {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#themeToggle::before {
  content: '';
  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.6s;
}

#themeToggle:hover::before {
  left: 100%;
}

body.dark-mode #themeToggle {
  background-color: #495057;
  border-color: #495057;
}

/* Infinite scroll loading indicator */
.infinite-scroll-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  animation: fadeInUp 0.5s ease-out;
}

/* Enhanced modals */
.modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px 16px 0 0;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0 0 16px 16px;
}

/* Responsive design improvements */
@media (max-width: 768px) {
  .world-card {
    margin-bottom: 1rem;
  }
  
  .world-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
  
  .d-flex.gap-2 {
    flex-direction: column;
    gap: 0.5rem !important;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .btn-group .btn {
    border-radius: 0.375rem !important;
    margin-bottom: 0.25rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .btn {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Comments and reviews styles */
.comment-item {
  border-left: 4px solid #6f42c1;
  padding-left: 1rem;
  margin-bottom: 1rem;
  animation: slideInLeft 0.5s ease-out;
}

.rating-stars {
  color: #ffc107;
  font-size: 1.2rem;
}

.rating-input .star {
  cursor: pointer;
  color: #dee2e6;
  transition: color 0.2s ease;
}

.rating-input .star:hover,
.rating-input .star.active {
  color: #ffc107;
}

/* Share buttons styling */
.share-dropdown .dropdown-item {
  transition: all 0.2s ease;
}

.share-dropdown .dropdown-item:hover {
  background-color: #f8f9fa;
  transform: translateX(5px);
}

/* Statistics cards */
.stat-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 16px;
  color: white;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Trending indicators */
.trending-indicator {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: bold;
  animation: pulse 2s infinite;
}

/* Category badges */
.category-badge {
  background: linear-gradient(45deg, #6c5ce7, #a29bfe);
  color: white;
  border: none;
  transition: all 0.2s ease;
}

.category-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Thumbnail upload and preview styles */
#thumbnailPreview {
  position: relative;
}

#thumbnailPreview .position-relative {
  display: inline-block;
}

#thumbnailPreviewImg {
  border: 2px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#removeThumbnail {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.75rem;
}

.btn-group input[type="radio"] + label {
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-group input[type="radio"]:checked + label {
  background-color: #6f42c1;
  border-color: #6f42c1;
  color: white;
}

body.dark-mode #thumbnailPreviewImg {
  border-color: #495057;
}

.world-card .card-body {
  padding: 1rem;
}

.world-card .card-text {
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

body.dark-mode .world-card .card-text {
  color: #adb5bd;
}

.world-card .badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
}

.world-card .card-footer {
  background-color: #f8f9fa;
  border: none;
  padding: 0.75rem 1rem;
}

body.dark-mode .world-card .card-footer {
  background-color: #1e1e1e;
}

/* Button Styling - Modern Gradients */
.btn {
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.2), 
    transparent);
  transition: left 0.5s;
  z-index: 1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary-gradient);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(103, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(103, 126, 234, 0.4);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-success {
  background: var(--success-gradient);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.btn-outline-primary {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(103, 126, 234, 0.3);
  color: #667eea;
}

.btn-outline-primary:hover {
  background: var(--primary-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(103, 126, 234, 0.3);
}

.btn-outline-success {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 172, 254, 0.3);
  color: #4facfe;
}

.btn-outline-success:hover {
  background: var(--success-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
}

.btn-outline-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(136, 136, 136, 0.3);
  color: #6c757d;
}

.btn-outline-secondary:hover {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.btn-outline-danger {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

.btn-outline-danger:hover {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.btn-outline-info {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 202, 240, 0.3);
  color: #0dcaf0;
}

.btn-outline-info:hover {
  background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

/* Dark mode button adjustments */
body.dark-mode .btn-outline-primary,
body.dark-mode .btn-outline-success,
body.dark-mode .btn-outline-secondary,
body.dark-mode .btn-outline-danger,
body.dark-mode .btn-outline-info {
  background: var(--dark-glass-bg);
}

/* Large Buttons (for compatibility) */
.large-button {
  width: 120px;
  height: 120px;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--primary-gradient);
  border: none;
  color: white;
  box-shadow: var(--glass-shadow);
}

.large-button:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 35px rgba(103, 126, 234, 0.4);
}

/* Loading Spinner */
.spinner-border {
  width: 3rem;
  height: 3rem;
}

/* Error Messages */
.alert-danger {
  border-radius: 8px;
  border: none;
  background-color: #f8d7da;
  color: #721c24;
}

body.dark-mode .alert-danger {
  background-color: #721c24;
  color: #f8d7da;
}

/* Pagination */
.pagination .page-link {
  border-radius: 6px;
  margin: 0 2px;
  border: 1px solid #dee2e6;
  color: #6f42c1;
}

.pagination .page-link:hover {
  background-color: #6f42c1;
  border-color: #6f42c1;
  color: white;
}

.pagination .page-item.active .page-link {
  background-color: #6f42c1;
  border-color: #6f42c1;
}

body.dark-mode .pagination .page-link {
  background-color: #2d2d2d;
  border-color: #444;
  color: #bb86fc;
}

body.dark-mode .pagination .page-link:hover {
  background-color: #bb86fc;
  border-color: #bb86fc;
  color: #121212;
}

/* Modal Styling - Modern Glass */
.modal-content {
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

body.dark-mode .modal-content {
  background: var(--dark-glass-bg);
  border-color: var(--dark-glass-border);
  box-shadow: var(--dark-glass-shadow);
  color: #ffffff;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.dark-mode .modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.modal-title {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.modal-backdrop {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Form Styling - Modern Glass */
.form-control {
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 12px 16px;
}

.form-control:focus {
  border-color: rgba(103, 126, 234, 0.5);
  box-shadow: 
    0 0 0 0.2rem rgba(103, 126, 234, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.4);
}

body.dark-mode .form-control {
  background: var(--dark-glass-bg);
  border-color: var(--dark-glass-border);
  color: #ffffff;
}

body.dark-mode .form-control:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(187, 134, 252, 0.5);
  color: #ffffff;
  box-shadow: 
    0 0 0 0.2rem rgba(187, 134, 252, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-label {
  font-weight: 600;
  color: #667eea;
  margin-bottom: 8px;
}

body.dark-mode .form-label {
  color: #bb86fc;
}

/* Select styling */
.form-select {
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-select:focus {
  border-color: rgba(103, 126, 234, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(103, 126, 234, 0.25);
  transform: translateY(-1px);
}

body.dark-mode .form-select {
  background: var(--dark-glass-bg);
  border-color: var(--dark-glass-border);
  color: #ffffff;
}

body.dark-mode .form-select:focus {
  border-color: rgba(187, 134, 252, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(187, 134, 252, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(187, 134, 252, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
  .world-card .card-title {
    max-width: 150px;
  }
  
  .search-bar {
    font-size: 1rem;
  }
  
  .world-card .btn-group .btn {
    font-size: 0.8rem;
    padding: 0.375rem 0.5rem;
  }
}

/* Animation for world cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.world-card {
  animation: fadeInUp 0.5s ease-out;
}

/* No results styling */
.fa-globe-americas {
  opacity: 0.3;
}

/* Success states */
.btn-success.copied {
  background-color: #198754 !important;
  border-color: #198754 !important;
}

.arrow-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transform: scale(1.1);
}
  
  /* Displaying World Info */
  .world-info {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 200px;
  }
  
  .world-info img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  
  /* Scroll Container */
  .scroll-container {
    display: flex;
    overflow: hidden; /* Hide scrollbars */
    width: 100%; /* Ensure full width */
  }

  /* World Visit Page Styles */
  .world-iframe-container {
    position: relative;
    width: 100%;
    height: 600px;
    border: 1px solid #ddd;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
  }

  .world-iframe {
    width: 100%;
    height: 100%;
  }

  .world-toolbar {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
  }

  .toolbar-label {
    font-weight: 500;
    font-size: 14px;
    color: #495057;
  }

  body.dark-mode .world-toolbar {
    background: #343a40;
    border-color: #495057;
  }

  body.dark-mode .toolbar-label {
    color: #dee2e6;
  }

  body.dark-mode .world-iframe-container {
    border-color: #495057;
  }

/* Modern Loading Animations */
.spinner-border {
  width: 3rem;
  height: 3rem;
  background: var(--primary-gradient);
  border: none;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.spinner-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: conic-gradient(transparent, rgba(255,255,255,0.8));
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Modern pulse animations */
@keyframes modernPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.pulse-animation {
  animation: modernPulse 2s ease-in-out infinite;
}

/* Floating elements */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* Gradient text animations */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animated-gradient-text {
  background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

/* Enhanced hover effects */
.modern-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-hover:hover {
  transform: translateY(-4px);
  filter: brightness(1.1);
}

/* Improved shadows */
.elevation-1 { box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.elevation-2 { box-shadow: 0 4px 8px rgba(0,0,0,0.12); }
.elevation-3 { box-shadow: 0 8px 16px rgba(0,0,0,0.14); }
.elevation-4 { box-shadow: 0 12px 24px rgba(0,0,0,0.16); }

/* Glass morphism utilities */
.glass-light {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-medium {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-heavy {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.banner-logo {
  max-width: 239px;
}

/* ======================================
   MyWorlds Page Styles
====================================== */

/* Hero Section */
.myworlds-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: white;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

.myworlds-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;
  background-size: cover;
  opacity: 0.3;
  pointer-events: none;
}

body.dark-mode .myworlds-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
}

/* Content Card - White container wrapping everything */
.myworlds-content-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

body.dark-mode .myworlds-content-card {
  background: rgba(30, 30, 45, 0.95);
}

.myworlds-content-card .hero-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .myworlds-content-card .hero-title {
  background: linear-gradient(135deg, #bb86fc 0%, #03dac6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.myworlds-content-card .hero-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

body.dark-mode .myworlds-content-card .hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.15);
  animation: myworlds-float 8s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 25%; right: 15%; animation-delay: 3s; }
.floating-icon:nth-child(3) { bottom: 35%; left: 20%; animation-delay: 6s; }
.floating-icon:nth-child(4) { bottom: 15%; right: 10%; animation-delay: 2s; }

@keyframes myworlds-float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.15;
  }
  50% { 
    transform: translateY(-30px) rotate(180deg); 
    opacity: 0.25;
  }
}

/* MyWorlds Grid */
.myworlds-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 1rem 0;
}

/* MyWorld Cards */
.myworld-card {
  width: 220px;
  height: 180px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.myworld-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(103, 126, 234, 0.15);
  border-color: rgba(103, 126, 234, 0.2);
}

body.dark-mode .myworld-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .myworld-card:hover {
  box-shadow: 0 12px 24px rgba(187, 134, 252, 0.15);
  border-color: rgba(187, 134, 252, 0.3);
}

.myworld-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

body.dark-mode .myworld-card-icon {
  background: linear-gradient(135deg, #bb86fc 0%, #03dac6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.myworld-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

body.dark-mode .myworld-card-title {
  color: #fff;
}

.myworld-card-subtitle {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 0.25rem;
}

body.dark-mode .myworld-card-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

/* Create World Card */
.create-world-card {
  border-style: dashed;
  border-width: 2px;
  border-color: rgba(103, 126, 234, 0.4);
  background: transparent;
}

.create-world-card .myworld-card-icon {
  color: #666;
  background: none;
  -webkit-text-fill-color: #666;
}

.create-world-card:hover {
  border-color: rgba(103, 126, 234, 0.6);
  background: rgba(103, 126, 234, 0.05);
}

body.dark-mode .create-world-card {
  border-color: rgba(187, 134, 252, 0.4);
  background: transparent;
}

body.dark-mode .create-world-card .myworld-card-icon {
  color: rgba(255, 255, 255, 0.6);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .create-world-card:hover {
  border-color: rgba(187, 134, 252, 0.6);
  background: rgba(187, 134, 252, 0.05);
}

/* Glass Modal */
.glass-modal {
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}

body.dark-mode .glass-modal {
  background: rgba(30, 30, 50, 0.85);
  border-color: var(--dark-glass-border);
  box-shadow: var(--dark-glass-shadow);
}

.glass-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
}

.glass-modal .modal-body {
  padding: 1.5rem;
}

.glass-modal .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
}

.modal-world-icon {
  font-size: 2.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .modal-world-icon {
  background: linear-gradient(135deg, #bb86fc 0%, #03dac6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Template Preview */
.template-preview {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}

.thumbnail-placeholder {
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
}

.thumbnail-placeholder i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  display: block;
}

body.dark-mode .thumbnail-placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* MyWorlds Footer */
.myworlds-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.7);
  z-index: 1000;
  font-size: 0.85rem;
}

body.dark-mode .myworlds-footer {
  background: rgba(0, 0, 0, 0.4);
}

.footer-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

/* MyWorlds Responsive */
@media (max-width: 992px) {
  .myworlds-content-card .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .myworlds-hero {
    padding-top: 80px;
    padding-bottom: 40px;
  }
  
  .myworlds-content-card {
    padding: 2rem;
  }
  
  .myworlds-content-card .hero-title {
    font-size: 2rem;
  }
  
  .myworlds-content-card .hero-subtitle {
    font-size: 1rem;
  }
  
  .myworld-card {
    width: 180px;
    height: 150px;
    padding: 1rem;
  }
  
  .myworld-card-icon {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .myworlds-content-card {
    padding: 1.5rem;
  }
  
  .myworlds-content-card .hero-title {
    font-size: 1.75rem;
  }
  
  .myworld-card {
    width: 160px;
    height: 140px;
  }
  
  .myworld-card-icon {
    font-size: 2rem;
  }
  
  .myworld-card-title {
    font-size: 0.95rem;
  }
}

/* ============================================
   VisitWorld Page Styles
   ============================================ */

/* VisitWorld Section */
.visitworld-section {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  min-height: 100vh;
  color: white;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 100px;
}

.visitworld-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;
  background-size: cover;
  opacity: 0.3;
}

body.dark-mode .visitworld-section {
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
}

/* VisitWorld Title */
.visitworld-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

/* World Container */
.world-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

body.dark-mode .world-container {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* World Iframe Container */
.world-iframe-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  position: relative;
}

.world-iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 20px;
}

/* World Toolbar */
.world-toolbar {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0 0 20px 20px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
}

.toolbar-label {
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* WebVerse Link */
.webverse-link {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1rem 2rem;
  color: white;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.webverse-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Upload Section */
.upload-section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.upload-section .accordion-item {
  background: transparent;
  border: none;
}

.upload-section .accordion-button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-weight: 600;
  padding: 1.5rem;
  border-radius: 20px 20px 0 0;
}

.upload-section .accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  box-shadow: none;
}

.upload-section .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.3);
}

.upload-section .accordion-button::after {
  filter: invert(1);
}

.upload-section .accordion-body {
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
}

/* Upload Section Form Styles */
.upload-section .form-label {
  color: white;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.upload-section .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: #333;
}

.upload-section .form-control:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(103, 126, 234, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(103, 126, 234, 0.25);
  color: #333;
}

body.dark-mode .upload-section .form-control {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

body.dark-mode .upload-section .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(187, 134, 252, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(187, 134, 252, 0.25);
  color: white;
}

body.dark-mode .upload-section .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.upload-section .btn-outline-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.upload-section .btn-outline-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  color: white;
}

/* Upload Info */
.upload-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-info-title {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  margin-bottom: 1rem;
}

.upload-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.upload-tips-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

/* VisitWorld Footer */
.visitworld-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.7);
  z-index: 1000;
  font-size: 0.85rem;
}

body.dark-mode .visitworld-footer {
  background: rgba(0, 0, 0, 0.4);
}

/* VisitWorld Responsive */
@media (max-width: 768px) {
  .visitworld-title {
    font-size: 2rem;
  }
  
  .world-iframe {
    height: 400px;
  }
  
  .visitworld-section {
    padding-top: 80px;
  }
  
  .world-container {
    padding: 1rem;
  }
  
  .world-toolbar {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .visitworld-title {
    font-size: 1.75rem;
  }
  
  .world-iframe {
    height: 300px;
  }
  
  .webverse-link {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .upload-section .accordion-body {
    padding: 1rem;
  }
}