@font-face {
  font-family: 'RubikDoodleShadow';
  src: url('fonts/RubikDoodleShadow-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'MontserratUnderline';
  src: url('fonts/Montserrat_Underline/MontserratUnderline-VariableFont_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'DelaGothicOne';
  src: url('fonts/DelaGothicOne-Regular.ttf') format('truetype');
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

body {
  background: radial-gradient(ellipse at 20% 30%, rgba(0, 80, 30, 0.25), transparent 60%),
              radial-gradient(ellipse at 80% 70%, rgba(0, 60, 20, 0.2), transparent 50%),
              repeating-radial-gradient(circle at 0 0, transparent, transparent 1.5px, rgba(255,255,255,0.04) 1.5px, rgba(255,255,255,0.04) 3px),
              #0d0d0d;
  background-size: auto, auto, 24px 24px, auto;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ── Wrappers (positioning) ── */

.logo-wrap {
  position: fixed;
  top: 12%;
  left: 22%;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
}

.subtitle-wrap {
  position: fixed;
  top: calc(12% + clamp(2rem, 4.5vw, 3rem));
  left: 22%;
  transform: translate(-50%, 0);
  z-index: 10;
  cursor: pointer;
}

/* ── Logo animations layer ── */

.logo-anim {
  animation: flyIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
             doodle 4s ease-in-out 0.7s infinite;
}

/* ── Logo ── */

.logo {
  display: inline-block;
  font-family: 'RubikDoodleShadow', sans-serif;
  font-size: clamp(4rem, 8vw, 6rem);
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 2px 2px 0 rgba(0,0,0,0.4);
  user-select: none;
  letter-spacing: 0.02em;
}

/* ── Subtitle animations layer ── */

.subtitle-anim {
  animation: flyInSub 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
  opacity: 0;
}

/* ── Mascot ── */

.mascot-wrap {
  position: fixed;
  bottom: -6%;
  right: 8%;
  z-index: 10;
}

.mascot {
  display: block;
  height: clamp(34rem, 65vw, 58rem);
  width: auto;
  transform-origin: 0% 130%;
  opacity: 0;
  animation: swingArc 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards,
             gentleRock 4s ease-in-out 1.5s infinite;
}

@keyframes swingArc {
  0% {
    transform: rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(0deg);
    opacity: 1;
  }
}

@keyframes gentleRock {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(0.3deg);
  }
  75% {
    transform: rotate(-0.3deg);
  }
}

/* ── Subtitle ── */

.subtitle {
  display: inline-block;
  font-family: 'MontserratUnderline', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
  user-select: none;
  white-space: nowrap;
}

/* ── Promo ── */

.promo-wrap {
  position: fixed;
  top: calc(12% + clamp(5rem, 10vw, 7rem));
  left: 22%;
  transform: translate(-50%, 0);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  z-index: 10;
  opacity: 0;
  animation: appear 0.01s linear 0.7s forwards;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'MontserratUnderline', sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.75s; }
.feature-item:nth-child(2) { animation-delay: 0.8s; }
.feature-item:nth-child(3) { animation-delay: 0.85s; }
.feature-item:nth-child(4) { animation-delay: 0.9s; }
.feature-item:nth-child(5) { animation-delay: 0.95s; }
.feature-item:nth-child(6) { animation-delay: 1s; }

.feature-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(0, 200, 80, 0.5);
}

@keyframes slideIn {
  0% { opacity: 0; transform: translateX(-12px); }
  100% { opacity: 1; transform: translateX(0); }
}

.promo-btn-wrap {
  position: fixed;
  top: calc(12% + clamp(16rem, 26vw, 20rem));
  left: 32%;
  transform: translate(-50%, 0);
  z-index: 10;
}

.promo-btn {
  font-family: 'DelaGothicOne', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  color: #00e060;
  -webkit-text-stroke: 0.8px rgba(0,0,0,0.4);
  text-shadow: 0 0 10px rgba(0,200,80,0.2);
  background: rgba(0, 200, 80, 0.25);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 200, 80, 0.25);
  padding: 24px 64px;
  cursor: pointer;
  letter-spacing: 0.12em;
  box-shadow: 0 0 20px rgba(0, 200, 80, 0.15), 0 0 60px rgba(0, 200, 80, 0.05);
  transition: transform 0.2s, box-shadow 0.3s;
  transform: scale(0);
  animation: popIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards,
             glowPulse 2.5s ease-in-out 1.4s infinite;
}

.promo-btn-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  opacity: 0.8;
}

.promo-btn:hover {
  transform: scale(1.06);
  background: rgba(0, 200, 80, 0.2);
  border-color: rgba(0, 200, 80, 0.5);
  box-shadow: 0 0 50px rgba(0, 200, 80, 0.4), 0 0 100px rgba(0, 200, 80, 0.15);
}

/* ── Reviews ── */

.reviews-wrap {
  position: fixed;
  top: calc(12% + clamp(24rem, 37vw, 30rem));
  left: 50%;
  transform: translate(-50%, 0);
  display: flex;
  gap: 10px;
  z-index: 10;
  opacity: 0;
  animation: appear 0.01s linear 1.1s forwards;
}

.review {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px 8px 16px;
  background: #0a1a0e;
  border-left: 2px solid rgba(0, 200, 80, 0.15);
  border-radius: 12px;
  opacity: 0;
  min-width: 300px;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 200, 80, 0.15);
  border: 1px solid rgba(0, 200, 80, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DelaGothicOne', sans-serif;
  font-size: 0.85rem;
  color: rgba(0, 200, 80, 0.6);
  flex-shrink: 0;
}

.review-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.review:nth-child(1) { animation-delay: 1.1s; }
.review:nth-child(2) { animation-delay: 1.2s; }
.review:nth-child(3) { animation-delay: 1.3s; }

.review-stars {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(0, 200, 80, 0.4);
  flex-shrink: 0;
}

.review-text {
  font-family: sans-serif;
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
  font-style: italic;
  flex: 1;
  margin: 0;
}

.review-author {
  font-family: sans-serif;
  font-size: clamp(0.55rem, 0.85vw, 0.65rem);
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── Badges ── */

.badges-section {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
  opacity: 0;
  animation: appear 0.01s linear 0.85s forwards;
}

.badges-title {
  font-family: 'MontserratUnderline', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.35em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badges-title-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.badges-wrap {
  display: flex;
  gap: 14px;
}

.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  padding: 10px 18px;
  background: rgba(6, 30, 15, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 200, 80, 0.25);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  transform: scale(0);
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.badge:nth-child(1) { animation-delay: 0.9s; }
.badge:nth-child(2) { animation-delay: 1s; }
.badge:nth-child(3) { animation-delay: 1.1s; }

.badge:hover {
  border-color: rgba(0, 200, 80, 0.5);
  background: rgba(0, 200, 80, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 200, 80, 0.1);
}

.badge-icon {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
  flex-shrink: 0;
}

.badge:hover .badge-icon {
  color: #00c850;
}

.badge-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.badge-label {
  font-family: 'MontserratUnderline', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.badge-hint {
  font-family: monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}

@keyframes appear {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 200, 80, 0.15), 0 0 60px rgba(0, 200, 80, 0.05);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 200, 80, 0.3), 0 0 80px rgba(0, 200, 80, 0.1);
  }
}

/* ── Keyframes ── */

@keyframes flyIn {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes flyInSub {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes doodle {
  0%, 100% {
    transform: translateX(0) rotate(0deg) scale(1);
    text-shadow: 0 2px 20px rgba(0,0,0,0.6), 2px 2px 0 rgba(0,0,0,0.4);
  }
  25% {
    transform: translateX(0) rotate(-2deg) scale(1.02);
    text-shadow: 0 4px 25px rgba(0,0,0,0.5), 3px 4px 0 rgba(124,92,252,0.3);
  }
  50% {
    transform: translateX(0) rotate(1.5deg) scale(0.98);
    text-shadow: 0 2px 20px rgba(0,0,0,0.6), 1px 1px 0 rgba(0,0,0,0.4);
  }
  75% {
    transform: translateX(0) rotate(-1deg) scale(1.01);
    text-shadow: 0 5px 30px rgba(0,0,0,0.5), 4px 3px 0 rgba(168,140,255,0.25);
  }
}


