:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-card: #0f0f0f;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --accent: #3b82f6;
  --border: #2a2a2a;
  --shadow: rgba(0, 0, 0, 0.5);
  --success: #34c759;
  --error: #ff3b30;
  --gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
}

.app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}

.locations-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  margin-top: 5rem;
  min-height: 400px;
}

/* Loading state for weather locations */
#weather-locations:empty::before {
  content: "Loading weather data...";
  display: block;
  text-align: center;
  color: var(--text-secondary);
  padding: 3rem;
  font-size: 1.1rem;
}

.header-controls {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 50;
}

/* Authentication Section */
.auth-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-state {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auth-message {
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.auth-btn {
  background: var(--accent);
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.auth-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.user-welcome {
  font-size: 0.9rem;
  color: var(--text-primary);
  white-space: nowrap;
}

#user-button-container {
  display: flex;
  align-items: center;
}

.lang-selector {
  position: relative;
}

.lang-current {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  opacity: 0.6;
}

.lang-current:hover {
  opacity: 1;
  background: var(--bg-card);
}

.lang-flag {
  font-size: 1.2rem;
}

.globe-icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.lang-code {
  font-size: 0.875rem;
  font-weight: 500;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 200px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 100;
  box-shadow: 0 8px 24px var(--shadow);
}

.lang-dropdown.active {
  display: block;
}

.lang-item {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-item:hover {
  background: var(--bg-primary);
}

.lang-item::before {
  content: attr(data-flag);
  font-size: 1.2rem;
}

.lang-divider {
  margin: 0.5rem 0;
  border: none;
  border-top: 1px solid var(--border);
}

.temp-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.temp-toggle:hover {
  opacity: 1;
}

.toggle-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-secondary);
  transition: 0.3s;
  border-radius: 24px;
  border: 1px solid var(--border);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: var(--text-secondary);
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--accent);
}

input:checked + .toggle-slider:before {
  transform: translateX(24px);
  background-color: var(--text-primary);
}

@media (max-width: 768px) {
  .app-container {
    padding: 1rem;
    padding-top: 4rem;
  }

  .header-controls {
    top: 1rem;
    right: 1rem;
    gap: 1rem;
    flex-direction: column;
    align-items: flex-end;
  }

  .lang-current {
    padding: 0.5rem 0.75rem;
  }

  .locations-grid {
    gap: 1rem;
    margin-bottom: 5rem;
    margin-top: 7rem;
  }
}

.weather-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  cursor: move;
  transition: all 0.3s ease;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.weather-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow);
}

.weather-card.dragging {
  opacity: 0.5;
}

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

.location-info h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.location-info .country {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.remove-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 1.5rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 10;
}

.remove-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.current-weather {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.weather-icon {
  font-size: 4rem;
  opacity: 0.9;
}

.temperature {
  font-size: 3rem;
  font-weight: 300;
}

@media (max-width: 480px) {
  .current-weather {
    gap: 1rem;
  }

  .weather-icon {
    font-size: 3rem;
  }

  .temperature {
    font-size: 2.5rem;
  }
}

.weather-details {
  flex: 1;
}

.condition {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  text-transform: capitalize;
}

.stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.hourly-forecast {
  margin-bottom: 1.5rem;
}

.forecast-title {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.hourly-items {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.hourly-items::-webkit-scrollbar {
  height: 4px;
}

.hourly-items::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 2px;
}

.hourly-items::-webkit-scrollbar-thumb {
  background: var(--text-secondary);
  border-radius: 2px;
}

.hourly-item {
  text-align: center;
  flex-shrink: 0;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  min-width: 70px;
}

.hour {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.hourly-item .wi {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.hourly-temp {
  font-size: 0.875rem;
}

.weekly-forecast {
  display: flex;
  gap: 0.75rem;
}

.day-item {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: var(--bg-secondary);
  border-radius: 12px;
}

@media (max-width: 480px) {
  .weekly-forecast {
    gap: 0.5rem;
  }

  .day-item {
    padding: 0.5rem 0.25rem;
  }
}

.day-name {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.day-item .wi {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.day-temps {
  font-size: 0.75rem;
}

.day-temps .high {
  color: var(--text-primary);
}

.day-temps .low {
  color: var(--text-secondary);
}

.add-location-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.add-location-content {
  text-align: center;
}

.add-location-btn {
  background: transparent;
  border: 2px dashed var(--border);
  border-radius: 16px;
  padding: 3rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.add-location-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--accent);
  color: var(--text-primary);
  transform: scale(1.05);
}

.add-location-btn svg {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.add-location-btn:hover svg {
  opacity: 1;
}

.add-location-btn span {
  font-size: 1.125rem;
  font-weight: 500;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
}

@media (max-width: 480px) {
  .modal-content {
    padding: 1.5rem;
    width: 95%;
  }
}

.modal-content h3 {
  margin-bottom: 1.5rem;
}

#location-search {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

#location-search:focus {
  outline: none;
  border-color: var(--accent);
}

#search-results {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.search-result {
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-result:hover {
  background: var(--bg-primary);
}

.close-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: var(--border);
}

/* Clothing Subscription Modal */
.feature-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.subscription-box {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.subscription-text {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 500;
  text-align: center;
}

#clothing-email {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

#clothing-email:focus {
  outline: none;
  border-color: var(--accent);
}

.subscribe-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subscribe-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.subscribe-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--success);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background: #34c759;
}

.toast.error {
  background: #ff3b30;
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--text-secondary);
}

.error {
  text-align: center;
  padding: 2rem;
  color: #ef4444;
}

.error-message {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
}

.error-message p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.error-message button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.error-message button:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  display: none;
  z-index: 1000;
}

.cookie-banner.show {
  display: block;
}

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

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.cookie-btn.accept {
  background: var(--accent);
  color: white;
}

.cookie-btn.accept:hover {
  opacity: 0.9;
}

.cookie-btn.decline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.cookie-btn.decline:hover {
  background: var(--bg-primary);
}

/* Clothing Section */
.clothing-section {
  margin-top: 1.5rem;
  text-align: center;
}

.what-to-wear-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  font-size: 0.875rem;
}

.what-to-wear-btn:hover {
  background: var(--bg-primary);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.clothing-icons {
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

/* Weather Mascot */
.weather-mascot {
  position: absolute;
  top: 1rem;
  right: 4rem;
  width: 100px;
  height: 100px;
  z-index: 5;
  pointer-events: none;
}

/* Fallback styles for weather icons */
.wi {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

/* If weather icons font fails to load, show emoji fallbacks */
.wi:empty::before {
  content: "☀️";
  font-size: inherit;
}

.wi-day-sunny:empty::before {
  content: "☀️";
}
.wi-night-clear:empty::before {
  content: "🌙";
}
.wi-cloud:empty::before {
  content: "☁️";
}
.wi-cloudy:empty::before {
  content: "☁️";
}
.wi-showers:empty::before {
  content: "🌧️";
}
.wi-rain:empty::before {
  content: "🌧️";
}
.wi-thunderstorm:empty::before {
  content: "⛈️";
}
.wi-snow:empty::before {
  content: "❄️";
}
.wi-fog:empty::before {
  content: "🌫️";
}

.mascot-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.mascot-img.mascot-active {
  opacity: 1;
}

@media (max-width: 768px) {
  .weather-mascot {
    width: 60px;
    height: 60px;
    top: 0.5rem;
    right: 3rem;
  }
}

/* Weather Carousel */
.weather-carousel-section {
  padding: 3rem 0;
  overflow: hidden;
  background: var(--bg-secondary);
}

.weather-carousel-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.carousel-row {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  width: fit-content;
}

.weather-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  min-width: 200px;
  text-align: center;
  flex-shrink: 0;
}

.weather-city {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.weather-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.weather-emoji {
  font-size: 2rem;
}

.weather-temp {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-primary);
}

.weather-condition {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

@keyframes scrollRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollLeft {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.carousel-track {
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

/* Garden Stack Ad */
.garden-stack-ad {
  background: var(--bg-secondary);
  padding: 4rem 0;
  width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ad-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ad-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 8px 24px var(--shadow);
}

.ad-text {
  flex: 1;
  color: var(--text-primary);
}

.ad-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--text-primary);
}

.ad-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.ad-cta {
  display: inline-block;
  background: #22c55e;
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.ad-cta:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.ad-image,
.ad-video {
  flex: 1;
  text-align: center;
}

.ad-image img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.video-link {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}

.garden-stack-video {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: var(--bg-secondary);
  display: block;
  border: 1px solid var(--border);
}

/* Ensure video link doesn't add extra styling */
.video-link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.ad-video {
  flex: 1;
  max-width: 400px;
  text-align: center;
}

@media (max-width: 768px) {
  .ad-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2rem;
  }

  .ad-text h2 {
    font-size: 2rem;
  }

  .ad-text p {
    font-size: 1.125rem;
  }

  .garden-stack-ad {
    padding: 3rem 0;
  }

  .ad-container {
    padding: 0 1rem;
  }

  .ad-image img,
  .ad-video video,
  .garden-stack-video {
    max-height: 250px;
  }
}

/* Voicci Ad Section */
.voicci-ad {
  background: var(--bg-secondary);
  padding: 4rem 0;
  width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.voicci-ad .ad-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.voicci-ad .ad-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4rem 3rem;
  min-height: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.voicci-ad .ad-content:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.voicci-ad .ad-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding-left: 2rem;
}

.voicci-ad .ad-text-content {
  margin-bottom: 2rem;
}


.voicci-ad .ad-button-container {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.voicci-ad .ad-text-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.voicci-ad .ad-text-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

.voicci-ad .ad-cta {
  display: inline-block;
  background: #8b5cf6;
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.voicci-ad .ad-cta:hover {
  background: #7c3aed;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.voicci-ad .ad-media {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-right: 2rem;
}

.voicci-ad .ad-media img {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: scale(1.105);
  transform-origin: left center;
}

@media (max-width: 768px) {
  .voicci-ad {
    padding: 3rem 0;
  }
  
  .voicci-ad .ad-container {
    padding: 0 1rem;
  }
  
  .voicci-ad .ad-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    gap: 2rem;
    min-height: auto;
  }
  
  .voicci-ad .ad-media {
    max-width: 100%;
    order: 1;
  }
  
  .voicci-ad .ad-text {
    text-align: center;
    align-items: center;
    padding-left: 0;
    order: 2;
  }
  
  .voicci-ad .ad-text-content h2 {
    font-size: 2rem;
  }
  
  .voicci-ad .ad-text-content p {
    font-size: 1.125rem;
    margin-bottom: 0;
  }
  
  .voicci-ad .ad-button-container {
    justify-content: center;
  }
  
}


/* Testimonials Banner */
.testimonials-banner {
  background: var(--bg-secondary);
  padding: 3rem 0;
  width: 100%;
  text-align: center;
  position: relative;
  margin: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.testimonials-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.stars {
  color: #ffc107;
  font-size: 3rem;
  letter-spacing: 8px;
  display: block;
  margin: 0 auto;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.testimonials-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
  text-align: center;
  font-weight: 500;
}

.testimonials-subtitle .google-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.testimonials-subtitle .google-link:hover {
  opacity: 0.9;
}

/* Weather Carousel Mascot Styles */
.weather-mascot-small {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-mascot {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .weather-item {
    min-width: 160px;
    padding: 1rem;
  }

  .weather-city {
    font-size: 1rem;
  }

  .weather-temp {
    font-size: 1.25rem;
  }

  .weather-emoji {
    font-size: 1.5rem;
  }

  .weather-mascot-small {
    width: 64px;
    height: 64px;
  }

  .carousel-mascot {
    width: 64px;
    height: 64px;
  }
}

.site-footer {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Prestige Logos Section */
.prestige-logos {
  padding: 80px 0;
  background: var(--bg-secondary);
  text-align: center;
}

.prestige-logos .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.prestige-logos h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.logo-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  width: 180px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
}

.logo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.3);
}

.logo-item img {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  border-radius: 8px;
}

.logo-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

.logo-item.voicci-logo {
  flex-direction: column;
  gap: 8px;
}

.logo-name {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  transition: color 0.3s ease;
}

.logo-item:hover .logo-name {
  color: #8b5cf6;
}

.logo-text-styled {
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  font-family:
    "Inter",
    -apple-system,
    sans-serif;
  letter-spacing: 0.02em;
  color: #333;
  border-radius: 8px;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
}

.logo-item:hover .logo-text-styled {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

.logo-item.coming-soon {
  border: 2px dashed rgba(0, 0, 0, 0.2);
  background: #f8f8f8;
  cursor: default;
}

.logo-item.coming-soon:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.2);
}

.logo-item.coming-soon em {
  color: #999;
  font-style: normal;
  font-size: 14px;
}

@media (max-width: 768px) {
  .prestige-logos {
    padding: 60px 0;
  }

  .prestige-logos h3 {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .logos-grid {
    gap: 16px;
  }

  .logo-item {
    width: 140px;
    height: 100px;
    padding: 16px;
  }

  .logo-item svg {
    max-width: 80px;
    max-height: 40px;
  }

  .logo-text-styled {
    width: 80px;
    height: 40px;
    font-size: 12px;
  }
}
