/* OyunPaketi.COM - Ana stil dosyası */
:root {
  --bg: #060a18;
  --bg2: #0b1130;
  --card: #0f1738;
  --line: #222c63;
  --text: #e8ebff;
  --muted: #939bc9;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --orange: #ff7a1a;
  --green: #22c55e;
  --neon: #7aa2ff;
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-border-color: var(--line);
  --bs-link-color-rgb: 122, 162, 255;
  --bs-link-hover-color-rgb: 167, 139, 250;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
a { text-decoration: none; }
.text-muted { color: var(--muted) !important; }
.text-neon { color: var(--neon); }
.text-gradient { background: linear-gradient(90deg, var(--blue), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Navbar */
.site-nav { background: rgba(6, 10, 24, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand-logo { height: 40px; width: auto; max-width: 200px; }
.brand-text { font-weight: 800; font-size: 1.3rem; letter-spacing: .5px; background: linear-gradient(90deg, #fff, var(--neon)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-nav .nav-link { color: var(--muted); font-weight: 500; padding: .6rem .9rem; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #fff; }
.site-nav .nav-link.active { box-shadow: inset 0 -2px 0 var(--purple); }
.navbar-toggler { border-color: var(--line); }
.btn-icon { color: #fff; font-size: 1.25rem; border: 1px solid var(--line); border-radius: 10px; padding: .3rem .65rem; }
.btn-icon:hover { border-color: var(--purple); color: #fff; }
.cart-badge { position: absolute; top: -6px; right: -6px; background: var(--orange); color: #fff; font-size: .7rem; font-weight: 700; border-radius: 99px; min-width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.search-form { position: relative; }
.search-form .form-control { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding-right: 2.6rem; color: var(--text); }
.search-form .form-control:focus { border-color: var(--purple); box-shadow: 0 0 0 .2rem rgba(139, 92, 246, .2); }
.search-form button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); padding: .4rem .6rem; }
@media (min-width: 992px) { .search-form { width: 260px; } }

/* Butonlar */
.btn-action { background: var(--orange); border: 0; color: #fff; font-weight: 600; border-radius: 10px; }
.btn-action:hover, .btn-action:focus { background: #ff8f3d; color: #fff; }
.btn-neon { background: linear-gradient(90deg, var(--blue), var(--purple)); border: 0; color: #fff; font-weight: 600; border-radius: 10px; }
.btn-neon:hover { filter: brightness(1.12); color: #fff; }
.btn-outline-neon { border: 1px solid var(--purple); color: #cdbbff; border-radius: 10px; }
.btn-outline-neon:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn-outline-secondary { border-radius: 10px; }

/* Formlar */
.form-control, .form-select { background-color: #0a1130; border: 1px solid var(--line); color: var(--text); border-radius: 10px; }
.form-control:focus, .form-select:focus { background-color: #0a1130; color: var(--text); border-color: var(--purple); box-shadow: 0 0 0 .2rem rgba(139, 92, 246, .2); }
.form-control::placeholder { color: #5f6899; }
.form-label { color: var(--muted); font-size: .88rem; margin-bottom: .3rem; }

/* Hero */
.hero { position: relative; padding: 4.5rem 0 3rem; overflow: hidden;
  background: radial-gradient(900px 400px at 85% -10%, rgba(139, 92, 246, .35), transparent 60%),
              radial-gradient(700px 400px at 0% 20%, rgba(59, 130, 246, .28), transparent 60%), linear-gradient(180deg, var(--bg2), var(--bg)); }
.hero h1 { font-weight: 900; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.1; margin: 1rem 0; letter-spacing: -.5px; }
.hero .lead { color: var(--muted); max-width: 560px; margin-bottom: 1.75rem; }
.hero-tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: #cdbbff; background: rgba(139, 92, 246, .15); border: 1px solid rgba(139, 92, 246, .45); padding: .3rem .8rem; border-radius: 99px; }
.feature { display: flex; gap: .8rem; align-items: center; background: rgba(15, 23, 56, .75); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; height: 100%; }
.feature i { font-size: 1.6rem; color: var(--neon); }
.feature strong { display: block; font-size: .95rem; }
.feature span { color: var(--muted); font-size: .82rem; }

/* Bölümler */
.section { padding: 2.5rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.25rem; }
.section-head h2 { font-size: 1.5rem; font-weight: 800; margin: 0; }
.page-head { padding: 2.2rem 0 1rem; background: linear-gradient(180deg, var(--bg2), var(--bg)); border-bottom: 1px solid var(--line); }
.page-head h1 { font-weight: 800; font-size: 1.9rem; }

/* Kategori kartı */
.cat-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; padding: 1.2rem .8rem; height: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; color: var(--text); transition: .2s; }
.cat-card i { font-size: 1.8rem; background: linear-gradient(135deg, var(--blue), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cat-card small { color: var(--muted); }
.cat-card:hover { transform: translateY(-3px); border-color: var(--purple); box-shadow: 0 8px 30px rgba(139, 92, 246, .2); color: #fff; }
.cat-card-lg { align-items: flex-start; text-align: left; padding: 1.5rem; }
.cat-card-lg p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Ürün kartı */
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.product-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 10px 34px rgba(59, 130, 246, .18); }
.product-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.product-img, .detail-img, .cart-img, .admin-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-placeholder { display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .85); font-weight: 900; font-size: 2.2rem; letter-spacing: 2px; aspect-ratio: 4 / 3; }
.badge-discount { position: absolute; top: 10px; left: 10px; background: #ef4444; color: #fff; font-weight: 700; font-size: .78rem; padding: .2rem .55rem; border-radius: 8px; }
.badge-platform { position: absolute; bottom: 10px; left: 10px; background: rgba(6, 10, 24, .82); color: #cdd6ff; font-size: .72rem; padding: .2rem .55rem; border-radius: 8px; border: 1px solid var(--line); }
.product-body { padding: .9rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.product-title { font-size: 1rem; font-weight: 700; margin: 0; min-height: 2.5em; line-height: 1.25; }
.product-title a { color: var(--text); }
.product-title a:hover { color: var(--neon); }
.price-now { font-size: 1.15rem; font-weight: 800; color: #fff; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .85rem; margin-left: .4rem; }
.product-actions { margin-top: auto; display: grid; gap: .4rem; }

/* Kampanya */
.promo-banner { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between; padding: 2rem; border-radius: 20px; border: 1px solid rgba(139, 92, 246, .5);
  background: linear-gradient(120deg, rgba(59, 130, 246, .25), rgba(139, 92, 246, .3)), var(--card); box-shadow: 0 0 40px rgba(139, 92, 246, .15); }
.promo-banner h2 { font-weight: 900; margin: .6rem 0 .3rem; }
.promo-banner p { margin: 0; color: var(--muted); }

/* Detay */
.detail-media { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.detail-title { font-weight: 800; margin: .6rem 0 1rem; }
.chip { display: inline-block; font-size: .78rem; padding: .25rem .7rem; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.chip:hover { border-color: var(--purple); color: #fff; }
.detail-meta li { display: flex; justify-content: space-between; max-width: 340px; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.detail-meta span { color: var(--muted); }
.detail-price { display: flex; align-items: center; gap: .7rem; margin: 1rem 0; }
.detail-price .price-now { font-size: 2rem; }
.detail-desc { color: #c3c9ea; line-height: 1.7; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--muted); --bs-breadcrumb-item-active-color: var(--muted); font-size: .88rem; }

/* Adet kutusu */
.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #0a1130; }
.qty-box button { background: none; border: 0; color: #fff; width: 38px; height: 44px; font-size: 1.2rem; }
.qty-box button:hover { background: var(--line); }
.qty-box input { width: 54px; text-align: center; background: none; border: 0; color: #fff; -moz-appearance: textfield; }
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-box input:focus { outline: none; }
.qty-sm button { height: 36px; width: 32px; }
.qty-sm input { width: 44px; }

/* Sepet */
.summary-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; }
.border-neon { border-color: var(--purple) !important; }
.cart-list { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.cart-item { display: flex; align-items: center; gap: .9rem; padding: .9rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cart-item:last-child { border-bottom: 0; }
.cart-thumb { width: 84px; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
.cart-info { flex: 1; min-width: 140px; display: flex; flex-direction: column; }
.cart-name { color: var(--text); font-weight: 600; }
.cart-line { min-width: 90px; text-align: right; font-weight: 700; }
.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--muted); }
.empty-state i { font-size: 3rem; display: block; margin-bottom: .6rem; }
.contact-list li { padding: .5rem 0; display: flex; gap: .6rem; align-items: center; }
.contact-list i { color: var(--neon); }
.legal h5 { margin-top: 1.2rem; }

/* Filtre */
.filter-bar { display: grid; gap: .6rem; margin-bottom: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .filter-bar { grid-template-columns: 1fr 230px auto auto; align-items: center; } }

/* Sayfalama */
.pagination { --bs-pagination-bg: var(--card); --bs-pagination-border-color: var(--line); --bs-pagination-color: var(--text); --bs-pagination-hover-bg: var(--line); --bs-pagination-hover-color: #fff; --bs-pagination-hover-border-color: var(--purple);
  --bs-pagination-active-bg: var(--purple); --bs-pagination-active-border-color: var(--purple); --bs-pagination-disabled-bg: var(--card); --bs-pagination-disabled-border-color: var(--line); }

/* Footer */
.site-footer { margin-top: 3rem; background: #040712; border-top: 1px solid var(--line); padding: 2.5rem 0 1rem; flex-shrink: 0; }
.site-footer h6 { font-weight: 700; margin-bottom: .8rem; }
.footer-links li { margin-bottom: .45rem; color: var(--muted); font-size: .9rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: #fff; }
.footer-links i { color: var(--neon); margin-right: .3rem; }
.social-link { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; color: var(--text); }
.social-link:hover { background: linear-gradient(135deg, var(--blue), var(--purple)); border-color: transparent; color: #fff; }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; text-align: center; }

/* Tablolar ve yönetim */
.table { --bs-table-bg: transparent; --bs-table-color: var(--text); --bs-table-border-color: var(--line); --bs-table-striped-bg: rgba(255,255,255,.02); }
.table > :not(caption) > * > * { padding: .75rem .6rem; }
.table thead th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.admin-body main { max-width: 1400px; margin: 0 auto; width: 100%; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem; display: flex; flex-direction: column; gap: .2rem; color: var(--text); position: relative; height: 100%; }
.stat-card i { font-size: 1.5rem; color: var(--neon); }
.stat-card span { color: var(--muted); font-size: .85rem; }
.stat-card strong { font-size: 1.6rem; }
.admin-thumb { border-radius: 8px; aspect-ratio: 4 / 3; }
.admin-thumb.img-placeholder { font-size: 1rem; }

/* Mobil */
@media (max-width: 575.98px) {
  .hero { padding: 2.8rem 0 2rem; }
  .section { padding: 1.8rem 0; }
  .product-title { font-size: .92rem; }
  .product-body { padding: .7rem; }
  .price-now { font-size: 1rem; }
  .promo-banner { padding: 1.4rem; }
  .cart-line { text-align: left; }
}
