/* style.css - نسخه حرفه‌ای با UI/UX پیشرفته و دارک مد */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  min-height: 100vh;
  background: #0b121c;
  background-image: radial-gradient(circle at 30% 40%, #1c3448 0%, #0a0f18 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  overflow-x: hidden;
  color: #eef4ff;
  line-height: 1.5;
}

/* پرچم ترکیه با حرکت ظریف و کم‌رنگ‌تر */
.flag-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.1;
  animation: flagDrift 20s infinite alternate ease-in-out;
}

.turkish-flag {
  width: 400px;
  height: 250px;
  background: linear-gradient(135deg, #c90c1e 30%, #f0f0f0 30% 50%, #c90c1e 50% 70%, #f0f0f0 70%);
  border-radius: 60px;
  filter: blur(25px) brightness(0.5);
  transform: rotate(10deg) scale(1.3);
  box-shadow: 0 0 70px rgba(220, 40, 50, 0.2);
}

@keyframes flagDrift {
  0% { opacity: 0.05; transform: translateX(-5%) rotate(5deg); }
  100% { opacity: 0.15; transform: translateX(5%) rotate(8deg); }
}

/* پنل اصلی گلس مورفیزم با ظرافت بیشتر */
.glass-panel {
  width: 100%;
  max-width: 580px;
  background: rgba(18, 28, 40, 0.7);
  backdrop-filter: blur(18px) saturate(200%);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(70, 160, 255, 0.18);
  border-radius: 48px;
  padding: 32px 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(255, 255, 255, 0.05) inset;
  position: relative;
  z-index: 10;
  transition: all 0.4s ease;
}

/* هدر با برندینگ بهتر */
.header {
  margin-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.brand h1 {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(to left, #fff, #b3e0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}

.trust-badge {
  background: rgba(0, 180, 255, 0.15);
  border: 1px solid #00b8ff50;
  border-radius: 60px;
  padding: 6px 18px;
  font-size: 0.9rem;
  color: #a0dcff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(10px);
}

.subtitle {
  font-size: 1rem;
  color: #9bb5d9;
  padding-right: 8px;
  border-right: 3px solid #2d8fcf;
}

/* دکمه نئونی بهبود یافته */
.neon-button {
  width: 100%;
  padding: 20px 12px;
  background: transparent;
  border: 2px solid #16d0ff;
  border-radius: 60px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0, 200, 255, 0.5);
  box-shadow: 0 0 15px #00a6ff4d, inset 0 0 10px #0099ff33;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.neon-button:not(:disabled) {
  background: rgba(0, 180, 255, 0.18);
  border-color: #4effe6;
  box-shadow: 0 0 40px #00d0ff, 0 0 15px #0099ff inset;
  animation: gentlePulse 2.2s infinite alternate;
}

.neon-button:disabled {
  opacity: 0.4;
  filter: grayscale(60%);
  cursor: not-allowed;
  border-color: #456f8c;
  box-shadow: none;
  text-shadow: none;
  transform: scale(0.98);
}

@keyframes gentlePulse {
  0% { box-shadow: 0 0 20px #00a6ff, 0 0 8px #0099ff inset; }
  100% { box-shadow: 0 0 50px #00f2ff, 0 0 20px #4effe6 inset; }
}

/* کارت اعتبارسنجی */
.verification-card {
  background: rgba(0, 20, 35, 0.45);
  border-radius: 42px;
  padding: 24px 20px;
  border: 1px solid #2575a8;
  box-shadow: 0 15px 25px -12px #00000080;
}

/* چک باکس مدرن شبیه سوئیچ */
.checkbox-modern {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 8px 4px;
  cursor: pointer;
  user-select: none;
}

.checkbox-modern input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.check-toggle {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
  background: #2a4055;
  border-radius: 40px;
  transition: 0.2s;
  box-shadow: inset 0 2px 8px #00000070;
}

.check-toggle:before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: #afc9e0;
  border-radius: 50%;
  top: 3px;
  right: 3px;
  transition: 0.25s;
  box-shadow: 0 2px 6px black;
}

.checkbox-modern input:checked + .check-toggle {
  background: #0099ff;
}

.checkbox-modern input:checked + .check-toggle:before {
  background: white;
  transform: translateX(-26px);
  box-shadow: 0 0 15px cyan;
}

.label-text {
  font-size: 1.15rem;
  font-weight: 500;
  color: #d0e6ff;
}

/* بخش کپچا */
.captcha-area {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 36px;
  padding: 16px;
}

.captcha-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 8px;
}

.captcha-title {
  font-size: 1rem;
  font-weight: 600;
  color: #b8d6ff;
  background: #143c55;
  padding: 5px 16px;
  border-radius: 30px;
}

.refresh-captcha {
  background: transparent;
  border: 1px solid #328fcc;
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 1rem;
  color: #a3d0ff;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.refresh-captcha:hover {
  background: #1f4c70;
  border-color: #4fc3ff;
  color: white;
  transform: scale(1.02);
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0e2335;
  border-radius: 60px;
  padding: 6px;
  border: 1px solid #1b6a9e;
}

.captcha-display {
  background: #102c40;
  padding: 16px 10px;
  border-radius: 50px;
  font-family: 'Courier New', monospace;
  font-size: 1.6rem;
  font-weight: 800;
  min-width: 120px;
  text-align: center;
  border: 1px solid #2f93d0;
  color: #9ff9ff;
  box-shadow: 0 0 10px #0095ff;
  letter-spacing: 2px;
}

.captcha-box input {
  flex: 1;
  background: #122c40;
  border: 1px solid #2473b0;
  border-radius: 50px;
  padding: 16px 18px;
  color: white;
  font-size: 1.2rem;
  outline: none;
  transition: 0.2s;
}

.captcha-box input:focus {
  border-color: #0af;
  box-shadow: 0 0 0 3px #0099ff40;
}

.captcha-error {
  min-height: 30px;
  color: #ffa098;
  margin-top: 12px;
  padding-right: 16px;
  font-weight: 500;
  transition: opacity 0.2s;
  font-size: 0.95rem;
}

/* بخش قوانین با طراحی مدرن‌تر */
.rules-section {
  margin: 28px 0 24px;
}

.rules-details {
  background: rgba(10, 35, 55, 0.6);
  border-radius: 42px;
  border: 1px solid #2c6d9c;
  overflow: hidden;
  transition: 0.25s;
}

.rules-details summary {
  padding: 20px 24px;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d3efff;
  background: rgba(0, 40, 70, 0.3);
}

.rules-details summary::-webkit-details-marker {
  display: none;
}

.rules-details summary::after {
  content: "⌄";
  font-size: 2rem;
  line-height: 1;
  transition: transform 0.3s;
  color: #3bc0ff;
}

.rules-details[open] summary::after {
  transform: rotate(180deg);
}

.badge {
  background: #124f7a;
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.95rem;
  font-weight: 400;
  color: #c5ecff;
}

.rules-content {
  padding: 8px 10px 20px 10px;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rules-list li {
  background: rgba(30, 70, 110, 0.3);
  padding: 15px 22px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.1rem;
  border: 1px solid #2b80b0;
  transition: 0.15s;
}

.rules-list li:hover {
  background: #194a6e60;
  border-color: #3aa8e0;
}

.rule-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 5px cyan);
}

/* بخش گزارشات حرفه‌ای */
.report-section {
  background: rgba(0, 35, 55, 0.6);
  border-radius: 46px;
  padding: 26px 22px;
  margin: 20px 0 20px;
  border: 1px solid #2a82b0;
  box-shadow: 0 0 30px #00446640;
}

.report-section h2 {
  font-size: 1.9rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d6f0ff;
  font-weight: 600;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.report-item {
  background: #102c3f;
  padding: 18px 8px;
  border-radius: 40px;
  text-align: center;
  border: 1px solid #267bb0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 1rem;
  transition: 0.15s;
  box-shadow: 0 5px 10px #00000040;
}

.report-item:hover {
  background: #164f72;
  border-color: #5ac8ff;
  transform: translateY(-2px);
}

.report-emoji {
  font-size: 1.3rem;
}

.report-contact {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: #bdd6f0;
  text-align: center;
}

.copy-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #092433;
  border-radius: 100px;
  padding: 6px 6px 6px 22px;
  border: 1px solid #1b81c0;
  gap: 10px;
}

.username-container {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0a3147;
  padding: 8px 22px;
  border-radius: 60px;
}

.username-icon {
  font-size: 1.5rem;
}

.username {
  font-size: 1.4rem;
  font-weight: 600;
  direction: ltr;
  color: #b8ffff;
  text-shadow: 0 0 8px #00b3ff;
}

.copy-btn {
  background: #0d4b73;
  border: none;
  color: white;
  font-size: 1.2rem;
  padding: 12px 26px;
  border-radius: 60px;
  cursor: pointer;
  box-shadow: 0 0 20px #0095ff;
  transition: 0.15s;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #67ccff;
}

.copy-btn.copied {
  background: #108040;
  transform: scale(0.95);
}

.copy-toast {
  background: #1db81d;
  color: #111;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 60px;
  margin-top: 20px;
  text-align: center;
  font-size: 1.2rem;
  opacity: 0;
  transition: 0.25s;
  box-shadow: 0 0 40px #36ff36;
}

.copy-toast.show {
  opacity: 1;
}

/* فوتر مینیمال */
.footer {
  text-align: center;
  margin-top: 32px;
  font-size: 1rem;
  color: #7a99b5;
  border-top: 1px solid #234a66;
  padding-top: 22px;
  direction: ltr;
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* موبایل ریسپانسیو کامل */
@media (max-width: 480px) {
  .glass-panel {
    padding: 24px 18px;
  }
  .brand h1 {
    font-size: 1.8rem;
  }
  .neon-button {
    font-size: 1.2rem;
    padding: 18px;
  }
  .captcha-display {
    font-size: 1.3rem;
    min-width: 95px;
    padding: 12px 4px;
  }
  .captcha-box {
    flex-wrap: wrap;
  }
  .captcha-box input {
    width: 100%;
  }
  .report-grid {
    grid-template-columns: 1fr;
  }
  .username {
    font-size: 1.2rem;
  }
  .copy-btn {
    padding: 12px 18px;
  }
  .rules-list li {
    font-size: 1rem;
  }
}