/* === kaynak: components.css 2276-2767 (BOLUM 1A: campaign timer) - Z-2 sprint === */

   BOLUM 1A: CAMPAIGN TIMER
   ═══════════════════════════════════════════════════════════════════ */

.th-timer { display: flex; align-items: center; gap: var(--th-space-1); }
.th-timer-unit { display: flex; flex-direction: column; align-items: center; }
.th-timer-digit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--th-campaign-timer-digit-bg);
  color: var(--th-campaign-timer-digit-text);
  border-radius: var(--th-campaign-timer-radius);
  min-width: 48px; height: 56px;
  font-size: var(--th-text-2xl);
  font-weight: var(--th-font-bold);
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s ease;
}
.th-timer-separator {
  color: var(--th-campaign-timer-separator);
  font-size: var(--th-text-xl);
  font-weight: var(--th-font-bold);
  padding: 0 var(--th-space-1);
  align-self: flex-start;
  margin-top: 12px;
}
.th-timer-label {
  font-size: 10px;
  color: var(--th-campaign-timer-label);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--th-space-1);
  text-align: center;
}

/* Live badge */
.th-live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--th-text-xs); font-weight: var(--th-font-bold);
  color: var(--th-color-danger); text-transform: uppercase;
}
.th-live-badge::before {
  content: ''; width: 8px; height: 8px;
  background: var(--th-color-danger);
  border-radius: 50%;
  animation: th-pulse-dot 1.5s ease-in-out infinite;
}
@keyframes th-pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

@media (max-width: 575px) {
  .th-timer-digit { min-width: 36px; height: 42px; font-size: var(--th-text-lg); }
  .th-timer-separator { font-size: var(--th-text-base); margin-top: 8px; }
}


/* ═══════════════════════════════════════════════════════════════════
   6A: 404 ERROR PAGE — PREMIUM DESIGN
   ═══════════════════════════════════════════════════════════════════ */

/* ── Layout ── */
.e404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: var(--th-space-8) var(--th-space-4);
  text-align: center;
  background: linear-gradient(180deg, var(--th-color-bg) 0%, var(--th-orange-50, #fff8f0) 100%);
}
.e404--split {
  flex-direction: row;
  text-align: left;
  gap: var(--th-space-10, 48px);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Visual / Image ── */
.e404__visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.e404__img {
  max-width: 520px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(242, 122, 26, 0.12));
  animation: e404-float 4s ease-in-out infinite;
}
@keyframes e404-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── Content ── */
.e404__content {
  max-width: 520px;
}
.e404:not(.e404--split) .e404__content {
  max-width: 600px;
}

/* ── Logo (tip_2) ── */
.e404__logo {
  margin-bottom: var(--th-space-4);
}
.e404__logo img {
  max-height: 48px;
  width: auto;
}

/* ── Title ── */
.e404__title {
  font-size: var(--th-text-3xl, 32px);
  font-weight: 800;
  color: var(--th-color-text);
  margin: var(--th-space-4) 0 var(--th-space-2);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* ── Description ── */
.e404__desc {
  font-size: var(--th-text-md, 16px);
  color: var(--th-color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--th-space-6);
}

/* ── Buttons ── */
.e404__actions {
  display: flex;
  gap: var(--th-space-3);
  margin-bottom: var(--th-space-6);
}
.e404:not(.e404--split) .e404__actions {
  justify-content: center;
}
.e404__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--th-space-2);
  padding: 12px 28px;
  border-radius: var(--th-radius-lg, 12px);
  font-size: var(--th-text-base);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.e404__btn--primary {
  background: var(--th-color-accent, #F27A1A);
  color: var(--th-color-text-inverse);
  border-color: var(--th-color-accent, #F27A1A);
  box-shadow: 0 4px 14px rgba(242, 122, 26, 0.3);
}
.e404__btn--primary:hover {
  background: var(--th-color-accent-hover, #d96a10);
  border-color: var(--th-color-accent-hover, #d96a10);
  box-shadow: 0 6px 20px rgba(242, 122, 26, 0.4);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--th-color-text-inverse);
}
.e404__btn--outline {
  background: transparent;
  color: var(--th-color-text);
  border-color: var(--th-color-border);
}
.e404__btn--outline:hover {
  border-color: var(--th-color-accent, #F27A1A);
  color: var(--th-color-accent, #F27A1A);
  text-decoration: none;
}

/* ── Search ── */
.e404__search {
  display: flex;
  align-items: center;
  max-width: 460px;
  background: var(--th-color-bg);
  border: 2px solid var(--th-color-border-light, #e8e8e8);
  border-radius: var(--th-radius-xl, 16px);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.e404:not(.e404--split) .e404__search {
  margin-left: auto;
  margin-right: auto;
}
.e404__search:focus-within {
  border-color: var(--th-color-accent, #F27A1A);
  box-shadow: 0 0 0 4px rgba(242, 122, 26, 0.1);
}
.e404__search-icon {
  padding-left: var(--th-space-4);
  color: var(--th-color-text-muted);
  font-size: 14px;
}
.e404__search-input {
  flex: 1;
  padding: 14px var(--th-space-3);
  border: none;
  font-size: var(--th-text-base);
  outline: none;
  background: transparent;
  color: var(--th-color-text);
}
.e404__search-input::placeholder {
  color: var(--th-color-text-muted);
}
.e404__search-btn {
  padding: 14px 24px;
  background: var(--th-color-accent, #F27A1A);
  color: var(--th-color-text-inverse);
  border: none;
  font-weight: 600;
  font-size: var(--th-text-sm);
  cursor: pointer;
  transition: background 0.2s ease;
  min-height: auto;
  min-width: auto;
}
.e404__search-btn:hover {
  background: var(--th-color-accent-hover, #d96a10);
}

/* ── Suggestion Tags ── */
.e404__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--th-space-2);
  align-items: center;
  margin-top: var(--th-space-4);
}
.e404:not(.e404--split) .e404__suggestions {
  justify-content: center;
}
.e404__suggestions-label {
  font-size: var(--th-text-sm);
  color: var(--th-color-text-muted);
  font-weight: 500;
}
.e404__tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border-light, #e8e8e8);
  border-radius: var(--th-radius-full, 999px);
  font-size: var(--th-text-xs, 12px);
  color: var(--th-color-text);
  text-decoration: none;
  transition: all 0.15s ease;
}
.e404__tag:hover {
  border-color: var(--th-color-accent, #F27A1A);
  color: var(--th-color-accent, #F27A1A);
  background: var(--th-orange-50, #fff8f0);
  text-decoration: none;
}

/* ── 404 Responsive ── */
@media (max-width: 991px) {
  .e404--split {
    flex-direction: column;
    text-align: center;
    gap: var(--th-space-6);
  }
  .e404--split .e404__actions { justify-content: center; }
  .e404--split .e404__search { margin: 0 auto; }
  .e404--split .e404__suggestions { justify-content: center; }
}
@media (max-width: 575px) {
  .e404 { padding: var(--th-space-6) var(--th-space-3); min-height: 60vh; }
  .e404__img { max-width: 320px; }
  .e404__title { font-size: var(--th-text-xl, 24px); }
  .e404__actions { flex-direction: column; }
  .e404__btn { justify-content: center; width: 100%; }
  .e404__search { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════
   6B: PAYMENT LOGOS (footer — tum sayfalarda yukle)
   ═══════════════════════════════════════════════════════════════════ */

.payment-logos-874 {
  text-align: center;
  padding: 24px 0 8px;
  background: var(--th-color-bg);
}
.payment-logos-874 img {
  max-width: 900px;
  width: 95%;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.payment-logos-874:hover img {
  opacity: 1;
}
@media (max-width: 768px) {
  .payment-logos-874 { padding: 12px 0; }
  .payment-logos-874 img { max-width: 100%; width: 100%; }
}


/* ═══════════════════════════════════════════════════════════════════
   1B: RECENTLY VIEWED
   ═══════════════════════════════════════════════════════════════════ */

.th-recently-viewed { margin: var(--th-space-8) 0; }
.th-recently-viewed__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--th-space-4);
}
.th-recently-viewed__header h3 { margin: 0; font-size: var(--th-text-lg); font-weight: var(--th-font-semibold); }
.th-recently-viewed__clear { font-size: var(--th-text-sm); color: var(--th-color-text-muted); text-decoration: underline; background: none; border: none; cursor: pointer; }
.th-recently-viewed__items {
  display: flex;
  gap: var(--th-space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--th-space-2);
}
.th-recently-viewed__card {
  flex: 0 0 140px;
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--th-color-text);
  text-align: center;
}
.th-recently-viewed__card img {
  width: 100%; aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--th-radius-md);
  margin-bottom: var(--th-space-2);
}
.th-recently-viewed__card span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: var(--th-text-xs);
}

/* ==============================================
   SEVIYE ROZETI + REFERANS
   ============================================== */

/* ── Seviye Rozeti (Hesabim Sidebar) ── */
.th-account__level {
  display: flex;
  align-items: center;
  gap: var(--th-space-3);
  padding: var(--th-space-3) var(--th-space-4);
  border-radius: var(--th-radius-lg);
  margin-bottom: var(--th-space-3);
}
.th-account__level__badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--th-radius-full);
  font-size: var(--th-text-lg);
}
.th-account__level__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.th-account__level__info strong {
  font-size: var(--th-text-sm);
  font-weight: var(--th-font-bold);
}
.th-account__level__info span {
  font-size: var(--th-text-xs);
  opacity: .7;
}
.th-account__level__next {
  font-size: var(--th-text-2xs);
  font-weight: var(--th-font-medium);
  opacity: .9;
}
.th-account__level--bronze {
  background: linear-gradient(135deg, #FDF2E9 0%, #FDEBD0 100%);
  color: #CD7F32;
}
.th-account__level--bronze .th-account__level__badge {
  background: rgba(205, 127, 50, .15);
  color: #CD7F32;
}
.th-account__level--silver {
  background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
  color: #A0AEC0;
}
.th-account__level--silver .th-account__level__badge {
  background: rgba(160, 174, 192, .2);
  color: #A0AEC0;
}
.th-account__level--gold {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  color: #D4A017;
}
.th-account__level--gold .th-account__level__badge {
  background: rgba(212, 160, 23, .15);
  color: #D4A017;
}
.th-account__level--platinum {
  background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%);
  color: #8B5CF6;
}
.th-account__level--platinum .th-account__level__badge {
  background: rgba(139, 92, 246, .15);
  color: #8B5CF6;
}

/* ── Referans Davet Kutusu ── */
.th-account__referral {
  padding: var(--th-space-4);
  background: var(--th-neutral-50);
  border: 1px solid var(--th-color-border-light);
  border-radius: var(--th-radius-lg);
  margin-bottom: var(--th-space-3);
}
.th-account__referral__title {
  font-size: var(--th-text-sm);
  font-weight: var(--th-font-bold);
  color: var(--th-color-text);
  margin-bottom: var(--th-space-2);
}
.th-account__referral__title i {
  color: var(--th-color-primary);
  margin-right: var(--th-space-2);
}
.th-account__referral__desc {
  font-size: var(--th-text-xs);
  color: var(--th-color-text-muted);
  margin: 0 0 var(--th-space-3) 0;
}
.th-account__referral__box {
  display: flex;
  gap: 0;
  border-radius: var(--th-radius-md);
  overflow: hidden;
  border: 1px solid var(--th-color-border);
}
.th-account__referral__input {
  flex: 1;
  min-width: 0;
  padding: var(--th-space-2) var(--th-space-3);
  border: none;
  background: var(--th-neutral-0);
  font-size: var(--th-text-xs);
  color: var(--th-color-text-muted);
  outline: none;
}
.th-account__referral__copy {
  flex-shrink: 0;
  padding: var(--th-space-2) var(--th-space-3);
  background: var(--th-color-primary);
  color: var(--th-neutral-0);
  border: none;
  font-size: var(--th-text-xs);
  font-weight: var(--th-font-semibold);
  cursor: pointer;
  transition: var(--th-transition-fast);
  white-space: nowrap;
}
.th-account__referral__copy:hover {
  opacity: .9;
}

@media (max-width: 768px) {
  .th-account__referral__box {
    flex-direction: column;
  }
  .th-account__referral__copy {
    text-align: center;
    padding: var(--th-space-3);
  }
}


/* ═══════════════════════════════════════════════════════════════════
