/* ==========================================================================
   Centralized Stylesheet - yugal.one
   Theme: Minimalist Monochrome (Black & White)
   ========================================================================== */

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #000000;
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 120px 24px 120px;
  max-width: 680px;
  margin: 0 auto;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 680px;
  font-size: 14px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-tab {
  font-weight: 500;
  color: #666666;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 0;
}

.nav-tab:hover {
  color: #000000;
  opacity: 1;
}

h1,
h2,
p,
ul {
  margin-bottom: 24px;
}

h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 48px;
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.subtitle {
  font-size: 14px;
  font-weight: 500;
  margin-top: -20px;
  margin-bottom: 24px;
  color: #666666;
  letter-spacing: 0.05em;
}

.header-branding {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.app-logo-link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.app-logo {
  width: 100px;
  height: auto;
  flex-shrink: 0;
}

.branding-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.branding-text {
  font-size: 14px;
  color: #666666;
  font-weight: 500;
}

.branding-logo {
  width: 100px;
  height: auto;
}

a {
  color: #000000;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.15s ease;
}

a:hover {
  opacity: 0.6;
}

a.secondary {
  font-weight: 400;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  padding-left: 20px;
  position: relative;
}

li:before {
  content: "-";
  position: absolute;
  left: 0;
}

.podcast-section {
  margin: 32px 0;
}

.podcast-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.language-switch {
  display: inline-flex;
  background-color: #f5f5f5;
  border-radius: 9999px;
  padding: 4px;
  margin-bottom: 16px;
}

.language-switch input[type="radio"] {
  display: none;
}

.language-switch label {
  padding: 6px 16px;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: #666666;
}

.language-switch input[type="radio"]:checked + label {
  background-color: #FFFFFF;
  color: #000000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.custom-audio-player {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  gap: 12px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.play-pause-btn {
  background: transparent;
  color: #000000;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
}

.player-meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.podcast-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.podcast-duration {
  font-size: 12px;
  color: #666666;
  margin-top: 2px;
}

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

.progress-slider-container {
  position: relative;
  flex-grow: 1;
  height: 4px;
  background: #e5e5e5;
  border-radius: 2px;
  cursor: pointer;
}

.progress-slider-filled {
  height: 100%;
  width: 0%;
  background: #000000;
  border-radius: 2px;
}

footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 680px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.footer-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-inner a {
  margin-right: 0;
  white-space: nowrap;
}

@media screen and (max-width: 600px) {
  .nav-inner {
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
  }

  body {
    padding-top: 130px;
  }

  h2 {
    scroll-margin-top: 110px;
  }
}