/* Fix Telegram button size in navbar */
.nav-telegram {
  font-size: 0.97rem;
  padding: 0.38em 1.1em 0.38em 0.8em;
  border-radius: 10px;
  min-width: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.18em;
  margin-left: 1.1rem;
  box-shadow: 0 2px 12px rgba(127, 240, 255, 0.1);
  height: auto;
  justify-content: center;
}
.nav-telegram svg {
  width: 1.1em !important;
  height: 1.1em !important;
  margin-right: 0.35em !important;
}
.nav-telegram span {
  font-size: 0.97em;
  padding: 0;
}
@media (max-width: 600px) {
  .nav-telegram {
    font-size: 0.91rem;
    padding: 0.32em 0.7em 0.32em 0.5em;
    border-radius: 8px;
    margin-left: 0.7rem;
    height: auto;
  }
  .nav-telegram svg {
    width: 1em !important;
    height: 1em !important;
    margin-right: 0.22em !important;
  }
}
/* Frosty Navbar */
.frosty-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(
    90deg,
    rgba(127, 240, 255, 0.1) 0%,
    rgba(122, 125, 255, 0.1) 100%
  );
  box-shadow: 0 2px 24px rgba(127, 240, 255, 0.1),
    0 1.5px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1.5px solid rgba(127, 240, 255, 0.18);
  padding: 0;
  min-height: 62px;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 62px;
}
.navbar-logo img {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(127, 240, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}
.navbar-title {
  font-family: "Russo One", system-ui, sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--ice-100);
  margin-left: 1.1rem;
  margin-right: auto;
  text-shadow: 0 2px 12px rgba(127, 240, 255, 0.18);
  user-select: none;
}
.nav-telegram {
  font-size: 1rem;
  padding: 0.6rem 1.1rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(127, 240, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.2em;
  margin-left: 1.5rem;
}
@media (max-width: 600px) {
  .navbar-inner {
    padding: 0 0.5rem;
  }
  .navbar-title {
    font-size: 1.05rem;
    margin-left: 0.7rem;
  }
  .nav-telegram {
    font-size: 0.95rem;
    padding: 0.5rem 0.7rem;
  }
  .navbar-logo img {
    width: 30px;
    height: 30px;
  }
}

/*
  TROLL PENGU — frosty theme
  - Aurora gradient background
  - Snowfall on canvas
  - Frosted glass cards
  - Glitch title effect
  - Ice-styled buttons
*/
:root {
  --bg-deep: #071522;
  --bg-dark: #0d2847;
  --ice-100: #e7f8ff;
  --ice-200: #ccefff;
  --ice-300: #a7e4ff;
  --cyan: #7ff0ff;
  --teal: #66ffe0;
  --blue: #62a3ff;
  --violet: #7a7dff;
  --frost: rgba(255, 255, 255, 0.08);
  --frost-strong: rgba(255, 255, 255, 0.16);
  --glow: 0 0 30px rgba(127, 240, 255, 0.25);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--ice-200);
  background: radial-gradient(1200px 600px at 20% 10%, #102a43 0%, #071522 60%),
    #071522;
  overflow-x: hidden;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -2;
}
.aurora {
  position: absolute;
  inset: -20% -20% -10% -20%;
  background: conic-gradient(
    from 180deg at 30% 20%,
    rgba(127, 240, 255, 0.2),
    rgba(122, 125, 255, 0.15),
    rgba(102, 255, 224, 0.12),
    rgba(127, 240, 255, 0.2)
  );
  filter: blur(60px) saturate(110%);
  animation: aurora 18s ease-in-out infinite alternate;
}
#snow-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.ice-crust {
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0)
  );
  -webkit-mask: radial-gradient(
      60% 100% at 50% 100%,
      black 40%,
      transparent 60%
    ),
    linear-gradient(black, black);
  mask: radial-gradient(60% 100% at 50% 100%, black 40%, transparent 60%),
    linear-gradient(black, black);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

main {
  position: relative;
}
.section {
  padding: 7rem 1.25rem;
}
.section .section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.title {
  font-family: "Russo One", system-ui, sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(127, 240, 255, 0.25);
}
.badge {
  display: inline-block;
  margin-left: 0.5ch;
  background: linear-gradient(
    135deg,
    rgba(127, 240, 255, 0.25),
    rgba(122, 125, 255, 0.25)
  );
  border: 1px solid rgba(127, 240, 255, 0.35);
  color: var(--ice-100);
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  font-size: 0.6em;
  vertical-align: middle;
  backdrop-filter: blur(2px);
}
.tagline {
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  color: var(--ice-200);
  opacity: 0.95;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  place-items: center;
  background: radial-gradient(
    1000px 400px at 60% 10%,
    rgba(122, 125, 255, 0.15),
    rgba(0, 0, 0, 0)
  );
}
.hero-inner {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}
.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.iceberg {
  position: absolute;
  bottom: 12%;
  right: 10%;
  width: min(26vw, 360px);
  opacity: 0.9;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.35));
}
.iceberg.small {
  bottom: 20%;
  left: 8%;
  right: auto;
  width: min(20vw, 260px);
  opacity: 0.7;
}
.floating {
  animation: float 6s ease-in-out infinite;
}
.floating-delayed {
  animation: float 7.5s ease-in-out 1.2s infinite;
}

/* Glitch title effect */
.glitch {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  clip-path: inset(0 0 0 0);
  filter: drop-shadow(0 0 12px rgba(127, 240, 255, 0.35));
}
.glitch::before {
  transform: translate(1px, -1px);
  color: #7ff0ff;
  animation: glitchShift 3.2s infinite linear alternate;
}
.glitch::after {
  transform: translate(-1px, 1px);
  color: #7a7dff;
  animation: glitchShift 2.8s infinite linear alternate-reverse;
}

/* Ice button */
.ice-btn {
  --edge: rgba(127, 240, 255, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  color: var(--bg-deep);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(200, 245, 255, 0.75)
  );
  border: 2px solid var(--edge);
  padding: 0.9rem 1.25rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 40px rgba(127, 240, 255, 0.25),
    inset 0 0 24px rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.ice-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 50px rgba(127, 240, 255, 0.35),
    inset 0 0 28px rgba(255, 255, 255, 0.34);
  filter: brightness(1.05);
}
.ice-btn:active {
  transform: translateY(0);
}
.ice-btn.icon svg {
  opacity: 0.9;
}
.ice-btn span {
  background: linear-gradient(180deg, #0f2c4a, #0b2034);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Tokenomics */
.frost-title {
  font-family: "Russo One";
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  margin: 0;
  text-shadow: var(--glow);
}
.section-sub {
  margin: 0.5rem 0 0;
  color: var(--ice-300);
  opacity: 0.9;
}

.tok-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}
.tok-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(127, 240, 255, 0.25);
  border-radius: 18px;
  padding: 1.25rem 1.1rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25),
    inset 0 0 24px rgba(127, 240, 255, 0.08);
  backdrop-filter: blur(8px) saturate(120%);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.tok-card .tok-ico {
  font-size: 1.4rem;
}
.tok-card h3 {
  margin: 0.35rem 0 0.15rem;
  color: var(--ice-100);
}
.tok-card p {
  margin: 0;
  color: var(--ice-300);
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}
.shot {
  margin: 0;
}
.frost-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(127, 240, 255, 0.25);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25),
    inset 0 0 24px rgba(127, 240, 255, 0.08);
}
.frost-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(110%) contrast(102%);
  transform: scale(1.02);
  transition: transform 0.5s ease;
}
.frost-frame:hover img {
  transform: scale(1.06);
}

/* Social buttons */
.social-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Footer */
.footer {
  padding: 2rem 1rem 3rem;
  text-align: center;
  color: var(--ice-300);
  opacity: 0.9;
}

/* Reveal on scroll */
.reveal .tok-card {
  will-change: transform, opacity;
}
.revealed .tok-card {
  transform: translateY(0);
  opacity: 1;
}

/* Keyframes */
@keyframes aurora {
  0% {
    transform: translateY(-3%) rotate(0.5deg);
    filter: hue-rotate(0deg) blur(60px);
  }
  50% {
    transform: translateY(2%) rotate(-0.5deg);
    filter: hue-rotate(15deg) blur(70px);
  }
  100% {
    transform: translateY(-1%) rotate(1deg);
    filter: hue-rotate(-15deg) blur(60px);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes glitchShift {
  0% {
    clip-path: inset(0 0 0 0);
  }
  20% {
    clip-path: inset(10% 0 0 0);
  }
  40% {
    clip-path: inset(0 0 12% 0);
  }
  60% {
    clip-path: inset(6% 0 4% 0);
  }
  80% {
    clip-path: inset(0 0 16% 0);
  }
  100% {
    clip-path: inset(8% 0 0 0);
  }
}

/* Small screens */
@media (max-width: 640px) {
  .iceberg {
    width: 52vw;
    right: -4%;
    bottom: 4%;
  }
  .iceberg.small {
    width: 40vw;
    left: -6%;
    bottom: 18%;
  }
}
