/* ==========================================================================
   TYOLDURAN - METIN2 DEVELOPMENT & SERVER FILES
   Dark Fantasy Leather & Antique Gold Theme (Arcadia2 kahverengi arayuzle uyumlu)
   ========================================================================== */

:root {
  --bg-primary: #0c0907;
  --bg-secondary: #16110d;
  --bg-card: rgba(30, 22, 16, 0.75);
  --bg-card-hover: rgba(42, 30, 20, 0.85);
  --bg-glass: rgba(24, 18, 13, 0.65);
  
  --primary: #e2b866;
  --primary-glow: rgba(226, 184, 102, 0.35);
  --primary-dark: #a8782f;
  
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.35);
  --accent-gold-light: #fbbf24;
  
  --accent-emerald: #10b981;
  --accent-ruby: #ef4444;
  --accent-purple: #8b5cf6;
  
  --text-main: #f3ece2;
  --text-muted: #b3a490;
  --text-dim: #857561;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(226, 184, 102, 0.4);
  --border-gold: rgba(245, 158, 11, 0.4);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px var(--primary-glow);
  --shadow-gold: 0 0 25px var(--accent-gold-glow);
}

/* Light / High-Contrast Accent Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-primary);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #2a1d12 0%, var(--bg-primary) 70%);
}

/* Ambient Background Canvas Effect */
#ambientCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #2e2419;
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #f0b36c 60%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fffbeb 0%, #fcd34d 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-normal);
  background: rgba(12, 9, 7, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(12, 9, 7, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border-bottom-color: rgba(226, 184, 102, 0.15);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--border-gold);
  box-shadow: 0 0 15px var(--accent-gold-glow);
  transition: var(--transition-fast);
}

.brand-wrapper:hover .brand-logo {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 20px var(--primary-glow);
  border-color: var(--primary);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-verified {
  background: rgba(226, 184, 102, 0.15);
  color: var(--primary);
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 20px;
  border: 1px solid rgba(226, 184, 102, 0.3);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switch {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 4px;
  display: flex;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn.active {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #d4a24c 0%, #b07a3a 100%);
  color: #120b05;
  font-weight: 800;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(226, 184, 102, 0.5);
  background: linear-gradient(135deg, #f0b36c 0%, #e2b866 100%);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #1a0f02;
  font-weight: 800;
  box-shadow: 0 4px 20px var(--accent-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-discord {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(88, 101, 242, 0.5);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: radial-gradient(circle at 60% 40%, black 20%, transparent 80%), linear-gradient(to left, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%), linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  opacity: 0.65;
  filter: contrast(1.1) brightness(0.95);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-badge-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(30, 22, 16, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-badge-strip span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 900;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  max-width: 540px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Hero Tech Floating Card */
.hero-tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 30px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), 0 0 35px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
}

.tech-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.tech-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-status-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 700;
}

.tech-specs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tech-spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.tech-spec-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(226, 184, 102, 0.2);
  transform: translateX(4px);
}

.spec-key {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: rgba(226, 184, 102, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(226, 184, 102, 0.2);
}

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(226, 184, 102, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(226, 184, 102, 0.2);
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   SYSTEMS SHOWCASE (CARDS)
   ========================================================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(10px);
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, #b07a3a 100%);
  color: #120b05;
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.system-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.system-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 25px var(--primary-glow);
}

.system-card.featured {
  border-color: var(--border-gold);
}
.system-card.featured:hover {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent-gold-glow);
}

.card-top-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-core {
  background: rgba(226, 184, 102, 0.2);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.badge-pvm {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold-light);
  border: 1px solid var(--accent-gold);
}
.badge-ui {
  background: rgba(139, 92, 246, 0.2);
  color: #c084fc;
  border: 1px solid #c084fc;
}

.card-preview {
  height: 180px;
  background: linear-gradient(135deg, #1a130d, #281d14);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.preview-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-size: 20px 20px;
  background-image: 
    linear-gradient(to right, #ffffff 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff 1px, transparent 1px);
}

.card-icon-container {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 2;
  transition: var(--transition-bounce);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.system-card:hover .card-icon-container {
  transform: scale(1.15) rotate(4deg);
  border-color: var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.card-highlights {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-highlights li {
  font-size: 0.85rem;
  color: #d8ccbb;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.card-highlights li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-emerald);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.source-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   INTERACTIVE SIMULATOR WIDGET (LIVE LAB)
   ========================================================================== */
.simulator-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 50px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
}

.simulator-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--border-light);
}

.sim-window-dots {
  display: flex;
  gap: 8px;
}

.sim-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.sim-tabs {
  display: flex;
  gap: 8px;
}

.sim-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sim-tab-btn.active {
  background: rgba(226, 184, 102, 0.15);
  color: var(--primary);
  border: 1px solid rgba(226, 184, 102, 0.3);
}

.simulator-body {
  padding: 30px;
  min-height: 480px;
}

/* Dungeon Sim Layout */
.dungeon-sim-grid {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 20px;
}

.dungeon-list-col {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dungeon-item-card {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dungeon-item-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.dungeon-item-card.active {
  background: rgba(226, 184, 102, 0.12);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.dungeon-name-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.dungeon-level-tag {
  font-size: 0.75rem;
  color: var(--accent-gold);
}

.dungeon-center-stage {
  background: radial-gradient(circle at center, #261c13 0%, #110c08 80%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.boss-hologram-wrap {
  width: 180px;
  height: 180px;
  position: relative;
  margin-bottom: 20px;
}

.boss-hologram-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed var(--primary);
  animation: rotateHol 15s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px var(--primary-glow);
}

@keyframes rotateHol {
  100% { transform: rotate(360deg); }
}

.boss-avatar-icon {
  font-size: 4.5rem;
  animation: floatAvatar 3s ease-in-out infinite;
}

@keyframes floatAvatar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.sim-boss-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.sim-boss-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sim-dps-box {
  display: flex;
  gap: 20px;
  background: rgba(0, 0, 0, 0.6);
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.dps-stat {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.dps-stat strong {
  color: var(--primary);
  font-size: 1rem;
}

.dungeon-stats-col {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stats-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

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

.rank-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
}

.rank-pos {
  font-weight: 800;
  color: var(--accent-gold);
}

/* ==========================================================================
   ORDER / QUOTE CALCULATOR (CUSTOM SEPET)
   ========================================================================== */
.calc-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
}

.calc-options-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.calc-option-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(226, 184, 102, 0.3);
}

.calc-option-row.selected {
  background: rgba(226, 184, 102, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.option-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkbox-custom {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.calc-option-row.selected .checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
}

.option-title {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.option-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.option-badge {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  background: rgba(245, 158, 11, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-gold);
}

/* Calc Summary Panel */
.calc-summary-panel {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.summary-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  min-height: 140px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.summary-row.total {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  border-top: 1px dashed var(--border-light);
  padding-top: 16px;
  margin-top: 10px;
}

.summary-row.total span:last-child {
  color: var(--accent-gold-light);
}

.calc-support-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--accent-emerald);
  margin-bottom: 20px;
}

/* ==========================================================================
   WORK PROCESS SECTION
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px -10px var(--primary-glow);
}

.process-step-num {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.process-card:hover .process-step-num {
  color: var(--primary);
  opacity: 0.4;
}

.process-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.process-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-card.open {
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: var(--transition-fast);
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
}

.faq-card.open .faq-body {
  padding: 0 24px 20px;
  max-height: 250px;
}

.faq-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT & FOOTER
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 100%, #281d14 0%, var(--bg-primary) 70%);
  border-top: 1px solid var(--border-light);
}

.contact-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent-gold-glow);
  position: relative;
  overflow: hidden;
}

.contact-card-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary));
}

.contact-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.contact-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

.contact-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.discord-copy-btn {
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid #5865F2;
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.discord-copy-btn:hover {
  background: #5865F2;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(88, 101, 242, 0.6);
}

.discord-tag-highlight {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 10px;
  border-radius: 6px;
  color: #e2b866;
  font-family: monospace;
  font-size: 1.05rem;
}

.footer {
  padding: 30px 0;
  border-top: 1px solid var(--border-light);
  background: #090705;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-author {
  color: var(--accent-gold);
  font-weight: 700;
}

/* ==========================================================================
   MODAL WINDOW
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px var(--primary-glow);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
}

.modal-content-inner {
  padding: 36px;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px var(--primary-glow);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-bg-wrapper {
    width: 100%;
    opacity: 0.25;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dungeon-sim-grid {
    grid-template-columns: 1fr;
  }
  .calc-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .systems-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   VIDEO EMBED & MEDIA PLAYER STYLES
   ========================================================================== */
.card-video-preview {
  position: relative;
  width: 100%;
  height: 190px;
  background: #120d09;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.card-video-preview .preview-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-size: 20px 20px;
  background-image: 
    linear-gradient(to right, #ffffff 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff 1px, transparent 1px);
}

.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--primary-glow);
  transition: var(--transition-bounce);
  z-index: 5;
}

.video-play-overlay svg {
  fill: var(--primary);
  margin-left: 4px;
}

.card-video-preview:hover .video-play-overlay {
  transform: translate(-50%, -50%) scale(1.18);
  background: var(--primary);
  border-color: #fff;
}

.card-video-preview:hover .video-play-overlay svg {
  fill: #000;
}

.video-badge-tag {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 5px;
}

.video-modal-container {
  max-width: 900px;
  width: 100%;
  background: #130e0a;
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 40px var(--primary-glow);
  position: relative;
}

.video-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: #000;
}

.video-iframe-wrapper iframe,
.video-iframe-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}

.video-modal-header {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   TEST SERVER PROMO BANNER
   ========================================================================== */
.test-server-card {
  background: radial-gradient(circle at 50% 50%, #2c2016 0%, #140f0a 80%);
  border: 2px solid var(--border-focus);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px var(--primary-glow);
  position: relative;
  overflow: hidden;
  margin: 30px 0;
}

.test-server-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold), var(--primary));
}

.test-server-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-hero {
  padding: 130px 0 50px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #2a1f15 0%, var(--bg-primary) 70%);
  border-bottom: 1px solid var(--border-light);
}

.page-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.page-hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .test-server-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ==========================================================================
   FAQ ACCORDION STYLES
   ========================================================================== */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-card:hover {
  border-color: rgba(240, 179, 108, 0.4);
}

.faq-card.open {
  border-color: var(--primary);
  background: rgba(28, 20, 14, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(240, 179, 108, 0.1);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition-fast);
}

.faq-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  transition: color var(--transition-fast);
}

.faq-card.open .faq-question {
  color: var(--primary);
}

.faq-icon {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: transform var(--transition-base), color var(--transition-base);
  margin-left: 16px;
  flex-shrink: 0;
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 24px;
  background: rgba(0, 0, 0, 0.2);
}

.faq-card.open .faq-body {
  max-height: 600px;
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-body p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.98rem;
  margin: 0;
}

.faq-body strong {
  color: var(--accent-gold-light);
}

.faq-body code {
  background: rgba(240, 179, 108, 0.15);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}


/* ===== Screenshots: cards, modal gallery, lightbox, home gallery ===== */
.card-video-preview { position: relative; overflow: hidden; }
.card-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; z-index: 1; }
.system-card:hover .card-shot { transform: scale(1.06); }
.card-video-preview .video-play-overlay, .card-video-preview .video-badge-tag, .shot-count { z-index: 3; }
.card-video-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,7,5,.75)); z-index: 2; pointer-events: none; }
.shot-count { position: absolute; right: 10px; top: 10px; background: rgba(0,0,0,.65); color: #ece3d6; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--border-light); }

.modal-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 24px; }
.shot-thumb { margin: 0; cursor: zoom-in; border: 1px solid var(--border-light); border-radius: 10px; overflow: hidden; background: rgba(0,0,0,.35); transition: border-color .2s, transform .2s; }
.shot-thumb:hover { border-color: var(--primary); transform: translateY(-2px); }
.shot-thumb img { display: block; width: 100%; height: 120px; object-fit: cover; object-position: top; }
.shot-thumb figcaption { font-size: .72rem; color: var(--text-muted); padding: 6px 8px; line-height: 1.35; }

.lightbox { position: fixed; inset: 0; background: rgba(7,5,3,.94); display: none; align-items: center; justify-content: center; z-index: 10000; padding: 24px; }
.lightbox.active { display: flex; }
.lightbox figure { margin: 0; max-width: min(1500px, 92vw); text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; border: 1px solid var(--border-light); box-shadow: 0 20px 80px rgba(0,0,0,.7); }
.lightbox figcaption { color: #d8ccbb; margin-top: 12px; font-size: .95rem; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 1px solid var(--border-light); border-radius: 50%; width: 46px; height: 46px; font-size: 1.5rem; cursor: pointer; }
.lb-close { top: 20px; right: 24px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-close:hover, .lb-nav:hover { background: var(--primary); color: #140c04; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--border-light); cursor: zoom-in; aspect-ratio: 16 / 10; background: #150f0b; }
.gallery-item.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .8rem; color: #ece3d6; background: linear-gradient(transparent, rgba(7,5,3,.92)); }
.g-tag { display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 5px; font-size: .68rem; font-weight: 800; color: #140c04; background: var(--primary); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-item.wide { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-item.wide { grid-column: auto; } }

/* Giris & yukleme videosu (ana sayfa) */
.video-showcase {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card), 0 0 30px var(--primary-glow);
  background: #000;
}
.video-showcase video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* Videolar sessizdir: ses kontrolleri gizlenir */
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-volume-control-container { display: none !important; }
