/* ==========================================
   FONTS
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
  --bg-dark: #0a0000;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.5);
  --accent-red: #cc0000;
}

/* ==========================================
   RESET
   ========================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(180deg, 
    #dd0000 0%, 
    #bb0000 10%, 
    #880000 22%, 
    #550000 35%, 
    #2a0000 50%, 
    #150000 65%, 
    #0a0000 80%, 
    #050000 100%
  );
  background-attachment: fixed;
}

/* ==========================================
   PARTICLES
   ========================================== */
.particles-container {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 100, 100, 0.35);
  border-radius: 50%;
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ==========================================
   CURSOR GLOW
   ========================================== */
.cursor-glow {
  position: fixed;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 50, 50, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 3;
  transform: translate(-50%, -50%);
}

/* ==========================================
   LOADING
   ========================================== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: #0a0000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(204, 0, 0, 0.2);
  border-top-color: #cc0000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ==========================================
   MAIN CONTENT
   ========================================== */
.main-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 28px 60px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s ease 0.3s forwards;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   PROFILE COLUMN (image + disc overlay)
   ========================================== */
.profile-col {
  flex-shrink: 0;
  position: relative;
  width: 180px;
  /* Extra bottom space for disc overlap */
  padding-bottom: 40px;
}

.profile-image-container {
  width: 180px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  background: #555;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.profile-image-container:hover .profile-image {
  transform: scale(1.04);
}

/* ==========================================
   DISC (vinyl record) - overlapping avatar
   ========================================== */
.disc-wrapper {
  position: absolute;
  bottom: 0;
  left: -10px;
  z-index: 5;
  width: 70px;
  height: 70px;
  cursor: pointer;
}

/* Pulse rings around disc */
.disc-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.disc-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.disc-ring.ring-2 {
  inset: -14px;
  border-color: rgba(255, 255, 255, 0.04);
}

.disc-wrapper:hover .disc-ring,
.disc-wrapper.playing .disc-ring {
  opacity: 1;
}

.disc-wrapper.playing .disc-ring.ring-1 {
  animation: ring-pulse 2s ease-in-out infinite;
}

.disc-wrapper.playing .disc-ring.ring-2 {
  animation: ring-pulse 2s ease-in-out infinite 0.5s;
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.06); }
}

/* The disc itself */
.disc {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.4s ease;
}

.disc-wrapper.playing .disc {
  animation: spin-disc 4s linear infinite;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 0 20px rgba(230, 57, 70, 0.3),
    0 0 40px rgba(230, 57, 70, 0.15);
}

@keyframes spin-disc {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.disc-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Vinyl hole in center */
.disc-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #1a0000;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  z-index: 3;
}

/* Vinyl groove rings */
.disc-grooves {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: 
    radial-gradient(circle, 
      transparent 18%, 
      rgba(0, 0, 0, 0.15) 19%, 
      transparent 20%,
      transparent 30%, 
      rgba(0, 0, 0, 0.1) 31%, 
      transparent 32%,
      transparent 42%, 
      rgba(0, 0, 0, 0.08) 43%, 
      transparent 44%
    );
  z-index: 2;
  pointer-events: none;
}

/* ==========================================
   HERO INFO
   ========================================== */
.hero-info {
  flex: 1;
  min-width: 0;
}

.hero-greeting {
  font-family: 'UnifrakturMaguntia', serif;
  font-size: 1.75rem;
  color: #ffffff;
  line-height: 1.15;
}

.hero-name {
  font-family: 'UnifrakturMaguntia', serif;
  font-size: 1.75rem;
  color: #ffffff;
  line-height: 1.15;
}

.hero-bio {
  font-size: 0.77rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-top: 5px;
  margin-bottom: 2px;
}

.hero-detail-label {
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 2px;
}

.hero-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

.hero-list li {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================
   MUSIC PLAYER AREA - below disc
   ========================================== */
.music-player-area {
  padding-left: 20px;
  margin-top: -8px;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.7s ease 0.55s forwards;
}

.music-player-inner {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 220px;
}

.song-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-bar-wrapper {
  width: 110px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.progress-bar-wrapper:hover {
  height: 5px;
}

.progress-bar-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.progress-bar-wrapper:hover .progress-bar-fill::after {
  transform: translateY(-50%) scale(1);
}

.play-btn-small {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 2px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.play-btn-small:hover {
  transform: scale(1.25);
  color: #ff6666;
}

/* ==========================================
   FLOATING CONTROLS (bottom-right)
   ========================================== */
.hidden-controls {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  padding: 8px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.5s ease 1.2s forwards;
}

.ctrl-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.2s ease;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ctrl-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.ctrl-btn.play-main {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #cc0000, #ff3333);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(204, 0, 0, 0.4);
}

.ctrl-btn.play-main:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #cc0000, #ff3333);
}

.volume-mini-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  opacity: 0;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.volume-mini-wrapper:hover .volume-slider {
  width: 55px;
  opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  background: #cc0000;
  border-radius: 50%;
  cursor: pointer;
}

.time-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* ==========================================
   DIVIDER
   ========================================== */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  margin: 50px 0 36px;
}

/* ==========================================
   JOBS SECTION
   ========================================== */
.jobs-section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s ease 0.8s forwards;
}

.section-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 22px;
  color: #ffffff;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.job-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(15, 3, 3, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.job-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #cc0000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.job-card:hover {
  background: rgba(30, 8, 8, 0.7);
  border-color: rgba(204, 0, 0, 0.12);
  transform: translateX(5px);
}

.job-card:hover::after {
  opacity: 1;
}

.job-card-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  min-width: 70px;
  flex-shrink: 0;
}

.job-card-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.4;
  flex: 1;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  text-align: center;
  padding: 36px 0 16px;
  opacity: 0;
  animation: fadeInUp 0.7s ease 1s forwards;
}

.footer-text {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-heart {
  color: #cc0000;
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ==========================================
   SCROLL REVEAL
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 640px) {
  .hero-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-col {
    width: 160px;
  }

  .profile-image-container {
    width: 160px;
    height: 175px;
  }

  .hero-greeting, .hero-name {
    font-size: 1.4rem;
  }

  .hero-list {
    text-align: left;
  }

  .main-content {
    padding: 28px 16px 50px;
  }

  .section-heading {
    font-size: 1.6rem;
  }

  .hidden-controls {
    bottom: 10px;
    right: 10px;
    padding: 6px 10px;
  }

  .disc-wrapper {
    left: -5px;
  }
}
