/* ── FONTS ── */
@font-face { font-family:'Aeonik'; src:url('assets/fonts/Aeonik-Pro-Thin.ttf') format('truetype'); font-weight:100; font-display:swap; }
@font-face { font-family:'Aeonik'; src:url('assets/fonts/Aeonik-Pro-Light.ttf') format('truetype'); font-weight:300; font-display:swap; }
@font-face { font-family:'Aeonik'; src:url('assets/fonts/Aeonik-Pro-Regular.ttf') format('truetype'); font-weight:400; font-display:swap; }
@font-face { font-family:'Aeonik'; src:url('assets/fonts/Aeonik-Pro-Bold.ttf') format('truetype'); font-weight:700; font-display:swap; }
@font-face { font-family:'Aeonik'; src:url('assets/fonts/Aeonik-Pro-Black.ttf') format('truetype'); font-weight:900; font-display:swap; }

/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  font-family: 'Aeonik', system-ui, sans-serif;
  color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── BACKGROUND ── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url('assets/images/bg.webp') center top / cover no-repeat;
}

/* ── LAYOUT ── */
header {
  position: fixed;
  top: 32px;
  left: 40px;
  z-index: 10;
  animation: fadeDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

main {
  position: fixed;
  inset: 0;
  z-index: 2;
}

/* ── WORDMARK ── */
.wordmark {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.5px;
  color: white;
  text-shadow: 0 1px 16px rgba(0,0,0,0.25);
}

/* ── HERO ── */
.hero {
  position: absolute;
  left: 7%;
  top: 50%;
  max-width: 400px;
  animation: fadeUpCenter 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.hero-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero h1 {
  font-size: clamp(28px, 3.2vw, 50px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.8px;
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.15);
}

.hero p {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  max-width: 300px;
}

/* ── GLASS BUBBLE ── */
.glass-bubble {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(28px) saturate(1.8) brightness(1.1);
  -webkit-backdrop-filter: blur(28px) saturate(1.8) brightness(1.1);
  border: 1px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.14),
    inset 0 1px 0 rgba(255,255,255,0.28);
  cursor: pointer;
  user-select: none;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.glass-bubble:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.22);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.32);
}

.glass-bubble:active {
  transform: scale(0.91);
  transition-duration: 0.08s;
}

.glass-bubble img { width: 22px; height: 22px; }
.glass-bubble svg { width: 22px; height: 22px; stroke: white; stroke-width: 1.75; }

/* ── FLOATING ACTIONS ── */
.float-action {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.float-action > span {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  letter-spacing: -0.1px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.poke {
  top: 12%;
  right: 14%;
  animation: fadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.message {
  top: 37%;
  left: 40%;
  animation: fadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* ── ACTIVITY CARD ── */
.activity-card {
  position: absolute;
  bottom: 7%;
  right: 27%;
  width: 345px;
  background: rgba(8, 6, 4, 0.58);
  backdrop-filter: blur(50px) saturate(1.6) brightness(0.88);
  -webkit-backdrop-filter: blur(50px) saturate(1.6) brightness(0.88);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 28px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow:
    0 24px 72px rgba(0,0,0,0.36),
    inset 0 1px 0 rgba(255,255,255,0.09);
  animation: fadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

/* ── CARD TOP ── */
.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ski-tile {
  width: 110px;
  height: 110px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ski-icon {
  width: 62px;
  height: 62px;
  filter: invert(1);
  opacity: 0.88;
}

.card-info { flex: 1; }

.card-info h2 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -2.2px;
  line-height: 1;
  margin-bottom: 10px;
}

.user-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  flex-shrink: 0;
}

.username {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
}

/* ── PILLS ── */
.pills {
  display: flex;
  gap: 7px;
}

.pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 100px;
  padding: 10px 8px;
  font-size: 12px;
  font-family: 'Aeonik', sans-serif;
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  user-select: none;
  transition:
    transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.15s ease;
}

.pill:hover {
  transform: scale(1.06);
  background: rgba(255,255,255,0.12);
}

.pill:active {
  transform: scale(0.93);
  transition-duration: 0.08s;
}

.pill svg {
  width: 13px;
  height: 13px;
  stroke: rgba(255,255,255,0.58);
  flex-shrink: 0;
  stroke-width: 1.75;
}

/* ── JOIN BUTTON ── */
.join-btn {
  width: 100%;
  padding: 15px 24px;
  border-radius: 100px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  color: white;
  font-family: 'Aeonik', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.2px;
  cursor: pointer;
  user-select: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  transition:
    transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.15s ease;
}

.join-btn:hover {
  transform: scale(1.02);
  background: rgba(255,255,255,0.23);
}

.join-btn:active {
  transform: scale(0.97);
  transition-duration: 0.08s;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUpCenter {
  from { opacity: 0; transform: translateY(calc(-50% + 18px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
