/* =============================================
   Pyramit Music — Custom Styles
   Theme: Dark + Apple Music Pink
   ============================================= */

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #141014;
  --bg-card: #1a1618;
  --bg-card-hover: #221e20;
  --bg-input: #1e1a1c;

  /* Apple Music inspired pink */
  --accent: #fa2d55;
  --accent-light: #ff6482;
  --accent-dark: #e8175a;
  --accent-deep: #c41250;
  --accent-rgb: 250, 45, 85;
  --accent-glow: rgba(var(--accent-rgb), 0.28);
  --accent-subtle: rgba(var(--accent-rgb), 0.12);
  --accent-soft: rgba(var(--accent-rgb), 0.08);
  --accent-faint: rgba(var(--accent-rgb), 0.06);
  --accent-medium: rgba(var(--accent-rgb), 0.15);
  --accent-strong: rgba(var(--accent-rgb), 0.22);

  --text-primary: #ffffff;
  --text-secondary: #d4d4d4;
  --text-muted: #888888;
  --text-light: #cccccc;
  --border-color: #2a2628;
  --border-accent: rgba(255, 255, 255, 0.08);
  --header-height: 64px;
  --radius: 12px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
  --on-accent: #ffffff;
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: #0a0a0a;
}

body {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

.text-accent {
  color: var(--accent) !important;
}

/* ---- Header ---- */
.site-header {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  z-index: 1030;
}

.site-header .navbar {
  height: var(--header-height);
  padding: 0;
}

.navbar-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary) !important;
  letter-spacing: -0.03em;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 10px;
  color: var(--on-accent);
  font-size: 1.1rem;
}

.logo-text {
  color: var(--text-primary);
}

.navbar-toggler {
  color: var(--text-secondary);
  padding: 0.25rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Search */
.search-wrap {
  position: relative;
  max-width: 420px;
  width: 100%;
}

.search-form {
  max-width: 420px;
  width: 100%;
}

.search-form .input-group-text,
.search-form .form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.search-form .input-group-text {
  border-right: none;
  color: var(--text-muted);
}

.search-form .form-control {
  border-left: none;
  font-size: 0.9rem;
}

.search-form .form-control::placeholder {
  color: var(--text-muted);
}

.search-form .form-control:focus {
  background: var(--bg-input);
  border-color: #444444;
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.search-form .input-group:focus-within .input-group-text {
  border-color: #444444;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  padding: 0.5rem 0;
  max-height: 420px;
  overflow: auto;
}

.search-suggest-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 1rem 0.15rem;
  margin: 0;
}

.search-suggest-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
}

.search-suggest-item:hover {
  background: var(--bg-secondary);
}

.search-suggest-item img,
.search-suggest-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-input);
  color: var(--accent);
}

.search-suggest-item p {
  font-size: 0.9rem;
  font-weight: 600;
}

.search-suggest-item small {
  color: var(--text-muted);
}

.search-suggest-empty,
.search-suggest-more {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.search-suggest-more {
  text-decoration: none;
  border-top: 1px solid var(--border-color);
  color: var(--accent);
}

.search-result-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.25rem;
  color: inherit;
}

.search-result-row + .search-result-row {
  border-top: 1px solid var(--border-color);
}

.search-result-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-input);
  color: var(--accent);
}

.search-form-page {
  max-width: none;
}

.create-media-preview-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius);
  padding: 0.75rem;
}

.create-media-thumb {
  max-height: 140px;
  max-width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.create-media-file {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.create-media-file i {
  font-size: 1.4rem;
  color: var(--accent);
}

.create-media-remove {
  margin-left: auto;
}

.post-image-wrap {
  width: 100%;
  max-height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-image {
  display: block;
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.create-gallery-preview {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius);
  padding: 0.75rem;
}

.create-gallery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.create-gallery-item {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
}

.create-gallery-item img,
.create-gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.create-gallery-item-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.7rem;
  line-height: 1;
}

.create-gallery-item-kind {
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.create-gallery-meta {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.post-carousel-stage {
  position: relative;
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-carousel-slide {
  display: none;
  width: 100%;
  max-height: 520px;
  align-items: center;
  justify-content: center;
}

.post-carousel-slide.is-active {
  display: flex;
}

.post-carousel-slide .post-image-wrap,
.post-carousel-slide .post-video-wrap {
  width: 100%;
  max-height: 520px;
  margin: 0;
  background: transparent;
}

.post-carousel-slide .post-image,
.post-carousel-slide .post-video-player,
.post-carousel-media {
  max-width: 100%;
  max-height: 520px;
  width: auto;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
  background: #000;
}

.post-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  padding: 0;
  cursor: pointer;
}

.post-carousel-btn:hover {
  background: rgba(0, 0, 0, 0.78);
}

.post-carousel-prev {
  left: 10px;
}

.post-carousel-next {
  right: 10px;
}

.post-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}

.post-carousel-dot {
  width: 7px;
  height: 7px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
}

.post-carousel-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.post-carousel-count {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 50px;
}

/* Nav icons */
.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--text-secondary) !important;
  transition: background var(--transition);
}

.nav-icon-btn:hover {
  background: var(--bg-card);
  color: var(--accent) !important;
}

.notification-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
}

/* Profile button */
.btn-profile {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 50px;
  padding: 6px 16px 6px 6px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.btn-profile:hover {
  background: var(--bg-card-hover);
  border-color: #3a3a3a;
  color: var(--text-primary);
}

.profile-avatar,
.profile-avatar-lg,
.profile-header-avatar,
.profile-edit-avatar,
.post-comment-avatar,
.profile-dropdown-user img,
.suggested-user img {
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
  max-width: none;
  max-height: none;
  overflow: hidden;
}

.profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.profile-avatar-lg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
}

.profile-name {
  font-weight: 600;
}

/* ---- Buttons ---- */
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--on-accent);
  border: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: var(--on-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-hero-start {
  background: linear-gradient(120deg, #d81b60 0%, #ff10f0 100%);
  color: #fff;
  border: 1px solid rgba(255, 16, 240, 0.55);
  font-weight: 700;
  border-radius: 50px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
  box-shadow:
    0 0 6px rgba(216, 27, 96, 0.85),
    0 0 12px rgba(216, 27, 96, 0.55),
    0 0 18px rgba(255, 16, 240, 0.32);
  animation: hero-start-neon 2.4s ease-in-out infinite;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.btn-hero-start:hover,
.btn-hero-start:focus-visible {
  background: linear-gradient(120deg, #ff2d78 0%, #ff3df4 100%);
  color: #fff;
  border-color: rgba(255, 16, 240, 0.8);
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 0 8px rgba(216, 27, 96, 0.95),
    0 0 14px rgba(255, 16, 240, 0.5),
    0 0 22px rgba(216, 27, 96, 0.35);
}

@keyframes hero-start-neon {
  0%,
  100% {
    box-shadow:
      0 0 6px rgba(216, 27, 96, 0.8),
      0 0 12px rgba(216, 27, 96, 0.5),
      0 0 16px rgba(255, 16, 240, 0.28);
  }
  50% {
    box-shadow:
      0 0 8px rgba(216, 27, 96, 0.95),
      0 0 14px rgba(255, 16, 240, 0.45),
      0 0 20px rgba(216, 27, 96, 0.32);
  }
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

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

.btn-ghost:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* ---- Sidebar ---- */
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.sidebar-link i {
  font-size: 1.15rem;
  width: 22px;
  text-align: center;
}

.sidebar-link:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.sidebar-link.active {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  font-weight: 600;
}

.sidebar-divider {
  border-color: var(--border-color);
  margin: 1rem 0;
  opacity: 1;
}

.sidebar-title {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.competition-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius);
  color: var(--text-primary);
  text-decoration: none;
  transition: background var(--transition);
  margin-bottom: 4px;
}

.competition-mini:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.competition-mini small {
  color: var(--text-muted);
}

.competition-mini-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.competition-mini-icon.has-image {
  background: #111;
}

.competition-mini-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-see-more {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.sidebar-see-more:hover {
  color: var(--accent);
}

/* ---- Hero Banner ---- */
.hero-banner {
  background:
    radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.1), transparent 50%),
    linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 50%, var(--bg-primary) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  max-width: 400px;
}

.hero-visual {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.hero-vinyl {
  font-size: 5rem;
  color: var(--text-muted);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 8s linear infinite;
  opacity: 0.5;
}

.wave-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  opacity: 0.2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wave-circle-1 {
  width: 80px;
  height: 80px;
  animation: pulse 2s ease-in-out infinite;
}

.wave-circle-2 {
  width: 110px;
  height: 110px;
  animation: pulse 2s ease-in-out infinite 0.5s;
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.15;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.3;
  }
}

/* ---- Feed Cards ---- */
.feed-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: border-color var(--transition);
  max-width: 100%;
  min-width: 0;
}

.feed-card:hover {
  border-color: #333333;
}

.create-post-input {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.95rem;
  width: 100%;
}

.create-post-input::placeholder {
  color: var(--text-muted);
}

.create-post-input:focus {
  background: var(--bg-input);
  border-color: #444444;
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.create-upload {
  margin-top: 0.9rem;
}

.create-upload-track {
  height: 8px;
  border-radius: 50px;
  background: var(--bg-input);
  overflow: hidden;
}

.create-upload-fill {
  height: 100%;
  width: 0;
  border-radius: 50px;
  background: var(--accent);
  transition: width 0.18s linear;
}

.create-upload-fill.is-done {
  background: #22c55e;
}

.create-upload-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.yarisma-yukle-secim {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius);
  padding: 0.75rem;
}

.yarisma-yukle-secim i {
  font-size: 1.35rem;
  color: var(--accent);
}

/* Create poll draft */
.create-poll-draft {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius);
  padding: 1rem;
}

.create-poll-label {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.create-poll-question,
.create-poll-option {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius);
  font-size: 0.9rem;
  padding: 10px 14px;
}

.create-poll-question::placeholder,
.create-poll-option::placeholder {
  color: var(--text-muted);
}

.create-poll-question:focus,
.create-poll-option:focus {
  background: var(--bg-input);
  border-color: #444444;
  color: var(--text-primary);
  box-shadow: none;
}

.create-poll-trigger.active {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
}

.create-poll-option-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.create-poll-option-row .create-poll-option {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.create-poll-option-remove {
  flex: 0 0 auto;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  min-width: 2.25rem;
}

.create-poll-option-remove:hover {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.45);
}

#createPollError {
  font-size: 0.85rem;
}

.create-post-actions .btn-ghost.btn-sm {
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Post */
.post-author {
  color: var(--text-primary);
  font-weight: 600;
}

.post-meta {
  color: var(--text-muted);
}

.post-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.post-card.post-odak {
  outline: 1px solid rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.12);
}

/* Video post */
.post-video-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
}

.post-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.post-video-play:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  transform: translate(-50%, -50%) scale(1.05);
}

.post-video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.post-video-title {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.post-video-views {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Track player mock */
.post-track {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 12px 16px;
}

.track-cover {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-accent);
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.track-cover:hover {
  transform: scale(1.05);
}

.track-info p {
  color: var(--text-primary);
}

.track-info small {
  color: var(--text-muted);
}

.post-audio-player .track-info {
  min-width: 0;
}

.post-audio-player .track-meta {
  display: block;
  margin-bottom: 6px;
}

.track-progress {
  width: 100%;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--border-color);
  border-radius: 4px;
  cursor: pointer;
}

.track-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}

.track-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}

.post-audio-player.is-playing .track-cover {
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.25);
}

.track-play-btn {
  border: none;
  padding: 0;
}

.post-video-player {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  background: #000;
  aspect-ratio: 16 / 9;
  max-height: 420px;
}

.post-video-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.post-video-muted-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  pointer-events: none;
  z-index: 2;
}

.post-video-muted-badge[hidden] {
  display: none !important;
}

.post-video-hint {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 6px;
}

/* ---- Now Playing Bar (mobile) / Card (desktop) ---- */
.now-playing-bar {
  position: fixed;
  z-index: 1045;
  background: rgba(20, 16, 18, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  left: 0;
  right: 0;
  bottom: 0;
}

.now-playing-bar[hidden] {
  display: none !important;
}

.now-playing-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 8px 12px;
  align-items: center;
}

.now-playing-go {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 0;
  cursor: pointer;
  grid-column: 1;
  grid-row: 1;
}

.now-playing-go:hover .now-playing-title {
  color: var(--accent);
}

.now-playing-hint {
  display: none;
}

.now-playing-cover {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.now-playing-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.now-playing-title {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition);
}

.now-playing-artist {
  color: var(--text-muted);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: 2;
  grid-row: 1;
}

.now-playing-time {
  color: var(--text-muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.now-playing-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.now-playing-toggle:hover {
  transform: scale(1.05);
}

.now-playing-progress {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  margin: 0;
}

.now-playing-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
}

.now-playing-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
}

body.has-now-playing .main-content {
  padding-bottom: calc(80px + 72px);
}

@media (max-width: 991.98px) {
  body.has-now-playing .now-playing-bar {
    bottom: calc(56px + env(safe-area-inset-bottom));
  }

  body.has-now-playing .mobile-bottom-nav {
    z-index: 1030;
  }
}

@media (min-width: 992px) {
  body.has-now-playing .main-content {
    padding-bottom: 0;
  }

  .now-playing-bar {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: 280px;
    height: 280px;
    border: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    animation: nowPlayingCardIn 0.25s ease;
  }

  @keyframes nowPlayingCardIn {
    from {
      opacity: 0;
      transform: translateY(16px) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .now-playing-inner {
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .now-playing-go {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 10px;
    grid-column: auto;
    grid-row: auto;
    flex: 1;
    justify-content: center;
  }

  .now-playing-go:hover .now-playing-title {
    color: var(--accent);
  }

  .now-playing-cover {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    font-size: 2rem;
  }

  .now-playing-text {
    align-items: center;
    width: 100%;
  }

  .now-playing-title {
    font-size: 1rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .now-playing-artist {
    font-size: 0.8rem;
    white-space: normal;
  }

  .now-playing-hint {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-top: 2px;
    transition: color var(--transition);
  }

  .now-playing-go:hover .now-playing-hint {
    color: var(--accent);
  }

  .now-playing-progress {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    flex-shrink: 0;
  }

  .now-playing-controls {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .now-playing-time {
    font-size: 0.78rem;
  }

  .now-playing-toggle {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

.track-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.track-wave span {
  display: block;
  width: 3px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}

.track-wave span:nth-child(1) {
  height: 8px;
  animation-delay: 0s;
}
.track-wave span:nth-child(2) {
  height: 16px;
  animation-delay: 0.1s;
}
.track-wave span:nth-child(3) {
  height: 12px;
  animation-delay: 0.2s;
}
.track-wave span:nth-child(4) {
  height: 20px;
  animation-delay: 0.3s;
}
.track-wave span:nth-child(5) {
  height: 10px;
  animation-delay: 0.4s;
}
.track-wave span:nth-child(6) {
  height: 18px;
  animation-delay: 0.5s;
}
.track-wave span:nth-child(7) {
  height: 14px;
  animation-delay: 0.6s;
}
.track-wave span:nth-child(8) {
  height: 22px;
  animation-delay: 0.7s;
}
.track-wave span:nth-child(9) {
  height: 10px;
  animation-delay: 0.8s;
}
.track-wave span:nth-child(10) {
  height: 16px;
  animation-delay: 0.9s;
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1);
  }
}

.post-stats {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.post-stats span {
  cursor: pointer;
  transition: color var(--transition);
}

.post-stats span:hover {
  color: var(--accent);
}

/* Poll */
.post-poll {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.poll-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.post-poll-voted .poll-option::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--poll-yuzde, 0%);
  background: rgba(var(--accent-rgb), 0.12);
  border-radius: var(--radius);
}

.poll-option-selected {
  border-color: var(--accent);
  color: var(--text-primary);
}

.poll-option:disabled {
  cursor: default;
  opacity: 1;
}

.poll-voted-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.poll-total-votes {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.poll-countdown {
  color: var(--accent);
  font-weight: 600;
}

.poll-option:hover {
  border-color: #3a3a3a;
}

.poll-percent {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

.poll-option span:first-child {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding-right: 8px;
}

.poll-sarki-kicker {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.poll-sarki-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.poll-sarki-row {
  align-items: stretch;
  gap: 12px;
  padding: 10px 12px;
}

.poll-sarki-row .poll-sarki-player {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 0;
  position: relative;
  z-index: 1;
}

.poll-sarki-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.poll-sarki-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.poll-sarki-row .track-cover {
  position: relative;
  overflow: hidden;
}

.poll-sarki-row .track-play-icon {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

@media (max-width: 575.98px) {
  .poll-sarki-row {
    flex-direction: column;
    align-items: stretch;
  }

  .poll-sarki-actions {
    justify-content: flex-end;
  }
}

/* Competition banner in post */
.competition-banner-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--text-primary);
  transition: all var(--transition);
}

.competition-banner:hover .competition-banner-inner {
  background: var(--bg-card-hover);
  border-color: #3a3a3a;
}

.competition-banner-inner i {
  font-size: 1.75rem;
  color: var(--accent);
}

.competition-banner-inner small {
  color: var(--text-muted);
}

.competition-banner-inner .btn {
  margin-left: auto;
  flex-shrink: 0;
}

/* ---- Right Sidebar ---- */
.trend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: var(--radius);
  color: var(--text-primary);
  text-decoration: none;
  transition: background var(--transition);
  margin-bottom: 4px;
}

.trend-item:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.trend-item small {
  color: var(--text-muted);
}

.trend-rank {
  width: 28px;
  height: 28px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.suggested-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.suggested-user + .suggested-user {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: 4px;
}

.suggested-user small {
  color: var(--text-muted);
}

.stats-card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

.stat-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stats-card small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ---- Mobile Bottom Nav ---- */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  z-index: 1030;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 4px 12px;
  transition: color var(--transition), text-shadow var(--transition), filter var(--transition);
}

.mobile-nav-item i {
  font-size: 1.25rem;
}

.mobile-nav-item:hover {
  color: #ff0000;
  text-shadow: 0 0 6px rgba(255, 0, 0, 0.45);
}

.mobile-nav-item.active {
  color: #ff0000;
  font-weight: 700;
  text-shadow:
    0 0 5px rgba(255, 0, 0, 0.7),
    0 0 10px rgba(255, 0, 0, 0.4);
  animation: mobile-nav-neon 2.4s ease-in-out infinite;
}

.mobile-nav-item.active i {
  filter: drop-shadow(0 0 3px rgba(255, 0, 0, 0.7));
}

@keyframes mobile-nav-neon {
  0%,
  100% {
    text-shadow:
      0 0 4px rgba(255, 0, 0, 0.65),
      0 0 8px rgba(255, 0, 0, 0.32);
  }
  50% {
    text-shadow:
      0 0 6px rgba(255, 0, 0, 0.8),
      0 0 10px rgba(255, 0, 0, 0.42);
  }
}

/* ---- Main content padding for mobile nav ---- */
.main-content {
  padding-bottom: 80px;
  min-width: 0;
  overflow-x: hidden;
}

@media (min-width: 992px) {
  .main-content {
    padding-bottom: 0;
  }
}

/* ---- Responsive tweaks ---- */
@media (max-width: 767.98px) {
  .hero-banner {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-desc {
    font-size: 0.9rem;
  }

  .hero-visual {
    margin-top: 1rem;
    width: 80px;
    height: 80px;
  }

  .hero-vinyl {
    font-size: 3rem;
  }

  .hero-banner .d-flex {
    justify-content: center;
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-top: 0.5rem;
  }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444444;
}

/* =============================================
   Competition Page Styles
   ============================================= */

/* ---- Competition Hero ---- */

.competition-hero {
  background:
    radial-gradient(
      circle at top right,
      rgba(var(--accent-rgb), 0.08),
      transparent 45%
    ),
    linear-gradient(135deg, var(--bg-secondary), var(--bg-card));

  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);

  padding: 2rem 2.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  overflow: hidden;
  position: relative;
}

.competition-hero .hero-title {
  margin-top: 10px;
}

.competition-hero .hero-desc {
  max-width: 420px;
}

/* Trophy icon */

.competition-hero .hero-vinyl {
  animation: none;

  color: var(--accent);

  opacity: 0.35;

  font-size: 6rem;
}

/* ---- Competition Filter ---- */

.competition-filter {
  display: flex;

  gap: 10px;

  flex-wrap: wrap;
}

/* ---- Competition Card ---- */

.competition-card,
.competition-card.feed-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  max-width: 100%;
  min-width: 0;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.competition-card:hover {
  transform: translateY(-4px);
  border-color: #3a3a3a;
}

.competition-body {
  padding: 1.15rem 1.25rem 1.25rem;
}

.competition-cover {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: linear-gradient(135deg, #222222, #151515);
  border: none;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.competition-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
}

.competition-cover.has-image::before {
  display: none;
}

.competition-cover.has-image i {
  display: none;
}

.competition-cover::before {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  background: rgba(255, 255, 255, 0.15);

  border-radius: 50%;

  top: -80px;

  right: -60px;
}

.competition-cover i {
  position: relative;

  z-index: 2;
}

/* Info Area */

.competition-card h4 {
  font-weight: 800;

  letter-spacing: -0.03em;
}

.competition-card p {
  color: var(--text-secondary);

  font-size: 0.9rem;
}

.competition-info {
  display: flex;

  gap: 15px;

  flex-wrap: wrap;

  margin-top: 15px;
}

.competition-info span {
  display: flex;

  align-items: center;

  gap: 6px;

  font-size: 0.85rem;

  color: var(--text-muted);
}

.competition-info i {
  color: var(--accent);
}

/* Progress */

.competition-card .progress {
  height: 8px;

  background: #252525;

  border-radius: 50px;

  overflow: hidden;
}

.competition-card .progress-bar {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));

  border-radius: 50px;
}

/* ---- Ranking ---- */

.feed-card h5 {
  font-weight: 800;
}

.feed-card hr {
  border-color: var(--border-color);

  opacity: 1;
}

.feed-card .d-flex strong {
  color: var(--accent);
}

/* ---- Right competition sidebar ---- */

.trend-item:hover {
  border-left: 2px solid var(--accent);

  padding-left: 12px;
}

/* ---- Mobile ---- */

@media (max-width: 767px) {
  .competition-hero {
    flex-direction: column;

    text-align: center;

    padding: 1.5rem;
  }

  .competition-hero .hero-visual {
    margin-top: 20px;
  }

  .competition-cover {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .competition-info {
    flex-direction: column;

    gap: 8px;
  }
}

/* Leaderboard */

.leader-item {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 0;
}

.leader-item + .leader-item {
  border-top: 1px solid var(--border-color);
}

.leader-rank {
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--bg-secondary);

  border-radius: 8px;

  font-size: 0.8rem;

  font-weight: 700;

  color: var(--text-secondary);
}

.leader-rank.gold {
  background: rgba(255, 255, 255, 0.08);

  color: var(--accent);
}

.leader-item p {
  font-size: 0.9rem;

  color: var(--text-primary);
}

.leader-item:hover p {
  color: var(--accent);
}

.mention-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.mention-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  padding: 0.35rem 0;
  max-height: 240px;
  overflow: auto;
}

.mention-menu-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  padding: 0.5rem 0.85rem;
  text-align: left;
}

.mention-menu-item:hover,
.mention-menu-item.is-active {
  background: var(--bg-secondary);
}

.mention-menu-item img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 28px;
}

.mention-menu-item span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mention-menu-item strong {
  font-size: 0.88rem;
  font-weight: 600;
}

.mention-menu-item small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.mention-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.mention-link:hover {
  text-decoration: underline;
}

.competition-cover-link {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  line-height: 0;
}

.competition-title-link {
  color: inherit;
  text-decoration: none;
}

.competition-title-link:hover {
  color: var(--accent);
}

.competition-status {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

.competition-status.is-active {
  background: var(--accent);
}

.yarisma-champion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(250, 45, 85, 0.12);
  border: 1px solid rgba(250, 45, 85, 0.25);
}

.yarisma-champion i {
  font-size: 1.4rem;
  color: var(--accent);
}

.yarisma-champion small {
  color: var(--text-muted);
}

.champion-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.champion-podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1rem 0.75rem;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  min-width: 0;
}

.champion-podium-rank {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
}

@media (max-width: 767px) {
  .champion-podium {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   Profile Pages
   ============================================= */

.profile-header-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.profile-header-cover {
  height: 120px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 50%, rgba(var(--accent-rgb), 0.18) 100%);
}

.profile-header-body {
  padding: 0 1.5rem 1.5rem;
  margin-top: -48px;
}

.profile-header-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 96px;
  height: 96px;
}

.profile-header-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid var(--bg-card);
  background: var(--bg-secondary);
}

.profile-avatar-cam {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid var(--bg-card);
  font-size: 0.85rem;
  margin: 0;
  z-index: 2;
}

.profile-avatar-cam:hover {
  filter: brightness(1.08);
}

.profile-avatar-cam.is-busy {
  pointer-events: none;
  opacity: 0.75;
}

.profile-about-bio {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}

.min-w-0 {
  min-width: 0;
}

.profile-header-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.profile-header-nickname {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.profile-header-bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 520px;
}

.profile-stats small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.profile-stat-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.profile-tabs {
  border-bottom: 1px solid var(--border-color);
  gap: 0.25rem;
}

.profile-tabs .nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.75rem 1.25rem;
  margin-bottom: -1px;
  background: transparent;
  transition: all var(--transition);
}

.profile-tabs .nav-link:hover {
  color: var(--text-primary);
  background: transparent;
}

.profile-tabs .nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: transparent;
}

.profile-competition-card {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: border-color var(--transition);
}

.profile-competition-card:hover {
  border-color: #333333;
}

a.profile-competition-card {
  color: inherit;
}

.profile-competition-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.profile-competition-icon-ended {
  opacity: 0.6;
}

.profile-competition-title {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
}

.profile-competition-track {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.profile-competition-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.profile-competition-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

.profile-competition-badge-active {
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
}

.profile-competition-badge-ended {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

/* Profile Edit */
.profile-edit-back {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.profile-edit-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.profile-edit-subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.profile-edit-section-title {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.profile-edit-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.profile-edit-input,
.profile-edit-textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.9rem;
}

.profile-edit-input:focus,
.profile-edit-textarea:focus {
  background: var(--bg-input);
  border-color: #444444;
  color: var(--text-primary);
  box-shadow: none;
}

.profile-edit-input::placeholder,
.profile-edit-textarea::placeholder {
  color: var(--text-muted);
}

.profile-edit-input-addon {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-right: none;
  color: var(--text-muted);
}

.profile-edit-hint {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.profile-edit-avatar-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}

.profile-edit-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--border-color);
}

.profile-edit-avatar-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  opacity: 0;
  cursor: pointer;
  transition: opacity var(--transition);
}

.profile-edit-avatar-wrap:hover .profile-edit-avatar-overlay {
  opacity: 1;
}

.profile-edit-toggle-pw {
  border: 1px solid var(--border-color);
  border-left: none;
  color: var(--text-muted);
  padding: 0 12px;
}

.profile-edit-toggle-pw:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

@media (max-width: 767.98px) {
  .profile-header-body {
    padding: 0 1rem 1.25rem;
    margin-top: -40px;
  }

  .profile-header-avatar-wrap {
    width: 80px;
    height: 80px;
  }

  .profile-header-avatar {
    width: 80px;
    height: 80px;
  }

  .profile-header-name {
    font-size: 1.25rem;
  }

  .profile-competition-card {
    flex-direction: column;
  }
}

/* Profile stat links (takipçi / takip) */
.profile-stat-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.profile-stat-link:hover {
  color: var(--accent);
}

.profile-stat-link:hover .profile-stat-number {
  color: var(--accent);
}

/* Compact posts on profile */
.post-card-compact {
  padding: 0.875rem 1rem;
}

.post-card-compact .post-text {
  font-size: 0.875rem;
  line-height: 1.5;
}

.post-card-compact .post-track {
  padding: 8px 12px;
  gap: 10px;
}

.post-card-compact .track-cover {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

.post-card-compact .track-info p {
  font-size: 0.875rem;
}

.post-card-compact .track-info small {
  font-size: 0.75rem;
}

.post-card-compact .track-wave {
  height: 18px;
}

.post-card-compact .post-video-play {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

.post-card-compact .post-video-title,
.post-card-compact .post-video-views {
  font-size: 0.75rem;
}

.post-card-compact .poll-option {
  padding: 8px 12px;
  font-size: 0.85rem;
}

.post-card-compact .poll-percent {
  font-size: 0.8rem;
}

.post-card-compact .post-stats {
  font-size: 0.8rem;
}

.post-card-compact .post-actions {
  border-top: 1px solid var(--border-color);
  padding-top: 0.4rem;
}

.post-card-compact .post-comment-body p {
  font-size: 0.8rem;
}

.post-card-compact .post-comment-input {
  font-size: 0.8rem;
  padding: 6px 14px;
}

.post-header-compact .post-meta {
  font-size: 0.8rem;
}

.btn-icon-only {
  padding: 2px 6px;
  line-height: 1;
}

.profile-header-cover {
  height: 90px;
}

.profile-header-body {
  padding: 0 1.25rem 1.25rem;
  margin-top: -40px;
}

.profile-header-avatar-wrap {
  width: 80px;
  height: 80px;
}

.profile-header-avatar {
  width: 80px;
  height: 80px;
}

.profile-header-name {
  font-size: 1.25rem;
}

.profile-header-bio {
  font-size: 0.85rem;
}

.profile-competition-card-compact {
  padding: 1rem;
  gap: 0.75rem;
}

.profile-competition-card-compact .profile-competition-icon {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.profile-competition-card-compact .profile-competition-title {
  font-size: 0.9rem;
}

.profile-competition-card-compact .profile-competition-track,
.profile-competition-card-compact .profile-competition-meta {
  font-size: 0.75rem;
}

/* Follow buttons */
.btn-following {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  font-weight: 600;
  border-radius: 50px;
  font-size: 0.75rem;
  padding: 4px 12px;
  transition: all var(--transition);
}

.btn-following:hover {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  border-color: var(--accent);
}

.suggested-user .btn-sm {
  font-size: 0.75rem;
  padding: 4px 12px;
  white-space: nowrap;
}

/* User profile — post interactions */
.profile-follow-btn {
  white-space: nowrap;
  min-width: 110px;
}

.post-actions {
  border-top: 1px solid var(--border-color);
  padding-top: 0.5rem;
}

.post-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.post-action-btn:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.post-action-btn.active,
.post-action-btn[aria-expanded="true"] {
  color: var(--accent);
}

.post-action-btn[aria-expanded="true"] i {
  color: var(--accent);
}

.post-action-btn i {
  font-size: 1rem;
}

.post-comments {
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
  min-width: 0;
}

.post-comment {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  min-width: 0;
  align-items: flex-start;
}

.post-comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.post-comment-body {
  min-width: 0;
  flex: 1;
}

.post-comment-body p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
}

.post-comment-text {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.post-comment-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.post-comment-body small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.post-comment-input {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 50px;
  font-size: 0.85rem;
  padding: 8px 16px;
  min-width: 0;
  flex: 1;
}

.post-comment-input::placeholder {
  color: var(--text-muted);
}

.post-comment-input:focus {
  background: var(--bg-input);
  border-color: #444;
  color: var(--text-primary);
  box-shadow: none;
}

.post-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 50px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1050;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.post-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.post-toast i {
  color: var(--accent);
}

.poll-option-vote:not(:disabled) {
  cursor: pointer;
}

.poll-option-vote:not(:disabled):hover {
  border-color: #3a3a3a;
}

@media (min-width: 992px) {
  .post-toast {
    bottom: 32px;
  }
}

/* =============================================
   Header Dropdowns — Bildirim & Profil
   ============================================= */

.dropdown-toggle-no-caret::after {
  display: none;
}

button.nav-link,
button.btn-profile {
  cursor: pointer;
}

button.nav-icon-btn {
  background: transparent;
  border: none;
}

.header-dropdown .dropdown-menu {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0;
  margin-top: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  color: var(--text-primary);
}

.header-notifications-empty {
  color: #ffffff !important;
}

.header-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.header-dropdown-head h6 {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.header-dropdown-head .btn-ghost {
  font-size: 0.75rem;
  padding: 4px 8px;
  color: var(--accent);
}

.header-dropdown-head .btn-ghost:hover {
  color: var(--accent-light);
}

.header-notifications-panel {
  width: min(360px, calc(100vw - 2rem));
}

.header-notifications-list {
  max-height: 340px;
  overflow-y: auto;
}

.notification-item {
  display: flex;
  gap: 12px;
  padding: 0.875rem 1.25rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition);
  cursor: pointer;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item:hover {
  background: var(--bg-card-hover);
}

.notification-item.unread {
  background: rgba(var(--accent-rgb), 0.06);
}

.notification-item.unread:hover {
  background: rgba(var(--accent-rgb), 0.1);
}

.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.notification-icon-like {
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
}

.notification-icon-follow {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.notification-icon-comment {
  background: rgba(100, 149, 237, 0.15);
  color: #6495ed;
}

.notification-icon-competition {
  background: rgba(255, 193, 7, 0.12);
  color: #ffc107;
}

.notification-icon-system {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

.notification-body {
  flex: 1;
  min-width: 0;
}

.notification-body p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 2px;
}

.notification-body p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.notification-body small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.notification-unread-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.notification-item:not(.unread) .notification-unread-dot {
  display: none;
}

.header-dropdown-footer {
  display: block;
  text-align: center;
  padding: 0.75rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  border-top: 1px solid var(--border-color);
  transition: background var(--transition);
}

.feed-caught-up {
  color: var(--text-secondary);
}

.feed-caught-up h6 {
  color: var(--text-primary);
  font-weight: 700;
}

.support-ticket-item {
  color: inherit;
}

.support-ticket-item:hover .support-ticket-title {
  color: var(--accent);
}

/* Profil dropdown */
.profile-dropdown-menu {
  width: 240px;
}

.profile-dropdown-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.25rem;
}

.profile-dropdown-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.profile-dropdown-user p {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.profile-dropdown-user small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.profile-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  transition: all var(--transition);
}

.profile-dropdown-menu .dropdown-item i {
  width: 18px;
  font-size: 1rem;
}

.profile-dropdown-menu .dropdown-item:hover,
.profile-dropdown-menu .dropdown-item:focus {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.profile-dropdown-menu .dropdown-divider {
  border-color: var(--border-color);
  margin: 0.25rem 0;
  opacity: 1;
}

.profile-dropdown-logout {
  color: var(--accent) !important;
}

.profile-dropdown-logout:hover {
  background: rgba(var(--accent-rgb), 0.1) !important;
  color: var(--accent-light) !important;
}

/* =============================================
   Auth Pages — Login, Register, Verify
   ============================================= */

.auth-page {
  min-height: 100vh;
  background: var(--bg-primary);
}

.auth-layout {
  display: flex;
  min-height: 100vh;
}

.auth-visual {
  flex: 1;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 60%, rgba(var(--accent-rgb), 0.14) 100%);
  position: relative;
  overflow: hidden;
  align-items: center;
  padding: 3rem;
}

.auth-visual-content {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.auth-visual-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, transparent 70%);
  top: 20%;
  right: -10%;
  pointer-events: none;
}

.auth-visual-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.auth-visual-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.auth-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.auth-visual-stats small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.auth-features li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

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

.auth-form-wrap {
  width: 100%;
  max-width: 400px;
}

.auth-form-wrap-wide {
  max-width: 480px;
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.auth-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-wrap > i,
.auth-input-prefix {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 1rem;
  z-index: 1;
  pointer-events: none;
}

.auth-input-prefix {
  font-weight: 600;
}

.auth-input,
.auth-input-plain {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.95rem;
  width: 100%;
}

.auth-input-wrap .auth-input {
  padding-left: 42px;
  padding-right: 42px;
}

.auth-input-with-prefix {
  padding-left: 32px !important;
}

.auth-input-plain {
  padding: 12px 14px;
}

.auth-input::placeholder {
  color: var(--text-muted);
}

.auth-input:focus,
.auth-input-plain:focus {
  background: var(--bg-input);
  border-color: #444;
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.auth-toggle-pw {
  position: absolute;
  right: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 10px;
  cursor: pointer;
  z-index: 1;
}

.auth-toggle-pw:hover {
  color: var(--text-primary);
}

.auth-check .form-check-input {
  background-color: var(--bg-input);
  border-color: var(--border-color);
}

.auth-check .form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.auth-check .form-check-label {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.auth-sartlar-uyari,
.auth-hata-ozet,
.auth-hata-ozet li,
.field-validation-error {
  color: #ff8a8a;
}

.auth-hata-ozet ul {
  margin-bottom: 0;
  padding-left: 1.15rem;
}

.auth-check .form-check-input.is-invalid {
  border-color: #ff8a8a;
}

.auth-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.auth-link:hover {
  color: var(--accent);
}

.auth-link-accent {
  color: var(--accent);
  font-weight: 600;
}

.auth-link-accent:hover {
  color: var(--accent-light);
}

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

.auth-submit {
  padding: 12px;
  font-size: 1rem;
  font-weight: 700;
}

/* E-posta doğrulama */
.auth-verify-layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-verify-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
}

.auth-verify-icon {
  width: 72px;
  height: 72px;
  background: rgba(var(--accent-rgb), 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--accent);
}

.auth-code-input {
  width: 48px;
  height: 52px;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.auth-code-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
  outline: none;
}

.auth-temp-code {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.auth-resend {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.auth-resend .btn-link {
  text-decoration: none;
}

.auth-resend .btn-link:disabled {
  color: var(--text-muted);
  opacity: 0.7;
}

.auth-back-link {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.auth-back-link:hover {
  color: var(--text-primary);
}

@media (max-width: 991.98px) {
  .auth-form-side {
    padding: 1.5rem;
  }

  .auth-title {
    font-size: 1.5rem;
  }

  .auth-code-input {
    width: 42px;
    height: 48px;
    font-size: 1.2rem;
  }
}

@media (max-width: 400px) {
  .auth-code-inputs {
    gap: 6px !important;
  }

  .auth-code-input {
    width: 38px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* =============================================
   Report Modal & Post Menu
   ============================================= */

.post-dropdown-menu {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.35rem;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.post-dropdown-menu .dropdown-item {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
}

.post-dropdown-menu .dropdown-item:hover {
  background: var(--bg-card-hover);
  color: var(--accent);
}

.report-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
}

.report-modal-content .form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.report-modal-content .form-control:focus {
  background: var(--bg-input);
  border-color: #444;
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.report-modal-content .form-control::placeholder {
  color: var(--text-muted);
}

.report-modal-content .text-muted,
.report-modal-content .modal-body {
  color: var(--text-secondary);
}

.report-modal-content .modal-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.report-modal-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.report-reasons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-reason-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 0;
}

.report-reason-option:hover {
  border-color: #444;
  background: var(--bg-card-hover);
}

.report-reason-option input[type="radio"] {
  accent-color: var(--accent);
  flex-shrink: 0;
}

.report-reason-option input[type="radio"]:checked + span,
.report-reason-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}

.report-reason-option span {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.report-textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius);
  font-size: 0.9rem;
  resize: none;
}

.report-textarea:focus {
  background: var(--bg-input);
  border-color: #444;
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.report-textarea::placeholder {
  color: var(--text-muted);
}

.report-char-count {
  display: block;
  text-align: right;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 4px;
}

/* =============================================
   Support Page
   ============================================= */

.support-hero {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
}

.support-hero-icon {
  width: 56px;
  height: 56px;
  background: rgba(var(--accent-rgb), 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.support-hero-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

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

.support-section-title {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.support-section-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.support-select,
.support-input,
.support-textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.support-select:focus,
.support-input:focus,
.support-textarea:focus {
  background: var(--bg-input);
  border-color: #444;
  color: var(--text-primary);
  box-shadow: none;
}

.support-input::placeholder,
.support-textarea::placeholder {
  color: var(--text-primary);
  opacity: 0.75;
}

.support-textarea {
  resize: vertical;
}

.support-char-count {
  display: block;
  text-align: right;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 4px;
}

.support-info-card {
  padding: 1.25rem;
}

.support-info-title {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.support-info-text {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.support-ticket-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.support-ticket-title {
  color: var(--text-primary);
}

.support-ticket-meta {
  display: block;
  margin-top: 4px;
  color: var(--text-primary);
  font-size: 0.8rem;
}

.support-ticket-meta .support-ticket-category {
  color: var(--text-primary);
}

.support-ticket-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.support-ticket-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
  white-space: nowrap;
}

.support-ticket-open {
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
}

.support-ticket-closed {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

.support-accordion .accordion-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  margin-bottom: 8px;
  border-radius: var(--radius) !important;
  overflow: hidden;
}

.support-accordion .accordion-button {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: none;
}

.support-accordion .accordion-button:not(.collapsed) {
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
}

.support-accordion .accordion-button::after {
  filter: invert(1);
  opacity: 0.5;
}

.support-accordion .accordion-body {
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* =============================================
   Genre Interests & Discover
   ============================================= */

.genre-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.genre-chip-groups {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.genre-category {
  margin-bottom: 1.25rem;
}

.genre-category:last-child {
  margin-bottom: 0;
}

.genre-category-title {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.genre-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.genre-chip:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  color: var(--text-primary);
}

.genre-chip.active {
  background: rgba(var(--accent-rgb), 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.genre-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.genre-badge-sm {
  font-size: 0.7rem;
  padding: 4px 10px;
}

.profile-interests-wrap {
  margin-top: 0.75rem;
}

.profile-interests-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.profile-interests-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-interests-empty {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.profile-interests-empty a {
  color: var(--accent);
  font-weight: 600;
}

.discover-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background:
    radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.12), transparent 50%),
    linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.discover-hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.discover-hero-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

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

.discover-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discover-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}

.discover-filter-chip:hover,
.discover-filter-chip.active {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

.discover-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.discover-interests-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.discover-genre-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discover-genre-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.discover-genre-item i {
  color: var(--accent);
  font-size: 1rem;
}

.discover-genre-item span {
  flex: 1;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.discover-genre-item small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.discover-tip {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.discover-no-results {
  color: var(--text-muted);
}

/* =============================================
   Share Modal & Delete Post
   ============================================= */

.share-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
}

.share-modal-content .modal-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.share-modal-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.share-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-secondary);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
}

.share-option:hover {
  background: var(--bg-card-hover);
  border-color: rgba(var(--accent-rgb), 0.35);
}

.share-option-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.share-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.share-option-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.share-option-text small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.share-option-icon-copy {
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
}

.share-option-icon-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.share-option-icon-facebook {
  background: rgba(24, 119, 242, 0.15);
  color: #1877f2;
}

.share-option-icon-instagram {
  background: rgba(225, 48, 108, 0.15);
  color: #e1306c;
}

.post-dropdown-menu .btn-delete-post {
  color: #ff6b6b;
}

.post-dropdown-menu .btn-delete-post:hover {
  background: rgba(255, 107, 107, 0.12);
  color: #ff6b6b;
}

.btn-danger {
  background: #dc3545;
  border: none;
  color: #fff;
  font-weight: 600;
}

.btn-danger:hover {
  background: #bb2d3b;
  color: #fff;
}

.artist-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.artist-badge-bronz {
  background: rgba(176, 109, 48, 0.22);
  color: #d4a574;
}

.artist-badge-gumus {
  background: rgba(168, 178, 190, 0.22);
  color: #c5d0dc;
}

.artist-badge-altin {
  background: rgba(212, 175, 55, 0.24);
  color: #f0c14b;
}

.staff-role-chip {
  display: inline-flex;
  align-items: center;
  margin-left: 0.3rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(var(--accent-rgb), 0.16);
  color: var(--accent);
  vertical-align: middle;
}
