:root {
  /* Koyu gri tema - acik renk yok, gri tonlari */
  --accent: #52525b;
  --accent-hover: #3f3f46;
  --accent-light: #a1a1aa;
  --gradient: none;
  --gradient-subtle: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);

  --bg: #0c0c0e;
  --bg-card: #18181b;
  --bg-elevated: #1f1f23;
  --border: 1px solid rgba(255,255,255,0.06);
  --border-color: rgba(255,255,255,0.06);

  --text: #d4d4d8;
  --text-body: #a1a1aa;
  --text-muted: #71717a;

  --radius: 12px;
  --radius-sm: 10px;
  --radius-lg: 14px;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: 140ms ease-out;
  --ease-modal: 200ms cubic-bezier(0.22, 1, 0.36, 1);

  --header-bg: rgba(12,12,14,0.92);
  --header-blur: 12px;
  --shadow-glow: 0 0 20px rgba(0,0,0,0.4);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-lift: 0 4px 12px rgba(0,0,0,0.5);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Arka plan: gri tonlari, acik renk yok (ornek gibi koyu/gri) */
.wt-body {
  min-height: 100vh;
  background: linear-gradient(160deg, #131316 0%, #0c0c0e 40%, #0a0a0c 100%);
  background-attachment: fixed;
}

.wt-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.main {
  flex: 1;
}

.dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--bg-card);
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--border-color);
  background: var(--gradient-subtle);
}

.dropzone-inner {
  pointer-events: none;
}

.dropzone-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: block;
  color: var(--text-muted);
}

.dropzone:hover .dropzone-icon,
.dropzone.dragover .dropzone-icon {
  color: var(--text-body);
}

.dropzone-text {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.dropzone-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.link {
  color: var(--text-body);
  text-decoration: underline;
  cursor: pointer;
}

.file-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: var(--bg-card);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.file-list li .name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-list li .size {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.upload-area {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.upload-area.hidden {
  display: none;
}

.progress-section {
  margin-top: 1.25rem;
}

.progress-section.hidden {
  display: none;
}

.progress-status {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.progress-bar-wrap {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar {
  height: 100%;
  background: var(--text-muted);
  border-radius: 4px;
  transition: width 0.15s ease-out;
}

.progress-details {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.65rem 1.25rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.result {
  margin-top: 2rem;
}

.result.hidden {
  display: none;
}

.result-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.result-title {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.result-desc {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.result-link-wrap {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.result-link {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-family: inherit;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}

#openLink {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.hidden {
  display: none !important;
}

.footer {
  margin-top: auto;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer p {
  margin: 0;
}

/* Download sayfası */
.download-page .file-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.download-page .file-list a:hover {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.08);
}

.download-page .file-list a .size {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.expires-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.error-msg {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

@media (max-width: 480px) {
  .page {
    padding: 1.25rem 1rem;
  }
  .result-link-wrap {
    flex-direction: column;
  }
}

/* ---------- WeTransfer layout ---------- */

/* Header: 64px, blur, pill nav, aktif underline */
.wt-topbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--header-bg);
  backdrop-filter: blur(var(--header-blur));
  -webkit-backdrop-filter: blur(var(--header-blur));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.wt-topbar .wt-topbar-brand {
  color: var(--text);
}

.wt-topbar .wt-topbar-brand:hover {
  color: var(--text-body);
}

.wt-topbar-logo {
  display: block;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.wt-topbar-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wt-topbar-pill {
  padding: 0.5rem 0.85rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  border-radius: 999px;
  transition: color var(--ease), background var(--ease);
}

.wt-topbar-pill:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.wt-topbar-pill-active {
  color: var(--text);
  background: var(--bg-elevated);
  border: var(--border);
  position: relative;
}

.wt-topbar-pill-active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 1px;
  transform: translateX(-50%);
  transform-origin: center;
  animation: pill-underline 0.3s var(--ease-modal) forwards;
}

@keyframes pill-underline {
  from { opacity: 0; transform: translateX(-50%) scaleX(0); }
  to { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

/* İndirme sayfasında header: sadece logo, sağ boş */
.wt-topbar-download-only .wt-topbar-nav {
  display: none;
}

.wt-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: calc(100vh - 64px);
}

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

/* Ana sayfa (landing) — Premium */
.wt-landing-layout {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .wt-landing-layout {
    grid-template-columns: 1fr;
  }
}

.wt-landing-main {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 540px;
}

.wt-landing-hero {
  margin-bottom: 2rem;
}

.wt-landing-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--text);
}

.wt-landing-lead {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.wt-btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  transition: transform var(--ease), background var(--ease);
}

.wt-btn-hero:hover {
  transform: translateY(-1px);
  background: var(--bg-card);
}

.wt-btn-hero-icon {
  font-size: 1.1em;
}

.wt-landing-micro {
  margin: 0.75rem 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.wt-landing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wt-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  font-size: 13px;
  color: var(--text-body);
  background: var(--bg-card);
  border: var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}

/* Reklam alanı — blur kart + skeleton + Sponsorlu */
.wt-ad-card {
  position: relative;
  margin: 2rem;
  padding: 1.5rem;
  background: rgba(26,26,34,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wt-ad-skeleton {
  width: 100%;
  height: 200px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

.wt-ad-label {
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wt-left {
  padding: 1.5rem 1.75rem;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.wt-header {
  margin-bottom: 1.25rem;
}

.wt-logo {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.2rem;
  color: var(--text);
}

.wt-tagline {
  margin: 0;
  color: var(--text-body);
  font-size: 14px;
}

.wt-dropzone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease), transform var(--ease), box-shadow var(--ease);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.wt-dropzone:hover,
.wt-dropzone.dragover {
  border-color: var(--border-color);
  background: var(--gradient-subtle);
}

.wt-dropzone.dragover {
  transform: scale(1.02);
}

.wt-dropzone-inner {
  pointer-events: none;
}

.wt-dropzone-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: block;
  color: var(--text-muted);
  transition: transform var(--ease), color var(--ease);
}

.wt-dropzone:hover .wt-dropzone-icon,
.wt-dropzone.dragover .wt-dropzone-icon {
  color: var(--text-body);
}

.wt-dropzone.dragover .wt-dropzone-icon {
  animation: bounce-up 0.5s ease-out;
}

@keyframes bounce-up {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.wt-dropzone-text {
  margin: 0 0 0.2rem;
  font-size: 15px;
  color: var(--text);
}

.wt-dropzone-hint {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.wt-link {
  color: var(--text-body);
  text-decoration: underline;
  cursor: pointer;
}

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

.wt-filelist {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.wt-fileitem {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: var(--bg-card);
  border-radius: 6px;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
}

.wt-fileitem-preview {
  cursor: pointer;
}

.wt-fileitem-preview:hover {
  background: var(--gradient-subtle);
}

.wt-filethumb {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--border);
  background-size: cover;
  background-position: center;
}

.wt-filethumb-video {
  position: relative;
  background: var(--bg);
}

.wt-filethumb-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  background: var(--text-muted);
  border-radius: 50%;
  clip-path: polygon(6px 5px, 6px 15px, 14px 10px);
}

.wt-filethumb-file {
  background: var(--border);
}

.wt-filename {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wt-filesize {
  color: var(--text-muted);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.wt-btn {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), opacity var(--ease);
}

.wt-btn-primary {
  background: var(--accent);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.06);
}

.wt-btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.wt-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wt-btn-ghost {
  background: transparent;
  color: var(--text-body);
}

.wt-btn-ghost:hover {
  color: var(--text);
  background: rgba(0,0,0,0.04);
}

.wt-btn-small {
  padding: 0.45rem 0.85rem;
  font-size: 14px;
}

.wt-upload-area {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.wt-progress {
  margin-top: 0.75rem;
}

.wt-progress-status {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.wt-progress-bar-wrap {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.3rem;
}

.wt-progress-bar {
  height: 100%;
  background: var(--text-muted);
  border-radius: 3px;
  transition: width 0.15s ease-out;
}

.wt-progress-details {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.wt-footer-left {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.wt-footer-left p {
  margin: 0;
}

.wt-footer-global {
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(0,0,0,0.2);
  border-top: 1px solid var(--border-color);
}

.wt-footer-global p {
  margin: 0;
}

/* Auth sayfalari (login / register) */
.wt-auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wt-auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.wt-auth-card {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.wt-auth-title {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.wt-auth-desc {
  margin: 0 0 1.5rem;
  color: var(--text-body);
  font-size: 0.95rem;
}

.wt-auth-form .wt-form-group {
  margin-bottom: 1.25rem;
}

.wt-auth-form .wt-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
}

.wt-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  border: var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--ease);
}

.wt-input:focus {
  border-color: var(--text-muted);
}

.wt-auth-error {
  margin: 0 0 1rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: #f87171;
}

.wt-auth-form .wt-btn-block {
  margin-top: 0.5rem;
}

.wt-auth-footer {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: var(--border);
  font-size: 0.9rem;
  color: var(--text-body);
  text-align: center;
}

.wt-auth-footer .wt-link {
  color: var(--text-body);
  text-decoration: none;
}

.wt-auth-footer .wt-link:hover {
  text-decoration: underline;
}

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

/* Sağ panel: reklam + başarı overlay */
.wt-right {
  position: relative;
  border-left: 1px solid var(--border-color);
  min-height: 100vh;
  overflow: hidden;
}

@media (max-width: 900px) {
  .wt-right {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
}

.wt-ad {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-subtle);
}

.wt-ad.hidden {
  display: none;
}

.wt-ad-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Başarı paneli: %80 yükseklik, blur arka plan, chip'ler */
.wt-success-overlay {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.wt-success-overlay.hidden {
  display: none;
}

.wt-success-overlay-inner {
  width: 100%;
  max-width: 380px;
  padding: 1.75rem;
  background: rgba(26,26,34,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.wt-success-badge {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.wt-success-desc {
  font-size: 14px;
  color: var(--text-body);
  margin: 0 0 1.25rem;
}

.wt-success-link-wrap {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.wt-success-link {
  flex: 1;
  padding: 0.55rem 0.85rem;
  font-size: 13px;
  font-family: inherit;
  background: var(--bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text);
}

.wt-success-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.wt-success-chip {
  font-size: 13px;
  color: var(--text-body);
  padding: 0.4rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border-color);
  border-radius: 999px;
}

.wt-btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Toast: Kopyalandı */
.wt-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  padding: 0.65rem 1.25rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--bg);
  background: var(--text-body);
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
  animation: toast-in 0.25s var(--ease-modal);
}

.wt-toast.hidden {
  display: none;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Modal önizleme: tam ekran, %90 siyah, scale animasyon */
.wt-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.wt-modal:not(.hidden) .wt-modal-content {
  animation: modal-in 0.2s var(--ease-modal) forwards;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.wt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.wt-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wt-modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--border);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 8px;
  cursor: pointer;
  z-index: 2;
}

.wt-modal-close:hover {
  background: rgba(255,255,255,0.25);
}

.wt-modal-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}

.wt-modal-actions .wt-modal-close {
  position: static;
  top: auto;
  right: auto;
}

.wt-preview-image-wrap,
.wt-preview-video-wrap {
  max-width: 90vw;
  max-height: 85vh;
}

.wt-preview-image-wrap img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.wt-preview-video-wrap {
  width: 90vw;
  max-width: 800px;
}

.wt-preview-video-wrap video {
  width: 100%;
  border-radius: 8px;
}

.wt-preview-pdf-wrap {
  width: 90vw;
  max-width: 800px;
  max-height: 85vh;
}

.wt-preview-pdf-wrap iframe {
  width: 100%;
  height: 80vh;
  min-height: 400px;
  border: none;
  border-radius: 8px;
  background: var(--bg);
}

.wt-filethumb-pdf {
  background: var(--border);
}

/* İndirme sayfası — güzelleştirilmiş */
.wt-download-layout {
  grid-template-columns: minmax(320px, 440px) 1fr;
}

.wt-download-left {
  max-width: none;
  padding: 2rem 2rem;
}

.wt-download-intro {
  text-align: center;
  margin-bottom: 1.75rem;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: var(--border);
  box-shadow: var(--shadow-card);
}

.wt-download-intro-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.wt-download-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.wt-download-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.wt-download-expires {
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 14px;
  color: var(--text-body);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.wt-download-zip-wrap {
  margin-bottom: 1.25rem;
}

.wt-download-zip-wrap .wt-btn {
  display: inline-block;
}

.wt-download-expires-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.wt-download-error {
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 14px;
  background: rgba(239, 68, 68, 0.06);
  color: #B91C1C;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.wt-download-filelist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.wt-download-fileitem {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  font-size: 15px;
  border: 1px solid var(--border-color);
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease), transform var(--ease);
}

.wt-download-fileitem:hover {
  border-color: var(--border-color);
  background: var(--gradient-subtle);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

.wt-download-fileitem .wt-filethumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.wt-download-fileitem .wt-filename {
  flex: 1;
  min-width: 0;
  font-weight: 500;
}

.wt-download-fileitem .wt-filesize {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.wt-download-btn {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: var(--accent);
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.1s;
}

.wt-download-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-0.5px);
}

.wt-download-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}

/* Responsive: basari paneli bottom sheet */
@media (max-width: 900px) {
  .wt-success-overlay {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    align-items: flex-end;
  }
  .wt-success-overlay-inner {
    width: 100%;
    max-width: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}

/* ========== Responsive: tum sayfalar ========== */
@media (max-width: 900px) {
  .wt-topbar {
    padding: 0 1rem;
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .wt-topbar-nav {
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .wt-topbar-pill {
    padding: 0.45rem 0.75rem;
    font-size: 13px;
  }
  .wt-landing-main {
    padding: 2rem 1.5rem;
  }
  .wt-landing-title {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  }
  .wt-landing-lead {
    font-size: 15px;
  }
  .wt-left {
    max-width: none;
    padding: 1.25rem 1rem;
  }
  .wt-ad-card {
    margin: 1rem;
    min-height: 200px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }
  .wt-topbar {
    padding: 0 0.75rem;
  }
  .wt-topbar-logo {
    font-size: 1.1rem;
  }
  .wt-landing-main {
    padding: 1.5rem 1rem;
  }
  .wt-landing-title {
    font-size: 1.6rem;
  }
  .wt-btn-hero {
    padding: 0.9rem 1.5rem;
    font-size: 15px;
    width: 100%;
    justify-content: center;
  }
  .wt-landing-chips {
    gap: 0.4rem;
  }
  .wt-chip {
    padding: 0.4rem 0.7rem;
    font-size: 12px;
  }
  .wt-layout {
    min-height: auto;
  }
  .wt-left {
    padding: 1rem 0.75rem;
  }
  .wt-logo {
    font-size: 1.2rem;
  }
  .wt-dropzone {
    padding: 1.5rem 1rem;
  }
  .wt-dropzone-icon {
    width: 40px;
    height: 40px;
  }
  .wt-dropzone-text {
    font-size: 14px;
  }
  .wt-btn,
  .wt-btn-primary {
    min-height: 44px;
    padding: 0.6rem 1rem;
  }
  .wt-upload-area {
    flex-direction: column;
  }
  .wt-upload-area .wt-btn {
    width: 100%;
  }
  .wt-auth-main {
    padding: 1rem 0.75rem;
  }
  .wt-auth-card {
    padding: 1.5rem 1rem;
  }
  .wt-auth-title {
    font-size: 1.35rem;
  }
  .wt-footer-global {
    padding: 0.75rem 1rem;
    font-size: 12px;
  }
  .wt-download-layout .wt-left {
    padding: 1rem 0.75rem;
  }
  .wt-download-title {
    font-size: 1.2rem;
  }
  .wt-download-fileitem {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  .wt-download-fileitem .wt-filename {
    width: 100%;
    order: 1;
  }
  .wt-download-fileitem .wt-download-btn {
    width: 100%;
    text-align: center;
  }
  .page {
    padding: 1.5rem 1rem;
  }
  .logo {
    font-size: 1.5rem;
  }
}

/* Tablolar ve admin: yatay kaydirma */
@media (max-width: 900px) {
  .admin-wrap {
    padding: 1rem;
  }
  .admin-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .admin-table th,
  .admin-table td {
    padding: 0.5rem 0.6rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .admin-tabs {
    flex-direction: column;
  }
  .admin-tab {
    width: 100%;
    text-align: center;
  }
  .admin-filelist li {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}
