/* ===================== GLOBAL RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #0d1128;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #ffffff;
}

/* ===================== DESKTOP BACKGROUND ===================== */
#desktop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 140, 255, 0.38) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(200, 0, 255, 0.28) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 220, 255, 0.20) 0%, transparent 60%),
    linear-gradient(145deg, #0a0d2a 0%, #141533 50%, #1e0a38 100%);
  z-index: 0;
}

/* Sottile griglia futuristica */
#desktop::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Scritta segreta dietro la finestra */
.desktop-secret-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 12vw, 9rem);
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.16);
  text-shadow: 0 0 50px rgba(0, 220, 255, 0.4), 0 0 20px rgba(255, 0, 255, 0.2);
  user-select: none;
  pointer-events: none;
  z-index: 1;
  letter-spacing: -0.02em;
  transition: opacity 0.4s ease, text-shadow 0.5s ease, letter-spacing 0.5s ease;
}
.desktop-secret-text.revealed {
  color: rgba(255, 255, 255, 0.82) !important;
  text-shadow: 0 0 80px rgba(0, 220, 255, 0.9), 0 0 40px rgba(255, 0, 255, 0.6), 0 0 120px rgba(0,255,200,0.4) !important;
  letter-spacing: 0.05em;
}

/* Elementi fluttuanti luminosi */
.desk-star {
  position: fixed;
  width: 120px; height: 120px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  filter: blur(40px);
  opacity: 0.6;
  animation: floatOrb 6s ease-in-out infinite;
}
.desk-star:nth-child(2) { top: 15%; left: 5%; background: #00ffff; animation-delay: 0s; }
.desk-star:nth-child(3) { top: 40%; right: 5%; background: #ff00ff; animation-delay: 1.5s; }
.desk-star:nth-child(4) { top: 65%; left: 8%; background: #00ff88; animation-delay: 3s; }
@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.1); }
}

/* ===================== MAIN WINDOW ===================== */
#main-window {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100vw - 30px);
  height: calc(100vh - 30px);
  max-width: 1550px;
  z-index: 10;
  display: flex;
  flex-direction: column;

  background: rgba(18, 24, 55, 0.45);
  backdrop-filter: blur(40px) saturate(2.2);
  -webkit-backdrop-filter: blur(40px) saturate(2.2);

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.58);
  border-left: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;

  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 25px 70px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(0, 150, 255, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

/* Riflesso glossy superiore */
#main-window::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 50.1%
  );
  pointer-events: none;
  z-index: 5;
}

/* ===================== WINDOW TITLE BAR ===================== */
#window-titlebar {
  flex-shrink: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: linear-gradient(180deg,
    rgba(240, 245, 255, 0.25) 0%,
    rgba(180, 200, 240, 0.15) 50%,
    rgba(140, 160, 200, 0.1) 50.1%,
    rgba(100, 130, 180, 0.15) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 6;
  cursor: default;
  user-select: none;
}

.titlebar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.titlebar-icon { font-size: 1.2rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); flex-shrink: 0; }
.titlebar-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  overflow: hidden;
  text-overflow: ellipsis;
}
.titlebar-clock {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #b0e2ff;
  text-shadow: 0 0 10px rgba(0,200,255,0.6);
  white-space: nowrap;
}

/* macOS Window Buttons */
.aero-btns { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.aero-btn {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 1px 2px rgba(0,0,0,0.2);
  transition: filter 0.15s;
}
.aero-btn:hover { filter: brightness(1.2); }
.aero-btn.close { background: radial-gradient(circle at 50% 35%, #ff5f56, #e0443e); }
.aero-btn.min   { background: radial-gradient(circle at 50% 35%, #ffbd2e, #dea123); }
.aero-btn.max   { background: radial-gradient(circle at 50% 35%, #27c93f, #1a9c2b); }

/* ===================== TICKER BAR ===================== */
#ticker-bar {
  flex-shrink: 0;
  background: linear-gradient(90deg, rgba(255, 0, 180, 0.45), rgba(140, 0, 255, 0.45));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 0;
  position: relative;
  z-index: 6;
}
#ticker-bar .ticker {
  font-family: 'Syne', sans-serif;
  display: inline-block;
  animation: ticker-move 30s linear infinite;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.1em;
  padding-right: 80px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
@keyframes ticker-move {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ===================== INNER SCROLLABLE CONTENT ===================== */
#window-content {
  flex: 1;
  overflow-y: scroll;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
  scroll-behavior: smooth;
  background: rgba(12, 16, 38, 0.15);
}

/* SCROLLBAR */
#window-content::-webkit-scrollbar { width: 10px; }
#window-content::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.03); }
#window-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
#window-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  background-clip: padding-box;
}
#window-content::-webkit-scrollbar-button { display: none; }

/* ===================== INNER NAV ===================== */
.inner-nav {
  position: sticky;
  top: 15px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 6px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(25px) saturate(1.5);
  -webkit-backdrop-filter: blur(25px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  margin: 15px auto;
  width: max-content;
  max-width: calc(100% - 30px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.2);
}
.inner-nav a {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}
.inner-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.inner-nav a:active { transform: scale(0.95); }

/* ===================== HERO ===================== */
#hero {
  min-height: calc(85vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  perspective: 350px;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.15;
}
.hero-grid-inner {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 220, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 220, 255, 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: rotateX(60deg);
  transform-origin: bottom center;
  animation: gridMove 4s linear infinite;
}
@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 60px; }
}

.hero-eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #00ffca;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0,255,202,0.4);
  opacity: 0;
  animation: fadeIn 0.6s 0.3s forwards;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeIn 0.6s 0.5s forwards;
}
.hero-title .line-1 {
  display: block;
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(0, 220, 255, 0.3);
}
.hero-title .line-2 {
  display: block;
  background: linear-gradient(135deg, #ff00ff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 20px rgba(255, 0, 255, 0.2));
}

.hero-sub {
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  font-weight: 300;
  color: #cbdcf0;
  letter-spacing: 0.03em;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeIn 0.6s 0.7s forwards;
}
.hero-sub span { font-weight: 600; color: #ffffff; }

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 0.6s 0.9s forwards;
  margin-bottom: 2.5rem;
}

.btn-primary {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  min-width: 160px;
  text-align: center;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.4);
  background: linear-gradient(180deg, rgba(0, 220, 255, 0.6) 0%, rgba(0, 100, 255, 0.6) 100%);
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 8px 24px rgba(0, 100, 255, 0.3), inset 0 1px 1px rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 100, 255, 0.5), inset 0 1px 2px rgba(255,255,255,0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  min-width: 160px;
  text-align: center;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0); }

.hero-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 0.6s 1.1s forwards;
  margin-bottom: 2rem;
}
.social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}
.social-link:hover {
  transform: translateY(-3px) scale(1.12);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.social-link:active { transform: translateY(0) scale(1); }
.social-link svg { width: 18px; height: 18px; fill: #ffffff; display: block; }

.hit-counter {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #a4b3c6;
  opacity: 0;
  animation: fadeIn 0.6s 1.3s forwards;
}
.hit-counter span {
  display: inline-block;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 4px 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #00ffca;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  animation: fadeIn 0.6s 1.5s forwards;
  margin-top: 1.5rem;
}
.scroll-indicator span {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.2em;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

/* ===================== GRADIENT LINE ===================== */
.h-line {
  height: 2px;
  background: linear-gradient(90deg, #00ffff, #ff00ff, #00ff88, #00ffff);
  background-size: 200% 100%;
  animation: rainbowShift 3s linear infinite;
}
@keyframes rainbowShift { 0%{background-position:0% 0%} 100%{background-position:200% 0%} }

/* ===================== SECTIONS ===================== */
section { position: relative; }
.section-inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
  text-align: center;
}

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #ff00ff;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #ffffff 30%, #a0c0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===================== PREMIUM GLASS CONTAINER ===================== */
.glass-window {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(30px) saturate(1.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  box-shadow:
    0 15px 35px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.2);
  overflow: hidden;
  margin: 0 auto 1.5rem auto;
  position: relative;
  max-width: 900px;
  text-align: center;
}

.glass-window::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
  pointer-events: none;
}

.glass-titlebar {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.glass-titlebar-text {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.glass-titlebar-text::before { content: '📁'; font-size: 0.8rem; opacity: 0.7; }
.glass-btns { display: flex; gap: 6px; }
.glass-btn { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }

.glass-body { padding: 1.8rem; }
.glass-body p {
  font-size: 0.95rem;
  font-weight: 300;
  color: #cbdcf0;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.glass-body p strong { font-weight: 600; color: #ffffff; }

/* ABOUT */
#about { background: linear-gradient(180deg, rgba(5,7,22,0) 0%, rgba(10,14,35,0.4) 100%); }

/* TEAM */
#team { background: rgba(10,14,35,0.2); }
.team-glass { max-width: 640px; margin: 0 auto; }
.team-card-body { padding: 1.8rem; display: flex; flex-direction: column; gap: 1.2rem; align-items: center; text-align: center; }
.team-avatar {
  width: 84px; height: 84px; min-width: 84px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  position: relative;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 202, 0.45);
  animation: avatarPulse 2.5s ease-in-out infinite;
}
@keyframes avatarPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.07); }
}
.team-name { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.2rem; color: #ffffff; }
.team-role { font-family: 'Syne', sans-serif; font-size: 0.8rem; font-weight: 700; color: #00ffca; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.6rem; }
.team-bio { font-size: 0.9rem; font-weight: 300; color: #a4b3c6; line-height: 1.6; }

/* WORKS / DISCOGRAPHY */
#works { background: rgba(5,7,22,0.3); }
.video-wrapper {
  margin: 0 auto 2.5rem auto;
  max-width: 950px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 20px 45px rgba(0,0,0,0.5);
}
.video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: 10px;
}
.video-dot-row { display: flex; gap: 6px; flex-shrink: 0; }
.video-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.video-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.video-label.status { flex-shrink: 0; }
.video-iframe-wrap { aspect-ratio: 16/9; background: #000; }
.video-iframe-wrap iframe { width: 100%; height: 100%; display: block; border: none; }

.works-label { font-family: 'Syne', sans-serif; font-size: 0.8rem; font-weight: 700; color: #ff00ff; text-transform: uppercase; letter-spacing: 0.5em; margin-bottom: 1.5rem; text-align: center; }

/* Works Grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  text-align: left;
}
.work-card {
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  will-change: transform;
  transform-style: preserve-3d;
}
.work-card:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35), 0 0 24px rgba(0,220,255,0.18);
}
.work-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
  transition: filter 0.3s ease;
}
.work-card-info { padding: 1rem; }
.work-year { font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 700; color: #00ffca; margin-bottom: 0.2rem; }
.work-title { font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 700; color: #ffffff; line-height: 1.4; margin-bottom: 0.2rem; }
.work-label { font-size: 0.8rem; font-weight: 400; color: #8292a6; }

/* CONTACT */
#contact { background: linear-gradient(180deg, rgba(5,7,22,0.2) 0%, rgba(3,4,12,0.6) 100%); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.contact-text { text-align: left; }
.contact-text p { color: #a4b3c6; line-height: 1.7; margin-bottom: 1.5rem; font-size: 1rem; font-weight: 300; }

.contact-form { width: 100%; }
.contact-form .glass-window { max-width: 100%; margin: 0; }
.form-group { margin-bottom: 1.2rem; text-align: left; }
.form-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}
.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}
.form-input:focus {
  border-color: rgba(0, 220, 255, 0.5);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 12px rgba(0, 220, 255, 0.15);
}
textarea.form-input { resize: none; height: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

#form-success {
  display: none;
  padding: 12px;
  background: rgba(0, 200, 100, 0.15);
  border: 1px solid rgba(0, 255, 100, 0.3);
  border-radius: 8px;
  color: #00ff88;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  margin-top: 1rem;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(3, 4, 12, 0.4);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.footer-copy { font-size: 0.8rem; font-weight: 400; color: #64758a; }
.footer-copy strong { color: #ffffff; font-weight: 500; }
.footer-tagline { font-family: 'Syne', sans-serif; font-size: 0.8rem; font-weight: 700; color: #00ffca; }

/* ===================== STATUS BAR ===================== */
#status-bar {
  flex-shrink: 0;
  height: 26px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  gap: 1.5rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeIn { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

/* Window Close / Open Animations */
@keyframes windowClose {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  30%  { opacity: 0.6; transform: translate(-50%, -52%) scale(0.97); }
  100% { opacity: 0; transform: translate(-50%, -44%) scale(0.88); }
}
@keyframes windowOpen {
  0%   { opacity: 0; transform: translate(-50%, -44%) scale(0.88); }
  60%  { opacity: 0.9; transform: translate(-50%, -51%) scale(1.01); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
#main-window.closing {
  animation: windowClose 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}
#main-window.reopening {
  animation: windowOpen 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* ===================== FLOATING MUSIC NOTES ===================== */
.music-note {
  position: fixed;
  font-size: 1.2rem;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  animation: floatNote var(--dur, 8s) ease-in-out var(--delay, 0s) infinite;
  user-select: none;
}
@keyframes floatNote {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg) scale(0.8); }
  10%  { opacity: 0.35; }
  50%  { opacity: 0.25; transform: translateY(-60px) rotate(15deg) scale(1); }
  90%  { opacity: 0.15; }
  100% { opacity: 0; transform: translateY(-120px) rotate(30deg) scale(0.7); }
}

/* ===================== GLOW BADGE latest release ===================== */
.works-latest-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(255,0,255,0.18), rgba(0,220,255,0.18));
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 4px 14px;
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 12px rgba(0,220,255,0.2);
}
.works-latest-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00ffca;
  box-shadow: 0 0 8px #00ffca;
  animation: badgeBlink 1.2s ease-in-out infinite;
}
@keyframes badgeBlink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ===================== SPARKLE TRAIL ===================== */
.sparkle {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 8px; height: 8px; border-radius: 50%;
  background: #ffffff;
  animation: sparkleAnim 0.6s ease-out forwards;
}
@keyframes sparkleAnim {
  0%{opacity:1;transform:scale(1) translateY(0);}
  100%{opacity:0;transform:scale(0) translateY(-20px);}
}

/* ==========================================================================
   Responsive & Smartphone Breakpoints
   ========================================================================== */
@media (max-width: 768px) {
  #main-window {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    top: 0; left: 0;
    transform: none;
    border: none;
  }

  /* Override animations for mobile (no translate) */
  @keyframes windowClose {
    0%   { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.92); }
  }
  @keyframes windowOpen {
    0%   { opacity: 0; transform: scale(0.92); }
    100% { opacity: 1; transform: scale(1); }
  }

  .titlebar-clock { display: none; }

  .inner-nav {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 16px;
    padding: 4px;
    gap: 2px;
  }
  .inner-nav a {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .section-inner { padding: 3rem 1.25rem; }
  .section-title { margin-bottom: 1.8rem; }

  .team-card-body { padding: 1.5rem 1rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-text { text-align: center; }
  .form-grid { grid-template-columns: 1fr; gap: 1rem; }

  .works-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
  .work-card-info { padding: 0.75rem; }

  footer {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
    padding: 20px 15px;
  }

  .desk-star { display: none; }
}

/* ===================== COMING SOON CARDS ===================== */
.work-card--soon {
  background: rgba(10, 10, 20, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  aspect-ratio: 1 / 1.35;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.work-card--soon:hover {
  border-color: rgba(255, 220, 0, 0.4);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4), 0 0 24px rgba(255,220,0,0.12);
}

/* Police tape stripe — lateral band across the card */
.work-card-soon-tape {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    -45deg,
    #f5d000 0px,
    #f5d000 22px,
    #111111 22px,
    #111111 44px
  );
  background-size: 62px 62px;
  opacity: 0.9;
  animation: tapeFlicker 1.1s steps(1) infinite;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 30%,
    black 30%,
    black 68%,
    transparent 68%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 30%,
    black 30%,
    black 68%,
    transparent 68%,
    transparent 100%
  );
}
@keyframes tapeFlicker {
  0%,  49% { opacity: 0.92; }
  50%, 100% { opacity: 0.55; }
}

.work-card-soon-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1rem;
  background: rgba(0,0,0,0.55);
  border-top: 1px solid rgba(255,220,0,0.5);
  border-bottom: 1px solid rgba(255,220,0,0.5);
  width: 100%;
}
.work-card-soon-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f5d000;
  text-shadow: 0 0 12px rgba(245,208,0,0.6);
}
.work-card-soon-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  letter-spacing: 0.05em;
}
