/* ────────────────────────────────────────
     DEV BY LEXO
  ─────────────────────────────────────────── */

.ayarlar-outer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.phone-col {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.phone-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  background: rgba(139,92,246,0.09);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 10px;
  padding: 10px 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.62rem;
  color: #c4b5fd;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.6;
}

.phone-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 7px var(--accent);
  flex-shrink: 0;
  will-change: opacity;
  animation: phoneDotPulse 1.6s ease-in-out infinite;
}

@keyframes phoneDotPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.phone-frame {
  position: relative;
  width: 216px;
  height: 432px;
  border-radius: 42px;
  background: #0c0c18;
  border: 2px solid rgba(139,92,246,0.55);
  overflow: hidden;
  box-shadow:
    0 0 0 6px #09090f,
    0 0 0 7px rgba(139,92,246,0.18),
    0 0 40px rgba(139,92,246,0.22),
    0 0 90px rgba(139,92,246,0.09),
    inset 0 0 32px rgba(0,0,0,0.85);
  will-change: opacity;
  transform: translateZ(0);
  animation: phoneGlow 3.5s ease-in-out infinite;
}

@keyframes phoneGlow {
  0%, 100% { opacity: 0.92; }
  50%       { opacity: 1; }
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 22px;
  background: #09090f;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-frame::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 88px;
  width: 4px;
  height: 60px;
  background: rgba(139,92,246,0.45);
  border-radius: 0 3px 3px 0;
  box-shadow:
    0 76px 0 rgba(139,92,246,0.45);
}

.phone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
  display: block;
}

.phone-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(160deg, #0f0f1c 0%, #1c0b32 100%);
}

.phone-ph-icon {
  font-size: 2.4rem;
  opacity: 0.35;
}

.phone-ph-txt {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  padding: 0 22px;
  line-height: 2;
  opacity: 0.6;
}

.phone-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.65;
}

.phone-label span {
  color: var(--accent);
  opacity: 1;
}

.settings-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.settings-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 6px;
}

.settings-title {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.settings-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}

#settingCards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.setting-card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  animation: fadeUp 0.5s ease both;
  will-change: transform;
  transform: translateZ(0);
}

.setting-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139,92,246,0.16);
}

.setting-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
}

.setting-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.setting-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25);
  font-size: 1rem;
  flex-shrink: 0;
}

.setting-name {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.setting-arrow {
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
}

.setting-card.open .setting-arrow {
  color: var(--accent);
  transform: rotate(90deg);
}

.setting-panel {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 0 18px 16px;
}

.setting-card.open .setting-panel {
  display: flex;
}

.setting-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 4px;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px 9px 18px;
  background: #06060d;
  border: 1px solid rgba(139,92,246,0.14);
  border-radius: 9px;
  position: relative;
  overflow: hidden;
}

.setting-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0.55;
}

.setting-key {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.setting-val {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 1px;
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}

.setting-note {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  padding: 2px 4px;
  opacity: 0.65;
}

.setting-note a {
  color: var(--accent);
  text-decoration: none;
  opacity: 1;
}

.setting-note a:hover {
  text-decoration: underline;
}

.btn-setting-copy {
  margin-top: 2px;
  width: 100%;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid rgba(139,92,246,0.4);
  color: var(--accent);
  background: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-setting-copy:hover {
  background: rgba(139,92,246,0.12);
}

.btn-setting-copy.copied {
  border-color: rgba(168,85,247,0.6);
  color: #d8b4fe;
  background: rgba(168,85,247,0.1);
}

@media (max-width: 900px) {
  .ayarlar-outer {
    flex-direction: column;
    align-items: center;
    padding: 32px 16px 80px;
    gap: 32px;
  }

  .phone-col {
    position: static;
    flex: none;
    width: 100%;
    max-width: 340px;
  }

  .settings-col {
    width: 100%;
  }

  .settings-hero {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .phone-frame {
    width: 190px;
    height: 380px;
  }
}