* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #fff;
  background: radial-gradient(circle at 50% 42%, #173452 0%, #091522 43%, #030711 100%);
  min-height: 100vh;
}

#particles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  opacity: .35;
  animation: particleAnimation 4s infinite ease-in-out;
}

@keyframes particleAnimation {
  0%, 100% { opacity: .2; transform: scale(1); }
  50% { opacity: .9; transform: scale(1.7); }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: linear-gradient(rgba(3, 7, 17, .9), transparent);
}

.brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #cbd8e6;
}

.music-button {
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 9px 14px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 11px;
  transition: background 0.2s;
}

.music-button:active {
  transform: scale(.95);
}

main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 15px 40px;
  position: relative;
  z-index: 1;
}

.stage {
  width: 100%;
  max-width: 1100px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ring {
  display: none;
  position: absolute;
  width: 390px;
  height: 390px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}

.ring::after {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 50%;
}

.center {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 15px;
  z-index: 3;
}

.center::before {
  content: "";
  position: absolute;
  inset: -15px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(75,165,255,.18);
}

.profile-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  background: #d9dee5;
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
  animation: photoFloat 5s ease-in-out infinite;
}

.avatar-head {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  left: 50%;
  top: 25px;
  transform: translateX(-50%);
  background: #b5bec9;
}

.avatar-body {
  position: absolute;
  width: 110px;
  height: 70px;
  border-radius: 60px 60px 0 0;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  background: #b5bec9;
}

.profile-placeholder span {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  color: #596575;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

@keyframes photoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.identity {
  position: relative;
  z-index: 4;
  text-align: center;
  margin-bottom: 25px;
}

.identity h1 {
  margin: 0 0 5px;
  font-size: 22px;
}

.identity p {
  margin: 0;
  color: #a9bcd0;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Container adaptável para Mobile (Grid Layout) */
.bubbles-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 500px;
  margin-bottom: 25px;
  z-index: 5;
}

.bubble {
  width: 100%;
  min-height: 60px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(145deg, rgba(23,53,83,.95), rgba(10,23,39,.97));
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.55), inset 0 1px rgba(255,255,255,.08);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  animation: bubbleFloat 5s ease-in-out infinite;
  text-align: center;
}

.bubble small {
  display: block;
  margin-top: 4px;
  color: #9fb9d2;
  font-size: 8px;
  font-weight: 400;
}

.bubble-1 { animation-delay: 0s; }
.bubble-2 { animation-delay: -1.2s; }
.bubble-3 { animation-delay: -2.4s; }
.bubble-4 { animation-delay: -3.6s; }
.bubble-5 { animation-delay: -.7s; }
.bubble-6 { animation-delay: -1.9s; }
.bubble-7 { animation-delay: -3s; }
.bubble-8 { animation-delay: -4.1s; }

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.bubble:hover {
  transform: scale(1.05);
  border-color: rgba(120,190,255,.65);
  box-shadow: 0 20px 45px rgba(0,0,0,.7), 0 0 35px rgba(70,160,255,.18);
}

.bubble:active {
  transform: scale(0.98);
}

.hint {
  color: #8ea5bc;
  font-size: 10px;
  text-align: center;
}

/* Modal Overlay */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: rgba(2,6,14,.88);
  backdrop-filter: blur(8px);
}

.overlay.open {
  display: flex;
}

.modal {
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(145deg, #10243b, #07111d);
  box-shadow: 0 30px 90px rgba(0,0,0,.8);
  animation: modalAnimation .3s ease;
}

@keyframes modalAnimation {
  from { opacity: 0; transform: scale(.94) translateY(15px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.close-button {
  float: right;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eyebrow {
  color: #72bcff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.modal h2 {
  font-size: 24px;
  margin: 7px 0 15px;
}

.modal p, .modal li {
  color: #b7c6d7;
  line-height: 1.7;
  font-size: 14px;
}

.socials {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: rgba(255,255,255,.05);
  color: #fff;
  text-decoration: none;
  transition: .25s;
}

.social:hover {
  transform: translateX(5px);
  background: rgba(255,255,255,.09);
}

.social-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255,255,255,.08);
  font-size: 20px;
  font-weight: 700;
}

.social small {
  display: block;
  margin-top: 3px;
  color: #9eb1c4;
  font-size: 11px;
}

.arrow {
  margin-left: auto;
  color: #7fc4ff;
  font-size: 19px;
}

.social.disabled {
  opacity: .55;
  cursor: default;
}

/* --- Media Queries: Layout Orbital para Telas Maiores (Desktop / Tablet) --- */
@media (min-width: 768px) {
  .stage {
    height: 680px;
  }

  .ring {
    display: block;
  }

  .center {
    position: absolute;
    width: 190px;
    height: 190px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-bottom: 0;
  }

  .center::before {
    inset: -22px;
    box-shadow: 0 0 70px rgba(75,165,255,.18);
  }

  .avatar-head {
    width: 64px;
    height: 64px;
    top: 35px;
  }

  .avatar-body {
    width: 130px;
    height: 90px;
    bottom: 14px;
  }

  .profile-placeholder span {
    font-size: 9px;
  }

  .identity {
    position: absolute;
    left: 50%;
    top: calc(50% + 110px);
    transform: translateX(-50%);
    white-space: nowrap;
    margin-bottom: 0;
  }

  .identity h1 {
    font-size: 24px;
  }

  .bubbles-container {
    display: block;
    position: static;
    max-width: none;
    margin-bottom: 0;
  }

  .bubble {
    position: absolute;
    width: 125px;
    min-height: 62px;
  }

  .bubble-1 { top: 4%; left: 50%; transform: translateX(-50%); }
  .bubble-2 { top: 18%; right: 8%; }
  .bubble-3 { top: 48%; right: 0; }
  .bubble-4 { bottom: 12%; right: 12%; }
  .bubble-5 { bottom: 1%; left: 50%; transform: translateX(-50%); }
  .bubble-6 { bottom: 12%; left: 12%; }
  .bubble-7 { top: 48%; left: 0; }
  .bubble-8 { top: 18%; left: 8%; }

  .hint {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}