:root {
  --bg-color: #0f172a;
  --text-color: #f1f5f9;
  --header-bg: #1e293b;
  --accent: #38bdf8;
  --accent-hover: #0ea5e9;
  --card-bg: #1e293b;
}
body.light-mode {
  --bg-color: #ffffff;
  --text-color: #1e293b;
  --header-bg: #f8fafc;
  --card-bg: #f1f5f9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}
header {
  background: var(--header-bg);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}
header h1 {
  font-size: 24px;
  color: var(--accent);
}
.nav-toggle {
  display: none;
  font-size: 28px;
  color: var(--text-color);
  cursor: pointer;
  background: none;
  border: none;
  transition: transform 0.3s ease;
}
.nav-toggle:active {
  transform: rotate(90deg);
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}
nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s;
}
nav a:hover::after {
  width: 100%;
}
nav a:hover {
  color: var(--accent);
}
.lang-switch, .theme-toggle {
  background: #334155;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  color: #f1f5f9;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.lang-switch:hover, .theme-toggle:hover {
  background: #475569;
  transform: scale(1.05);
}
.hero {
  text-align: center;
  padding: 100px 20px 60px;
  background: radial-gradient(circle at top, #1e3a8a 0%, var(--bg-color) 100%);
}
.hero h2 {
  font-size: 44px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #cbd5e1;
}
.hero .btn-primary, .hero .btn-secondary {
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  margin: 5px;
  display: inline-block;
  transition: transform 0.2s ease, background 0.3s ease;
}
.btn-primary {
  background-color: var(--accent);
  color: var(--bg-color);
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: scale(1.05);
}
.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-secondary:hover {
  background-color: var(--header-bg);
  transform: scale(1.05);
}
.features, .how-it-works {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}
.features h3, .how-it-works h3 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--accent);
}
.features-grid, .how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.feature, .how-step {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: background 0.3s ease, color 0.3s ease;
}
.feature h4, .how-step h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--accent);
}
.feature p, .how-step p {
  color: var(--text-color);
}
.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  filter: brightness(1.1) saturate(1.2);
  object-fit: contain;
}
@media (max-width: 768px) {
  .card-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
  }
}
.feature:hover .card-icon,
.how-step:hover .card-icon {
  transform: scale(1.1);
}
footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  color: #94a3b8;
  border-top: 1px solid #334155;
  margin-top: 60px;
  background: var(--header-bg);
  transition: background 0.3s ease;
}
footer a {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  margin: 0 8px;
}

footer a:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

@media (max-width: 768px) {
nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--header-bg);
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: scaleY(0.95);
    transform-origin: top right;
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease, padding 0.3s ease;
}

nav.active {
    padding: 20px;
    max-height: 500px; /* yeterli yüksekliği belirle */
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
}

.nav-toggle {
    display: block;
}
}
/* === Login Form Styling (flly.io theme uyumlu) === */
.login-wrapper {
  max-width: 420px;
  margin: 60px auto;
  background: var(--card-bg);
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.login-wrapper h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.login-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-wrapper input[type="text"],
.login-wrapper input[type="password"],
.login-wrapper input[type="email"] {
  padding: 10px 14px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #0f172a;
  color: #f1f5f9;
  font-size: 15px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

body.light-mode .login-wrapper input[type="text"],
body.light-mode .login-wrapper input[type="password"] {
  background: #fff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.login-wrapper label {
  font-size: 14px;
  display: flex;
  align-items: center;
}

.login-wrapper input[type="checkbox"] {
  transform: scale(1.1);
  margin-right: 8px;
}

.login-wrapper button[type="submit"] {
  background: var(--accent);
  color: var(--bg-color);
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.login-wrapper button[type="submit"]:hover {
  background: var(--accent-hover);
  transform: scale(1.03);
}

.login-wrapper .error-message {
  background: #ffcccc;
  color: #7f1d1d;
  padding: 10px 14px;
  border-left: 4px solid #dc2626;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 14px;
}

.login-wrapper a {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  text-align: center;
}

.login-wrapper a:hover {
  text-decoration: underline;
}

.login-wrapper .footer {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #94a3b8;
}
.login-wrapper p {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-color);
}

.login-wrapper p a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.login-wrapper p a:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

/* === Register Form Styling (flly.io Theme) === */
.validation-msg {
  font-size: 13px;
  margin-top: -10px;
  margin-bottom: 5px;
  color: #f87171; /* tailwind rose-400 */
}

.turnstile-wrapper {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.terms-box {
  font-size: 14px;
  background: var(--header-bg);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #334155;
  color: var(--text-color);
  margin-top: 10px;
}

.terms-box a {
  color: var(--accent);
  text-decoration: underline;
}

.terms-box input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.1);
}
.contact-box {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: background 0.3s ease;
}

.contact-box h2 {
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 20px;
  text-align: center;
}

.contact-box p {
  margin-bottom: 20px;
  color: var(--text-color);
  text-align: center;
}

.contact-box label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 500;
  color: var(--text-color);
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #475569;
  background: var(--header-bg);
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  transition: border 0.3s ease, background 0.3s ease;
}

.contact-box input:focus,
.contact-box textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-color);
}

.contact-box button[type="submit"] {
  background-color: var(--accent);
  color: var(--bg-color);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  margin-top: 15px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  display: block;
  width: 100%;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-box button[type="submit"]:hover {
  background-color: var(--accent-hover);
  transform: scale(1.02);
}

#contactMessage {
  margin-top: 10px;
  font-weight: 500;
  text-align: center;
}

.contact-box a {
  color: var(--accent);
  text-decoration: underline;
}

.contact-box .cf-turnstile {
  margin-top: 16px;
  margin-bottom: 10px;
}

.bonus-banner {
  background: linear-gradient(to right, #22c55e, #16a34a);
  color: #fff;
  text-align: center;
  padding: 14px 10px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
}

.bonus-banner .btn-bonus {
  background-color: #fff;
  color: #16a34a;
  padding: 8px 14px;
  margin-left: 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}
.bonus-banner .bonus-highlight {
  background: linear-gradient(135deg, #facc15, #f97316, #ec4899);
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 900;
  display: inline-block;
  margin: 0 10px;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
  animation: glowPulse 2.5s infinite ease-in-out;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 6px rgba(255, 255, 255, 0.4); }
  50% { box-shadow: 0 0 14px rgba(255, 255, 255, 0.9); }
  100% { box-shadow: 0 0 6px rgba(255, 255, 255, 0.4); }
}
/* ✅ Google Font: Inter kullan */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;700;900&display=swap');

/* === Genel stil ayarları === */
body {
  font-family: 'Inter', sans-serif;
}

/* === İstatistik Alanı === */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
  padding: 70px 20px 40px;
  max-width: 1100px;
  margin: 0 auto;
  background: transparent;
}

/* === Her Stat Kutusu === */
.stat-item {
  text-align: center;
  flex: 1 1 220px;
  transition: transform 0.2s ease;
}

.stat-item:hover {
  transform: scale(1.05);
}

/* === Sayılar === */
.stat-item h3 {
  font-size: 48px;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.8px;
  position: relative;
}

/* ✅ Sayı içeriğini hedefle ve renk uygula */
.stat-item h3 span {
  color: var(--stat-number);
}

/* Sayı altına ince çizgi */
.stat-item h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: var(--stat-accent);
  margin: 12px auto 0;
  border-radius: 10px;
}

/* === Açıklamalar === */
.stat-item p {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--stat-label);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Dolar işareti ve + simgesini JS'den ayırmak için ayrı stiller */
.stat-item h3 .plus {
  font-weight: 900;
  margin-left: 2px;
}

.stat-item h3 .dollar {
  font-weight: 900;
  margin-right: 2px;
}

/* === Tema Renkleri === */
:root {
  --stat-number: #0f172a;
  --stat-label: #475569;
  --stat-accent: #3b82f6; /* canlı mavi çizgi */
}

body.dark-mode {
  --stat-number: #ffffff;   /* ✅ TAM beyaz rakamlar */
  --stat-label: #94a3b8;
  --stat-accent: #60a5fa;
}
.signup-bonus {
  background: linear-gradient(90deg, #00c853, #009624);
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 15px;
  border-radius: 6px;
  margin: 12px 0 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 10px rgba(0,200,83,0.6); }
  50% { transform: scale(1.03); box-shadow: 0 0 20px rgba(0,200,83,0.8); }
  100% { transform: scale(1); box-shadow: 0 0 10px rgba(0,200,83,0.6); }
}

/* Stats bar – yarı saydam kart */
.stats-bar {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  padding: 3rem 1.5rem;
  max-width: 900px;
  margin: 3rem auto 5rem;         /* iki bölüm arası boşluğu artırır */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
