body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('background.gif') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rectangle {
  width: 600px; 
  height: 420px;
  border-radius: 20px; 
  background: rgba(255, 255, 255, 0.1); 
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.avatar-section {
  display: flex;
  align-items: center;
  padding: 12px; 
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.avatar {
  width: 110px;
  height: 110px; 
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  margin-right: 12px; 
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info {
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.name {
  font-size: 32px; 
  font-weight: bold;
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
  margin: 0;
}

.description {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
  margin: 5px 0 0;
  display: flex;
  align-items: center;
}

.bio-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 10px 0 0;
  font-style: italic;
}

.links-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 400px;
}

.link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.link-card:hover::before {
  left: 100%;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.link-card i {
  font-size: 24px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.link-card span {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.link-card:hover i {
  transform: scale(1.2);
}

.youtube:hover {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.3), rgba(255, 0, 0, 0.1));
  border-color: #ff0000;
}

.instagram:hover {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.3), rgba(225, 48, 108, 0.1));
  border-color: #e1306c;
}

.tiktok:hover { background: linear-gradient(135deg,rgba(0,0,0,.30),rgba(0,0,0,.10)); border-color: #000000; }







.footer-text {
  text-align: center;
  margin-top: 10px;
  padding: 8px 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.footer-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.8s;
}

.footer-text:hover::before {
  left: 100%;
}

.footer-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer-text:hover .footer-icon {
  transform: scale(1.1);
  opacity: 1;
}

.separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 4px;
  font-weight: 300;
}

.achievement:hover {
  background: linear-gradient(45deg, #e5e5e5, #ffffff);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.cursor {
  font-weight: bold;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .rectangle {
    width: 90%;
    height: auto;
    min-height: 420px;
  }
  
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .avatar {
    width: 80px;
    height: 80px;
  }
  
  .name {
    font-size: 24px;
  }
  
  .description {
    font-size: 18px;
  }
}
* { box-sizing: border-box; }
body { min-height:100svh; height:auto; overflow:auto; }
.container { min-height:100svh; padding:28px 18px; }
.rectangle { width:640px; height:auto; min-height:460px; border:1px solid #ffffff30; }
.avatar-section { padding-right:70px; }
.visitor-counter { position:absolute; top:27px; right:26px; display:flex; align-items:center; gap:7px; color:#fff; background:#ffffff18; border:1px solid #ffffff40; border-radius:999px; padding:7px 11px; font-size:12px; font-variant-numeric:tabular-nums; }
.links-section { flex:none; margin-bottom:14px; }
.links-grid { grid-template-columns:repeat(3,1fr); }
.music-player { width:100%; max-width:400px; margin:0 auto 12px; padding:15px 17px 12px; border-radius:18px; border:1px solid #ffffff45; background:linear-gradient(135deg,#ffffff33,#ffffff12); color:white; box-shadow:0 8px 25px #00000014; backdrop-filter:blur(14px); }
.track-row { display:flex; align-items:center; gap:12px; }
.record { position:relative; flex:0 0 46px; width:46px; height:46px; border-radius:50%; display:grid; place-items:center; overflow:hidden; border:1px solid #ffffff50; box-shadow:0 3px 9px #0005; background:repeating-radial-gradient(circle at center,#151515 0 1px,#303030 1px 2px,#171717 2px 3px); animation:record-spin 5s linear infinite; animation-play-state:paused; }
.record::before { content:''; position:absolute; inset:0; border-radius:50%; background:conic-gradient(from 30deg,transparent,#ffffff28 35deg,transparent 70deg,transparent 180deg,#ffffff20 215deg,transparent 250deg); }
#track-cover { width:36px; height:36px; border-radius:50%; object-fit:cover; object-position:68% 53%; position:relative; border:1px solid #ddd; }
.record-hole { position:absolute; width:4px; height:4px; border-radius:50%; background:#151515; border:1px solid #ccc; left:calc(50% - 2px); top:calc(50% - 2px); }
.playing .record { animation-play-state:running; }
@keyframes record-spin { to { transform:rotate(360deg); } }
.track-info { display:flex; flex:1; min-width:0; flex-direction:column; gap:5px; }
.track-info strong { font-size:13px; font-weight:600; letter-spacing:.7px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.track-info span { font-size:10px; letter-spacing:1.4px; color:#ffffffa6; }
.music-player input { accent-color:white; cursor:pointer; }
#seek { display:block; width:100%; height:3px; margin:15px 0 7px; }
.time-row { display:flex; justify-content:space-between; font-size:9px; color:#ffffffb0; font-variant-numeric:tabular-nums; letter-spacing:1px; }
.player-controls { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; margin-top:5px; }
.music-player button { display:grid; place-items:center; border:0; color:white; background:transparent; cursor:pointer; width:32px; height:34px; padding:7px; border-radius:9px; font-size:15px; transition:background .2s; }
.music-player button:hover { background:#ffffff20; }
.music-player button:focus-visible,.music-player input:focus-visible { outline:2px solid white; outline-offset:3px; }
.transport,.volume-controls { display:flex; align-items:center; gap:6px; }
.volume-controls { gap:0; }
#volume { width:42px; height:3px; }
#play { width:38px; height:38px; background:#ffffff19; }
.status-dot { justify-self:end; width:5px; height:5px; border-radius:50%; background:#ffffff70; }
.playing .status-dot { background:white; box-shadow:0 0 9px #fff8; }
.music-bars { display:flex; flex:0 0 38px; align-items:flex-end; justify-content:space-between; width:38px; height:22px; overflow:hidden; opacity:.65; }
.music-bars span { display:block; flex:0 0 6px; width:6px; height:5px; background:currentColor; animation:equalizer-wave 1s ease-in-out infinite; animation-play-state:paused; }
.music-bars span:nth-child(1) { animation-duration:.93s; animation-delay:-.12s; }
.music-bars span:nth-child(2) { animation-duration:1.17s; animation-delay:-.67s; }
.music-bars span:nth-child(3) { animation-duration:.81s; animation-delay:-.39s; }
.music-bars span:nth-child(4) { animation-duration:1.07s; animation-delay:-.84s; }
.playing .music-bars span { animation-play-state:running; }
@keyframes equalizer-wave { 0%,100% { height:4px; } 20% { height:17px; } 40% { height:8px; } 60% { height:22px; } 80% { height:11px; } }
.skip-icon { display:block; width:24px; height:24px; }
.music-player button:has(.skip-icon) { width:38px; height:38px; padding:7px; }
.playing .music-bars { opacity:1; }
#player-status { margin:8px 0 0; font-size:11px; line-height:1.5; color:#fffd; }
@media(max-width:480px) { .rectangle { width:100%; padding:16px; } .avatar-section { padding:22px 0 0; margin-bottom:22px; } .avatar { width:66px; height:66px; } .name { font-size:26px; } .description { font-size:14px; } .visitor-counter { top:12px; right:13px; font-size:10px; padding:4px 8px; } .links-grid { gap:8px; } .footer-text { padding:10px; } .footer-text p { font-size:10px; } }
@media(prefers-reduced-motion:reduce) { .cursor { animation:none; } .rectangle,.link-card { transition:none; } }

.track-row { min-width:0; width:100%; overflow:hidden; }
.track-info { flex:1 1 0; overflow:hidden; }
.track-info span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.music-player { overflow:hidden; }
.rectangle { min-height:0; }

/* Full-screen entrance: the entire background is blurred until activation. */
body.entry-locked { overflow:hidden; }
.entry-gate { position:fixed; inset:0; z-index:1000; width:100%; height:100%; min-height:100svh; margin:0; padding:24px; display:flex; align-items:center; justify-content:center; border:0; border-radius:0; color:white; font:inherit; cursor:pointer; background:rgba(20,20,20,.22); -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px); opacity:1; transition:opacity .5s ease, backdrop-filter .5s ease; }
.entry-prompt { font-size:clamp(18px,3vw,25px); font-weight:500; letter-spacing:1.2px; text-align:center; text-shadow:0 2px 20px rgba(0,0,0,.4); transition:transform .3s ease; }
.entry-gate:hover .entry-prompt { transform:scale(1.03); }
.entry-gate:focus-visible { outline:none; }
.entry-gate:focus-visible .entry-prompt { outline:2px solid white; outline-offset:12px; border-radius:4px; }
.entry-gate.is-open { opacity:0; -webkit-backdrop-filter:blur(0); backdrop-filter:blur(0); pointer-events:none; }
.entry-gate[hidden] { display:none; }
@media(prefers-reduced-motion:reduce) { .entry-gate,.entry-prompt { transition:none; } }
