@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Fredoka', sans-serif;
  background-color: #00dd65;
  color: white;
  text-align: center;
  overflow: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  flex-shrink: 0;
}

.logo-img {
  height: 70px;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.logo-img:hover {
  transform: rotate(-4deg) scale(1.1);
}

.menu {
  display: flex;
  gap: 40px;
  align-items: center;
  position: relative;
  flex-wrap: wrap;
}

/* Links */
.link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
}
.link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.link:hover::after {
  transform: scaleX(1);
}

.copy-btn {
  gap: 6px;
  font-size: 1.1rem;
  border: none;
  background: none;
  color: white;
  cursor: pointer;
  font-weight: bold;
  padding: 0;
}
.copy-icon {
  font-size: 1.1rem;
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown-toggle::after {
  content: " ▼";
  font-size: 0.7em;
}
.dropdown-menu {
  position: absolute;
  top: 130%;
  left: 0;
  background-color: white;
  border-radius: 12px;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10;
}
body:not(.touch-device) .dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-item {
  padding: 12px 16px;
  color: #00dd65;
  font-weight: bold;
  font-size: 1rem;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  background: white;
  transition: background-color 0.2s ease;
}
.dropdown-item:hover {
  background-color: #f0f0f0;
}
.dropdown-item.disabled {
  cursor: default;
  color: #ccc;
  background-color: white;
}

/* Buy Button */
.button {
  background: white;
  color: #00dd65;
  padding: 12px 28px;
  border: none;
  border-radius: 9999px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: #ddd;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0.3;
  transition: transform 0.5s ease;
  z-index: 0;
}
.button:hover::before {
  transform: translate(-50%, -50%) scale(1);
}
.button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.button span {
  position: relative;
  z-index: 1;
}

/* Main */
.main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}

.harry-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  width: 100%;
  text-decoration: none;
}

.harry-img {
  height: 100%;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  cursor: default;
}

/* Sticky Sections */
.about {
  background-color: #00bb56;
  padding: 24px 10px;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  position: sticky;
  bottom: 40px;
  z-index: 5;
  line-height: 1.4;
  margin: 0;
  display: block;
}

.footer {
  background-color: #009944;
  padding: 10px;
  font-size: 0.75rem;
  text-align: center;
  color: white;
  opacity: 0.95;
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin: 0;
  display: block;
}

/* Responsive */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .menu {
    flex-direction: column;
    gap: 15px;
  }

  .button {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .link,
  .copy-btn {
    font-size: 1.1rem;
  }

  .logo-img {
    height: 60px;
  }

  .about {
    font-size: 1.4rem;
  }

  .footer {
    font-size: 0.7rem;
  }

  .dropdown-menu {
    top: 100%;
    left: 0;
  }
}
