@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&display=swap');
:root {
  --aero-blue: #087fc1;
  --aero-dark: #07578c;
  --aero-green: #56ad38;
  --aero-lime: #b4e94d;
  --aero-text: #183e55;
  --aero-muted: #547486;
  --aero-border: #ffffffd9;
  --aero-shadow: 0 8px 22px #07517d35;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}


body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: #183e55;
  
body {
  font-family: "Comfortaa", sans-serif;
}

  background-color: #83dafa;
  background-image:
    linear-gradient(
      180deg,
      rgba(14, 104, 164, 0.08),
      rgba(210, 250, 255, 0.18)
    ),
    url("./bg.png");

background-attachment: scroll;
background-position: center top;
background-repeat: no-repeat;
background-size: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #ffcf43;
  outline-offset: 3px;
}

.sky-glow {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  box-shadow: inset 0 0 35px #ffffffa8;
  background: radial-gradient(circle at 30% 25%, #ffffff, #a9efff88 45%, #ffffff00 72%);
}

.glow-one {
  width: 230px;
  height: 230px;
  top: 10%;
  left: -120px;
}

.glow-two {
  width: 280px;
  height: 280px;
  right: -130px;
  top: 42%;
}

/* AERO GLASS */

.glass {
  background:
    linear-gradient(180deg, #ffffffc9 0%, #ffffff72 9%, #c8f0ff75 48%, #78c9ee80 100%);
  border: 1px solid var(--aero-border);
  box-shadow:
    inset 0 1px 1px #ffffff,
    inset 0 -1px 2px #3988af45,
    0 8px 24px #07517d30;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

/* HEADER */

.topbar {
  position: sticky;
  top: 8px;
  z-index: 20;
  width: min(1160px, calc(100% - 32px));
  min-height: 78px;
  margin: 8px auto 0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 17px;
  background:
    linear-gradient(180deg, #ffffffed 0%, #d8f5ffdc 13%, #78c8efdc 48%, #b7e8f6e8 53%, #e9fcffed 100%);
  box-shadow:
    inset 0 1px 1px white,
    inset 0 -2px 3px #317ba955,
    0 4px 12px #07517d40;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  line-height: 1.05;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid #ffffff;
  background:
    radial-gradient(circle at 30% 20%, white 0%, #d8faff 20%, transparent 47%),
    linear-gradient(150deg, #8ce6ff, #168bd1 65%, #0870ae);
  box-shadow:
    inset 0 2px 3px #ffffff,
    inset 0 -3px 5px #0063a366,
    0 2px 4px #07517d30;
  color: white;
  font-size: 27px;
  text-shadow: 0 1px 2px #08669d;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: bold;
}

.nav > a {
  padding: 11px 12px;
  border-radius: 9px;
  transition: .18s ease;
}

.nav > a:not(.nav-telegram):hover {
  color: #005c94;
  background: #ffffff85;
  box-shadow: inset 0 1px 2px #ffffff;
}

.nav .nav-telegram {
  color: white;
  border: 1px solid #d8f7ff;
  background: linear-gradient(180deg, #70d9ff 0%, #168fd0 48%, #0067a9 52%, #148cc8 100%);
  box-shadow:
    inset 0 1px 1px #ffffff,
    inset 0 -1px 2px #004e8d,
    0 2px 4px #07517d40;
  text-shadow: 0 1px 2px #00558b;
}

.nav .nav-telegram:hover {
  filter: brightness(1.09);
}

.menu-toggle {
  display: none;
  border: 1px solid white;
  border-radius: 9px;
  padding: 9px 13px;
  color: #07578c;
  background: linear-gradient(180deg, white, #8bdfff);
  box-shadow: inset 0 1px 2px white, 0 2px 5px #07517d30;
  cursor: pointer;
}

/* PAGE */

main {
  width: min(1100px, calc(100% - 32px));
  margin: 27px auto 65px;
}

/* HERO */

.hero {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  padding: clamp(25px, 5vw, 55px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 20px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 82% 15%, #ffffff 0%, #ffffffb5 9%, transparent 30%),
    linear-gradient(180deg, #ffffffd9 0%, #b9f0ffb8 22%, #50b9ec99 72%, #c8f5ffdf 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -5% -75px -5%;
  height: 170px;
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(ellipse at 40% 0%, #e6ffbb, transparent 55%),
    linear-gradient(180deg, #86d74b 0%, #4aaf3d 65%, #298d39 100%);
  border-top: 4px solid #d8ffb6;
  opacity: .92;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 11px;
  color: #087ab1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-shadow: 0 1px white;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 6vw, 69px);
  line-height: 1;
  letter-spacing: -2px;
  font-weight: 900;
  color: #15516d;
  text-shadow: 0 2px white, 0 4px 1px #ffffff7a;
}

h1 span {
  color: #087fbd;
  text-shadow: 0 2px white, 0 4px 1px #ffffff65;
}

.hero-copy > p {
  max-width: 440px;
  color: #315f75;
  font-size: 16px;
  line-height: 1.7;
  text-shadow: 0 1px #ffffff90;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border-radius: 10px;
  border: 1px solid white;
  font-size: 13px;
  font-weight: 900;
  transition: filter .2s, transform .2s, box-shadow .2s;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.button-blue {
  color: white;
  background: linear-gradient(180deg, #8ae4ff 0%, #34b7ed 45%, #087fc1 50%, #0872b4 100%);
  box-shadow:
    inset 0 1px 1px #ffffff,
    inset 0 -1px 2px #00548f,
    0 3px 7px #07517d50;
  text-shadow: 0 1px 2px #00558b;
}

.button-light {
  color: #155c7d;
  background: linear-gradient(180deg, #ffffff 0%, #e8fbff 45%, #b4e8fa 50%, #e9fbff 100%);
  box-shadow:
    inset 0 1px 1px white,
    inset 0 -1px 2px #64b8d855,
    0 3px 7px #07517d25;
}

/* BUBBLES AND MASCOT */

.hero-art {
  position: relative;
  z-index: 2;
  min-height: 295px;
  display: grid;
  place-items: center;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 2px solid #ffffffd9;
  background:
    radial-gradient(ellipse at 28% 15%, #ffffff 0%, #ffffffee 4%, #ffffff9c 12%, transparent 30%),
    radial-gradient(ellipse at 72% 80%, #00a6ed50, transparent 45%),
    linear-gradient(135deg, #e9ffffa8, #69dcff54 45%, #ffffffb5 72%, #70d8ff80);
  box-shadow:
    inset -9px -12px 19px #0688bb24,
    inset 5px 5px 12px #ffffffd9,
    inset 0 0 0 2px #ffffff5e,
    0 9px 18px #0575a832;
}

.bubble-large {
  width: 235px;
  height: 235px;
  right: 4%;
  top: 9px;
  display: grid;
  place-items: center;
  animation: aero-float 6s ease-in-out infinite;
}

.bubble-large span {
  color: #ffffff;
  font-size: 45px;
  text-shadow: 0 1px 4px #178fc1;
}

.bubble-small {
  width: 72px;
  height: 72px;
  top: 4px;
  left: 6%;
  animation: aero-float 5s ease-in-out infinite reverse;
}

.bubble-tiny {
  width: 37px;
  height: 37px;
  right: 1%;
  bottom: 38px;
}

.mascot {
  position: relative;
  z-index: 2;
  font-size: clamp(100px, 15vw, 160px);
  line-height: 1;
  filter: drop-shadow(0 7px 3px #07517d40);
  animation: mascot-float 4s ease-in-out infinite;
}

.hero-note {
  position: absolute;
  z-index: 3;
  bottom: 3px;
  left: 0;
  padding: 12px 15px;
  border: 1px solid white;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffffffa, #d8f5ffed);
  box-shadow: inset 0 1px 2px white, 0 4px 10px #07517d30;
  color: #15516d;
  font-size: 12px;
  font-weight: bold;
  transform: rotate(-3deg);
}

.sparkle {
  position: absolute;
  color: #fff4a0;
  font-size: 28px;
  text-shadow: 0 1px 3px #9cba58;
}

.sparkle-one {
  top: 14%;
  right: 0;
}

.sparkle-two {
  bottom: 18%;
  left: 12%;
  font-size: 34px;
}

/* SECTIONS */

.section {
  margin-top: 57px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 21px;
}

.section-heading h2,
.submit-banner h2 {
  margin-bottom: 0;
  font-size: clamp(25px, 4vw, 35px);
  font-weight: 900;
  letter-spacing: -.8px;
  color: #15516d;
  text-shadow: 0 1px white, 0 2px #ffffff85;
}

.section-heading > p,
.listing-count {
  margin-bottom: 4px;
  color: #315f75;
  font-size: 13px;
  font-weight: bold;
}

/* ADVERTISING */

.ad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.ad-card {
  min-height: 225px;
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid white;
  border-radius: 16px;
  box-shadow:
    inset 0 1px 1px white,
    inset 0 -2px 4px #146b8333,
    0 5px 13px #07517d30;
  transition: transform .2s, box-shadow .2s;
}

.ad-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7%;
  width: 86%;
  height: 36%;
  border-radius: 0 0 50% 50%;
  background: linear-gradient(180deg, #ffffffa6, #ffffff00);
  pointer-events: none;
}

.ad-card::after {
  content: "";
  position: absolute;
  width: 145px;
  height: 145px;
  right: -45px;
  bottom: -66px;
  border: 15px solid #ffffff65;
  border-radius: 50%;
  box-shadow: inset 0 0 14px #ffffff8c, 0 0 12px #ffffff45;
  pointer-events: none;
}

.ad-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 1px white,
    0 9px 20px #07517d40;
}

.ad-aqua {
  background: linear-gradient(160deg, #e6ffff 0%, #72e4ed 45%, #12a9d4 100%);
}

.ad-coral {
  background: linear-gradient(160deg, #fffce0 0%, #e4f79d 45%, #81c64c 100%);
}

.ad-lime {
  background: linear-gradient(160deg, #ffffff 0%, #c4f2ad 45%, #3ebc8d 100%);
}

.ad-icon {
  position: absolute;
  top: 16px;
  right: 17px;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid white;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffffff, #c6f2ff);
  box-shadow: inset 0 1px 2px white, 0 2px 4px #07517d25;
  color: #087fbd;
  font-size: 22px;
}

.ad-label {
  position: relative;
  display: block;
  margin-bottom: 24px;
  color: #205a6f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}

.ad-card h3 {
  position: relative;
  max-width: 225px;
  margin-bottom: 7px;
  color: #124c61;
  font-size: 22px;
  line-height: 1.2;
  text-shadow: 0 1px white;
}

.ad-card p {
  position: relative;
  color: #285d6e;
  font-size: 13px;
}

.ad-arrow {
  position: relative;
  display: inline-block;
  margin-top: 7px;
  color: #07578c;
  font-size: 12px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: #ffffffa8;
  text-underline-offset: 3px;
}

/* SEARCH AND FILTER */

.catalog-controls {
  display: flex;
  gap: 11px;
  padding: 11px;
  margin-bottom: 22px;
  border-radius: 13px;
}

.search-box {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #ffffff;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #e1f7ff);
  box-shadow: inset 0 2px 4px #357d9d26;
}

.search-box span {
  color: #1689bd;
  font-size: 26px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--aero-text);
}

.search-box input::placeholder {
  color: #6d94a6;
}

.catalog-controls select {
  max-width: 210px;
  padding: 0 12px;
  border: 1px solid white;
  border-radius: 8px;
  background: linear-gradient(180deg, white, #d7f4ff);
  box-shadow: inset 0 1px 2px white, 0 1px 3px #07517d15;
  color: #174b67;
  cursor: pointer;
}

/* PRODUCT CARDS */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  padding: 8px;
  border: 1px solid white;
  border-radius: 15px;
  background: linear-gradient(180deg, #ffffffed, #e0f7ffdb);
  box-shadow:
    inset 0 1px 1px white,
    inset 0 -1px 2px #76bad533,
    0 4px 12px #07517d25;
  transition: transform .2s, box-shadow .2s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 1px white,
    0 8px 18px #07517d38;
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ffffff;
  border-radius: 10px;
  background:
    radial-gradient(circle at 25% 18%, white, transparent 35%),
    linear-gradient(145deg, #b9f0ff, #7ddbd4 70%, #b6ed9e);
  box-shadow: inset 0 1px 3px #ffffffb5, 0 1px 3px #07517d20;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-emoji {
  font-size: 64px;
  filter: drop-shadow(0 5px 3px #07517d30);
}

.product-info {
  padding: 12px 5px 5px;
}

.product-category {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 8px;
  border: 1px solid #ffffff;
  border-radius: 6px;
  background: linear-gradient(180deg, #f3ffe4, #bde98b);
  box-shadow: inset 0 1px 2px white;
  color: #386f30;
  font-size: 10px;
  font-weight: bold;
}

.product-info h3 {
  margin-bottom: 8px;
  color: #174b67;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-price {
  margin-bottom: 8px;
  color: #0877ad;
  font-size: 19px;
  font-weight: 900;
  text-shadow: 0 1px white;
}

.product-seller {
  margin-bottom: 12px;
  color: #527789;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.product-link {
  width: 100%;
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 7px;
  border: 1px solid white;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #d5f5ff 45%, #8bdcff 50%, #c5f1ff 100%);
  box-shadow:
    inset 0 1px 1px white,
    inset 0 -1px 2px #2b9bc555,
    0 2px 4px #07517d20;
  color: #075b8d;
  font-size: 12px;
  font-weight: 900;
  text-shadow: 0 1px white;
}

.product-link:hover {
  background: linear-gradient(180deg, white, #a9eaff 50%, #d8f8ff);
}

.empty-state {
  padding: 35px 15px;
  color: #315f75;
  text-align: center;
}

/* SUBMISSION BANNER */

.submit-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
  padding: 26px;
  border-radius: 19px;
  background:
    radial-gradient(ellipse at 15% 0%, #ffffff, transparent 43%),
    linear-gradient(180deg, #e9fffc, #93e7d9 50%, #d8f8ed);
}

.submit-icon {
  flex: 0 0 75px;
  height: 75px;
  display: grid;
  place-items: center;
  border: 1px solid white;
  border-radius: 17px;
  background: linear-gradient(180deg, #ffffff, #b4edff 50%, #52b8e5);
  box-shadow: inset 0 1px 2px white, 0 3px 8px #07517d25;
  font-size: 38px;
}

.submit-banner > div:nth-child(2) {
  flex: 1;
}

.submit-banner h2 {
  font-size: clamp(22px, 3.5vw, 31px);
}

.submit-banner p {
  margin: 8px 0 0;
  color: #315f75;
  font-size: 14px;
}

/* FOOTER */

.footer {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-radius: 15px;
}

.footer p {
  margin: 0;
  color: #315f75;
  font-size: 12px;
}

.footer > a:last-child {
  color: #075b8d;
  font-size: 13px;
  font-weight: bold;
  text-decoration: underline;
}

/* ANIMATION */

@keyframes aero-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes mascot-float {
  0%, 100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

/* TABLETS */

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr .8fr;
    padding: 30px;
  }

  .bubble-large {
    width: 185px;
    height: 185px;
  }

  .hero-art {
    min-height: 245px;
  }

  .ad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ad-card:last-child {
    grid-column: 1 / -1;
    min-height: 175px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .topbar {
    top: 5px;
    width: calc(100% - 16px);
    min-height: 64px;
    margin-top: 5px;
    padding: 9px 12px;
    border-radius: 13px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-icon {
    width: 39px;
    height: 39px;
    font-size: 23px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    gap: 5px;
    padding: 11px;
    border: 1px solid white;
    border-radius: 13px;
    background: linear-gradient(180deg, #fffffffa, #b9eafff5);
    box-shadow: inset 0 1px 2px white, 0 6px 15px #07517d40;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
  }

  .nav > a {
    padding: 12px;
    border-radius: 8px;
  }

  .nav-telegram {
    text-align: center;
  }

  main {
    width: calc(100% - 16px);
    margin-top: 16px;
    margin-bottom: 40px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 25px 20px 16px;
    border-radius: 18px;
  }

  h1 {
    font-size: clamp(43px, 11vw, 60px);
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .hero-art {
    min-height: 215px;
    margin-top: 5px;
  }

  .bubble-large {
    width: 185px;
    height: 185px;
    right: 15%;
  }

  .mascot {
    font-size: 122px;
  }

  .hero-note {
    bottom: 2px;
    left: 2%;
  }

  .section {
    margin-top: 40px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .ad-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .ad-card,
  .ad-card:last-child {
    grid-column: auto;
    min-height: 170px;
    padding: 19px;
  }

  .ad-label {
    margin-bottom: 17px;
  }

  .ad-card h3 {
    max-width: 240px;
    font-size: 21px;
  }

  .catalog-controls {
    flex-direction: column;
    gap: 9px;
    padding: 9px;
  }

  .catalog-controls select {
    width: 100%;
    max-width: none;
    min-height: 42px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card {
    padding: 6px;
    border-radius: 12px;
  }

  .product-image {
    border-radius: 8px;
  }

  .product-info {
    padding: 9px 3px 3px;
  }

  .product-info h3 {
    font-size: 13px;
  }

  .product-price {
    font-size: 16px;
  }

  .product-seller {
    font-size: 11px;
  }

  .product-emoji {
    font-size: 51px;
  }

  .submit-banner {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 42px;
    padding: 18px;
    border-radius: 15px;
  }

  .submit-icon {
    flex-basis: 57px;
    height: 57px;
    border-radius: 12px;
    font-size: 29px;
  }

  .submit-banner > div:nth-child(2) {
    flex: 1;
    min-width: 170px;
  }

  .submit-banner h2 {
    font-size: 23px;
  }

  .submit-banner p {
    font-size: 12px;
  }

  .submit-banner .button {
    width: 100%;
  }

  .footer {
    width: calc(100% - 16px);
    flex-wrap: wrap;
    padding: 17px;
    border-radius: 13px;
  }

  .footer p {
    width: 100%;
    order: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

h1,
h2,
h3,
.brand {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  letter-spacing: -0.7px;
}

/* === COMFORTAA: FONT FOR THE WHOLE SITE === */

body,
button,
input,
textarea,
select {
  font-family: "Comfortaa", sans-serif;
}