/* ==========================================================================
   MIT AKART MONDANI — MÁSHOGY DESIGN SYSTEM
   ========================================================================== */

:root {
  --bg: #100e0c;
  --bg-card: #1a1614;
  --ink: #f6f1ea;
  --muted: #b7aea4;
  --dim: #8a8178;
  --orange: #f15a24;
  --line: rgba(241, 90, 36, 0.28);
  --font: "Outfit", sans-serif;
  --serif: "Instrument Serif", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 82% 18%, rgba(241, 90, 36, 0.22), transparent 62%),
    radial-gradient(700px 480px at 8% 100%, rgba(29, 185, 84, 0.08), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ==========================================================================
   SITE HEADER (Identical to Máshogy)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem clamp(1.25rem, 4vw, 4.5rem);
  background: rgba(16, 14, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(241, 90, 36, 0.35);
}

.header-left {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.15s ease;
}

.logo:hover {
  color: var(--orange);
}

.header-sub {
  color: var(--dim);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.28rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.text-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.spotify-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.25rem;
  background: #1db954;
  color: #04140a;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.45);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.spotify-btn svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
}

.spotify-btn:hover {
  background: #1ed760;
  color: #04140a;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(29, 185, 84, 0.28);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(3rem, 6vh, 5.5rem) clamp(1.25rem, 4vw, 4.5rem) clamp(3rem, 7vh, 5rem);
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
}

.giant {
  position: absolute;
  right: -0.05em;
  top: 15%;
  z-index: 0;
  font-size: clamp(5rem, 16vw, 15rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(241, 90, 36, 0.25);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero-top {
  position: relative;
  z-index: 2;
  margin-bottom: 2.8rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.6rem, 7.6vw, 7.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero h1 span {
  color: var(--orange);
}

/* ==========================================================================
   AUDIO PLAYER CARD (Máshogy Editorial Card)
   ========================================================================== */
.player-card {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7);
}

.player-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.2rem;
}

.player-index {
  color: rgba(255, 255, 255, 0.16);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.05em;
}

.player-meta-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.player-tagline {
  color: var(--dim);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Animated Equalizer */
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
}

.equalizer .bar {
  width: 4px;
  height: 6px;
  background-color: var(--orange);
  transition: height 0.2s ease;
}

.equalizer.playing .bar {
  animation: bounce-bar 0.9s infinite ease-in-out alternate;
}

.equalizer.playing .bar:nth-child(1) { animation-duration: 0.8s; }
.equalizer.playing .bar:nth-child(2) { animation-duration: 0.5s; animation-delay: 0.1s; }
.equalizer.playing .bar:nth-child(3) { animation-duration: 0.7s; animation-delay: 0.25s; }
.equalizer.playing .bar:nth-child(4) { animation-duration: 0.4s; animation-delay: 0.15s; }
.equalizer.playing .bar:nth-child(5) { animation-duration: 0.65s; animation-delay: 0.05s; }

@keyframes bounce-bar {
  0% { height: 6px; }
  100% { height: 26px; background-color: #ff914d; }
}

.player-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.player-track-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}

/* Scrubber / Slider */
.scrubber-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.progress-bar {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
  border: none;
}

.progress-bar:hover {
  background: rgba(255, 255, 255, 0.22);
}

.progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--orange);
  cursor: pointer;
  border-radius: 0;
  transition: transform 0.15s ease;
}

.progress-bar::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--dim);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Controls */
.controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.main-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-play {
  width: 62px;
  height: 62px;
  background: var(--orange);
  border: none;
  color: #1a0c06;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-play:hover {
  background: #ff753e;
  transform: scale(1.05);
}

.play-icon, .pause-icon {
  width: 26px;
  height: 26px;
}

.hidden {
  display: none !important;
}

.playback-status-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-volume {
  background: transparent;
  border: none;
  color: var(--dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color 0.15s ease;
}

.btn-volume:hover {
  color: var(--ink);
}

.btn-volume svg {
  width: 20px;
  height: 20px;
}

.volume-bar {
  -webkit-appearance: none;
  appearance: none;
  width: 85px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  cursor: pointer;
}

.volume-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: var(--muted);
  cursor: pointer;
}

/* ==========================================================================
   MARQUEE (Máshogy Signature Element)
   ========================================================================== */
.marquee {
  overflow: hidden;
  background: var(--orange);
  color: #1a0c06;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.85rem 0;
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  animation: marquee 28s linear infinite;
}

.marquee-track span::before {
  content: "●";
  margin-right: 2.5rem;
  font-size: 0.55em;
  vertical-align: 0.25em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ==========================================================================
   THE STORY SECTION (Máshogy About Style)
   ========================================================================== */
.about {
  padding: clamp(4rem, 10vh, 8rem) clamp(1.25rem, 4vw, 4.5rem) clamp(3rem, 6vh, 5rem);
  max-width: 1400px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(3.4rem, 7.5vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.about h2 span {
  color: var(--orange);
}

.about-lead {
  max-width: 18ch;
  margin-bottom: 1.5rem;
  color: var(--orange);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.about-body p {
  color: #e6ddd4;
  font-size: 1.2rem;
  line-height: 1.65;
  max-width: 44rem;
}

.about-body p + p {
  margin-top: 1.2rem;
}

.about-body strong {
  color: #fff;
}

/* Right Column: Instruments / Specs */
.project-specs {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.5rem, 3vw, 3rem);
}

.instruments {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.4rem 0 2rem;
  padding: 0;
  list-style: none;
}

.instruments li {
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--bg-card);
}

.specs-note {
  color: var(--dim);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   VIDEO SECTION (Máshogy Blog Style)
   ========================================================================== */
.video-section {
  padding: clamp(3rem, 8vh, 6rem) clamp(1.25rem, 4vw, 4.5rem) clamp(4rem, 10vh, 8rem);
  max-width: 1400px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.section-head h2 {
  font-size: clamp(3.4rem, 7.5vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.section-head h2 span {
  color: var(--orange);
}

.section-aside {
  flex: 0 1 11em;
  max-width: 34%;
  color: var(--orange);
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-align: right;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) 0.8fr;
  overflow: hidden;
}

.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}

.video-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-body {
  padding: clamp(1.8rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.8rem;
}

.video-desc {
  color: #e6ddd4;
  font-size: 1.15rem;
  line-height: 1.6;
}

.yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.45rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.15s ease;
}

.yt-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.yt-btn:hover {
  background: #ef4444;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.35);
}

/* ==========================================================================
   SITE FOOTER (Exact Máshogy Footer)
   ========================================================================== */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem clamp(1.25rem, 4vw, 4.5rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.85rem;
  background: var(--bg);
}

.site-footer .logo {
  font-size: 0.95rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .project-specs {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 2rem;
  }

  .video-card {
    grid-template-columns: 1fr;
  }

  .section-aside {
    text-align: left;
    max-width: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .header-nav {
    width: 100%;
    justify-content: space-between;
  }

  .controls-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .volume-container {
    width: 100%;
  }

  .volume-bar {
    width: 120px;
  }
}
