/* Reset & Base */
* {
  box-sizing: border-box;
}

body {
  background: #0d0d0d;
  color: white;
  margin: 0;
  font-family: 'Nippo', sans-serif;
  font-weight: 400;
}

h1, h2, .bio, .title {
  font-weight: 500; /* or 600 if you added the fake 600 alias above */
}

.location {
  font-weight: 400;
  margin-bottom: 16px;
}

.name {
  margin-top: 1px;
  margin-bottom: 1px;
}

.verified-icon {
  width: 18px;
  height: 18px;
  margin-left: 2px;
  margin-bottom: 3px;
  vertical-align: middle;
}

.subtext {
  font-weight: 600;
  font-size: 32px;
}

.tagline {
  font-weight: 400;
}

.tagline-extra {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 450;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  position: relative;
  /* Gradient text */
  background: linear-gradient(90deg, #ffc2ea, #ff80c2, #ffc2ea);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Single, smooth animation for both text + glow */
  animation: gradientShift 6s linear infinite;
  will-change: background-position;
}

/* The glow: a blurred duplicate that follows the same gradient sweep */
.tagline-extra::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffc2ea, #ff80c2, #ffc2ea);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* match timing exactly so it looks “attached” */
  animation: gradientShift 6s linear infinite;

  /* the glow itself */
  filter: blur(8px);
  opacity: 0.6;
  pointer-events: none; /* never capture clicks */
  will-change: background-position, filter;
}

/* Shared sweep */
@keyframes gradientShift {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Optional: trim blur on mobile to keep it extra smooth */
@media (max-width: 600px) {
  .tagline-extra::after {
    filter: blur(6px);
    opacity: 0.55;
  }
}


/* Banner with image and curve */
.banner {
  position: relative;
  width: 100%;
  height: 440px; /* You can adjust this */
  overflow: hidden;
}
.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/files/completelynewbanner.png?v=2') no-repeat center center;
  background-size: cover;

  /* This cuts a transparent curve at the bottom */
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 99.5%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 99.5%, transparent 100%);
  -webkit-mask-position: bottom;
  mask-position: bottom;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

    z-index: 1;
}

.banner-dropshadow {
  position: absolute;
  top: 0; /* aligned with banner */
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;

  /* Same curve shape as banner */
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, rgb(24, 24, 24) 99.5%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, rgb(24, 24, 24) 99.5%, transparent 100%);
  -webkit-mask-position: bottom;
  mask-position: bottom;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  /* Apply blur on the shadow */
  background: black;
  filter: blur(16px); /* This gives a soft shadow effect */
  opacity: 0.2;
  transform: translateY(4px); /* Push it slightly downward */
}

/* Profile Card */
.profile-card {
  background: #1a1a1a;
  width: 90%;
  max-width: 850px;
  margin: -220px auto 2rem auto;
  padding: 2rem;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 600px) {
  .profile-card {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin-top: -60px;
    padding-left: 0;
    padding-right: 0;
  }

  .banner-curve {
    display: none;
  }

  .banner {
    height: 126px;
  }

  .banner-image {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-mask-position: initial !important;
  mask-position: initial !important;
  -webkit-mask-repeat: initial !important;
  mask-repeat: initial !important;
  }
}

/* Avatar, Text, Socials */
.avatar {
  width: 180px;             /* increased from 120px */
  height: 180px;
  border-radius: 50%;       /* forces it into a perfect circle */
  margin-top: -80px;        /* adjusts how far it pops out of the card */
  margin-bottom: 12px;
  border: 2px solid #1a1a1a;
  background-color: #0d0d0d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  object-fit: cover;        /* ensures it fills the circle cleanly */
}

@media screen and (max-width: 600px) {
  .avatar {
    width: 130px;
    height: 130px;
    margin-top: -40px;
  }
}

.location {
  font-size: 1rem; /* or your original styling */
  font-family: 'Nippo', sans-serif;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 6px; /* optional: space between icon and text */
  justify-content: center;
}

.location-icon {
  width: 18px;
  height: 18px;
}

.bio {
  color: #89b4fa;
  margin: 0.5rem 0 1rem 0;
  font-size: 16px;
}

.tagline {
  margin-top: 1rem;
  color: white;
  line-height: 1.5;
  font-size: 1rem;
}

.email-btn {
  background: #3b82f6;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  color: white;
  cursor: pointer;
}

/* ------------------------ Email Button Styling ------------------------ */

.cta,
.cta * {
  font-family: 'Nippo', sans-serif;
}

.cta {
  display: inline-flex;
  padding: 8px 24px;
  font-size: 16px;
  color: white;
  background: #3b82f6;
  transition: 1s;
  box-shadow: 6px 6px 0 black;
  transform: skewX(-15deg);
  border: none;
  cursor: pointer;
  margin: 1.5rem auto;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.cta:focus {
  outline: none;
}

.cta:hover {
  transition: 0.5s;
  box-shadow: 10px 10px 0 #fbc638;
}

.cta .second {
  transition: 0.5s;
  margin-right: 0px;
}

.cta:hover .second {
  transition: 0.5s;
  margin-right: 15px;
}

.span {
  transform: skewX(15deg);
  position: relative;
  top: -0.5px;            /* lift text slightly */
}

.second {
  width: 20px;
  margin-left: 10px;    /* reduce gap from 30px */
  position: relative;
  top: 3px;             /* align arrow vertically */
}

.one {
  transition: 0.4s;
  transform: translateX(-60%);
}

.two {
  transition: 0.5s;
  transform: translateX(-30%);
}

.cta:hover .three {
  animation: color_anim 1s infinite 0.2s;
}

.cta:hover .one {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.6s;
}

.cta:hover .two {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.4s;
}

.cta img.icon {
  width: 18px;
  height: 18px;
  transform: skewX(15deg);
  margin-right: 8px;
  color: white;
  position: relative;
  top: -0.5px;
}


@keyframes color_anim {
  0% {
    fill: white;
  }

  50% {
    fill: #fbc638;
  }

  100% {
    fill: white;
  }
}

/* -------------------- End Of Email Button Styling -------------------- */

.inquiry-note {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
}
.inquiry-note a {
  color: #ccc;
  text-decoration: none;
}
.inquiry-note a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 600px) {
  .name {
    font-size: 1.25rem;
  }

  .subtext {
    font-size: 1.15rem;
  }

  .tagline {
    font-size: 0.85rem;
  }

  .bio {
    font-size: 14px;
  }

  .location {
    font-size: 0.9rem;
  }

  .email-btn,
  .cta {
    font-size: 14px;
    padding: 6px 18px;
  }

  .cta {
    font-size: 12px;
    padding: 5px 14px;
    box-shadow: 3px 3px 0 black;
  }

  .cta .second {
    width: 14px;
    margin-left: 5px;
    top: 1.5px;
  }

  .cta img.icon {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    top: -0.5px;
  }

  .inquiry-note {
    font-size: 0.75rem;
  }
}


.socials-circles {
  display: flex;
  flex-wrap: wrap;
  padding: 0 12px;
  justify-content: center;
  gap: 0.5rem;
}

.socials-circles img {
  width: 42px;
  height: 42px;
  background: #222;
  padding: 4px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s;
}

.socials-circles a:hover img {
  transform: scale(1.1);
  background: #3b82f6;
}



/* Sections & Layout */
h2 {
  text-align: center;
  font-size: 1.5rem;
  color: #FFC2EA;
  margin-bottom: 1rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.section {
  margin-bottom: 2.5rem;
}

/* Link Cards */
.link-pair {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 2rem;
  row-gap: 2.25rem;
  margin-bottom: 1rem;
}

.link-card {
  background-color: #1a1a1a;
  border-radius: 2px;
  padding: 1.3rem 1rem 1.3rem 5rem;
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  cursor: pointer;
  z-index: 2;
  text-decoration: none;
  color: inherit;    
}

.link-card.half,
.link-card.full {
  padding-left: 5rem; /* add space for the icon */
}

.link-card:hover {
  transform: none;
}

.link-card.half {
  width: calc(50% - 1rem);
}

.link-card.full {
  width: 100%;
  margin-bottom: 1rem;
}

.link-icon {
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #1f1f2f;
  padding: 5px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.link-text {
  margin-left: -0.75rem;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 600px) {
  .link-card {
    padding: 0.85rem 0.75rem 0.85rem 3.25rem;
    border-radius: 2px;
  }

  .link-card.half,
  .link-card.full {
    padding-left: 3.25rem;
  }

  .link-icon {
    width: 54px;
    height: 54px;
    margin-left: 32px;
  }

  .link-text {
    margin-left: -0.7rem;
  }

  .title {
    font-size: 0.9rem;
  }

  .subtext {
    font-size: 0.7rem;
  }

  .link-pair {
    column-gap: 1rem;
    row-gap: 1.5rem;
  }
}

@media screen and (max-width: 600px) {
  h2 {
    font-size: 1.25rem !important;
    margin-bottom: 0.75rem !important;
  }
}

.title {
  font-weight: 600;
  font-size: 1rem;
}

.subtext {
  font-size: 0.85rem;
  color: #999;
  margin-top: 4px;
}

.footer {
  text-align: center;
  color: #999;
  padding: 2rem 1rem;
  font-size: 0.875rem;
}

/* Responsive */
@media screen and (max-width: 600px) {
  .link-card.half {
    width: 100%;
  }

  .link-icon {
    left: -32px;
  }

  .link-text {
    margin-left: 0;
  }
}

.link-card {
  position: relative;
}

.link-arrow {
  width: 12px; /* Smaller size */
  height: auto;
  margin-left: auto;
  margin-right: 8px;  /* pull it slightly in from the edge */
  transition: transform 0.3s ease;
}

.link-card:hover .link-arrow {
  transform: translateX(6px);
}

@media screen and (max-width: 600px) {
  .link-arrow {
    width: 8px; /* Even smaller on mobile */
  }
}

.verified-wrapper {
  position: relative;
  display: inline-block;
}

.verified-tooltip {
  position: absolute;
  bottom: 110%; /* closer to the icon */
  left: 50%;
  transform: translateX(-50%);
  background-color: #222;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;  /* makes the text thinner */
  white-space: nowrap;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.verified-wrapper:hover .verified-tooltip {
  visibility: visible;
  opacity: 1;
}

/* === Fallback + Video Background === */
body {
  background-color: #0e0e0e;
  color: white;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -100; /* Push it way behind the banner */
  pointer-events: none;
}

/* ===== SONIC THEME SCROLLBAR (Chrome/Edge/Brave) ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0e0e0e; /* dark background */
}

::-webkit-scrollbar-thumb {
  background: radial-gradient(circle, #ffd700 30%, #ffcc00 70%, #cc9900 100%);
  border-radius: 10px;
  border: 2px solid #0e0e0e;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0070ff, #00c3ff); /* hover glow */
}

/* For horizontal scrollbars (if ever needed) */
::-webkit-scrollbar-corner {
  background: #0e0e0e;
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #1e90ff #0e0e0e; /* thumb color | track color */
}

.glow-ring {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  margin-left: 16px;
  transition: transform 0.3s ease;
}

.link-card:hover .glow-ring {
  transform: translate(-50%, calc(-50% - 6px));
}

.glow-ring::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 999px;
  background: conic-gradient(#ff0000, #a30000); /* fallback gradient */
  animation: spin 6s linear infinite;
  z-index: -1;
  filter: blur(6px);
  opacity: 0.7;
}

/* Fix icon size & spacing */
.link-icon {
  border-radius: 999px;
  background-color: #1f1f2f;
  object-fit: contain;
}

@media screen and (max-width: 600px) {
  .glow-ring {
    margin-left: 20px;
    width: 54px;
    height: 54px;
  }
  .glow-ring::before {
    width: 50;
    height: 50;
  }
}

/* Rotation animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.pulse-ring::after {
  /* only these will get the pulse */
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(65, 138, 255, 0.301);
  z-index: -2;
  animation: pulse 2.2s ease-out infinite;
  pointer-events: none;
}



@media screen and (max-width: 600px) {
  .glow-ring::after {
    width: 54px;
    height: 54px;
  }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.5); /* was 2 */
    opacity: 0.08;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.7); /* was 2.3 */
    opacity: 0;
  }
}



.glow-ring.youtube::before {
  background: conic-gradient(#ff0000, #a30000);
}

.glow-ring.discord::before {
  background: conic-gradient(#5865F2, #8b5cf6);
}

.glow-ring.behance::before {
  background: conic-gradient(#1769ff, #0f3b7c);
}

.glow-ring.spotify::before {
  background: conic-gradient(#1DB954, #065d37);
}

.glow-ring.twitter::before {
  background: conic-gradient(#808080, #4d4d4d);
}

.glow-ring.instagram::before {
  background: conic-gradient(#f09433, #bc1888);
}

.glow-ring.twitch::before {
  background: conic-gradient(#9146FF, #4b00a9);
}

.glow-ring.tiktok::before {
  background: conic-gradient(#69C9D0, #ee1d52);
}

.glow-ring.bluesky::before {
  background: conic-gradient(#007aff, #0051a3);
}

.glow-ring.ko-fi::before {
  background: conic-gradient(#73a4f2, #5a81bf);
}

.glow-ring.card::before {
  background: conic-gradient(#6e68a9, #4c4875);
}

.glow-ring.namemc::before {
  background: conic-gradient(#808080, #4d4d4d);
}



.glow-ring.youtube .pulse-ring {
  background: #ff0000;
}

.glow-ring.discord .pulse-ring {
  background: #5865F2;
}

.glow-ring.behance .pulse-ring {
  background: #1769ff;
}

.glow-ring.spotify .pulse-ring {
  background: #1DB954;
}

.glow-ring.twitter .pulse-ring {
  background: #1DA1F2;
}

.glow-ring.instagram .pulse-ring {
  background: #f09433;
}

.glow-ring.twitch .pulse-ring {
  background: #9146FF;
}

.glow-ring.tiktok .pulse-ring {
  background: #69C9D0;
}

.glow-ring.bluesky .pulse-ring {
  background: #007aff;
}

.glow-ring.ko-fi .pulse-ring {
  background: #ff5e5b;
}

.glow-ring.card .pulse-ring {
  background: #ffc2ea;
}

.glow-ring.namemc .pulse-ring {
  background: #00c3ff;
}


@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up.profile-card {
  opacity: 100;
  animation: fadeUp 1.4s ease-out forwards;
  animation-delay: 0.2s;
}

.fade-up {
  opacity: 0;
  animation: fadeUp 1.4s ease-out forwards;
  animation-delay: 0.2s;
}

.slide-down {
  opacity: 95;
  animation: slideDown 2s ease-out forwards;
}


/* ===== Top Loader (full-width bar) ===== */
.top-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;                 /* span full width */
  height: 3px;              /* thin bar */
  background: rgb(44, 44, 44);
  z-index: 10000;           /* above banner/video */
  overflow: hidden;
  pointer-events: none;
  transform: translateZ(0);
  opacity: 1;
  transition: opacity 300ms ease-out;
}

/* Fade it out when the page is ready */
body.loaded .top-loader {
  opacity: 0;
  transition: opacity 300ms ease-out 1s; /* add 1s delay */
}


.top-loader .black_overlay {
  background: linear-gradient(
    87deg,
    rgb(0, 0, 0) 0%,
    rgba(0, 0, 0, 0.14) 30%,
    rgba(0, 0, 0, 0.14) 70%,
    rgb(0, 0, 0) 100%
  );
  position: absolute;
  inset: 0;
}

/* The moving cyan sweep */
.top-loader .light {
  width: 900px;
  height: 100%;
  position: absolute;
  left: -30%;
  top: 0;
  background: linear-gradient(
    87deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 204, 255) 40%,
    rgb(0, 204, 255) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  animation: loaderSweep 1s infinite ease-in-out;
  filter: drop-shadow(0 0 6px #00eaff); /* glow effect */
}

.top-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #00ccff;
  filter: blur(8px);
  opacity: 0.4;
  pointer-events: none;
}


@keyframes loaderSweep {
  from { left: -30%; }
  to   { left: 100%; }
}

/* Optional: avoid notch overlap on iOS */
@supports (padding: env(safe-area-inset-top)) {
  .top-loader { top: env(safe-area-inset-top, 0); }
}
