/* ==========================================================================
   oyunlar.css - aahaber.com HTML5 Oyunlar Portalı Tasarımı
   ========================================================================== */

.oyunlar-container {
  width: 100%;
  max-width: 1840px;
  margin: 0 auto;
  padding: 0 0.75rem 3rem 0.75rem;
  box-sizing: border-box;
}

/* 1. BREADCRUMB */
.oyunlar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  margin-bottom: 1.25rem;
  padding: 0.5rem 0;
  overflow-x: auto;
  white-space: nowrap;
}

.oyunlar-breadcrumb a {
  color: var(--text-muted, #64748b);
  text-decoration: none;
  transition: color 0.2s ease;
}

.oyunlar-breadcrumb a:hover {
  color: var(--primary-600, #7c3aed);
}

.oyunlar-breadcrumb .sep {
  opacity: 0.4;
}

.oyunlar-breadcrumb .current {
  color: var(--text-main, #0f172a);
  font-weight: 600;
}

/* 2. HERO / PORTAL BAŞLIĞI */
.oyunlar-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-card, #e2e8f0);
  border-radius: var(--radius-xl, 24px);
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card, 0 10px 30px -8px rgba(124, 58, 237, 0.08));
  position: relative;
  overflow: hidden;
}

.oyunlar-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(217, 70, 239, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-left {
  flex: 1;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary-600, #7c3aed);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-full, 9999px);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

[data-theme="dark"] .hero-pill {
  background: rgba(139, 92, 246, 0.18);
  color: var(--primary-400, #c4b5fd);
  border-color: rgba(139, 92, 246, 0.3);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted, #64748b);
  line-height: 1.6;
  margin: 0;
}

.hero-features {
  display: flex;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card-subtle, #f8fafc);
  border: 1px solid var(--border-card, #e2e8f0);
  border-radius: var(--radius-lg, 18px);
  padding: 0.85rem 1.15rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-feature:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, 0.3);
}

.feat-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.feat-content {
  display: flex;
  flex-direction: column;
}

.feat-content strong {
  font-size: 0.9rem;
  color: var(--text-main, #0f172a);
  font-weight: 700;
}

.feat-content span {
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
}

/* 3. GAME THEATER / OYUN ALANI */
.game-theater-wrapper {
  margin-bottom: 2.5rem;
  transition: all 0.3s ease;
}

.game-theater-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-card, #e2e8f0);
  border-radius: var(--radius-xl, 24px);
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .game-theater-card {
  background: #0f172a;
  border-color: #1e293b;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
}

/* Theater Bar */
.theater-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--bg-card, #ffffff);
  border-bottom: 1px solid var(--border-card, #e2e8f0);
  gap: 1rem;
}

[data-theme="dark"] .theater-bar {
  background: #111827;
  border-bottom-color: #1f2937;
}

.theater-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.theater-emoji {
  font-size: 1.85rem;
  line-height: 1;
  flex-shrink: 0;
}

.theater-titles {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex-wrap: wrap;
}

.theater-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theater-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full, 9999px);
  font-weight: 700;
  display: inline-block;
}

.theater-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.theater-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-card-subtle, #f1f5f9);
  color: var(--text-main, #0f172a);
  border: 1px solid var(--border-card, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

[data-theme="dark"] .theater-btn {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

.theater-btn:hover {
  background: var(--primary-600, #7c3aed);
  color: #ffffff;
  border-color: var(--primary-600, #7c3aed);
  transform: translateY(-1px);
}

.theater-btn-close {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.2);
  padding: 0.5rem 0.65rem;
}

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

.theater-btn-mode.is-active-mode {
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--primary-500, #8b5cf6);
  color: var(--primary-600, #7c3aed);
  font-weight: 700;
}

[data-theme="dark"] .theater-btn-mode.is-active-mode {
  background: rgba(139, 92, 246, 0.25);
  border-color: var(--primary-400, #c4b5fd);
  color: var(--primary-400, #c4b5fd);
}

/* Stage & Iframe */
.theater-stage {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 680px;
  max-height: 980px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #000;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dikey Ekran (Portrait / Mobil Görünüm) */
.theater-stage.is-portrait {
  height: 88vh;
  min-height: 720px;
  max-height: 980px;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  background: radial-gradient(circle at 50% 45%, #181c38 0%, #060913 85%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient blur glow behind portrait phone frame */
.theater-stage.is-portrait::before {
  content: '';
  position: absolute;
  width: min(520px, 94vw);
  height: 100%;
  max-height: 900px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(217, 70, 239, 0.15) 50%, transparent 75%);
  filter: blur(45px);
  pointer-events: none;
  border-radius: 40px;
  z-index: 1;
}

.theater-stage.is-portrait .game-iframe {
  width: min(520px, 94vw);
  max-width: 100%;
  height: 100%;
  max-height: 900px;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 0 3px rgba(255, 255, 255, 0.15), 0 0 45px rgba(139, 92, 246, 0.3);
  border: none;
  background: #000000;
  position: relative;
  z-index: 2;
}

.theater-stage.is-portrait .theater-loader {
  width: min(520px, 94vw);
  max-width: 100%;
  height: 100%;
  max-height: 900px;
  margin: 0 auto;
  border-radius: 28px;
  z-index: 3;
}

/* Fullscreen portrait mode */
:fullscreen .theater-stage.is-portrait,
:-webkit-full-screen .theater-stage.is-portrait {
  height: 100vh !important;
  max-height: 100vh !important;
  padding: 1rem 0;
  background: #04060d;
}

:fullscreen .theater-stage.is-portrait .game-iframe,
:-webkit-full-screen .theater-stage.is-portrait .game-iframe {
  height: 94vh;
  max-height: 94vh;
  width: calc(94vh * 9 / 16);
  max-width: 90vw;
  border-radius: 24px;
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.15);
}

.theater-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #090d16;
  color: #f8fafc;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.theater-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.theater-loader .spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: var(--primary-500, #8b5cf6);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.03em;
}

/* Theater Details */
.theater-details {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  background: var(--bg-card, #ffffff);
  border-top: 1px solid var(--border-card, #e2e8f0);
  gap: 2rem;
}

[data-theme="dark"] .theater-details {
  background: #111827;
  border-top-color: #1f2937;
}

.theater-desc-wrap {
  flex: 1;
}

.theater-desc {
  font-size: 0.92rem;
  color: var(--text-main, #334155);
  line-height: 1.6;
  margin: 0 0 0.85rem 0;
}

[data-theme="dark"] .theater-desc {
  color: #cbd5e1;
}

.theater-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.theater-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg-card-subtle, #f1f5f9);
  color: var(--text-muted, #64748b);
  border: 1px solid var(--border-card, #e2e8f0);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full, 9999px);
}

[data-theme="dark"] .theater-tag {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}

.theater-meta {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
}

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

.meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #64748b);
  margin-bottom: 0.2rem;
}

.meta-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main, #0f172a);
}

.meta-value.highlight {
  color: #10b981;
}

/* 4. CONTROLS (ARAMA & KATEGORİ SEÇİCİ) */
.oyunlar-controls {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.search-box-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 640px;
}

.search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted, #94a3b8);
  pointer-events: none;
}

.search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 2.85rem 0.85rem 3rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main, #0f172a);
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-card, #cbd5e1);
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-subtle, 0 4px 20px -2px rgba(100, 116, 139, 0.06));
  outline: none;
  transition: all 0.2s ease;
}

[data-theme="dark"] .search-input {
  background: var(--bg-card, #131b2e);
  border-color: #2e3c59;
  color: #f8fafc;
}

.search-input:focus {
  border-color: var(--primary-500, #8b5cf6);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

.search-clear-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(148, 163, 184, 0.2);
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #64748b);
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-clear-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.games-counter {
  font-size: 0.88rem;
  color: var(--text-muted, #64748b);
  white-space: nowrap;
}

.count-num {
  font-weight: 800;
  color: var(--primary-600, #7c3aed);
}

[data-theme="dark"] .count-num {
  color: var(--primary-400, #c4b5fd);
}

/* Kategori Hapları */
.category-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 0.6rem 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 58, 237, 0.3) transparent;
}

.category-pills-bar::-webkit-scrollbar {
  height: 6px;
}

.category-pills-bar::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.3);
  border-radius: 3px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-card, #e2e8f0);
  border-radius: var(--radius-full, 9999px);
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main, #334155);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  flex-shrink: 0;
}

[data-theme="dark"] .cat-pill {
  background: var(--bg-card, #131b2e);
  border-color: #1e293b;
  color: #cbd5e1;
}

.cat-pill:hover {
  border-color: var(--primary-400, #a78bfa);
  color: var(--primary-600, #7c3aed);
  transform: translateY(-2px);
}

.cat-pill.is-active {
  background: var(--primary-600, #7c3aed);
  border-color: var(--primary-600, #7c3aed);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.cat-pill-icon {
  font-size: 1rem;
  line-height: 1;
}

.cat-pill-count {
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  background: rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-full, 9999px);
  font-weight: 700;
}

.cat-pill.is-active .cat-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 5. OYUN KARTLARI IZGARASI */
.oyunlar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-card, #e2e8f0);
  border-radius: var(--radius-xl, 20px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-subtle, 0 4px 20px -2px rgba(100, 116, 139, 0.06));
}

[data-theme="dark"] .game-card {
  background: var(--bg-card, #131b2e);
  border-color: #1e293b;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 16px 36px -10px rgba(124, 58, 237, 0.2);
}

/* Banner */
.card-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1e1b4b;
  overflow: hidden;
  cursor: pointer;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.game-card:hover .banner-img {
  transform: scale(1.06);
}

.banner-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  font-size: 0.68rem;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-full, 9999px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.game-card:hover .banner-overlay {
  opacity: 1;
}

.banner-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-600, #7c3aed);
  color: #ffffff;
  border: 3px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.8);
  transform: scale(0.85);
  transition: transform 0.2s ease, background 0.2s ease;
  padding-left: 4px;
}

.game-card:hover .banner-play-btn {
  transform: scale(1);
}

.banner-play-btn:hover {
  background: #9333ea;
  transform: scale(1.1);
}

/* Card Content */
.card-content {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.card-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-category-chip .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-500, #8b5cf6);
}

.cat-bulmaca .chip-dot { background: #3b82f6; }
.cat-aksiyon .chip-dot { background: #ef4444; }
.cat-kart .chip-dot { background: #10b981; }
.cat-spor .chip-dot { background: #f59e0b; }
.cat-merge .chip-dot { background: #8b5cf6; }
.cat-eslestirme .chip-dot { background: #ec4899; }
.cat-yaris .chip-dot { background: #f97316; }

.card-meta-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.card-orientation-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full, 9999px);
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary-600, #7c3aed);
  border: 1px solid rgba(139, 92, 246, 0.25);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

[data-theme="dark"] .card-orientation-badge {
  background: rgba(139, 92, 246, 0.2);
  color: var(--primary-400, #c4b5fd);
  border-color: rgba(139, 92, 246, 0.35);
}

.card-emoji {
  font-size: 1.25rem;
  line-height: 1;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.45rem 0;
}

.card-title-link {
  color: var(--text-main, #0f172a);
  text-decoration: none;
  transition: color 0.2s ease;
}

[data-theme="dark"] .card-title-link {
  color: #f8fafc;
}

.card-title-link:hover {
  color: var(--primary-600, #7c3aed);
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-muted, #64748b);
  line-height: 1.5;
  margin: 0 0 0.85rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
}

.tag-chip {
  font-size: 0.68rem;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-full, 9999px);
  background: var(--bg-card-subtle, #f1f5f9);
  color: var(--text-muted, #64748b);
  border: 1px solid var(--border-card, #e2e8f0);
}

[data-theme="dark"] .tag-chip {
  background: #19233a;
  border-color: #27354f;
  color: #94a3b8;
}

.tag-chip.highlight {
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary-600, #7c3aed);
  border-color: rgba(124, 58, 237, 0.2);
  font-weight: 700;
}

[data-theme="dark"] .tag-chip.highlight {
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary-400, #c4b5fd);
  border-color: rgba(139, 92, 246, 0.3);
}

/* Card Footer Action */
.card-footer {
  margin-top: auto;
}

.card-play-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--bg-card-subtle, #f8fafc);
  color: var(--text-main, #0f172a);
  border: 1px solid var(--border-card, #cbd5e1);
  border-radius: var(--radius-md, 12px);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

[data-theme="dark"] .card-play-action {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

.game-card:hover .card-play-action {
  background: var(--primary-600, #7c3aed);
  border-color: var(--primary-600, #7c3aed);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

/* 6. NO RESULTS STATE */
.no-results-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card, #ffffff);
  border: 1px dashed var(--border-card, #cbd5e1);
  border-radius: var(--radius-xl, 24px);
  margin-top: 1rem;
}

[data-theme="dark"] .no-results-state {
  background: var(--bg-card, #131b2e);
  border-color: #2e3c59;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.no-results-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main, #0f172a);
  margin-bottom: 0.5rem;
}

.no-results-desc {
  font-size: 0.9rem;
  color: var(--text-muted, #64748b);
  margin-bottom: 1.25rem;
}

.reset-filter-btn {
  background: var(--primary-600, #7c3aed);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full, 9999px);
  padding: 0.6rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.reset-filter-btn:hover {
  background: var(--primary-700, #6d28d9);
  transform: translateY(-2px);
}

/* 7. SEO INFO BLOCK */
.oyunlar-seo-info {
  margin-top: 3.5rem;
}

.seo-info-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-card, #e2e8f0);
  border-radius: var(--radius-xl, 24px);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-subtle, 0 4px 20px -2px rgba(100, 116, 139, 0.06));
}

[data-theme="dark"] .seo-info-card {
  background: var(--bg-card, #131b2e);
  border-color: #1e293b;
}

.seo-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.seo-icon {
  font-size: 1.6rem;
}

.seo-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin: 0;
}

.seo-info-card p {
  font-size: 0.92rem;
  color: var(--text-muted, #64748b);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.seo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.s-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full, 9999px);
}

[data-theme="dark"] .s-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

/* 8. TOAST NOTIFICATION */
.game-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md, 12px);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999;
}

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

/* 9. RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .oyunlar-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .hero-features {
    width: 100%;
    flex-wrap: wrap;
  }
  .hero-feature {
    flex: 1;
    min-width: 140px;
  }
  .theater-stage {
    height: 520px;
  }
}

@media (max-width: 768px) {
  .oyunlar-container {
    padding: 0 0.75rem 2rem 0.75rem;
  }
  .hero-title {
    font-size: 1.45rem;
  }
  .search-box-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    max-width: 100%;
  }
  .games-counter {
    text-align: right;
  }
  .theater-stage {
    height: 55vh;
    min-height: 380px;
  }
  .theater-stage.is-portrait {
    height: 82vh;
    min-height: 520px;
    max-height: 820px;
    padding: 0;
    background: #000000;
  }
  .theater-stage.is-portrait .game-iframe {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    box-shadow: none;
  }
  .theater-stage.is-portrait .theater-loader {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
  .theater-stage.is-portrait::before {
    display: none;
  }
  .theater-details {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .theater-meta {
    width: 100%;
    justify-content: space-between;
  }
  .btn-text {
    display: none;
  }
  .theater-btn {
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .oyunlar-grid {
    grid-template-columns: 1fr;
  }
  .theater-stage {
    height: 320px;
  }
}

