/* Angelcho Landing Page v1 */

:root {
  --bg: #060817;
  --bg-deep: #050716;
  --text: #f5f6fb;
  --text-soft: #d3d7e5;
  --muted: #78819f;
  --border: rgba(108, 121, 167, 0.34);
  --purple: #aa6cff;
  --blue: #5c9fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Courier New", Consolas, monospace;
}

button,
a {
  font: inherit;
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(
      circle at 50% 38%,
      rgba(72, 60, 160, 0.14),
      transparent 30%
    ),
    linear-gradient(180deg, #070918 0%, var(--bg-deep) 100%);
}

.content {
  position: relative;
  z-index: 3;
  width: min(1100px, 94vw);
  padding: 48px 24px 96px;
  text-align: center;
}

.terminal {
  width: 52px;
  height: 38px;
  margin: 0 auto 34px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(158, 105, 255, 0.58);
  border-radius: 10px;

  background: rgba(42, 29, 86, 0.4);
  color: #a56aff;

  font-size: 17px;
  font-weight: 700;
}

h1 {
  margin: 0;

  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(82px, 9vw, 148px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.065em;

  background: linear-gradient(
    90deg,
    var(--purple) 0%,
    #8d79ff 45%,
    var(--blue) 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 43px 0 0;

  color: #b8bfd4;
  font-size: clamp(17px, 1.45vw, 23px);
  line-height: 1.55;
}

.skills {
  margin-top: 38px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.skill {
  min-height: 48px;
  padding: 0 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  border: 1px solid var(--border);
  border-radius: 10px;

  background:
    linear-gradient(
      180deg,
      rgba(14, 19, 42, 0.95),
      rgba(8, 12, 29, 0.92)
    );

  color: #c8cddd;

  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.skill:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 119, 255, 0.56);
  background:
    linear-gradient(
      180deg,
      rgba(19, 24, 50, 0.97),
      rgba(10, 14, 34, 0.94)
    );
}

.skill span {
  font-size: 17px;
}

.intro {
  margin-top: 39px;
}

.intro p {
  margin: 0;

  color: var(--text-soft);
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 700;
  line-height: 1.7;
}

.intro .muted {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 400;
}

.actions {
  margin-top: 34px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.button {
  height: 58px;
  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: rgba(8, 12, 29, 0.78);
  color: #d8dbea;

  text-decoration: none;

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  min-width: 170px;

  border-color: #8168ff;

  background:
    linear-gradient(
      180deg,
      rgba(47, 43, 109, 0.78),
      rgba(25, 25, 62, 0.9)
    );
}

.button-primary:hover {
  border-color: #a17dff;
}

.button-secondary {
  min-width: 240px;
}

.button-secondary:hover {
  border-color: rgba(143, 119, 255, 0.58);
  background: rgba(15, 20, 42, 0.9);
}

.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.socials {
  margin-top: 34px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.socials a {
  width: 23px;
  height: 23px;

  display: grid;
  place-items: center;

  color: #8992b0;
  text-decoration: none;

  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.socials a:hover {
  color: #d6dbea;
  transform: translateY(-2px);
}

.socials svg {
  display: block;
  width: 100%;
  height: 100%;
}

.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particles span {
  position: absolute;
  left: var(--x);
  top: var(--y);

  width: 3px;
  height: 3px;

  border-radius: 50%;

  background: #7257ff;
  opacity: 0.55;

  box-shadow: 0 0 8px rgba(114, 87, 255, 0.45);
}

.ambient {
  position: absolute;
  z-index: 0;

  border-radius: 50%;
  filter: blur(120px);

  pointer-events: none;
}

.ambient-left {
  width: 470px;
  height: 470px;

  left: -110px;
  bottom: -280px;

  background: rgba(112, 72, 255, 0.2);
}

.ambient-right {
  width: 520px;
  height: 520px;

  right: -130px;
  bottom: -300px;

  background: rgba(48, 81, 255, 0.16);
}

.bottom-glow {
  position: absolute;
  z-index: 1;

  left: 16%;
  right: 16%;
  bottom: -70px;

  height: 140px;

  pointer-events: none;

  background:
    radial-gradient(
      ellipse at center,
      rgba(84, 64, 255, 0.22) 0%,
      rgba(84, 64, 255, 0.07) 38%,
      rgba(84, 64, 255, 0) 72%
    );

  filter: blur(12px);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 20;

  opacity: 0;
  transform: translate(-50%, 16px);

  pointer-events: none;

  padding: 11px 15px;

  border: 1px solid rgba(130, 106, 255, 0.35);
  border-radius: 9px;

  background: rgba(7, 10, 25, 0.95);
  color: #e1e3ef;

  font-size: 13px;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Tablet */
@media (max-width: 900px) {
  .content {
    width: min(790px, 94vw);
    padding-bottom: 76px;
  }

  h1 {
    font-size: clamp(72px, 12vw, 108px);
  }

  .tagline {
    margin-top: 34px;
    font-size: 17px;
  }

  .skills {
    margin-top: 30px;
    gap: 10px;
  }

  .skill {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  .intro {
    margin-top: 30px;
  }

  .actions {
    margin-top: 28px;
  }

  .socials {
    margin-top: 28px;
  }
}

/* Phone */
@media (max-width: 560px) {
  .hero {
    min-height: 100svh;
    align-items: flex-start;
  }

  .content {
    width: 100%;
    max-width: 390px;
    padding: 44px 18px 58px;
  }

  .terminal {
    width: 48px;
    height: 36px;
    margin-bottom: 18px;
  }

  h1 {
    font-size: 48px;
    line-height: 1;
  }

  .tagline {
    margin-top: 25px;
    padding: 0 8px;

    font-size: 13px;
    line-height: 1.65;
  }

  .skills {
    width: 304px;
    margin: 24px auto 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 11px;
  }

  .skill {
    min-height: 46px;
    font-size: 12px;
  }

  .skill:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 158px;
  }

  .intro {
    margin-top: 29px;
    padding: 0 16px;
  }

  .intro p {
    font-size: 12px;
    line-height: 1.75;
  }

  .actions {
    width: 304px;
    margin: 25px auto 0;

    flex-direction: column;
    gap: 12px;
  }

  .button {
    width: 100%;
    height: 42px;
    font-size: 12px;
  }

  .socials {
    margin-top: 16px;
    gap: 20px;
  }

  .socials a {
    width: 19px;
    height: 19px;
  }

  .bottom-glow {
    left: 6%;
    right: 6%;
    bottom: -55px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 43px;
  }

  .skills,
  .actions {
    width: 286px;
  }
}
