* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { cursor: none; }

a, button, .banner, .music-widget, .enter-btn {
  cursor: none !important;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0a0a0f;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #fff;
  overflow-x: hidden;
  padding: 20px 20px 120px;
}

body.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

input, textarea, select { cursor: text; }

#particles {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

.cursor-circle {
  position: fixed;
  top: 0; left: 0;
  width: 15px; 
  height: 15px;
  background: #cccccc;
  border: 2px solid #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  
  transition: width .2s ease-out, height .2s ease-out; 
  will-change: transform;
  
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 
              inset 0 0 5px rgba(255, 255, 255, 0.8);
}

.cursor-circle.cursor-hover {
  width: 25px; 
  height: 25px;
}

@media (pointer: coarse) {
  html, body { cursor: auto; }
  .cursor-circle { display: none; }
  input, textarea { cursor: auto; }
}

.enter-screen {
  position: fixed; inset: 0; z-index: 5000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s ease, transform .7s ease;
}
.enter-screen.hidden { opacity: 0; transform: scale(1.05); pointer-events: none; }
.enter-bg { position: absolute; inset: 0; background: radial-gradient(circle at center, #1a1a2e 0%, #0a0a0f 70%); z-index: -1; }
.enter-content { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px; }
.enter-avatar {
  width: 130px; height: 130px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--accent, #a855f7);
  box-shadow: 0 0 60px var(--accent, #a855f7);
  animation: floaty 3s ease-in-out infinite;
}
.enter-avatar.placeholder { display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 700; background: var(--accent, #a855f7); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.enter-name { font-size: 1.8rem; letter-spacing: .5px; }
.enter-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; background: var(--accent, #a855f7); border: none;
  border-radius: 999px; color: #fff; font-size: 1rem; font-weight: 700;
  cursor: none; transition: all .25s; 
  box-shadow: 0 0 40px color-mix(in srgb, var(--accent, #a855f7) 50%, transparent);
}
.enter-btn:hover { 
  transform: scale(1.06); 
  box-shadow: 0 0 60px color-mix(in srgb, var(--accent, #a855f7) 80%, transparent); 
}
.enter-btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 0.7rem; }
.enter-hint { font-size: .85rem; color: #888; letter-spacing: .3px; }

.card {
  position: relative; z-index: 1; width: 100%; max-width: 420px;
  padding: 32px 24px; background: rgba(15, 15, 25, 0.65);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px;
  text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.profile-card { animation: fadeUp .8s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.avatar {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--accent, #a855f7);
  box-shadow: 0 0 30px var(--accent, #a855f7); margin-bottom: 16px;
}
.avatar.placeholder { display: flex; align-items: center; justify-content: center; font-size: 2.5rem; font-weight: 700; background: var(--accent, #a855f7); margin: 0 auto 16px; }

h1 { font-size: 1.6rem; margin-bottom: 8px; letter-spacing: .5px; }
h3 { font-size: 1.1rem; text-align: left; }
.bio { color: #bbb; font-size: .95rem; margin-bottom: 24px; line-height: 1.5; }

.banners { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }

.banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px 12px 12px;
  border-radius: 24px;
  text-decoration: none;
  color: #fff;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  overflow: hidden;
  min-height: 80px;
}

.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 0;
}

.banner:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.banner > * { position: relative; z-index: 1; }

.banner-avatar-wrap { position: relative; flex-shrink: 0; }
.banner-avatar {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
}

.status-circle {
  position: absolute;
  bottom: 0px; right: 0px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #747f8d; border: 3px solid #1a1a1a;
}

.banner-content {
  flex: 1; text-align: left;
  display: flex; flex-direction: column; justify-content: center;
}

.banner-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.banner-name { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.3px; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }

.banner-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(4px);
  padding: 2px 8px; border-radius: 12px;
  font-size: 0.75rem; font-weight: 600; color: #eee;
  border: 1px solid rgba(255,255,255,0.1);
}

.banner-status { font-size: 0.85rem; color: #b5bac1; font-style: italic; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }

.dc-status-inline {
  font-size: 0.85rem;
  color: #b5bac1;
  font-style: italic;
  font-weight: normal;
  margin-left: 2px;
}

.banner-disabled { cursor: default; }
.banner-disabled:hover {
  transform: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

.music-widget {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
  background: rgba(15,15,25,0.85); backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 999px;
  cursor: none; z-index: 10; transition: all .25s; min-width: 240px;
}
.music-widget:hover { 
  border-color: var(--accent, #a855f7); 
  box-shadow: 0 0 25px color-mix(in srgb, var(--accent, #a855f7) 40%, transparent); 
}
.music-widget.playing { border-color: var(--accent, #a855f7); }
.music-icon {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: var(--accent, #a855f7); border-radius: 50%; font-size: 0.7rem; flex-shrink: 0;
}
.music-info { text-align: left; overflow: hidden; }
.music-title { font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.music-hint { font-size: 0.75rem; color: #888; }

body:not(.has-custom-cursor) { cursor: auto; }
body:not(.has-custom-cursor) .btn { cursor: pointer; }

input, textarea {
  width: 100%; padding: 12px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  color: #fff; font-family: inherit; font-size: .95rem;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent, #a855f7); }
label { text-align: left; font-size: .85rem; color: #aaa; margin-bottom: -6px; }

.btn {
  padding: 12px 20px; background: var(--accent, #a855f7); border: none; border-radius: 10px;
  color: #fff; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block;
  transition: opacity .2s;
}
.btn:hover { opacity: .85; }

.flash { padding: 10px; border-radius: 8px; margin-bottom: 12px; }
.flash.error { background: rgba(220,38,38,.2); color: #fca5a5; }
.flash.ok    { background: rgba(34,197,94,.2); color: #86efac; }

@media (max-width: 600px) {
  .music-widget { min-width: unset; }
  .enter-avatar { width: 100px; height: 100px; }
  .enter-name { font-size: 1.4rem; }
}