/*
Theme Name: Chelly Link Hub
Theme URI: https://creaturehiitv.com
Author: CreatureHiiTV
Description: Mobile-first link-in-bio theme for CreatureHiiTV.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

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

html, body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #000;
  color: #fff;
}

/* ── Background ── */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.site-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* ── Main Container ── */
.site-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px 20px 60px;
  position: relative;
  z-index: 1;
}

.link-container {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ── Logo ── */
.site-logo {
  width: 72px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 8px;
}

/* ── Profile Image ── */
.profile-image {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
}

/* ── Link Buttons ── */
.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: center;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.link-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.link-btn:active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.28);
}

/* ── Spotify Embed ── */
.spotify-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.spotify-wrap iframe {
  display: block;
  width: 100%;
  border: none;
  border-radius: 12px;
}

/* ── Spotify Fallback Link ── */
.spotify-fallback {
  display: none;
}

/* If embed fails to load, user can show fallback via noscript or manual toggle */

/* ── Responsive ── */
@media (max-width: 380px) {
  .site-wrapper {
    padding: 30px 16px 50px;
  }

  .profile-image {
    width: 110px;
    height: 110px;
  }

  .site-logo {
    width: 60px;
  }

  .link-btn {
    font-size: 15px;
    padding: 12px 20px;
    min-height: 48px;
  }
}

@media (min-width: 768px) {
  .site-wrapper {
    padding: 60px 20px 80px;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }
}
