/* ==========================================================
   GameZone TR - Premium Dark Theme CSS
   ========================================================== */

/* Font yüklenmeden önce CLS'yi önlemek için fallback font metrik düzenlemesi */
@font-face {
  font-family: 'Outfit Fallback';
  src: local('Arial');
  ascent-override: 100%;
  descent-override: 20%;
  line-gap-override: 0%;
  size-adjust: 97%;
}
:root {
  --bg-main: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --primary: #a855f7;
  --primary-hover: #9333ea;
  --primary-gradient: linear-gradient(135deg, #a855f7, #3b82f6);
  --text-main: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --nav-height: 80px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --orange: #f59e0b;
  --green: #10b981;
  --red: #ef4444;
}

/* ================== LIGHT MODE THEME ================== */
[data-theme="light"] {
  --bg-main: #f4f4f8;
  --bg-secondary: #ffffff;
  --bg-card: rgba(0,0,0,0.03);
  --border: rgba(0,0,0,0.1);
  --primary: #7c3aed;
  --text-main: #0f0f13;
  --text-secondary: #4b4b60;
  --text-muted: #646478;
}
[data-theme="light"] body { background-color: var(--bg-main); color: var(--text-main); }
[data-theme="light"] .navbar.scrolled { background: rgba(244,244,248,0.92); border-bottom: 1px solid var(--border); }
[data-theme="light"] .nav-logo { color: #0f0f13; }
[data-theme="light"] .search-box { background: rgba(0,0,0,0.06); }
[data-theme="light"] .search-box input { color: #0f0f13; }
[data-theme="light"] .mobile-menu { background: rgba(244,244,248,0.99); }
[data-theme="light"] .mobile-menu a { color: #0f0f13; }
[data-theme="light"] .game-card { background: #fff; border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .game-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.15); }
[data-theme="light"] .game-title { color: #0f0f13; }
[data-theme="light"] .game-category { color: var(--primary); background: rgba(168,85,247,0.1); }
[data-theme="light"] .game-desc-preview { color: var(--text-secondary); }
[data-theme="light"] .section-title { color: #0f0f13; }
[data-theme="light"] .section-subtitle { color: var(--text-secondary); }
[data-theme="light"] .hero { background: linear-gradient(135deg, #f4f4f8, #eae8f5); }
[data-theme="light"] .hero-badge { background: rgba(168,85,247,0.15); color: var(--primary); }
[data-theme="light"] .hero-title { color: #0f0f13; }
[data-theme="light"] .hero-subtitle { color: var(--text-secondary); }
[data-theme="light"] .faq-item { background: #fff; border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .faq-question { color: #0f0f13; background: transparent; }
[data-theme="light"] .faq-answer p { color: var(--text-secondary); }
[data-theme="light"] .review-card { background: #fff; border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .review-comment { color: #0f0f13; }
[data-theme="light"] .footer { background: #e8e8f0; border-top: 1px solid var(--border); }
[data-theme="light"] .footer-text { color: var(--text-secondary); }
[data-theme="light"] .search-suggestions { background: #fff; border-color: var(--border); }
[data-theme="light"] .sugg-item:hover { background: rgba(0,0,0,0.04); }
[data-theme="light"] .modal-box, [data-theme="light"] .favorites-drawer { background: #fff; }
[data-theme="light"] .game-detail-box { background: #fff; }
[data-theme="light"] .stat-item .stat-label { color: var(--text-secondary); }
[data-theme="light"] .urunler-sidebar { background: #fff; border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .cat-item { color: #0f0f13; }
[data-theme="light"] .cat-item:hover { background: rgba(168,85,247,0.08); }
[data-theme="light"] .sort-select { background: #fff; color: #0f0f13; border-color: rgba(0,0,0,0.15); }

[data-theme="light"] .btn-secondary { background: rgba(0,0,0,0.05); color: #0f0f13; border-color: rgba(0,0,0,0.15); }
[data-theme="light"] .btn-secondary:hover { background: rgba(0,0,0,0.1); color: #0f0f13; }
[data-theme="light"] .game-wa-btn { background: rgba(0,0,0,0.05); color: #0f0f13; border-color: rgba(0,0,0,0.15); }
[data-theme="light"] .game-wa-btn:hover { background: #10b981; color: #fff; border-color: #10b981; }
[data-theme="light"] .stat-num { background: none; -webkit-text-fill-color: #0f0f13; color: #0f0f13; }

/* Theme toggle button */
.theme-toggle-btn {
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 20px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
}
.theme-toggle-btn:hover { background: rgba(168,85,247,0.15); color: var(--primary); transform: rotate(20deg); }

/* User nav link */
.nav-user-link { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); text-decoration: none; font-weight: 500; font-size: 15px; transition: var(--transition); }
.nav-user-link:hover { color: #fff; }
[data-theme="light"] .nav-user-link:hover { color: #0f0f13; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', 'Outfit Fallback', sans-serif; background-color: var(--bg-main); color: var(--text-main); line-height: 1.5; overflow-x: hidden; }

/* ================== TYPOGRAPHY & UTILS ================== */
.gradient-text { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { font-size: 42px; font-weight: 800; margin-bottom: 15px; letter-spacing: -1px; }
.section-subtitle { font-size: 18px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* ================== NAVBAR ================== */
.navbar { position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height); background: transparent; transition: var(--transition); z-index: 1000; border-bottom: 1px solid transparent; }
.navbar.scrolled { background: rgba(10,10,10,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -0.5px; white-space: nowrap; flex-shrink: 0; }
.logo-icon { color: var(--primary); display: flex; flex-shrink: 0; }
.logo-image { height: 38px; width: auto; object-fit: contain; max-height: 100%; display: block; flex-shrink: 0; transition: transform 0.3s var(--transition); }
.logo-image:hover { transform: scale(1.05); }
.logo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 250px; display: inline-block; vertical-align: middle; }
.nav-links { display: flex; align-items: center; gap: 30px; flex-shrink: 0; }
.nav-link { color: var(--text-secondary); text-decoration: none; font-weight: 500; font-size: 15px; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.nav-link:hover { color: #fff; }
.fav-count { background: var(--primary); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 10px; font-weight: 700; margin-left: 2px; }

/* SEARCH NAV */
.nav-search { position: relative; width: 250px; margin-left: 10px; flex-shrink: 1; min-width: 140px; }
.search-box { display: flex; align-items: center; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 20px; padding: 6px 16px; transition: var(--transition); }
.search-box:focus-within { border-color: var(--primary); background: rgba(168,85,247,0.05); }
.search-icon { color: var(--text-muted); margin-right: 8px; }
.search-box input { background: transparent; border: none; color: #fff; font-family: inherit; font-size: 14px; width: 100%; outline: none; }

.search-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: #111; border: 1px solid var(--border); border-radius: 12px; margin-top: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); display: none; overflow: hidden; z-index: 1001; }
.sugg-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; border-bottom: 1px solid var(--border); transition: var(--transition); }
.sugg-item:hover { background: rgba(255,255,255,0.05); }
.sugg-item img { width: 40px; height: 50px; object-fit: cover; border-radius: 6px; }
.sugg-item:last-child { border-bottom: none; }

/* MOBILE MENU */
.hamburger { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 1001; }
.hamburger span { position: absolute; width: 100%; height: 2px; background: #fff; left: 0; transition: var(--transition); }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(10,10,10,0.98); backdrop-filter: blur(20px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; transform: translateY(-100%); transition: transform 0.4s ease; z-index: 999; }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { color: #fff; font-size: 24px; font-weight: 600; text-decoration: none; }

@media (max-width: 768px) {
  .nav-links, .nav-search { display: none; }
  .hamburger { display: block; }
}

/* ================== HERO & CAROUSEL ================== */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 100px 24px 60px; text-align: center; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(168,85,247,0.15), transparent 60%); z-index: 0; }
.particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.particle { position: absolute; background: #fff; border-radius: 50%; opacity: 0; animation: floatUp linear infinite; }
@keyframes floatUp { 0% { transform: translateY(100vh) scale(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(-10vh) scale(1); opacity: 0; } }

.hero-carousel { width: 100%; max-width: 1200px; position: relative; z-index: 1; min-height: 400px; display: flex; align-items: center; justify-content: center; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.carousel-slide.active { opacity: 1; pointer-events: all; position: relative; }
.carousel-indicators { display: flex; gap: 10px; justify-content: center; margin-top: 30px; position: absolute; bottom: -40px; width: 100%; }
.carousel-indicators .dot { width: 10px; height: 10px; background: rgba(255,255,255,0.2); border-radius: 50%; cursor: pointer; transition: var(--transition); }
.carousel-indicators .dot.active { background: var(--primary); transform: scale(1.3); }

.hero-content { z-index: 1; max-width: 800px; display: flex; flex-direction: column; align-items: center; }
.hero-badge { background: rgba(168,85,247,0.1); border: 1px solid rgba(168,85,247,0.2); color: #c084fc; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 700; margin-bottom: 24px; letter-spacing: 1px; text-transform: uppercase; }
.hero-title { font-size: clamp(40px, 6vw, 72px); font-weight: 900; line-height: 1.1; margin-bottom: 24px; letter-spacing: -2px; }
.hero-subtitle { font-size: clamp(16px, 2vw, 20px); color: var(--text-secondary); margin-bottom: 40px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* Buttons */
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--primary-gradient); color: #fff; box-shadow: 0 10px 20px -10px rgba(168,85,247,0.5); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 30px -10px rgba(168,85,247,0.6); }
.btn-secondary { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid var(--border); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

/* Hero Stats */
.hero-stats { display: flex; align-items: center; gap: 30px; margin-top: 60px; z-index: 1; background: rgba(255,255,255,0.02); padding: 20px 40px; border-radius: 20px; border: 1px solid var(--border); backdrop-filter: blur(10px); }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.stat-num { font-size: 28px; font-weight: 900; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 13px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }
@media (max-width: 768px) { .hero-stats { flex-direction: column; width: 100%; gap: 15px; padding: 20px; } .stat-divider { width: 100%; height: 1px; } }

/* ================== GAMES SECTION ================== */
.games-section { padding: 100px 0; background: var(--bg-secondary); }

/* Category Pills & Filters */
.category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.pill-btn { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-secondary); padding: 8px 20px; border-radius: 20px; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.pill-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.pill-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.filter-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.sort-box select { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: #fff; padding: 12px 20px; border-radius: 12px; font-family: inherit; font-size: 15px; outline: none; cursor: pointer; transition: var(--transition); }
.sort-box select:focus { border-color: var(--primary); }

/* Game Grid */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 30px; }
.game-card { background: var(--bg-main); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); cursor: pointer; position: relative; animation: slideUp 0.6s ease-out backwards; }
.game-card:hover { transform: translateY(-8px); border-color: rgba(168,85,247,0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* Card Elements */
.fav-btn { position: absolute; top: 15px; right: 15px; z-index: 10; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; transition: var(--transition); }
.fav-btn:hover { transform: scale(1.1); background: rgba(0,0,0,0.8); }
.fav-btn.active { color: #ef4444; }
.fav-btn.active svg { fill: #ef4444; stroke: #ef4444; }

.card-badges { position: absolute; top: 15px; left: 15px; z-index: 10; display: flex; flex-direction: column; gap: 8px; }
.new-badge { background: #2563eb; color: #fff; font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 4px; letter-spacing: 1px; box-shadow: 0 2px 10px rgba(37,99,235,0.4); }
.stock-badge { font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; backdrop-filter: blur(4px); }

.flash-timer { position: absolute; top: 170px; left: 50%; transform: translateX(-50%); z-index: 10; background: #ef4444; color: #fff; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 6px; box-shadow: 0 4px 15px rgba(239,68,68,0.5); width: max-content; }

.game-card-image { width: 100%; height: 200px; position: relative; overflow: hidden; }
.game-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.game-card:hover .game-card-image img { transform: scale(1.05); }
.img-placeholder { width: 100%; height: 100%; background: #111; display: flex; align-items: center; justify-content: center; color: #333; }
.game-discount-badge { position: absolute; bottom: 15px; left: 15px; background: var(--primary); color: #fff; padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 800; box-shadow: 0 4px 15px rgba(168,85,247,0.4); }

.game-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.game-category { color: var(--primary); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.game-title { font-size: 20px; font-weight: 800; margin-bottom: 12px; line-height: 1.3; }
.game-desc-preview { font-size: 13px; color: var(--text-secondary); flex: 1; margin-bottom: 18px; line-height: 1.7; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

.game-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 18px; }
.game-price { font-size: 24px; font-weight: 900; display: flex; flex-direction: column; line-height: 1; }
.old-price { font-size: 13px; color: var(--text-muted); text-decoration: line-through; font-weight: 600; margin-bottom: 4px; }
.game-price-current { font-size: 24px; font-weight: 900; color: var(--primary); letter-spacing: -0.5px; }
.game-wa-btn { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid var(--border); padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.game-wa-btn:hover { background: #10b981; border-color: #10b981; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16,185,129,0.3); }
.game-wa-btn.disabled { background: rgba(239,68,68,0.1); color: #ef4444; border-color: rgba(239,68,68,0.2); cursor: not-allowed; }
.game-wa-btn.disabled:hover { transform: none; box-shadow: none; background: rgba(239,68,68,0.1); }

.empty-state { text-align: center; padding: 80px 20px; background: rgba(255,255,255,0.02); border: 1px dashed var(--border); border-radius: 20px; }

/* ================== REVIEWS ================== */
.reviews-section { padding: 100px 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 30px; border-radius: 20px; display: flex; flex-direction: column; gap: 15px; transition: var(--transition); }
.review-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.1); }
.review-stars { display: flex; gap: 2px; }
.review-comment { font-size: 16px; color: var(--text-secondary); font-style: italic; line-height: 1.6; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.author-avatar { width: 40px; height: 40px; background: var(--primary-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: #fff; }
.review-author strong { display: block; font-size: 15px; }
.review-author span { font-size: 12px; color: var(--text-muted); }

/* ================== FAQ ================== */
.faq-section { padding: 100px 0; background: var(--bg-secondary); }
.faq-accordion { display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: var(--transition); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 20px; font-size: 16px; font-weight: 600; color: #fff; font-family: inherit; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-icon { font-size: 20px; color: var(--primary); font-weight: 400; transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; background: rgba(0,0,0,0.2); }
.faq-item.active .faq-answer { max-height: 300px; padding: 20px; border-top: 1px solid var(--border); }
.faq-item.active { border-color: rgba(168,85,247,0.3); }

/* ================== CONTACT ================== */
.contact-section { padding: 100px 0; }
.contact-card { background: radial-gradient(circle at bottom right, rgba(16,185,129,0.1), transparent 50%), rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 30px; padding: 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.contact-left { flex: 1; min-width: 300px; }
.contact-right { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.whatsapp-big-btn { background: linear-gradient(135deg, #10b981, #059669); color: #fff; text-decoration: none; padding: 20px 40px; border-radius: 20px; display: flex; align-items: center; gap: 20px; transition: var(--transition); box-shadow: 0 15px 30px -10px rgba(16,185,129,0.5); width: 100%; max-width: 400px; }
.whatsapp-big-btn:hover { transform: translateY(-5px); box-shadow: 0 25px 40px -10px rgba(16,185,129,0.6); }
.wa-title { display: block; font-size: 22px; font-weight: 800; line-height: 1.2; }
.wa-sub { display: block; font-size: 14px; opacity: 0.9; }

@media (max-width: 768px) { .contact-card { padding: 40px 20px; flex-direction: column; text-align: center; } }

/* ================== FOOTER ================== */
.footer { border-top: 1px solid var(--border); padding: 40px 0; text-align: center; background: var(--bg-secondary); }
.footer-text { color: var(--text-muted); font-size: 14px; }

/* ================== MODALS ================== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; pointer-events: none; transition: var(--transition); padding: 20px; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box { background: var(--bg-main); border: 1px solid var(--border); border-radius: 24px; max-width: 800px; width: 100%; position: relative; overflow: hidden; transform: scale(0.95); transition: var(--transition); display: flex; max-height: 90vh; }
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.1); border: none; color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); z-index: 10; }
.modal-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

/* URUNLER PAGE LAYOUT */
.urunler-page { padding: 120px 0 60px; background: var(--bg-main); min-height: 100vh; }
.urunler-container { max-width: 1800px; margin: 0 auto; padding: 0 40px; }
.urunler-header { background: radial-gradient(circle at top right, rgba(168,85,247,0.15), transparent 50%), var(--bg-secondary); border: 1px solid var(--border); border-radius: 24px; padding: 40px 30px; margin-bottom: 40px; text-align: center; }
.urunler-header h1 { font-size: 36px; font-weight: 900; margin-bottom: 10px; }
.urunler-layout { display: flex; gap: 40px; align-items: flex-start; }
.urunler-sidebar { width: 300px; flex-shrink: 0; position: sticky; top: 100px; background: linear-gradient(180deg, rgba(20,20,20,0.8) 0%, rgba(10,10,10,0.95) 100%); border: 1px solid rgba(255,255,255,0.05); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 30px; backdrop-filter: blur(20px); box-shadow: 0 10px 40px rgba(0,0,0,0.5); max-height: calc(100vh - 120px); overflow-y: auto; }
.urunler-sidebar::-webkit-scrollbar { width: 6px; }
.urunler-sidebar::-webkit-scrollbar-track { background: transparent; }
.urunler-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
.urunler-sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }
.urunler-main { flex: 1; min-width: 0; }
.sidebar-box h3 { font-size: 14px; font-weight: 800; margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); }
.cat-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.cat-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: transparent; border-left: 3px solid transparent; border-radius: 0; color: var(--text-secondary); cursor: pointer; transition: var(--transition); font-weight: 500; font-size: 15px; }
.cat-item:hover { background: rgba(255,255,255,0.02); color: #fff; }
.cat-item.active { background: linear-gradient(90deg, rgba(168,85,247,0.1) 0%, transparent 100%); border-left: 3px solid var(--primary); color: #fff; font-weight: 700; }
.cat-item.active span:last-child { color: var(--primary); }
.price-filter-row { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.price-filter-row input { width: 100%; padding: 12px 15px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: #fff; border-radius: 10px; font-family: inherit; font-size: 14px; transition: var(--transition); }
.price-filter-row input:focus { border-color: var(--primary); background: rgba(168,85,247,0.05); outline: none; }
.sort-select { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: #fff; padding: 12px 15px; border-radius: 10px; font-family: inherit; font-size: 14px; cursor: pointer; transition: var(--transition); outline: none; }
.sort-select:focus { border-color: var(--primary); }
.sort-select option { background: #111; color: #fff; }
.btn-filter { width: 100%; padding: 14px; background: var(--primary-gradient); color: #fff; border: none; border-radius: 10px; font-weight: 800; cursor: pointer; transition: var(--transition); font-size: 15px; box-shadow: 0 4px 15px rgba(168,85,247,0.4); }
.btn-filter:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(168,85,247,0.6); }

@media (max-width: 992px) { .urunler-layout { flex-direction: column; } .urunler-sidebar { width: 100%; position: relative; top: 0; } }

/* Game Detail Box */
#gameDetailContent { display: flex; flex-direction: column; width: 100%; overflow-y: auto; }
.game-detail-img { width: 100%; height: 300px; object-fit: cover; object-position: center top; flex-shrink: 0; }
.game-detail-body { padding: 40px; display: flex; flex-direction: column; }
.game-detail-body h2 { font-size: 32px; font-weight: 900; margin-bottom: 20px; line-height: 1.2; }
.game-detail-price-row { display: flex; align-items: center; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.game-detail-price { font-size: 36px; font-weight: 900; color: #fff; letter-spacing: -1px; white-space: nowrap; }
.game-detail-desc { color: var(--text-secondary); font-size: 15px; line-height: 1.6; margin-bottom: 30px; }
.game-detail-wa-btn { width: 100%; padding: 18px; border-radius: 14px; background: linear-gradient(135deg, #10b981, #059669); color: #fff; text-decoration: none; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; transition: var(--transition); border: none; }
.game-detail-wa-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(16,185,129,0.4); }
.game-detail-wa-btn.disabled { background: rgba(239,68,68,0.1); color: #ef4444; cursor: not-allowed; box-shadow: none; }
.game-detail-wa-btn.disabled:hover { transform: none; box-shadow: none; }

@media (max-width: 768px) { .game-detail-img { height: 220px; } .game-detail-body { padding: 24px; } }

/* Favorites Drawer */
.favorites-drawer { position: absolute; top: 0; right: 0; height: 100vh; width: 400px; max-width: 100%; background: var(--bg-secondary); border-left: 1px solid var(--border); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.modal-overlay.open .favorites-drawer { transform: translateX(0); }
.drawer-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.drawer-content { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.fav-item { display: flex; gap: 15px; background: rgba(255,255,255,0.03); padding: 10px; border-radius: 12px; border: 1px solid var(--border); cursor: pointer; transition: var(--transition); }
.fav-item:hover { background: rgba(255,255,255,0.05); }
.fav-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 8px; }

/* Cart Drawer */
.cart-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 10000; opacity: 0; pointer-events: none; transition: var(--transition); }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100vh; width: 400px; max-width: 100%; background: var(--bg-secondary); border-left: 1px solid var(--border); display: flex; flex-direction: column; z-index: 10001; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.5); }
.cart-drawer.open { transform: translateX(0); }
.cart-drawer.open ~ .cart-drawer-overlay, .cart-drawer-overlay:has(+ .cart-drawer.open) { opacity: 1; pointer-events: auto; }

.cart-drawer-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.2); }
.cart-drawer-header h3 { margin: 0; font-size: 18px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 8px; }
.cart-drawer-close { background: none; border: none; color: var(--text-muted); cursor: pointer; transition: var(--transition); padding: 4px; display: flex; align-items: center; justify-content: center; }
.cart-drawer-close:hover { color: #fff; transform: rotate(90deg); }

.cart-drawer-items { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.cart-item { display: flex; gap: 15px; background: rgba(255,255,255,0.03); padding: 12px; border-radius: 12px; border: 1px solid var(--border); position: relative; }
.cart-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 8px; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cart-item-title { font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 4px; line-height: 1.3; }
.cart-item-price { color: var(--primary); font-weight: 800; font-size: 14px; }
.cart-item-remove { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: rgba(239,68,68,0.1); border: none; color: #ef4444; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.cart-item-remove:hover { background: #ef4444; color: #fff; }

.cart-drawer-footer { padding: 24px; border-top: 1px solid var(--border); background: rgba(0,0,0,0.2); }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 18px; color: var(--text-muted); }
.cart-total-row strong { color: #fff; font-size: 24px; font-weight: 900; }
.btn-checkout { display: block; width: 100%; padding: 16px; background: var(--primary-gradient); color: #fff; text-align: center; border-radius: 12px; font-weight: 800; text-decoration: none; transition: var(--transition); font-size: 16px; }
.btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(168,85,247,0.4); }

.nav-cart-btn { position: relative; background: none; border: none; color: var(--text-main); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 8px; transition: var(--transition); }
.nav-cart-btn:hover { color: var(--primary); }
.cart-badge { position: absolute; top: 0px; right: -5px; background: #ef4444; color: #fff; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 10px; min-width: 18px; display: none; align-items: center; justify-content: center; border: 2px solid var(--bg-main); }
