/* ================================================================
   global.css — Gedeelde stijl voor alle pagina's 60 Seconds FM
   Laad dit als LAATSTE CSS link (vlak voor </head>)
   ================================================================ */

/* Fonts */
body, button, input, select, textarea {
  font-family: 'Manrope', sans-serif !important;
}

h1, h2, h3, h4,
.stat-value, .section-title, .page-title,
[class*="title"], [class*="heading"] {
  font-family: 'Space Grotesk', 'Manrope', sans-serif !important;
}

/* Achtergrond — wint van alle pagina CSS */
html {
  background-color: #000000 !important;
}

html body {
  background-color: #000000 !important;
  background-image:
    linear-gradient(180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0) 40%,
      rgba(0,0,0,0.65) 65%,
      rgba(0,0,0,1) 85%
    ),
    url("../../icons/background-radio.jpg") !important;
  background-size: 100% 100vh, 100% 100vh !important;
  background-position: top center, top center !important;
  background-repeat: no-repeat, no-repeat !important;
  background-attachment: scroll, scroll !important;
  color: #f5f5f5 !important;
}

html body::before,
html body::after {
  display: none !important;
  opacity: 0 !important;
  content: none !important;
}

/* Header: transparant zoals index pagina */
.header-wrap {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  z-index: 125 !important;
  background: transparent !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Content padding voor fixed header */
.site-shell,
.page-wrap,
[class*="page-wrap"],
[class*="content-wrap"] {
  padding-top: 82px !important;
}

@media (max-width: 768px) {
  /* Index: ruimte behouden */
  .site-shell,
  [class*="content-wrap"] {
    padding-top: 68px !important;
  }
  /* Overige pagina's: dichter bij header */
  body.page-other .site-shell {
    padding-top: 24px !important;
  }
}

/* Coins badge: identiek aan index pagina */
.currency-badge {
  position: fixed !important;
  top: 14px !important;
  left: 18px !important;
  width: 180px !important;
  z-index: 130 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 40px !important;
  padding: 0 10px !important;
  border-radius: 12px !important;
  border: none !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

.currency-badge-icon {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}

.currency-badge-value {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-family: 'Space Grotesk', sans-serif !important;
}

.currency-store-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  background: rgba(255,255,255,0.055) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08) !important;
  transition: transform 0.15s ease, border-color 0.18s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

.currency-store-btn:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(245,200,75,0.55) !important;
  background: rgba(245,200,75,0.09) !important;
}

.currency-plus-icon {
  width: 14px !important;
  height: 14px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
  opacity: 0.85 !important;
  display: block !important;
}

/* Containers: glass stijl */
.auth-card,
.panel-card,
.hero-card,
.dashboard-card,
.store-card,
.store-hero-card,
.store-balance-card,
.empty-card,
.playlist-card,
.stat-card,
.notification-card,
.track-card {
  background: rgba(255,255,255,0.055) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-top: 1px solid rgba(255,255,255,0.18) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 8px 32px rgba(0,0,0,0.28) !important;
}

/* Form inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
textarea,
select {
  background: rgba(255,255,255,0.055) !important;
  border: 1px solid rgba(255,255,255,0.13) !important;
  color: #f5f5f5 !important;
  border-radius: 12px !important;
  font-family: 'Manrope', sans-serif !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(245,200,75,0.45) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(245,200,75,0.12) !important;
}

/* Badges */
.badge, .pill, .tag,
[class*="-badge"]:not(.currency-badge):not(.currency-badge-icon):not(.currency-badge-value),
[class*="-pill"] {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  color: rgba(255,255,255,0.70) !important;
  border-radius: 999px !important;
  font-family: 'Space Grotesk', sans-serif !important;
}

/* Coins: voorkom dat algemene badge-stijlen een container op icon/waarde zetten */
.currency-badge,
.currency-badge-icon,
.currency-badge-value {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }
::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.25); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,175,55,0.45); }

/* Mobiel: coins in relatieve positie */
@media (max-width: 768px) {
  .currency-badge {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
  }
}


/* Sidebar icon white style start */

.sidebar * svg,
.sidebar * svg path,
.sidebar * i {
    color: #B0B0B0 !important;
    fill: #B0B0B0 !important;
    stroke: #B0B0B0 !important;
    filter: none;
    transition: all 0.2s ease;
}

.sidebar * svg:hover,
.sidebar * svg:hover path,
.sidebar * i:hover {
    color: #f5c84b !important;
    fill: #f5c84b !important;
    stroke: #f5c84b !important;
    filter: none;
}

/* Sidebar icon white style end */

/* ================================================================
   Header logo — consistent op alle pagina's
   ================================================================ */

/* Header — geen glass, alle pagina's */
.header-bar {
  position: relative !important;
  min-height: 96px !important;
}

/* Logo + slogan gecentreerd op volledig scherm */
.header-center {
  position: absolute !important;
  left: 70px !important;
  right: -70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
}

.header-center > * {
  pointer-events: auto !important;
}

.header-logo-link {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  gap: 3px !important;
  margin-top: 5px !important;
}

.header-logo-link:hover {
  opacity: 0.85 !important;
}

.header-logo {
  display: block !important;
  width: 126px !important;
  height: auto !important;
  object-fit: contain !important;
}

.header-slogan {
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
}

/* Mobiel: reset naar gewone flow */
@media (max-width: 768px) {
  .header-center {
    position: relative !important;
    left: auto !important;
    right: auto !important;
  }
  .header-logo {
    width: 110px !important;
  }
}


/* ================================================================
   MOBILE ONLY — alle aanpassingen onder 768px
   Desktop wordt NIET aangeraakt
   ================================================================ */
@media (max-width: 768px) {

  /* --- Glass header --- */
  .header-bar {
    background: rgba(8, 8, 8, 0.35) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    min-height: 72px !important;
    padding: 10px 12px !important;
  }

  /* --- Minder ruimte onder header: alle pagina's --- */
  .site-shell .page-wrap,
  .page-wrap {
    margin-top: 0 !important;
  }

  /* Community col: zelfde breedte als radio --- */
  .content-layout {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
  }

  .community-col {
    position: static !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  .community-col .news-feed-section,
  .community-col .top-supporters-section,
  #newsFeedSection,
  #topSupportersSection {
    width: 100% !important;
    margin: 0 0 16px 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Gap between artist spotlight and community col (same as between sections) */
  .community-col {
    margin-top: 16px !important;
  }

  /* --- Logo gecentreerd --- */
  .header-center {
    position: static !important;
    left: auto !important;
    right: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    pointer-events: auto !important;
  }

  .header-logo-link {
    margin-top: 0 !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3px !important;
  }

  .header-logo {
    width: 100px !important;
  }

  /* --- Coins links boven (fixed op vaste positie in header) --- */
  .header-left {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  /* Currency badge: fixed maar links boven in header */
  #currencyBadge {
    position: fixed !important;
    top: 16px !important;
    left: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 4px 10px 4px 8px !important;
    min-height: 36px !important;
    border-radius: 10px !important;
    background: rgba(212, 175, 55, 0.12) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    z-index: 200 !important;
  }

  /* --- Account menu: glass stijl, geen zwart --- */
  .account-menu {
    background: rgba(18, 16, 10, 0.55) !important;
    backdrop-filter: blur(24px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    border-radius: 18px !important;
  }

  /* --- Logout: verberg het icoon --- */
  #logout .icon {
    display: none !important;
  }
}

/* ================================================================
   Coins badge: verborgen tenzij expliciet ingelogd (alle pagina's)
   ================================================================ */
#currencyBadge {
  display: none !important;
}

body.is-authenticated #currencyBadge {
  display: inline-flex !important;
}
