@import url("https://fonts.googleapis.com/css2?family=Coming+Soon&display=swap");

:root {
  --avatar-size: clamp(140px, 25vw, 200px);
}

@keyframes arrow-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-4px) rotate(-1deg);
  }

  50% {
    transform: translate(-8px) rotate(0deg);
  }

  75% {
    transform: translateY(-4px) rotate(1deg);
  }
}

* {
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black;
  background: radial-gradient(
    ellipse at bottom,
    #22354a 0%,
    #0a1220 -45%,
    #05070d 100%,
  );
  background-size: 40px 40px;
  background-position: -19px -19px;
  color: whitesmoke;
}

h1 {
  font-family: "Coming Soon", cursive;
  font-size: clamp(2rem, 4vw, 8rem);
  margin: 0;
  line-height: 1;
}

.hero-section {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.burst-menu {
  position: relative;
  width: var(--avatar-size);
  height: var(--avatar-size);
}

.avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  border-radius: 50%;
  width: 80%;
  height: 80%;
  overflow: hidden;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  color: whitesmoke;
  transition:
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 300ms ease;
  will-change: transform, opacity;
}

.twitter {
  --x: 90px;
  --y: -70px;
  transition-delay: 0ms;
}

.github {
  --x: -90px;
  --y: -70px;
  transition-delay: 40ms;
}

.linkedin {
  --x: 90px;
  --y: 70px;
  transition-delay: 8ms;
}

.instagram {
  --x: -90px;
  --y: 70px;
  transition-delay: 0ms;
}

.burst-menu.open .icon {
  opacity: 1;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1);
}

.icon i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.icon:hover i {
  transform: scale(2);
}

.arrow-doodle {
  position: absolute;
  top: -20%;
  left: -15%;
  width: 50%;
  height: auto;
  z-index: 5;
  pointer-events: none;
  rotate: 40deg;
  animation: arrow-bounce 10s ease-in-out infinite;
}

.click-me-text {
  position: absolute;
  top: -45%;
  left: -20%;
  color: rgb(139, 137, 137);
  font-family: "Coming Soon", cursive, sans-serif;
  font-weight: 900;
  font-size: clamp(0.9rem, 1.5vw, 1.25rem);
  white-space: nowrap;
  z-index: 5;
}

.typo {
  position: relative;
  display: inline-block;
}

.typo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='6' viewBox='0 0 20 6'%3E%3Cpath d='M0 3 Q2.5 0 5 3 T10 3 T15 3 T20 3' fill='none' stroke='red' stroke-width='1.5'/%3E%3C/svg%3E")
    repeat-x;
}

[tooltip] {
  position: relative;
  font-family: "Coming Soon", cursive;
}

[tooltip]::before,
[tooltip]::after {
  position: absolute;
  display: none;
  opacity: 0;
  pointer-events: none;
}

[tooltip]::after {
  content: attr(tooltip);
  background: #333;
  color: #fff;
  padding: 1ch 1.5ch;
  border-radius: 0.3ch;
  font-size: 0.9em;
  white-space: nowrap;
  z-index: 1000;
  left: 50%;
  bottom: calc(100% + 5px);
  transform: translate(-50%, -0.5em);
}

[tooltip]::before {
  content: "";
  border: 5px solid transparent;
  border-top-color: #333;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -0.5em);
  z-index: 1001;
}

[tooltip]:hover::before,
[tooltip]:hover::after {
  display: block;
  opacity: 0.9;
}

.dock {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.dock-items {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(245, 245, 245, 0.12);
  border-radius: 9999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dock-item {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(245, 245, 245, 0.08);
  background: #1a1a1a;
  color: whitesmoke;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition:
    width 150ms ease-out,
    height 150ms ease-out,
    background 150ms ease;
  will-change: width, height;
}

.dock-item i {
  font-size: 1.15rem;
  transition: font-size 150ms ease-out;
}

.dock-item:hover,
.dock-item:focus-visible {
  font-size: 1.15rem;
  transition: font-size 150ms ease-out;
}

.dock-item.active::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: red;
}

@media (max-width: 480px) {
  .dock {
    bottom: 1rem;
  }

  .dock-items {
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
  }

  .dock-item {
    width: 40px;
    height: 40px;
  }

  .dock-item i {
    font-size: 1rem;
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-window {
  width: min(680px, 92vw);
  height: min(480px, 85vh);
  font-family: "Coming Soon", sans-serif;
  background: rgba(28, 28, 30, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 0 0 0.5px rgba(255, 255, 255, 0.06) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96) translateY(8px);
  opacity: 0;
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 220ms ease;
}

.modal-overlay.open .modal-window {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-titlebar {
  display: flex;
  align-items: center;
  flex-direction: row;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  cursor: grab;
  flex-shrink: 0;
  user-select: none;
}

.modal-traffic-lights {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.modal-tl {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: transparent;
  transition: filter 150ms ease;
}

.modal-tl:hover {
  filter: brightness(1.15);
  color: rgba(0, 0, 0, 0.5);
}

.modal-close {
  background-color: #ff5f57;
}

.modal-minimize {
  background: #febc2e;
}

.modal-maximise {
  background: #28c840;
}

.modal-close svg {
  width: 6px;
  height: 6px;
}

.modal-title-text {
  flex: 1;
  text-align: center;
  font-family:
    "Coming Soon",
    -apple-system,
    sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(245, 245, 245, 0.55);
  pointer-events: none;
}
.modal-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  gap: 4px;
}

.modal-sidebar {
  width: 160px;
  flex-shrink: 0;
  padding: 12px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: rgba(245, 245, 245, 0.5);
  font-family: "Coming Soon", cursive;
  font-size: 0.8rem;
  cursor: pointer;
  text-align: left;
  transition:
    background 150ms ease,
    color 150ms ease;
}

.modal-nav-item i {
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.modal-nav-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(245, 245, 245, 0.85);
}

.modal-nav-item.active {
  background: rgba(255, 255, 255, 0.07);
  color: whitesmoke;
}

.modal-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.modal-content::-webkit-scrollbar {
  width: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

.modal-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-section-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.3);
}

.modal-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 14px;
  transition: background 150ms ease;
}

.modal-card:hover {
  background: rgba(255, 255, 255, 0.07);
}

.modal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.modal-card-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: whitesmoke;
  font-size: 1rem;
  display: block;
}

.modal-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: block;
  text-transform: uppercase;
  color: rgba(40, 200, 64, 0.9);
  background: rgba(40, 200, 64, 0.12);
  border: 1px solid rgba(40, 200, 64, 0.2);
  border-radius: 4px;
  padding: 2px 4px;
}

.modal-card-desc {
  font-size: 0.78rem;
  color: rgba(245, 245, 245, 0.45);
  line-height: 1.5;
}

.modal-card-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0;
  margin-left: -6px;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-card-link {
  font-size: 0.75rem;
  color: rgba(245, 245, 245, 0.4);
  text-decoration: none;
  margin-top: 4px;
  transition: color 150ms ease;
}

.modal-card-link:hover {
  color: whitesmoke;
}

@media (max-width: 480px) {
  .modal-sidebar {
    width: 48px;
    padding: 12px 6px;
    align-items: center;
  }

  .modal-nav-item span {
    display: none;
  }

  .modal-nav-item {
    justify-content: center;
    padding: 10px;
  }

  .modal-nav-item i {
    width: auto;
    font-size: 1rem;
  }
  .modal-content {
    padding: 14px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 0 1.5rem;
  }

  h1 {
    font-size: clamp(1.4rem, 7vw, 2.2rem);
  }

  .burst-menu {
    width: clamp(160px, 45vw, 200px);
    height: clamp(160px, 45vw, 200px);
  }

  .click-me-text {
    top: -45px;
    left: 25%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .arrow-doodle {
    top: -10px;
    left: 55%;
    bottom: 25%;
    rotate: -250deg;
    width: 25%;

  }

    [tooltip]::before, 
    [tooltip]::after {
        display: none !important;
    }

}


/* stars */

.stars, 
.stars2,
.stars3 {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
}

.stars {
  width: 1px;
  height: 1px;
  background: transparent;
  box-shadow: 
        25px 80px #cfe8ff,
        120px 220px #cfe8ff,
        180px 40px #cfe8ff,
        300px 140px #cfe8ff,
        420px 90px #cfe8ff,
        510px 260px #cfe8ff,
        680px 180px #cfe8ff,
        790px 60px #cfe8ff,
        920px 320px #cfe8ff,
        1100px 150px #cfe8ff,
        1250px 70px #cfe8ff,
        1380px 250px #cfe8ff,
        1520px 110px #cfe8ff,
        1660px 290px #cfe8ff,
        1800px 90px #cfe8ff,
        1940px 200px #cfe8ff,
        150px 500px #cfe8ff,
        350px 650px #cfe8ff,
        620px 450px #cfe8ff,
        870px 580px #cfe8ff,
        1120px 720px #cfe8ff,
        1450px 540px #cfe8ff,
        1710px 680px #cfe8ff,
        1890px 470px #cfe8ff;
  filter: drop-shadow(0 0 2px rgba(180, 220, 225, .8));
  animation: animStar 50s linear infinite;
}

.stars::after {
  content: "";
  position: absolute;
  top: 2000px;
  width: 1px;
  height: 1px;
  box-shadow: inherit;
}

.stars2 {
  width: 2px;
  height: 2px;
  background: transparent;
  box-shadow:
        100px 180px #dff1ff,
        280px 340px #dff1ff,
        520px 120px #dff1ff,
        740px 280px #dff1ff,
        980px 80px #dff1ff,
        1240px 360px #dff1ff,
        1480px 140px #dff1ff,
        1730px 300px #dff1ff,
        1900px 170px #dff1ff,
        220px 700px #dff1ff,
        610px 560px #dff1ff,
        1010px 630px #dff1ff,
        1540px 730px #dff1ff;
    filter: drop-shadow(0 0 4px rgba(190, 255, 255, .9));
    animation: animStar 100s linear infinite;
}

.stars3 {
  width: 3px;
    height: 3px;
    background: transparent;
    box-shadow:
        180px 250px #ffffff,
        560px 120px #ffffff,
        930px 320px #ffffff,
        1290px 180px #ffffff,
        1680px 260px #ffffff,
        350px 640px #ffffff,
        820px 540px #ffffff,
        1420px 690px #ffffff;
    filter: drop-shadow(0 0 8px rgba(220,240,255,1));
    animation: animStar 150s linear infinite;
 }


@keyframes animStar {
  from {
    transform: translateY(0)
  }
  to {
    transform: translateY(-2000px)
  }
}