:root{
  --text:#fff;
  --muted:#9a9a9a;
  --bubble: rgba(0,0,0,0.35);
  --stroke: rgba(255,255,255,0.18);
  --hover: rgba(0,0,0,0.52);
  --shadow: rgba(0,0,0,0.55);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

@keyframes pageFadeIn{
  from{ opacity:0; transform: translateY(6px); }
  to{ opacity:1; transform: translateY(0); }
}

body{
  margin:0;
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background-color:#000;
  background-image:url("Assets/Images/ODY.png");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:contain;

  opacity:0;
  animation: pageFadeIn 650ms ease-out forwards;
}

.app{ min-height:100%; }

.cluster{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 70px; /* sits above the footer */
  width: min(460px, 92vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "top top"
    "left right"
    "bottom bottom";
  gap: 16px 18px;
  justify-items: center;
  align-items: center;
  z-index: 2;
  padding: 0 6px;
}

.bubble{
  width: 75px;
  height: 75px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--bubble);
  box-shadow: 0 12px 28px var(--shadow);
  text-decoration: none;
  color: var(--text);

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

  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.bubble:hover{
  background: var(--hover);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.28);
}
.bubble:active{
  transform: translateY(0) scale(0.98);
}

.icon{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  opacity: 0.95;
}
.icon svg{
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.name{
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.spotify{ grid-area: top; }
.youtube{ grid-area: left; }
.tiktok{ grid-area: right; }
.instagram{ grid-area: bottom; }

.site-footer{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12px;
  text-align: center;
  z-index: 2;
  padding: 0 12px;
}
.site-footer a{
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.2px;
}
.site-footer a:active,
.site-footer a:hover{ text-decoration: underline; }

/* Mobile sizing */
@media (max-width: 420px){
  .bubble{ width: 62px; height: 62px; }
  .icon, .icon svg{ width: 30px; height: 30px; }
  .name{ font-size: 15px; }
  .cluster{ gap: 14px 14px; bottom: 66px; }
}
@media (max-width: 340px){
  .bubble{ width: 56px; height: 56px; }
  .name{ font-size: 14px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  body{ animation: none; opacity: 1; }
  .bubble{ transition: none; }
}
