:root {
  --page: #050914;
  --surface: rgba(8, 15, 30, 0.92);
  --surface-soft: rgba(11, 24, 48, 0.72);
  --surface-strong: #0a1428;
  --text: #f4ead4;
  --muted: rgba(244, 234, 212, 0.6);
  --muted-strong: rgba(244, 234, 212, 0.76);
  --gold: #d6b75c;
  --gold-bright: #e8c96a;
  --cyan: #67e8f9;
  --cyan-strong: #22d3ee;
  --danger: #fca5a5;
  --success: #6ee7b7;
  --border: rgba(201, 168, 76, 0.18);
  --border-strong: rgba(201, 168, 76, 0.32);
  --cyan-border: rgba(103, 232, 249, 0.26);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(201, 168, 76, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.028) 1px, transparent 1px),
    var(--page);
  background-size: 42px 42px;
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.page-glow {
  position: fixed;
  z-index: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
  opacity: 0.8;
}

.page-glow-cyan {
  top: -250px;
  right: -170px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 67%);
}

.page-glow-gold {
  bottom: -280px;
  left: -210px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.16), transparent 68%);
}

.site-header,
.page-shell,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 15px 17px;
  border: 1px solid var(--border);
  background: rgba(8, 15, 30, 0.76);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold-bright);
  background: rgba(201, 168, 76, 0.07);
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 700;
  box-shadow: inset 0 0 18px rgba(201, 168, 76, 0.08);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 21px;
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.home-link,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(244, 234, 212, 0.14);
  color: var(--muted-strong);
  background: rgba(244, 234, 212, 0.025);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-link:hover,
.ghost-button:hover {
  border-color: var(--cyan-border);
  color: var(--cyan);
  transform: translateY(-1px);
}

.home-link svg,
.download-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.page-shell {
  padding: 72px 0 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(340px, 0.6fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 38px;
}

.hero > *,
.tool-card,
.trust-panel,
.tool-heading > * {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.eyebrow {
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(201, 168, 76, 0.24);
  background: rgba(201, 168, 76, 0.055);
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 6.1vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero h1 span {
  display: block;
  color: var(--gold);
}

.hero p {
  max-width: 710px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.trust-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  border: 1px solid var(--cyan-border);
  background: rgba(103, 232, 249, 0.14);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.trust-panel div {
  min-width: 0;
  padding: 17px 11px;
  background: rgba(5, 14, 31, 0.96);
  text-align: center;
}

.trust-panel strong,
.trust-panel span {
  display: block;
}

.trust-panel strong {
  color: var(--cyan);
  font-size: 14px;
}

.trust-panel span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.tool-card {
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(11, 24, 48, 0.92), rgba(7, 14, 29, 0.97)),
    var(--surface);
  box-shadow: var(--shadow);
}

.tool-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.tool-heading h2 {
  margin: 7px 0 7px;
  font-family: "Playfair Display", serif;
  font-size: clamp(27px, 4vw, 36px);
}

.tool-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.status-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(103, 232, 249, 0.22);
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.055);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.status-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(110, 231, 183, 0.7);
}

.upload-zone {
  display: grid;
  width: 100%;
  min-height: 230px;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 30px;
  border: 1px dashed rgba(103, 232, 249, 0.38);
  border-radius: var(--radius-md);
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0, rgba(14, 165, 233, 0.08), transparent 45%),
    rgba(5, 14, 31, 0.7);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.upload-zone:hover,
.upload-zone.is-dragging {
  border-color: var(--cyan);
  background:
    radial-gradient(circle at 50% 0, rgba(14, 165, 233, 0.15), transparent 50%),
    rgba(7, 18, 38, 0.88);
  transform: translateY(-1px);
}

.upload-zone:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(103, 232, 249, 0.28);
  outline-offset: 3px;
}

.upload-symbol {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.28);
  border-radius: 18px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.07);
  box-shadow: inset 0 0 22px rgba(103, 232, 249, 0.07);
}

.upload-symbol svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.upload-copy strong,
.upload-copy small {
  display: block;
}

.upload-copy strong {
  font-size: 17px;
}

.upload-copy small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.choose-button {
  padding: 11px 15px;
  color: #07101f;
  background: linear-gradient(135deg, var(--cyan), var(--gold-bright));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.file-card {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(5, 14, 31, 0.72);
}

.file-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
  font-size: 13px;
}

.file-copy {
  min-width: 0;
  flex: 1;
}

.file-copy strong,
.file-copy small {
  display: block;
}

.file-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.file-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(244, 234, 212, 0.12);
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}

.icon-button:hover {
  border-color: rgba(252, 165, 165, 0.32);
  color: var(--danger);
}

.editor-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 22px;
  margin-top: 28px;
}

.preview-card,
.trim-panel,
.result-details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(5, 14, 31, 0.68);
}

.preview-card {
  overflow: hidden;
  padding: 16px;
}

.card-label,
.playhead-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.card-label {
  margin-bottom: 13px;
}

.card-label span,
.playhead-line span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.card-label strong,
.playhead-line strong {
  color: var(--cyan);
  font-size: 11px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 13px;
  background:
    radial-gradient(circle, rgba(103, 232, 249, 0.08), transparent 46%),
    #02050c;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.playhead-line {
  margin-top: 12px;
}

.trim-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.time-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(244, 234, 212, 0.1);
  border-radius: 14px;
  background: rgba(8, 18, 38, 0.74);
}

.time-card label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 700;
}

.time-input-wrap {
  position: relative;
}

.time-input-wrap input {
  width: 100%;
  height: 48px;
  padding: 0 42px 0 12px;
  border: 1px solid var(--cyan-border);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  background: rgba(2, 7, 17, 0.72);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.time-input-wrap input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.08);
}

.time-input-wrap input.is-invalid {
  border-color: rgba(252, 165, 165, 0.62);
}

.time-input-wrap span {
  position: absolute;
  top: 50%;
  right: 11px;
  color: rgba(103, 232, 249, 0.52);
  font-size: 8px;
  font-weight: 800;
  transform: translateY(-50%);
}

.secondary-button,
.primary-button,
.ghost-button {
  border-radius: 10px;
  cursor: pointer;
}

.secondary-button {
  display: inline-flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  color: var(--gold-bright);
  background: rgba(201, 168, 76, 0.055);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.35;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.secondary-button:hover {
  border-color: rgba(201, 168, 76, 0.48);
  background: rgba(201, 168, 76, 0.1);
  transform: translateY(-1px);
}

.secondary-button svg {
  width: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.format-help {
  margin: 13px 2px 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.selection-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 17px;
  padding: 14px;
  border: 1px solid var(--cyan-border);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.075), rgba(201, 168, 76, 0.04));
}

.selection-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.06);
  font-size: 18px;
}

.selection-summary small,
.selection-summary strong {
  display: block;
}

.selection-summary small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.selection-summary strong {
  margin-top: 4px;
  color: var(--text);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.selection-range {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.message {
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.55;
}

.message-error {
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #fecaca;
  background: rgba(127, 29, 29, 0.16);
}

.primary-button {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 18px;
  border: 0;
  color: #07101f;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright) 45%, var(--cyan));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.trim-panel > .primary-button {
  margin-top: 17px;
}

.primary-button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32), 0 0 18px rgba(103, 232, 249, 0.1);
}

.primary-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.55);
  opacity: 0.58;
  transform: none;
}

.button-icon {
  font-size: 17px;
}

.processing-panel {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-md);
  background: rgba(7, 20, 41, 0.82);
}

.processing-panel strong,
.processing-panel small {
  display: block;
}

.processing-panel strong {
  color: var(--cyan);
  font-size: 13px;
}

.processing-panel small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.spinner {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 3px solid rgba(103, 232, 249, 0.16);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.result-section {
  margin-top: 22px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(110, 231, 183, 0.25);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(6, 34, 35, 0.42), rgba(5, 14, 31, 0.82));
}

.result-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.success-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(110, 231, 183, 0.3);
  border-radius: 50%;
  color: var(--success);
  background: rgba(110, 231, 183, 0.075);
  font-size: 19px;
}

.result-heading small {
  color: var(--success);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.result-heading h2 {
  margin: 4px 0 0;
  font-family: "Playfair Display", serif;
  font-size: 25px;
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 17px;
}

.result-details {
  display: grid;
  align-content: center;
  overflow: hidden;
}

.result-details div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(244, 234, 212, 0.08);
}

.result-details div:last-child {
  border-bottom: 0;
}

.result-details span {
  color: var(--muted);
  font-size: 9px;
}

.result-details strong {
  color: var(--gold-bright);
  font-size: 11px;
  text-align: right;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.result-actions .primary-button,
.result-actions .secondary-button,
.result-actions .ghost-button {
  width: auto;
  min-width: 170px;
  min-height: 46px;
  margin: 0;
  flex: 1 1 170px;
}

.result-actions .ghost-button {
  border-radius: 10px;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: rgba(8, 15, 30, 0.68);
}

.privacy-note > span {
  color: var(--gold);
}

.privacy-note p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.privacy-note strong {
  color: var(--muted-strong);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding: 18px 0 0;
  color: rgba(244, 234, 212, 0.38);
  font-size: 9px;
}

.noscript-warning {
  position: fixed;
  z-index: 10;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px;
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fecaca;
  background: #2b1116;
  text-align: center;
}

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

@media (max-width: 940px) {
  .hero,
  .editor-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
  }

  .trust-panel {
    max-width: 620px;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 14px;
  }

  .brand small {
    display: none;
  }

  .home-link {
    width: 100%;
    min-height: 40px;
    padding: 0 11px;
    font-size: 10px;
  }

  .home-link svg {
    display: none;
  }

  .page-shell {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(37px, 12vw, 52px);
  }

  .trust-panel {
    grid-template-columns: 1fr;
  }

  .trust-panel div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .trust-panel span {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: right;
  }

  .trust-panel span {
    margin-top: 0;
  }

  .tool-card {
    padding: 20px 15px;
    border-radius: 20px;
  }

  .tool-heading {
    display: block;
  }

  .status-pill {
    margin-top: 15px;
  }

  .upload-zone {
    min-height: 220px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 24px 18px;
    text-align: center;
  }

  .upload-copy small {
    max-width: 280px;
  }

  .time-grid {
    grid-template-columns: 1fr;
  }

  .trim-panel {
    padding: 15px;
  }

  .selection-summary {
    grid-template-columns: auto 1fr;
  }

  .selection-range {
    grid-column: 1 / -1;
    padding-top: 4px;
  }

  .result-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .result-actions .primary-button,
  .result-actions .secondary-button,
  .result-actions .ghost-button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   ÇİFT TUTAMAÇLI ZAMAN ŞERİDİ
   Oynatıcının altında videonun tamamını temsil eder; iki tutamaç arasındaki
   bölge seçili aralıktır. Renkler mevcut paletten (--gold / --cyan) gelir.
   ========================================================================== */

.timeline-block {
  margin-top: 18px;
}

.timeline {
  position: relative;
  padding: 14px 0;
  touch-action: none;              /* dokunmatik sürüklemede sayfa kaymasın */
}

.timeline-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(6, 12, 26, 0.95), rgba(12, 24, 46, 0.95));
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

/* Seçili bölge */
.timeline-selection {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(214, 183, 92, 0.55), rgba(214, 183, 92, 0.28));
  border-top: 1px solid rgba(232, 201, 106, 0.7);
  border-bottom: 1px solid rgba(232, 201, 106, 0.35);
  pointer-events: none;
}

/* Oynatıcının o anki konumu */
.timeline-playhead {
  position: absolute;
  top: -5px;
  bottom: -5px;
  left: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(103, 232, 249, 0.8);
  pointer-events: none;
  border-radius: 2px;
}

/* Tutamaçlar */
.timeline-handle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 22px;
  height: 34px;
  margin: -17px 0 0 -11px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border: 1px solid rgba(255, 240, 200, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  cursor: ew-resize;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.timeline-handle:hover { transform: scale(1.06); }

.timeline-handle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.timeline-handle.is-dragging {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.62);
}

/* Tutamaç üzerindeki tutma çizgileri */
.handle-grip {
  width: 8px;
  height: 14px;
  border-left: 2px solid rgba(8, 15, 30, 0.55);
  border-right: 2px solid rgba(8, 15, 30, 0.55);
}

.timeline.is-dragging { cursor: ew-resize; }

/* Şerit altındaki 0 → süre ölçeği */
.timeline-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

.timeline-hint {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* Dar ekran: tutamaçlar parmakla rahat tutulsun */
@media (max-width: 760px) {
  .timeline-handle {
    width: 26px;
    height: 40px;
    margin: -20px 0 0 -13px;
  }
  .timeline-track { height: 16px; }
  .timeline-hint { font-size: 12px; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  .timeline-handle { transition: none; }
}
