/* 
  MMCraftWorks Design System
  Tüm sayfalar bu dosyayı kullanır
  Siyah + Elektrik Mavisi + Premium
*/

:root {
  /* Ana Renkler */
  --bg:          #050810;
  --bg2:         #080d1a;
  --bg3:         #0c1428;
  --card:        #0f1830;
  --card-hover:  #131e38;
  --border:      rgba(0,200,240,0.12);
  --border2:     rgba(0,200,240,0.28);
  --border3:     rgba(0,200,240,0.50);

  /* Marka Renkleri */
  --blue:        #00c8f0;
  --blue-dark:   #0088cc;
  --blue-glow:   rgba(0,200,240,0.25);
  --gold:        #ffd000;
  --green:       #00e87a;
  --red:         #ff3355;
  --purple:      #8855ff;

  /* Yazı */
  --text:        #e8f4ff;
  --text2:       #6888aa;
  --text3:       #3a5060;
  --font-title:  'Orbitron', monospace;
  --font-body:   'Rajdhani', sans-serif;

  /* Efektler */
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --shadow:      0 8px 40px rgba(0,0,0,0.4);
  --glow:        0 0 24px rgba(0,200,240,0.35);
  --glow-gold:   0 0 24px rgba(255,208,0,0.3);

  /* Animasyon */
  --transition:  all 0.2s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TİPOGRAFİ ── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-title);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(1.8rem,4vw,3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.4rem,3vw,2.4rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p  { line-height: 1.7; }
a  { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: #40d8f8; }

.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, #40e0ff 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
  color: var(--text);
}

.section-title span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue);
  margin-bottom: 8px;
  font-family: var(--font-title);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTONLAR ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}
.btn:hover::before { background: rgba(255,255,255,0.05); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #0099cc 100%);
  color: #000;
  box-shadow: 0 4px 15px rgba(0,200,240,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
  color: #000;
}

.btn-secondary {
  background: rgba(0,200,240,0.1);
  color: var(--blue);
  border: 1px solid var(--border2);
}
.btn-secondary:hover {
  background: rgba(0,200,240,0.18);
  border-color: var(--blue);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--blue);
  border-color: var(--border2);
  background: rgba(0,200,240,0.05);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #ff9900 100%);
  color: #000;
  box-shadow: 0 4px 15px rgba(255,208,0,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
  color: #000;
}

.btn-danger {
  background: rgba(255,51,85,0.15);
  color: var(--red);
  border: 1px solid rgba(255,51,85,0.3);
}
.btn-danger:hover { background: rgba(255,51,85,0.25); }

.btn-lg  { padding: 14px 32px; font-size: 13px; }
.btn-sm  { padding: 7px 16px; font-size: 11px; }
.btn-xl  { padding: 18px 44px; font-size: 14px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 10px; }

/* ── KARTLAR ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-glow {
  box-shadow: 0 0 0 1px var(--border2), 0 0 40px rgba(0,200,240,0.08);
}

/* ── FORMLAR ── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text3);
  margin-bottom: 8px;
  font-family: var(--font-title);
}

.form-input {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-body);
  transition: var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,200,240,0.1); }
.form-input::placeholder { color: var(--text3); }
.form-input:disabled { opacity: 0.5; cursor: not-allowed; }

.form-select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-body);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}
.form-select:focus { border-color: var(--blue); }

.form-textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-body);
  resize: vertical;
  outline: none;
  transition: var(--transition);
  min-height: 100px;
}
.form-textarea:focus { border-color: var(--blue); }

.form-error { color: var(--red); font-size: 13px; margin-top: 6px; min-height: 18px; }
.form-success { color: var(--green); font-size: 13px; margin-top: 6px; }

/* ── ROZET / BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-title);
  letter-spacing: 0.5px;
}
.badge-blue   { background: rgba(0,200,240,0.15); color: var(--blue); border: 1px solid rgba(0,200,240,0.3); }
.badge-gold   { background: rgba(255,208,0,0.15); color: var(--gold); border: 1px solid rgba(255,208,0,0.3); }
.badge-teal   { background: rgba(0,210,180,0.15); color: #00d2b4; border: 1px solid rgba(0,210,180,0.3); }
.badge-green  { background: rgba(0,232,122,0.15); color: var(--green); border: 1px solid rgba(0,232,122,0.3); }
.badge-red    { background: rgba(255,51,85,0.15); color: var(--red); border: 1px solid rgba(255,51,85,0.3); }
.badge-purple { background: rgba(136,85,255,0.15); color: var(--purple); border: 1px solid rgba(136,85,255,0.3); }

/* ── SKELETON LOADING ── */
@keyframes skeleton-pulse {
  0%,100% { opacity: 0.4; }
  50%      { opacity: 0.8; }
}
.skeleton {
  background: var(--card2, #131e38);
  border-radius: var(--radius);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  top: 80px;
  right: 24px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px 20px;
  z-index: 9999;
  font-size: 14px;
  max-width: 320px;
  box-shadow: var(--shadow);
  animation: toast-in 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  align-items: center;
  gap: 10px;
}
@keyframes toast-in {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.toast-success { border-left: 3px solid var(--green); }
.toast-error   { border-left: 3px solid var(--red); }
.toast-info    { border-left: 3px solid var(--blue); }
.toast-warning { border-left: 3px solid var(--gold); }

/* ── MOBİL ── */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .btn-lg { padding: 12px 24px; }
}

/* ── UTİLİTY ── */
.hidden   { display: none !important; }
.invisible{ visibility: hidden; }
.flex     { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-8   { gap: 8px; }
.gap-12  { gap: 12px; }
.gap-16  { gap: 16px; }
.gap-24  { gap: 24px; }
.mt-8    { margin-top: 8px; }
.mt-16   { margin-top: 16px; }
.mt-24   { margin-top: 24px; }
.mb-8    { margin-bottom: 8px; }
.mb-16   { margin-bottom: 16px; }
.mb-24   { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-blue   { color: var(--blue); }
.text-gold   { color: var(--gold); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.text-muted  { color: var(--text2); }
.text-sm     { font-size: 13px; }
.text-xs     { font-size: 11px; }
.font-title  { font-family: var(--font-title); }
.w-full      { width: 100%; }
.cursor-pointer { cursor: pointer; }
.opacity-50  { opacity: 0.5; }

/* Social proof animasyonu */
@keyframes slideInLeft {
  from { transform: translateX(-110%); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
@keyframes slideOutLeft {
  from { transform: translateX(0);     opacity: 1; }
  to   { transform: translateX(-110%); opacity: 0; }
}


/* ── EKSİK UTİLİTY CLASSES ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.d-none      { display: none !important; }
.d-flex      { display: flex; }
.d-grid      { display: grid; }
.w-full      { width: 100%; }
.h-full      { height: 100%; }
.overflow-hidden { overflow: hidden; }
.cursor-pointer  { cursor: pointer; }

/* ── ANIMATIONS ──────────────────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.fade-in      { animation: fadeIn .3s ease; }
.slide-in-right { animation: slideInRight .3s ease; }
.animate-pulse  { animation: pulse 2s infinite; }
.animate-spin   { animation: spin 1s linear infinite; }

/* ── SCROLLBAR ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ── SELECTION ───────────────────────────────────────────────────────────── */
::selection { background: rgba(0,200,240,.25); color: var(--text1); }

/* ── FOCUS VISIBLE ───────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); }
