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

:root {
  --bg-1: #020617;
  --bg-2: #0f172a;
  --bg-3: #1e293b;
  --card: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --cyan: #7dd3fc;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg-1), var(--bg-2), var(--bg-3));
  color: var(--text);
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
}

h1 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 30px;
}

.top-bar {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-links a,
.top-links button,
.user-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
}

.top-links a:hover,
.top-links button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.top-links button {
  cursor: pointer;
}

.user-badge {
  color: var(--cyan);
  font-weight: bold;
}

.filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

input,
select,
button {
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
}

input,
select {
  min-width: 180px;
}

button {
  background: var(--blue);
  color: white;
  cursor: pointer;
  transition: 0.2s ease;
}

button:hover {
  background: var(--blue-hover);
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.movie-card {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
  border: 1px solid var(--border);
}

.movie-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.movie-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.movie-card-content {
  padding: 16px;
}

.movie-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.movie-card p {
  margin-bottom: 8px;
  color: #e2e8f0;
}

.poster-wrap {
  position: relative;
}

.badge {
  position: absolute;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: bold;
  backdrop-filter: blur(8px);
}

.rating {
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #facc15;
}

.year {
  top: 10px;
  right: 10px;
  background: rgba(37, 99, 235, 0.85);
  color: white;
}

.desc {
  min-height: 72px;
  line-height: 1.5;
}

.section-title {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.empty-text {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  margin-top: 20px;
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Kullanıcı dropdown */
.user-menu {
  position: relative;
  display: inline-block;
}

.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 180px;
  display: none;
  flex-direction: column;
  gap: 8px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 20;
}

.user-menu:hover .user-dropdown {
  display: flex;
}

.user-dropdown a,
.user-dropdown button {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: white;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Giriş / kayıt / şifre değiştir sayfaları */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 430px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.auth-logo {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-text {
  text-align: center;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-form input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid transparent;
  outline: none;
  transition: 0.2s ease;
}

.auth-form input::placeholder {
  color: #94a3b8;
}

.auth-form input:focus {
  border-color: #60a5fa;
  background: rgba(255, 255, 255, 0.12);
}

.auth-form button {
  width: 100%;
  margin-top: 4px;
  font-weight: bold;
}

.auth-message {
  min-height: 22px;
  text-align: center;
  color: #93c5fd;
  font-size: 15px;
}

.auth-footer {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
}

.auth-footer a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: bold;
}

.user-card {
  background: var(--card);
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

/* Poster üstü ikonlar */
.icon-group {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.icon-btn:hover {
  transform: scale(1.12);
  background: rgba(0, 0, 0, 0.88);
}

.icon-symbol {
  font-size: 20px;
  line-height: 1;
  color: white;
}

.icon-btn.active .icon-symbol {
  color: #ef4444;
}

.tooltip {
  position: absolute;
  bottom: 120%;
  right: 50%;
  transform: translateX(50%);
  background: #111827;
  color: white;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.icon-btn:hover .tooltip {
  opacity: 1;
}

@media (max-width: 600px) {
  h1 {
    font-size: 36px;
  }

  .auth-card {
    padding: 22px;
    border-radius: 20px;
  }

  .auth-logo {
    font-size: 28px;
  }
}
.lang-switch {
  margin-right: 12px;
}

.lang-switch select {
  min-width: auto;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
}

.top-bar {
  align-items: center;
  gap: 12px;
}
.contact-section {
  margin-top: 60px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-section h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.contact-section p {
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.6;
}

.contact-section a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: bold;
}

.contact-section a:hover {
  text-decoration: underline;
}
.contact-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: 0.2s ease;
}

.contact-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.forgot-wrap {
  margin-top: 14px;
  text-align: left;
}

.forgot-link {
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: 0.2s ease;
}

.forgot-link:hover {
  color: #bae6fd;
  text-decoration: underline;
}

.auth-footer a {
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

.auth-footer a:hover {
  color: #bae6fd;
  text-decoration: underline;
}
.admin-link {
  color: #60a5fa !important;
  font-weight: 700;
}

.admin-link:hover {
  color: #93c5fd !important;
}