/* Back Entry - Tüm sayfalarda geçerli tema */
:root {
  --bg-main: #0b1220;
  --section-alt: #0f1a2f;
  --card: #16233d;
  --card-hover: #1d2e4f;
  --primary: #ff7a18;
  --primary-hover: #ff8c2a;
  --text: #e6edf7;
  --text-secondary: #9fb0d0;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 10px 30px rgba(0,0,0,0.4);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-main);
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section-custom {
  padding-top: 70px;
  padding-bottom: 70px;
}
@media (max-width: 768px) {
  .section-custom { padding-top: 56px; padding-bottom: 56px; }
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(255, 122, 24, 0.45);
}
.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, transform 0.2s ease;
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}
.card-theme {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.card-theme:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  border-color: var(--primary);
  background: var(--card-hover);
}
.navbar-theme {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 70px;
  height: auto;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}
.navbar-theme > div {
  min-height: 70px;
}
@media (min-width: 768px) {
  .navbar-theme > div {
    min-height: 120px;
  }
}
.navbar-theme.transparent {
  background: transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
}
.navbar-theme.scrolled {
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
/* Tüm sayfalarda büyük logo + animasyon (modlu sunucu ile aynı) */
.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}
.header-logo img {
  height: 112px;
  width: auto;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.4s ease, filter 0.4s ease;
  animation: logoGlow 3s ease-in-out infinite;
}
@media (min-width: 768px) {
  .header-logo img {
    max-height: 112px;
  }
}
.header-logo:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(255, 122, 24, 0.5));
}
@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(255, 122, 24, 0.2)); }
  50% { filter: drop-shadow(0 0 10px rgba(255, 122, 24, 0.35)); }
}
.nav-link-theme { color: var(--text-secondary); transition: color 0.2s ease; }
.nav-link-theme:hover { color: var(--primary); }

/* Dropdown: parent relative, menu absolute top 100% left 0, NO gap - bridge with ::before */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  width: 220px;
  background: #16233d;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
  pointer-events: none;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.nav-dropdown-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #e6edf7;
  font-size: 14px;
  transition: background 0.2s ease;
}
.nav-dropdown-menu a:hover { background: #1d2e4f; }

/* Canlı sunucu kartı */
.server-card {
  background: #16233d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
}
.server-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: #ff7a18;
}

/* Scroll reveal - Intersection Observer ile 0.6s, stagger 0.2s */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* Page transition - sayfa açılışta fade-in */
.body-page-transition {
  animation: pageFadeIn 0.4s ease forwards;
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mağaza: daha geniş alan + büyük kartlar */
.store-section .store-container {
  max-width: 1400px;
}
.store-grid {
  align-items: stretch;
}
.package-card {
  background: linear-gradient(180deg, rgba(22, 35, 61, 0.95) 0%, rgba(11, 18, 32, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 122, 24, 0.15);
  border-color: rgba(255, 122, 24, 0.25);
}
.package-card-image {
  aspect-ratio: 16 / 10;
  min-height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(145deg, #1d2e4f 0%, #16233d 50%);
}
@media (min-width: 1024px) {
  .package-card-image {
    min-height: 240px;
  }
}
.package-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.package-card:hover .package-card-image img {
  transform: scale(1.08);
}
.package-card-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 18, 32, 0.85) 0%, transparent 60%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.package-card:hover .package-card-image .overlay {
  opacity: 0.5;
}
.package-card .p-8 {
  padding: 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (min-width: 1024px) {
  .package-card .p-8 {
    padding: 2rem 2rem;
  }
}
.package-card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}
@media (min-width: 1024px) {
  .package-card h3 {
    font-size: 1.5rem;
  }
}
.package-card-price {
  font-size: 1.9rem;
  font-weight: 700;
  color: #ff7a18;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  display: inline-block;
}
@media (min-width: 1024px) {
  .package-card-price {
    font-size: 2.1rem;
  }
}
.package-card ul {
  margin-bottom: 1.35rem;
  flex: 1;
  font-size: 0.9375rem;
}
@media (min-width: 1024px) {
  .package-card ul {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}
.package-card .btn-primary {
  width: 100%;
  border-radius: 12px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.package-card .btn-primary:hover {
  box-shadow: 0 0 24px rgba(255, 122, 24, 0.45);
  transform: scale(1.02);
}
