/* Design System and Variables */
:root {
  --bg-primary: #08060f;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --accent-purple: #a855f7;
  --accent-blue: #3b82f6;
  --accent-glow: rgba(168, 85, 247, 0.6);
  --phone-height: clamp(480px, 85vh, 800px);
  --phone-width: calc(var(--phone-height) * 0.52); /* 0.52 aspect ratio makes it slightly wider */
  --bezel-color: #121016;
  --bezel-width: 12px;
  --screen-radius: 36px;
  --frame-radius: 46px;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Ambient glow blobs */
body::before, body::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
}

body::before {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

body::after {
  bottom: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Desktop container layout */
.app-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
}

/* Phone Wrapper & Bezel */
.phone-wrapper {
  position: relative;
  width: var(--phone-width);
  height: var(--phone-height);
  border-radius: var(--frame-radius);
  background: var(--bezel-color);
  padding: var(--bezel-width);
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(168, 85, 247, 0.1),
    inset 0 0 2px 1px rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.1s ease-out;
  border: 2px solid rgba(255, 255, 255, 0.05);
}

/* Physical Buttons */
.physical-button {
  position: absolute;
  background: #1c1a22;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.power-button {
  right: -4px;
  top: 25%;
  width: 4px;
  height: clamp(50px, 9vh, 75px);
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
  transition: background 0.3s;
}

.power-button:hover {
  background: var(--accent-purple);
}

/* Glowing Pulse effect around the power button */
.power-button::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -20px;
  right: -20px;
  bottom: -8px;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.6) 0%, rgba(168, 85, 247, 0) 70%);
  opacity: 0.8;
  animation: power-pulse 2s infinite;
  pointer-events: none;
}

.volume-up {
  left: -4px;
  top: 20%;
  width: 4px;
  height: clamp(35px, 6vh, 50px);
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.volume-down {
  left: -4px;
  top: 28%;
  width: 4px;
  height: clamp(35px, 6vh, 50px);
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* Glowing text overlay next to power button */
.power-hint {
  position: absolute;
  left: calc(var(--phone-width) + 24px);
  top: calc(25% + 15px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: translateY(-50%) translateX(0);
}

.power-hint.hidden {
  opacity: 0;
  transform: translateY(-50%) translateX(20px);
}

.power-hint-line {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.8), rgba(168, 85, 247, 0));
  position: relative;
}

.power-hint-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: -2.5px;
  width: 6px;
  height: 6px;
  background-color: var(--accent-purple);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-purple);
}

.power-hint-text {
  background: rgba(20, 16, 32, 0.7);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  animation: float-text 2s infinite ease-in-out;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.1);
}

.power-hint-text span {
  color: var(--accent-purple);
  text-shadow: 0 0 8px var(--accent-glow);
  font-weight: 700;
}

/* Phone Screen Container */
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: var(--screen-radius);
  overflow: hidden;
  background: #000;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Screen Notch / Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background-color: #000;
  border-radius: 20px;
  z-index: 20;
  transition: width 0.3s ease, height 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Screen status bar */
.status-bar {
  height: 40px;
  padding: 12px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.status-bar.visible {
  opacity: 1;
}

.status-bar-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mobile Boot Screen (Off/Black -> Hany OS Booting) */
.boot-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 12;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease-in-out;
}

.boot-logo-container {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.boot-logo-container.active {
  display: flex;
}

.boot-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #fff 30%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-pulse 2s infinite ease-in-out;
}

.boot-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* Loader Animation */
.boot-loader {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(168, 85, 247, 0.2);
  border-top: 2px solid var(--accent-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-top: 15px;
}

/* Mobile Start Screen (For mobile devices when side button is hidden) */
.mobile-start-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #100b21 0%, #000 100%);
  z-index: 14;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 30px;
}

.mobile-start-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.1);
  border: 2px solid var(--accent-purple);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2), inset 0 0 10px rgba(168, 85, 247, 0.3);
  animation: touch-pulse 2s infinite;
  transition: transform 0.2s;
}

.mobile-start-btn:active {
  transform: scale(0.9);
}

.mobile-start-btn svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--accent-purple);
  stroke-width: 2;
  filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.8));
}

.mobile-start-text {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

.mobile-start-text span {
  color: var(--accent-purple);
}

/* Home Screen */
.home-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/wallpaper.png');
  background-size: cover;
  background-position: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: clamp(12px, 2.5vh, 20px) 20px;
  justify-content: space-between;
}

.home-screen.active {
  opacity: 1;
  pointer-events: auto;
}

/* Home UI Components */
.home-header {
  margin-top: clamp(12px, 3vh, 24px);
}

.widget-clock {
  text-align: center;
  margin-bottom: 2px;
}

.widget-time {
  font-size: clamp(32px, 5.8vh, 48px);
  font-weight: 300;
  letter-spacing: -1px;
  color: #fff;
}

.widget-date {
  font-size: clamp(11px, 1.8vh, 14px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: -3px;
}

/* Widget Card */
.widget-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: clamp(10px, 2vh, 16px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-top: clamp(10px, 2.5vh, 20px);
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1vh, 8px);
}

.widget-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.widget-content {
  font-size: clamp(13px, 2vh, 15px);
  font-weight: 500;
}

.widget-footer {
  font-size: clamp(10px, 1.6vh, 12px);
  color: var(--accent-purple);
  font-weight: 600;
}

/* Grid of Apps */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2.2vh, 18px) 12px;
  margin-top: auto;
  margin-bottom: clamp(12px, 3vh, 24px);
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.app-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  animation: float-icon 4s ease-in-out infinite;
}

/* Staggered idle animations for the apps */
.apps-grid .app-icon-wrapper:nth-child(1) { animation-delay: 0s; }
.apps-grid .app-icon-wrapper:nth-child(2) { animation-delay: 0.6s; }
.apps-grid .app-icon-wrapper:nth-child(3) { animation-delay: 1.2s; }
.apps-grid .app-icon-wrapper:nth-child(4) { animation-delay: 1.8s; }
.apps-grid .app-icon-wrapper:nth-child(5) { animation-delay: 2.4s; }
.apps-grid .app-icon-wrapper:nth-child(6) { animation-delay: 3s; }
.apps-grid .app-icon-wrapper:nth-child(7) { animation-delay: 3.6s; }

.app-icon-wrapper:hover {
  animation-play-state: paused;
}

.app-icon {
  width: clamp(42px, 7.2vh, 54px);
  height: clamp(42px, 7.2vh, 54px);
  border-radius: clamp(11px, 2vh, 14px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.app-icon-wrapper:hover .app-icon {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
  border-color: rgba(168, 85, 247, 0.4);
}

.app-icon svg {
  width: clamp(18px, 3vh, 24px);
  height: clamp(18px, 3vh, 24px);
  stroke: #fff;
  stroke-width: 1.5;
  fill: none;
}

/* Custom app icon variants */
.app-icon.portfolio {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
}
.app-icon.experience {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
}
.app-icon.projects {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}
.app-icon.skills {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.app-icon.music {
  background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%);
}
.app-icon.contact {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}
.app-icon.resume {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.app-name {
  font-size: 10px;
  color: #fff;
  text-align: center;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* Phone bottom indicator bar */
.home-indicator {
  width: 120px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  margin: 0 auto 4px;
  pointer-events: none;
  z-index: 15;
}

/* Keyframe Animations */

@keyframes float-text {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes power-pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 0.3; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

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

@keyframes text-pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4)); }
}

@keyframes touch-pulse {
  0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(168, 85, 247, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

/* Shake Animation */
@keyframes shake {
  0%, 100% { transform: translate(0, 0) scale(1); }
  10%, 30%, 50%, 70%, 90% { transform: translate(-4px, 3px) rotate(-0.5deg); }
  20%, 40%, 60%, 80% { transform: translate(4px, -3px) rotate(0.5deg); }
}

.shake-active {
  animation: shake 0.6s cubic-bezier(.36,.07,.19,.97) both;
}

/* Boot Sequence Screen Fade Animations */
@keyframes boot-fade-in-out {
  0% { opacity: 0; transform: scale(0.92); }
  15% { opacity: 1; transform: scale(1); }
  80% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.08); }
}

.boot-logo-container.active {
  animation: boot-fade-in-out 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* APP WINDOWS OVERLAYS */
.app-window {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, #15102a 0%, #07050e 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 25;
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.app-window.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.app-window-header {
  height: 80px;
  padding: 35px 16px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(12, 10, 22, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5;
}

.win-back-btn {
  background: none;
  border: none;
  color: var(--accent-purple);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.win-back-btn:active {
  background-color: rgba(168, 85, 247, 0.15);
  transform: scale(0.9);
}

.win-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.app-window-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-width: none; /* Hide standard Firefox scrollbars */
}

.app-window-body::-webkit-scrollbar {
  display: none; /* Hide Chrome/Safari scrollbars */
}

/* Staggered Calm Entry Animations */
.fade-slide-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-window.active .fade-slide-in {
  opacity: 1;
  transform: translateY(0);
}

.app-window.active .delay-1 { transition-delay: 0.12s; }
.app-window.active .delay-2 { transition-delay: 0.22s; }
.app-window.active .delay-3 { transition-delay: 0.32s; }
.app-window.active .delay-4 { transition-delay: 0.42s; }
.app-window.active .delay-5 { transition-delay: 0.52s; }

/* Sub-window section blocks */
.window-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-purple);
  font-weight: 800;
  margin-bottom: 2px;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.15);
}

/* About Me Content Styles */
.profile-header-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-container {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
  margin-bottom: 12px;
}

.avatar-container img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
  border: 2px solid #000;
}

.profile-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.profile-title {
  font-size: 13px;
  color: var(--accent-purple);
  font-weight: 600;
  margin-top: 2px;
}

.profile-meta {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.summary-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 14px;
  border-radius: 16px;
}

.highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.highlights-list li {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 20px;
  position: relative;
}

.highlights-list li::before {
  content: '✦';
  color: var(--accent-purple);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* Vertical Timeline for Experience & Volunteering */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  margin-left: 6px;
}

.timeline-node {
  position: relative;
}

.timeline-node::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 6px;
  width: 7px;
  height: 7px;
  background-color: var(--accent-purple);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-purple);
}

.timeline-role {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.timeline-org {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.timeline-date {
  font-size: 10px;
  color: var(--accent-purple);
  font-weight: 600;
  margin-top: 1px;
}

/* Achievements grid */
.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.achievement-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.achievement-text {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.achievement-year {
  font-size: 10px;
  color: var(--accent-purple);
  font-weight: 700;
  background: rgba(168, 85, 247, 0.1);
  padding: 2px 6px;
  border-radius: 8px;
}

/* EXPERIENCE APP WINDOW SPECIFIC */
.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  margin-left: 4px;
}

.exp-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 4px;
}

.exp-card::before {
  content: '';
  position: absolute;
  left: -23.5px;
  top: 22px;
  width: 9px;
  height: 9px;
  background-color: var(--accent-purple);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-purple);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.exp-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.exp-company {
  font-size: 12px;
  color: var(--accent-purple);
  font-weight: 600;
  margin-top: 1px;
}

.exp-date {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: right;
}

.exp-bullets {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.exp-bullets li {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding-left: 14px;
}

.exp-bullets li::before {
  content: '•';
  color: var(--accent-purple);
  position: absolute;
  left: 0;
  top: 0;
}

.skills-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tech-tag {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}

/* PROJECTS APP VIEW */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proj-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proj-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-2px);
}

.proj-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.proj-category {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
}

.proj-platforms {
  display: flex;
  gap: 4px;
}

.platform-badge {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 600;
}

.proj-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}

.proj-desc {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.proj-arrow {
  align-self: flex-end;
  color: var(--accent-purple);
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

/* CREDENTIALS/SKILLS APP */
.tabs-container {
  display: flex;
  margin: 0 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s;
}

.tab-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.tab-panel {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.tab-panel.active {
  display: flex;
}

.skill-bubble {
  font-size: 11.5px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.02);
  transition: background-color 0.2s, border-color 0.2s;
}

.skill-bubble:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
}

.education-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 16px;
}

.edu-uni {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.edu-degree {
  font-size: 12px;
  color: var(--accent-purple);
  font-weight: 600;
  margin-top: 2px;
}

.edu-meta {
  font-size: 10.5px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.highlight-text {
  color: var(--accent-blue);
  font-weight: 700;
}

.coursework-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  margin-top: 14px;
}

.courses-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.courses-list li {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* MUSIC PLAYER DESIGN */
.music-player-body {
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.track-info-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.music-disc-wrapper {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, #2e2849 0%, #151025 100%);
  padding: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.music-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #0e0d16 20%, #1c1a2e 21%, #09080e 40%, #181628 41%, #07060b 60%, #11101e 61%, #000 80%);
  border: 2px solid #222;
  position: relative;
  transition: transform 0.5s ease;
}

.music-disc.playing {
  animation: spin 8s linear infinite;
}

.disc-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border: 3px solid #000;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.track-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.track-artist {
  font-size: 12px;
  color: var(--accent-purple);
  font-weight: 600;
  margin-top: -4px;
}

/* Audio slider/seeking styles */
.music-controls-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.music-progress-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.music-time-lbl {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 600;
  width: 32px;
  text-align: center;
}

.music-seek-bar, .music-volume-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.music-seek-bar::-webkit-slider-thumb, .music-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 6px var(--accent-purple);
  transition: transform 0.1s;
}

.music-seek-bar::-webkit-slider-thumb:hover, .music-volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.music-buttons {
  display: flex;
  align-items: center;
  gap: 24px;
}

.music-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color 0.2s;
}

.music-btn:hover {
  color: #fff;
}

.music-play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
  border: none;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.music-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.45);
}

.music-play-btn:active {
  transform: scale(0.95);
}

.music-volume-wrapper {
  width: 80%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
}

.music-volume-slider {
  max-width: 100px;
}

.hidden {
  display: none !important;
}

/* Equalizer Bars Widget on Status Bar */
.status-music-btn {
  background: none;
  border: none;
  color: var(--accent-purple);
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.playing-bars {
  fill: var(--accent-purple);
}

.playing-bars rect {
  transform-origin: bottom;
  animation: bounce-bar 1.2s ease-in-out infinite alternate;
}

.playing-bars .bar1 { animation-delay: 0.1s; }
.playing-bars .bar2 { animation-delay: 0.4s; }
.playing-bars .bar3 { animation-delay: 0.2s; }

@keyframes bounce-bar {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* DYNAMIC ISLAND EXPANSIONS */
.dynamic-island.expanded {
  width: 220px;
  height: 38px;
  border-radius: 19px;
  padding: 0 12px;
}

.island-content {
  opacity: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.dynamic-island.expanded .island-content {
  opacity: 1;
}

/* Spinner for Dynamic Island */
.island-spinner {
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(168, 85, 247, 0.2);
  border-top: 1.5px solid var(--accent-purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* CONTACT FORM FIELD STYLING */
.contact-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.contact-action-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s;
}

.contact-action-btn:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-2px);
}

.action-icon {
  font-size: 20px;
}

.contact-socials {
  display: flex;
  gap: 12px;
}

.social-badge {
  flex: 1;
  padding: 12px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.social-badge:hover {
  transform: translateY(-2px);
}

.social-badge.linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #005987 100%);
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.25);
}

.social-badge.github {
  background: linear-gradient(135deg, #24292e 0%, #171a1d 100%);
  box-shadow: 0 4px 12px rgba(36, 41, 46, 0.25);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 16px;
  border-radius: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  color: #fff;
  font-size: 12.5px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.15);
}

.submit-btn {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(168, 85, 247, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 4px;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.35);
}

.submit-btn:active {
  transform: scale(0.98);
}

/* PORTFOLIO PROJECT SHEET OVERLAY (BOTTOM SLIDER) */
.project-sheet-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.project-sheet-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.project-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 82%;
  background: radial-gradient(circle at 50% 0%, #1a1631 0%, #0a0812 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.project-sheet-overlay.active .project-sheet {
  transform: translateY(0);
}

.sheet-header {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.sheet-drag-handle {
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.2);
  margin-bottom: 4px;
}

.sheet-close-btn {
  position: absolute;
  right: 16px;
  top: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 12px;
  color: var(--text-secondary);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}

.sheet-close-btn:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
}

.sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  scrollbar-width: none;
}

.sheet-body::-webkit-scrollbar {
  display: none;
}

.project-sheet-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-sheet-category {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-purple);
}

.project-sheet-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.project-sheet-platforms {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.sheet-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sheet-section-title {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
}

.sheet-section-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.sheet-highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sheet-highlights-list li {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 16px;
  position: relative;
}

.sheet-highlights-list li::before {
  content: '✓';
  color: var(--accent-blue);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}

.project-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.proj-link-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.proj-link-btn:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.3);
}

.proj-link-btn svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent-purple);
  stroke-width: 2;
  fill: none;
}

/* Responsive Styles for Mobile Viewports */
@media (max-width: 768px) {
  :root {
    --phone-width: 100vw;
    --phone-height: 100vh;
    --bezel-width: 0px;
    --screen-radius: 0px;
    --frame-radius: 0px;
  }

  body {
    background-color: #000;
  }

  body::before, body::after {
    display: none;
  }

  .phone-wrapper {
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    max-width: 100%;
    max-height: 100%;
  }

  /* Physical parts not needed on physical phone screen */
  .power-button, .volume-up, .volume-down, .power-hint {
    display: none !important;
  }

  .dynamic-island {
    display: none; /* Let the host phone's native notch/island do the job */
  }

  .status-bar {
    padding-top: 16px; /* Space for status bar on modern notched phones */
  }

  /* Mobile touch to boot button */
  .mobile-start-overlay {
    display: flex;
  }
}
