/* Premium sayfalar – modern, dikkat çekici, profesyonel */

.premium-page {
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Panel / Düzenle / Yönetim: arka plan görseli üzerinde karartma (sadece body’de; üye sayfasındaki overlay div’e uygulanmaz) */
body.premium-bg-overlay {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(/files/images/homeyellow-backgroundd.jpg) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  min-height: 100vh;
}

/* Turkce karakter destegi icin Inter; baslik boyutlari kucuk */
.premium-page .premium-font-display,
.premium-page .premium-hero-title,
.premium-page .premium-section-title {
  font-family: 'HiJack', system-ui, sans-serif;
  letter-spacing: 0.02em;
}

/* Premium sayfa başlıkları – mor → beyaz gradient, aynı tipografi */
.premium-page:not(.premium-root) h1.premium-font-display {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(90deg, #7c3aed 0%, #a78bfa 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.premium-liste-title {
  font-family: 'HiJack', sans-serif !important;
  font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.02em !important;
  background: linear-gradient(90deg, #7c3aed 0%, #a78bfa 50%, #ffffff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.premium-page:not(.premium-root) .premium-section-title {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: #ffd700;
}

.premium-page:not(.premium-root) .premium-section-title::before {
  background: linear-gradient(180deg, #ffd700, #ffaa00);
}

.premium-page:not(.premium-root) .premium-action-btn-primary {
  background: linear-gradient(135deg, #d4a012 0%, #b8860b 100%);
  box-shadow: 0 4px 16px rgba(212, 160, 18, 0.4);
}

.premium-page:not(.premium-root) .premium-action-btn-primary:hover {
  background: linear-gradient(135deg, #ffd700 0%, #d4a012 100%);
  box-shadow: 0 6px 24px rgba(255, 215, 0, 0.45);
}

.premium-page:not(.premium-root) .premium-input-modern:focus {
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.premium-page:not(.premium-root) .premium-card-modern:hover {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 215, 0, 0.08);
}

/* Uye sayfasi (premium-root): mor → beyaz gradient */
body.premium-root .premium-hero-title {
  font-family: 'HiJack', sans-serif !important;
  font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.02em !important;
  background: linear-gradient(90deg, #7c3aed 0%, #a78bfa 50%, #ffffff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

body.premium-root .premium-section-title {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--premium-accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

body.premium-root .premium-section-title::before {
  content: '';
  width: 4px;
  height: 1em;
  border-radius: 2px;
  background: var(--premium-accent);
}

body.premium-root .premium-social-link {
  color: var(--premium-accent);
  border-color: color-mix(in srgb, var(--premium-accent) 0.4, transparent);
}

body.premium-root .premium-social-link:hover {
  background: color-mix(in srgb, var(--premium-accent) 0.2, transparent);
  border-color: var(--premium-accent);
  color: var(--premium-accent);
}

body.premium-root .premium-discord-card-modern:hover {
  background: color-mix(in srgb, var(--premium-accent) 0.12, transparent);
}

body.premium-root .premium-discord-avatar-modern {
  border-color: color-mix(in srgb, var(--premium-accent) 0.6, transparent);
}

/* Bolum basliklari ortak (boyut yukarida sayfa tipine gore) */
.premium-page .premium-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.premium-page .premium-section-title::before {
  content: '';
  width: 4px;
  height: 1em;
  border-radius: 2px;
}

/* ─── Butonlar: net, tıklanabilir, hover belirgin ─── */
.premium-btn,
.premium-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.premium-btn:hover,
.premium-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.45);
}

.premium-btn:active,
.premium-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.premium-btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
}

.premium-btn-primary:hover {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
}

.premium-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.premium-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* Form submit / aksiyon butonları (edit, panel, manage) */
.premium-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  border: none;
  text-decoration: none;
}

.premium-action-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.premium-action-btn:active {
  transform: translateY(0);
}

.premium-action-btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.premium-action-btn-primary:hover {
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
}

.premium-action-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.premium-action-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.premium-action-btn-success {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.4);
}

.premium-action-btn-success:hover {
  box-shadow: 0 6px 24px rgba(22, 163, 74, 0.5);
}

.premium-action-btn-warning {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.4);
}

.premium-action-btn-warning:hover {
  box-shadow: 0 6px 24px rgba(217, 119, 6, 0.5);
}

.premium-action-btn-danger {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
}

.premium-action-btn-danger:hover {
  box-shadow: 0 6px 24px rgba(220, 38, 38, 0.5);
}

/* ─── Kartlar: yari seffaf cam + tema rengi ince cerceve ─── */
.premium-card-modern {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* Uye sayfasi: kart cercevesi tema renginde (ince cerceve; sayfa inline style ile de ayarlaniyor) */
body.premium-root .premium-card-modern {
  border: 1px solid var(--premium-accent);
  border-color: color-mix(in srgb, var(--premium-accent) 45%, transparent);
}

body.premium-root .premium-card-modern:hover {
  border-color: color-mix(in srgb, var(--premium-accent) 65%, transparent);
}

/* Panel / Duzenle / Yonetim: kart cercevesi site temasinda (altin) */
.premium-page:not(.premium-root) .premium-card-modern {
  border: 1px solid rgba(255, 215, 0, 0.22);
}

.premium-card-modern:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}


/* Discord kartı – tıklanabilir vurgu */
.premium-discord-card-modern {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-discord-card-modern:hover {
  background: rgba(99, 102, 241, 0.12);
  transform: translateY(-1px);
}

.premium-discord-avatar-modern {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(99, 102, 241, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Sosyal linkler – pill buton görünümü */
.premium-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a5b4fc;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.premium-social-link:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: #c7d2fe;
  transform: translateX(4px);
}


/* Input alanları (edit/panel) */
.premium-input-modern {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.premium-input-modern:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.premium-input-modern::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Yönetim listesi kartları */
.premium-manage-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* Badge / etiket */
.premium-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.premium-badge-success {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.premium-badge-warning {
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.premium-badge-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Panel kartları – cam + site temasinda ince cerceve */
.premium-panel-card-modern {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-page:not(.premium-root) .premium-panel-card-modern:hover {
  border-color: rgba(255, 215, 0, 0.4);
}

/* Yonetim listesi – cam + site temasinda ince cerceve */
.premium-manage-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.premium-page:not(.premium-root) .premium-manage-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 215, 0, 0.4);
}

/* Fotoğraf ekleme alanı – net tıklanabilir */
.premium-photo-add-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border: 2px dashed rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.premium-photo-add-zone:hover {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.12);
  transform: translateY(-1px);
}

.premium-photo-add-zone i {
  font-size: 1.25rem;
  opacity: 0.9;
}

.premium-page:not(.premium-root) .premium-photo-add-zone:hover {
  border-color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
}

/* Seçilip henüz yüklenmemiş görsel önizlemesi – kırmızı çerçeve */
.premium-preview-pending {
  border: 3px solid #dc2626 !important;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.5);
}

/* Yükle butonu – yükleme bekleniyor (yeşil, vurgulu) */
.premium-upload-btn-ready {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
  color: #fff !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.4) !important;
  font-weight: 700 !important;
}
.premium-upload-btn-ready:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.5) !important;
}

.premium-photo-preview-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.premium-photo-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.premium-photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.95);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  padding: 0;
}

.premium-photo-remove:hover {
  background: #dc2626;
  transform: scale(1.08);
}

/* Uye sayfasi: fotograflar alt alta, buyuk */
.premium-photos-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.premium-photos-list .premium-photo-item {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-photos-list .premium-photo-item:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.premium-photos-list .premium-photo-item img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  background: rgba(0, 0, 0, 0.2);
}

/* Tam ekran fotograf overlay */
/* Tam ekran acikken scroll kilitli ve arka planda hicbir sey gorunmesin */
html.premium-fullscreen-open,
body.premium-fullscreen-open {
  overflow: hidden !important;
  height: 100%;
}

body.premium-fullscreen-open .premium-pusula-container,
body.premium-fullscreen-open .premium-pusula-overlay {
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.premium-fullscreen-photo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  min-height: 100dvh; /* mobil adres cubugu icin */
  z-index: 1000010;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  box-sizing: border-box;
}

.premium-fullscreen-photo.is-open {
  opacity: 1;
  visibility: visible;
}

.premium-fullscreen-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.premium-fullscreen-photo .premium-fullscreen-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.premium-fullscreen-photo .premium-fullscreen-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
