/* Global Styles */
:root {
  --green-light: #85ed41;
  --green-dark: #359600;
  --yellow: #ffd700;
  --orange: #ff8c00;
  --purple: #8a2be2;
  --pink: #ff1493;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "ComicNeueSans";
  src: url("https://fonts.gstatic.com/s/comicneue/v1/4UaHrEJDsxBrF37olUeD96rp57F2IwM.woff2")
    format("woff2");
}

body {
  font-family: "ComicNeueSans", "Comic Sans MS", cursive, sans-serif;
  background-color: var(--green-dark);
  color: white;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M30,30 L70,30 L70,70 L30,70 Z" fill="none" stroke="%23ffffff22" stroke-width="2"/></svg>');
  overflow-x: hidden;
  position: relative;
}

/* Background Frog Effect */
.frog-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  opacity: 0.15;
  pointer-events: none;
}

.frog-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: url("beer-frog.jpg");
  background-repeat: repeat;
  background-size: 300px;
  animation: bg-rotate 120s linear infinite;
  filter: blur(5px) contrast(150%) hue-rotate(10deg);
}

@keyframes bg-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.logo-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
  position: relative;
  z-index: 2;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--yellow);
  box-shadow: 0 0 0 4px var(--green-light), 0 0 20px var(--green-light);
  animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px var(--green-light), 0 0 20px var(--green-light);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px var(--green-light), 0 0 30px var(--green-light),
      0 0 50px var(--green-light);
  }
}

.wobbly-text {
  font-size: 5rem;
  color: var(--yellow);
  text-shadow: 0 0 10px var(--green-light), 0 0 20px var(--green-light),
    0 0 30px var(--green-light);
  animation: wobble 3s ease-in-out infinite;
  transform-origin: center;
  letter-spacing: 5px;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.5rem;
  color: white;
  margin-top: -10px;
  font-weight: bold;
}

/* Frog Image */
.frog-image {
  text-align: center;
  margin: 30px 0;
}

.bouncy {
  animation: bounce 2s ease-in-out infinite;
  border: 4px solid var(--green-light);
  border-radius: 50%;
  max-width: 300px;
  filter: saturate(1.5) drop-shadow(0 0 10px var(--green-light));
  transition: transform 0.3s;
}

.main-frog {
  object-fit: cover;
  aspect-ratio: 1/1;
  clip-path: circle(50% at center);
}

.bouncy:hover {
  transform: scale(1.1) rotate(5deg);
  filter: saturate(2) drop-shadow(0 0 15px var(--yellow)) hue-rotate(15deg);
}

/* Info Box */
.info-box {
  background: rgba(0, 0, 0, 0.7);
  border: 3px solid var(--green-light);
  border-radius: 15px;
  padding: 20px;
  margin: 30px auto;
  max-width: 600px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.info-box p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.rotating-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(133, 237, 65, 0.1),
    transparent,
    transparent
  );
  animation: rotate 10s linear infinite;
  z-index: -1;
}

.glowing-text {
  font-weight: bold;
  color: var(--yellow);
  text-shadow: 0 0 10px var(--yellow);
  font-size: 1.4rem !important;
  animation: pulse 2s ease-in-out infinite;
}

/* Contract Section */
.contract-section {
  text-align: center;
  margin: 40px 0;
}

.glitch-text {
  font-size: 2.5rem;
  position: relative;
  color: white;
  animation: glitch 3s infinite;
  margin-bottom: 20px;
}

.contract-box {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--green-light);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

#contract-address {
  font-family: monospace;
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: var(--yellow);
  overflow: hidden;
  text-overflow: ellipsis;
}

#copy-btn {
  background-color: var(--green-light);
  color: black;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
}

#copy-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--green-light);
}

#copy-message {
  color: var(--green-light);
  margin-top: 10px;
  font-weight: bold;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s;
}

/* Chart Button */
.chart-button-container {
  text-align: center;
  margin: 40px 0;
}

.chart-button {
  display: inline-block;
  background: linear-gradient(45deg, var(--green-dark), var(--green-light));
  padding: 15px 40px;
  border-radius: 50px;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 20px rgba(133, 237, 65, 0.5);
}

.chart-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 60%
  );
  transition: transform 0.5s;
  transform: scale(0);
  z-index: 1;
}

.chart-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(133, 237, 65, 0.8);
}

.chart-button:hover::before {
  transform: scale(1);
}

.chart-button-text {
  position: relative;
  z-index: 2;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 2.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  color: white;
  text-decoration: none;
}

.social-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s;
}

.telegram-icon {
  background: #0088cc;
  box-shadow: 0 0 15px rgba(0, 136, 204, 0.7);
}

.telegram-icon::after {
  box-shadow: 0 0 25px 10px rgba(0, 136, 204, 0.7);
}

.twitter-icon {
  background: #1da1f2;
  box-shadow: 0 0 15px rgba(29, 161, 242, 0.7);
}

.twitter-icon::after {
  box-shadow: 0 0 25px 10px rgba(29, 161, 242, 0.7);
}

.social-icon:hover {
  transform: scale(1.2);
}

.social-icon:hover::after {
  opacity: 1;
}

/* Timeline Section */
.timeline-section {
  margin: 60px 0;
  text-align: center;
}

.neon-text {
  font-size: 2.5rem;
  color: var(--green-light);
  text-shadow: 0 0 5px var(--green-light), 0 0 10px var(--green-light),
    0 0 20px var(--green-light);
  margin-bottom: 40px;
}

.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--green-light);
  box-shadow: 0 0 10px var(--green-light);
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  transition: transform 0.3s;
}

.timeline-item:hover {
  transform: scale(1.1);
}

.timeline-img {
  width: 60px;
  height: 60px;
  background-color: var(--green-dark);
  border: 3px solid var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  font-size: 1.8rem;
  overflow: hidden;
}

.timeline-frog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.timeline-item:hover .timeline-frog-img {
  transform: scale(1.2) rotate(10deg);
}

.timeline-content {
  text-align: center;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: white;
}

.timeline-content span {
  font-size: 1rem;
  color: var(--yellow);
  font-weight: bold;
}

.timeline-item.active .timeline-img {
  background-color: var(--yellow);
  border-color: white;
  box-shadow: 0 0 20px var(--yellow);
}

.timeline-item.active .timeline-content h3 {
  color: var(--yellow);
  text-shadow: 0 0 10px var(--yellow);
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 60px;
  padding: 20px 0;
  border-top: 2px solid var(--green-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--yellow);
  box-shadow: 0 0 15px var(--green-light);
  position: relative;
}

.footer-frog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.footer-logo:hover .footer-frog-img {
  transform: scale(1.2) rotate(360deg);
}

.rainbow-text {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(
    to right,
    red,
    orange,
    yellow,
    green,
    blue,
    indigo,
    violet
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow 10s linear infinite;
  background-size: 200% 100%;
}

/* Floating Frogs */
.floating-frogs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-frog {
  position: absolute;
  font-size: 2rem;
  animation: float 20s linear infinite;
  opacity: 0.7;
}

.floating-frog-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: spin 10s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.floating-frog:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-duration: 15s;
  animation-delay: 0s;
}

.floating-frog:nth-child(2) {
  top: 70%;
  left: 80%;
  animation-duration: 25s;
  animation-delay: 5s;
}

.floating-frog:nth-child(3) {
  top: 40%;
  left: 5%;
  animation-duration: 18s;
  animation-delay: 2s;
}

.floating-frog:nth-child(4) {
  top: 15%;
  left: 85%;
  animation-duration: 22s;
  animation-delay: 7s;
}

.floating-frog:nth-child(5) {
  top: 80%;
  left: 30%;
  animation-duration: 20s;
  animation-delay: 10s;
}

/* Animations */
@keyframes wobble {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes glitch {
  0%,
  100% {
    transform: skew(0deg, 0deg);
    filter: none;
  }
  20% {
    transform: skew(3deg, 0deg);
    filter: hue-rotate(90deg);
  }
  40% {
    transform: skew(-3deg, 0deg);
    filter: hue-rotate(180deg);
  }
  60% {
    transform: skew(0deg, 3deg);
    filter: hue-rotate(270deg);
  }
  80% {
    transform: skew(0deg, -3deg);
    filter: hue-rotate(360deg);
  }
}

@keyframes rainbow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translate(calc(100vw - 100px), calc(100vh - 100px))
      rotate(360deg);
    opacity: 0;
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .wobbly-text {
    font-size: 3rem;
  }

  .timeline {
    flex-direction: column;
    gap: 40px;
  }

  .timeline::before {
    width: 4px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .contract-box {
    flex-direction: column;
    gap: 15px;
  }

  #contract-address {
    margin-bottom: 10px;
  }
}
