:root {
  --profile-main: #1e60ee;
  --profile-bg: #0a0a0f;
  --profile-card: rgba(28, 30, 38, 0.75);
  --profile-card-border: rgba(255, 255, 255, 0.06);
  --profile-text: #f2f2f2;
  --profile-muted: #9ca3af;
  --profile-secondary: #2a2d36;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--profile-bg);
  color: var(--profile-text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

#backgroundVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

.profile-wrapper {
  width: 100%;
  max-width: 820px;
  padding: 48px;
}

.profile-card {
  background: var(--profile-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--profile-card-border);
  border-radius: 26px;
  padding: 56px 52px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.profile-main {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 36px;
}

.profile-avatar {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-username {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--profile-text);
  margin-bottom: 6px;
}

.profile-username-handle {
  font-size: 1.05rem;
  color: var(--profile-muted);
  margin-bottom: 6px;
}

.profile-tech {
  font-size: 1.05rem;
  color: var(--profile-main);
  margin-bottom: 4px;
}

.profile-joined {
  font-size: 0.95rem;
  color: var(--profile-muted);
}

.profile-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 520px) {
  .profile-cards-grid {
    grid-template-columns: 1fr;
  }
}

.profile-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
  transition: opacity 0.2s;
}

.profile-card-link:hover {
  opacity: 0.9;
}

.profile-secondary-block {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--profile-secondary);
  border-radius: 16px;
  padding: 18px 22px;
  height: 100%;
}

.profile-secondary-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-secondary-info {
  flex: 1;
  min-width: 0;
}

.profile-secondary-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--profile-text);
}

.profile-secondary-platform {
  font-size: 0.9rem;
  color: var(--profile-muted);
}

#enterOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 999;
  cursor: pointer;
  transition: opacity 1s ease;
}
#enterOverlay:hover {
  color: var(--profile-main);
}
#enterOverlay.hidden {
  opacity: 0;
  pointer-events: none;
}
#content {
  transition: opacity 0.6s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
}
#content.hidden-content {
  opacity: 0;
  pointer-events: none;
}
#volumeControl {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
}
