/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: dark;
  --bg: #06111f;
  --card: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.14);
  --text: #edf6ff;
  --muted: #a8bdd3;
  --accent: #66d9ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top, rgba(47, 108, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #020817 0%, #081425 45%, #0d1b2f 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
}

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

.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
  position: relative;
  z-index: 1;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: #3b82f6;
  top: 50px;
  left: -80px;
}

.orb-2 {
  width: 260px;
  height: 260px;
  background: #8b5cf6;
  right: -60px;
  top: 220px;
}

.orb-3 {
  width: 240px;
  height: 240px;
  background: #06b6d4;
  left: 30%;
  bottom: 40px;
  opacity: 0.25;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-gap: 20px;
  gap: 20px;
  padding: 20px;
}

.hero-copy {
  padding: 18px;
}

.badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(102, 217, 255, 0.12);
  border: 1px solid rgba(102, 217, 255, 0.25);
  color: #c8f3ff;
  font-size: 13px;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
}

.search {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.search input {
  flex: 1 1;
  min-width: 220px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 14px 16px;
  outline: none;
}

.search input::placeholder {
  color: #93a6bb;
}

.search button {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(56, 189, 248, 0.25);
}

.hero-stats {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-pill {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 150px;
}

.stat-pill span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.stat-pill strong {
  font-size: 15px;
}

.card-inner {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: 24px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-visual {
  padding: 0;
}

.hero-overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(6, 17, 31, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 3;
}

.hero-overlay h2,
.hero-overlay p,
.hero-overlay strong {
  margin: 0;
}

.hero-overlay p {
  color: var(--muted);
  margin-top: 4px;
}

.hero-overlay strong {
  display: inline-block;
  margin-top: 8px;
  font-size: 24px;
}

.hero-weather-icon {
  font-size: 44px;
}

.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(125, 211, 252, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.4), rgba(2, 8, 23, 0.9));
  transform-style: preserve-3d;
}

.scene-sun {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.25), rgba(2, 8, 23, 0.88));
}

.scene-clouds {
  background: linear-gradient(180deg, rgba(100, 116, 139, 0.28), rgba(2, 8, 23, 0.9));
}

.scene-rain,
.scene-storm,
.scene-fog,
.scene-snow {
  background: linear-gradient(180deg, rgba(71, 85, 105, 0.32), rgba(2, 8, 23, 0.96));
}

.scene-depth-grid,
.scene-sky-layer,
.scene-glow,
.scene-volumetric-light,
.scene-stars,
.scene-haze,
.scene-atmosphere,
.sun-rays,
.sun-aura,
.sun,
.cloud,
.cloud-shadow,
.mountains,
.particles,
.fog,
.lightning,
.storm-flash,
.storm-glow,
.rain-mist,
.snow-drift,
.ground-reflection,
.ground-grid,
.ground {
  position: absolute;
}

.scene-depth-grid {
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: rotateX(78deg) translateY(55%) scale(1.6);
  transform-origin: bottom;
  opacity: 0.12;
}

.sky-back {
  inset: 0;
  background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(125, 211, 252, 0.08), transparent 60%);
  transform: translateZ(-60px) scale(1.08);
}

.sky-mid {
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1), transparent 18%);
  opacity: 0.8;
  transform: translateZ(-20px);
}

.sky-front {
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.06), transparent 24%);
  mix-blend-mode: screen;
  opacity: 0.7;
  transform: translateZ(15px);
}

.scene-glow {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  top: -80px;
  right: -40px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.3), transparent 65%);
  animation: float 7s ease-in-out infinite;
  transform: translateZ(5px);
}

.scene-volumetric-light {
  inset: -10% -20%;
  background: conic-gradient(from 180deg at 80% 20%, rgba(255, 255, 255, 0.12), transparent 18%, rgba(125, 211, 252, 0.08) 28%, transparent 42%);
  mix-blend-mode: screen;
  opacity: 0.5;
  filter: blur(20px);
  animation: shimmer 10s linear infinite;
}

.scene-stars {
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 18%, rgba(255, 255, 255, 0.55) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 32%, rgba(255, 255, 255, 0.35) 0 1px, transparent 2px),
    radial-gradient(circle at 40% 14%, rgba(255, 255, 255, 0.4) 0 1px, transparent 2px);
  opacity: 0.25;
}

.scene-haze {
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(149, 197, 255, 0.08), rgba(255, 255, 255, 0.03));
  filter: blur(12px);
}

.scene-atmosphere {
  inset: auto -10% -5%;
  height: 34%;
  background: radial-gradient(circle at 50% 50%, rgba(129, 212, 250, 0.12), rgba(255, 255, 255, 0) 68%);
  filter: blur(24px);
  transform: translateZ(30px);
}

.sun-rays {
  width: 240px;
  height: 240px;
  top: -8px;
  right: 18px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 243, 176, 0.16) 0deg 8deg, transparent 8deg 20deg);
  filter: blur(2px);
  animation: rotateSlow 18s linear infinite;
}

.sun-aura {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  top: 22px;
  right: 40px;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.4), rgba(251, 191, 36, 0.12) 45%, transparent 70%);
  filter: blur(8px);
  animation: pulse 5s ease-in-out infinite;
}

.sun {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  top: 58px;
  right: 76px;
  background: radial-gradient(circle at 30% 30%, #fff7bf, #fbbf24 60%, rgba(251, 191, 36, 0.2) 100%);
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.4);
  animation: float 6s ease-in-out infinite;
}

.cloud {
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(205, 220, 235, 0.72));
  filter: blur(0.3px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.cloud::before {
  width: 46px;
  height: 46px;
  left: 12px;
  top: -22px;
}

.cloud::after {
  width: 64px;
  height: 64px;
  right: 18px;
  top: -28px;
}

.cloud-a {
  width: 170px;
  top: 74px;
  left: 24px;
  opacity: 0.92;
  transform: translateZ(12px);
  animation: cloudDrift 18s ease-in-out infinite;
}

.cloud-b {
  width: 210px;
  top: 118px;
  right: 28px;
  opacity: 0.72;
  transform: translateZ(32px);
  animation: cloudDrift 22s ease-in-out infinite reverse;
}

.cloud-c {
  width: 150px;
  top: 154px;
  left: 140px;
  opacity: 0.58;
  transform: translateZ(50px);
  animation: cloudDrift 16s ease-in-out infinite;
}

.cloud-d {
  width: 140px;
  top: 90px;
  left: -10px;
  opacity: 0.44;
  transform: translateZ(-10px);
  animation: cloudDrift 26s ease-in-out infinite;
}

.cloud-e {
  width: 128px;
  top: 178px;
  right: 12px;
  opacity: 0.36;
  transform: translateZ(72px);
  animation: cloudDrift 14s ease-in-out infinite reverse;
}

.cloud-shadow {
  inset: auto 8% 98px;
  height: 28px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.22), transparent 70%);
  filter: blur(12px);
}

.mountains {
  inset: auto 0 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.mountains-back {
  height: 42%;
  background-image: linear-gradient(180deg, transparent, rgba(6, 24, 44, 0.4)),
    polygon(0 100%, 16% 55%, 32% 75%, 47% 40%, 64% 70%, 82% 46%, 100% 100%);
  -webkit-clip-path: polygon(0 100%, 16% 55%, 32% 75%, 47% 40%, 64% 70%, 82% 46%, 100% 100%);
          clip-path: polygon(0 100%, 16% 55%, 32% 75%, 47% 40%, 64% 70%, 82% 46%, 100% 100%);
  background-color: rgba(43, 66, 94, 0.45);
  transform: translateZ(-10px);
}

.mountains-mid {
  height: 34%;
  -webkit-clip-path: polygon(0 100%, 12% 66%, 28% 82%, 40% 58%, 58% 84%, 76% 52%, 100% 100%);
          clip-path: polygon(0 100%, 12% 66%, 28% 82%, 40% 58%, 58% 84%, 76% 52%, 100% 100%);
  background: linear-gradient(180deg, rgba(35, 57, 82, 0.2), rgba(14, 30, 48, 0.88));
  transform: translateZ(30px);
}

.mountains-front {
  height: 26%;
  -webkit-clip-path: polygon(0 100%, 14% 72%, 22% 86%, 36% 61%, 51% 92%, 65% 68%, 82% 87%, 100% 100%);
          clip-path: polygon(0 100%, 14% 72%, 22% 86%, 36% 61%, 51% 92%, 65% 68%, 82% 87%, 100% 100%);
  background: linear-gradient(180deg, rgba(19, 31, 47, 0.2), rgba(4, 10, 20, 0.96));
  transform: translateZ(80px);
}

.particles span {
  position: absolute;
  display: block;
}

.rain span {
  top: -16%;
  width: 2px;
  height: 72px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(147, 197, 253, 0.95));
  border-radius: 999px;
  opacity: 0.7;
  transform: rotate(12deg);
  animation: rainFall 1.1s linear infinite;
}

.rain-back {
  inset: 0;
  transform: translateZ(20px);
}

.rain-front {
  inset: 0;
  transform: translateZ(100px);
}

.rain-front span {
  height: 92px;
  opacity: 0.9;
}

.splash-layer {
  left: 0;
  right: 0;
  bottom: 26px;
  height: 40px;
  transform: translateZ(105px);
}

.splash-layer span {
  bottom: 0;
  width: 16px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(191, 219, 254, 0.8);
  opacity: 0;
  animation: splash 1.4s ease-out infinite;
}

.rain-mist {
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.12), rgba(255, 255, 255, 0.08));
  filter: blur(12px);
  transform: translateZ(85px);
}

.snow span {
  top: -12%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(255, 255, 255, 0.3));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.24);
  animation: snowFall 6s linear infinite;
}

.snow-back {
  inset: 0;
  transform: translateZ(18px);
}

.snow-front {
  inset: 0;
  transform: translateZ(92px);
}

.snow-front span {
  width: 10px;
  height: 10px;
}

.snow-drift {
  left: -10%;
  right: -10%;
  bottom: -4%;
  height: 18%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(230, 240, 255, 0.26));
  border-radius: 50% 50% 0 0;
  filter: blur(4px);
}

.fog {
  left: -10%;
  right: -10%;
  height: 68px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(228, 238, 248, 0.22), rgba(255, 255, 255, 0.02));
  filter: blur(18px);
}

.fog-a {
  bottom: 112px;
  animation: fogMove 12s ease-in-out infinite;
}

.fog-b {
  bottom: 152px;
  animation: fogMove 16s ease-in-out infinite reverse;
}

.fog-c {
  bottom: 72px;
  animation: fogMove 14s ease-in-out infinite;
}

.fog-d {
  bottom: 192px;
  animation: fogMove 18s ease-in-out infinite reverse;
}

.fog-e {
  bottom: 32px;
  animation: fogMove 15s ease-in-out infinite;
}

.lightning {
  top: 52px;
  width: 12px;
  height: 180px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(167, 243, 255, 0.55));
  -webkit-clip-path: polygon(50% 0, 70% 18%, 56% 18%, 84% 44%, 62% 44%, 76% 100%, 32% 58%, 48% 58%, 22% 26%, 42% 26%);
          clip-path: polygon(50% 0, 70% 18%, 56% 18%, 84% 44%, 62% 44%, 76% 100%, 32% 58%, 48% 58%, 22% 26%, 42% 26%);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
  opacity: 0;
}

.lightning-a {
  left: 36%;
  animation: lightningStrike 6s linear infinite;
}

.lightning-b {
  left: 62%;
  height: 144px;
  animation: lightningStrike 8s linear infinite 2s;
}

.storm-flash {
  inset: 0;
  background: rgba(180, 230, 255, 0.18);
  opacity: 0;
  animation: stormFlash 6s linear infinite;
}

.storm-glow {
  inset: 0;
  background: radial-gradient(circle at 50% 25%, rgba(190, 240, 255, 0.18), transparent 36%);
  opacity: 0.4;
}

.ground-reflection {
  left: 10%;
  right: 10%;
  bottom: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.2), transparent 68%);
  filter: blur(16px);
}

.ground-grid {
  left: -20%;
  right: -20%;
  bottom: -10%;
  height: 28%;
  background:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  transform: rotateX(78deg) translateY(30%);
  transform-origin: bottom;
  opacity: 0.18;
}

.ground {
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(2, 8, 23, 0.96));
}

.forecast-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.forecast-card {
  padding: 16px;
}

.forecast-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.forecast-date {
  color: var(--muted);
  font-size: 13px;
}

.forecast-icon {
  font-size: 28px;
}

.forecast-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.forecast-temp {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 700;
}

.forecast-temp span {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.forecast-meta {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.error-box {
  margin-top: 18px;
  padding: 18px 20px;
  color: #ffd1d1;
  border-color: rgba(255, 120, 120, 0.28);
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-2%) rotate(0deg);
  }
  50% {
    transform: translateX(2%) rotate(4deg);
  }
  100% {
    transform: translateX(-2%) rotate(0deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes cloudDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(18px, -6px, 0);
  }
}

@keyframes rainFall {
  0% {
    transform: translate3d(0, -20%, 0) rotate(12deg);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  100% {
    transform: translate3d(-40px, 135%, 0) rotate(12deg);
    opacity: 0;
  }
}

@keyframes snowFall {
  0% {
    transform: translate3d(0, -10%, 0);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  100% {
    transform: translate3d(26px, 125%, 0);
    opacity: 0;
  }
}

@keyframes fogMove {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.46;
  }
  50% {
    transform: translateX(24px);
    opacity: 0.7;
  }
}

@keyframes lightningStrike {
  0%,
  84%,
  100% {
    opacity: 0;
  }
  85%,
  87% {
    opacity: 1;
  }
  86%,
  88% {
    opacity: 0.35;
  }
}

@keyframes stormFlash {
  0%,
  84%,
  100% {
    opacity: 0;
  }
  85%,
  87% {
    opacity: 0.45;
  }
  86%,
  88% {
    opacity: 0.18;
  }
}

@keyframes splash {
  0% {
    transform: scale(0.2) translateY(0);
    opacity: 0;
  }
  30% {
    opacity: 0.75;
  }
  100% {
    transform: scale(1.8) translateY(-8px);
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .forecast-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .forecast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100%, calc(100% - 20px));
    padding-top: 20px;
  }

  .hero {
    padding: 12px;
  }

  .hero-copy {
    padding: 10px;
  }

  .card-inner {
    min-height: 320px;
  }

  .hero-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .forecast-grid {
    grid-template-columns: 1fr;
  }

  .search button,
  .search input {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
