/**
 * profile-core.css - Core profile page styles (CSP-compliant)
 * Extracted from inline styles in profile-head.ejs
 */

/* === Box Sizing Reset === */
*, *::before, *::after {
  box-sizing: border-box;
}

/* === HTML & Body Baseline === */
html, body {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

::-webkit-scrollbar {
  display: none;
}

/* === Background Video Container === */
.bg-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

/* === Custom Audio Player === */
.custom-audio {
  width: 100%;
  height: 40px;
  border-radius: 20px;
  margin-top: 0.5rem;
}

/* === Cursor Trail Dots === */
.cursor-trail-dot {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.8;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* === Profile Scaler === */
#profileScaler {
  width: 100%;
  display: flex;
  justify-content: center;
  transform-origin: top center;
}

/* === Display Images Grid === */
.display-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.display-image-item {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* === Spotify Embed === */
.spotify-embed-container {
  width: 100%;
  margin-bottom: 0.5rem;
}

/* === Steam Status Dot === */
.steam-status-dot {
  width: 12px;
  height: 12px;
  background-color: #3b82f6;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* === Steam Badge === */
.steam-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(23, 26, 33, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 0.85rem;
  color: white;
  cursor: help;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, background 0.2s;
}

.steam-badge:hover {
  transform: translateY(-2px);
  background: rgba(23, 26, 33, 0.95);
}

.steam-badge.vac-banned {
  color: #ff4c4c;
  border-color: rgba(255, 76, 76, 0.3);
}

.steam-badge.currently-playing {
  color: #66c0f4;
  border-color: rgba(102, 192, 244, 0.3);
}

/* === Carousel Container === */
.carousel-container {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) rgba(0, 0, 0, 0.2);
}

.carousel-container::-webkit-scrollbar {
  height: 6px;
  display: block;
}

.carousel-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.carousel-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.carousel-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* === Steam Sticky Footer === */
.steam-sticky-footer {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
  font-size: 0.8rem;
  color: #ccc;
  cursor: default;
}

/* Event Disclaimer Footer */
.event-disclaimer-footer {
    position: fixed;
    left: 0;
    width: 100%;
    padding: 10px;
    text-align: center;
    background: var(--card-bg, rgba(20, 20, 20, 0.95));
    border-top: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    z-index: 99;
    backdrop-filter: blur(10px);
}

.event-disclaimer-text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-main, #fff);
    font-weight: bold;
}