:root {
  /* Colors */
  --bg-dark: #1e1e24;
  --bg-panel: #2b2b36;
  --bg-panel-hover: #363644;
  --text-main: #f5f5f7;
  --text-muted: #a0a0a5;
  --accent-gold: #b38b22;
  --accent-gold-glow: rgba(179, 139, 34, 0.2);
  --accent-neon: #0088aa;
  --border-subtle: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-gold);
}

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

/* Base Layout Objects */
.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.mobile-menu-btn:hover {
  color: var(--accent-gold);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
}

#global-nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(30, 30, 36, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-smooth), background var(--transition-smooth);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-logo span {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: width var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Dropdown Container */
.nav-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.nav-dropbtn {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-dropdown:hover .nav-dropbtn {
  color: var(--accent-gold);
}

/* Dropdown Content */
.nav-dropdown-content {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(43, 43, 54, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  min-width: 180px;
  box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.nav-dropdown-content a {
  padding: 1rem 1.5rem;
  display: block;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-dropdown-content a:last-child {
  border-bottom: none;
}

.nav-dropdown-content a::after {
  display: none; /* remove hover line from dropdown items */
}

.nav-dropdown-content a:hover {
  background-color: var(--bg-panel-hover);
  color: var(--accent-gold);
}

/* Show Dropdown on Hover */
.nav-dropdown:hover .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Global Floating Player */
#global-player {
  position: fixed;
  bottom: 2rem;
  left: 5%;
  right: 5%;
  background: rgba(20, 20, 24, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  transform: translateY(150%);
  transition: transform var(--transition-smooth);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

#global-player.visible {
  transform: translateY(0);
}

.player-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
}

.player-art {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-panel-hover);
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.player-details h4 {
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 0.1rem;
}

.player-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.player-controls button {
  color: var(--text-main);
  opacity: 0.7;
  transition: opacity var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-controls button:hover {
  opacity: 1;
  color: var(--accent-gold);
  transform: scale(1.1);
}

.play-pause-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle) !important;
  opacity: 1 !important;
}

.play-pause-btn:hover {
  border-color: var(--accent-gold) !important;
  box-shadow: 0 0 15px var(--accent-gold-glow);
}

.player-timeline {
  flex: 1;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.progress-bar-container {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent-gold);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* App Container */
#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpIn 0.8s forwards;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 2px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--text-main);
  transition: all var(--transition-smooth);
  z-index: -1;
}

.btn-primary {
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  background: transparent;
}

.btn-primary:hover {
  color: var(--bg-dark);
  border-color: var(--accent-gold);
}
.btn-primary::before {
  background-color: var(--accent-gold);
}

.btn-primary:hover::before {
  left: 0;
}

.btn-outline {
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.btn-outline:hover {
  color: var(--bg-dark);
}

.btn-outline:hover::before {
  left: 0;
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mt-2 { margin-top: 2rem; }


/* Responsive */
@media (max-width: 768px) {
  #global-nav {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 5%;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(30, 30, 36, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 5%;
    gap: 1.5rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-dropdown-content {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.02);
    margin-top: 1rem;
    min-width: 100%;
    display: none;
  }
  .nav-dropdown.active .nav-dropdown-content,
  .nav-dropdown:hover .nav-dropdown-content {
    display: flex;
  }
  #global-player {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    padding: 1rem;
    flex-wrap: wrap;
    border-bottom: none;
    border-left: none;
    border-right: none;
  }
  .player-timeline {
    order: 3;
    width: 100%;
    max-width: none;
    margin-top: 1rem;
  }
}

/* Specific Page Elements */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    padding-top: 0;
}

.hero-content {
    animation: zoomOut 2s ease-out;
}

@keyframes zoomOut {
    from { transform: scale(1.05); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.hero-title {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 200;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #a0a0a5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-subtitle .accent {
    color: var(--accent-gold);
    margin: 0 0.5rem;
}

.hero-tagline {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-style: italic;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
}

.view-all {
    color: var(--accent-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Grids & Cards */
.grid {
    display: grid;
    gap: 2rem;
}

.cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.2);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.play-overlay i {
    font-size: 3rem;
    color: var(--text-main);
    transform: scale(0.8);
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.card:hover .play-overlay {
    opacity: 1;
}

.card:hover .play-overlay i {
    transform: scale(1);
    color: var(--accent-gold);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Page Headers */
.page-header {
    padding: 12rem 0 6rem 0;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-subtle);
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Lists */
.list-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.list-item {
    display: flex;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.list-item:hover {
    border-color: rgba(255,255,255,0.2);
}

.list-img {
    width: 200px;
    background-size: cover;
    background-position: center;
}

.list-info {
    padding: 2rem;
    flex: 1;
}

.list-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.meta {
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.list-info .desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.list-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.link-spotify, .link-youtube {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.link-spotify i { color: #1DB954; }
.link-youtube i { color: #FF0000; }

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--text-main);
    border-color: var(--accent-gold);
}

/* Studio/About Info */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-muted { color: var(--text-muted); }

.image-showcase img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.equip-card {
    background: var(--bg-panel);
    padding: 2rem;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
}

.equip-card h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.equip-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-main);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .two-col { grid-template-columns: 1fr; gap: 2rem; }
    .list-item { flex-direction: column; }
}

/* Profile Layout (Sidebar + Main) */
.profile-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: start;
}

.profile-sidebar {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem;
    position: sticky;
    top: 6rem;
}

.profile-main {
    background: transparent;
}

/* Profile Tabs */
.profile-tabs {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.profile-tab {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 0.5rem 0;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.profile-tab::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width var(--transition-smooth);
}

.profile-tab:hover, .profile-tab.active {
    color: var(--text-main);
}

.profile-tab.active::after {
    width: 100%;
}

.profile-section {
    display: none;
    animation: fadeUpIn 0.4s forwards;
}

.profile-section.active {
    display: block;
}

/* Skills Chart Bars */
.skill-bar-container {
    margin-bottom: 1rem;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.skill-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: var(--accent-gold);
    border-radius: 3px;
}

@media (max-width: 900px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    .profile-sidebar {
        position: static;
    }
}


/* Broken Timeline Overrides */
.timeline .list-item {
    border-left: none !important;
    overflow: visible !important;
}

.timeline .list-item::before {
    content: '';
    position: absolute;
    left: 0;
    width: 2px;
    background-color: var(--border-subtle);
    top: 35px;
    height: calc(100% - 45px);
    z-index: 1;
}

.timeline .list-item > i {
    left: 1px !important;
    transform: translateX(-50%) !important;
    overflow: visible !important;
    background: transparent !important;
    padding: 0 !important;
    z-index: 99 !important;
}

/* Global Footer & Social Links */
.global-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-dark);
    text-align: center;
    margin-bottom: 80px;
}
.global-footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.btn-download-cv {
    padding: 0.6rem 2rem;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.social-links-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    font-size: 1.5rem;
    margin-top: 1rem;
}
.social-link {
    color: var(--text-muted);
    transition: color 0.3s;
}
.social-link:hover {
    color: var(--accent-gold);
}
.footer-location {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}
.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}
