/* ============================================================
   Hikaye Oyunlari Dergisi - oyundefteri.com.tr
   Cyberpunk Dark Magazine Stylesheet
   ============================================================ */

/* -------------------------------------------------------
   0. CSS Custom Properties
   ------------------------------------------------------- */
:root {
  --graphite: #0a0a0f;
  --navy: #0d1117;
  --surface: #12131a;
  --surface-light: #1a1b26;
  --surface-lighter: #22232e;
  --text-primary: #e2e4e9;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --neon-cyan: #00f0ff;
  --neon-magenta: #ff00aa;
  --neon-purple: #8b5cf6;
  --neon-amber: #f59e0b;
  --glow-cyan: 0 0 8px rgba(0, 240, 255, 0.5), 0 0 24px rgba(0, 240, 255, 0.15);
  --glow-magenta: 0 0 8px rgba(255, 0, 170, 0.5), 0 0 24px rgba(255, 0, 170, 0.15);
  --glow-purple: 0 0 8px rgba(139, 92, 246, 0.5), 0 0 24px rgba(139, 92, 246, 0.15);
  --glow-amber: 0 0 8px rgba(245, 158, 11, 0.5), 0 0 24px rgba(245, 158, 11, 0.15);
  --nav-height: 64px;
  --max-width: 1200px;
  --radius: 6px;
  --radius-lg: 12px;
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
}

/* -------------------------------------------------------
   1. Reset & Base
   ------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--graphite);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--neon-magenta);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Courier New", Courier, "Lucida Console", monospace;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------------------------
   2. Skip Link
   ------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--neon-cyan);
  color: var(--graphite);
  font-weight: 700;
  border-radius: var(--radius);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 12px;
  color: var(--graphite);
}

:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
  box-shadow: var(--glow-cyan);
}

/* -------------------------------------------------------
   3. Scrollbar
   ------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--graphite);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-lighter);
  border-radius: 4px;
  border: 1px solid rgba(0, 240, 255, 0.15);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-purple);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--surface-lighter) var(--graphite);
}

/* -------------------------------------------------------
   4. Navigation - .main-nav / .nav-container / .nav-menu
   ------------------------------------------------------- */
.site-header,
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
}

.main-nav {
  width: 100%;
  height: var(--nav-height);
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.12);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo .logo-text,
.nav-logo {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  white-space: nowrap;
  transition: text-shadow var(--transition-base), color var(--transition-base), transform var(--transition-base);
  display: inline-block;
}

.site-logo:hover .logo-text,
.nav-logo:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.8), 0 0 30px rgba(0, 240, 255, 0.4), 0 0 60px rgba(139, 92, 246, 0.2);
  transform: scale(1.03);
}

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

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius);
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-menu a:hover {
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.05);
}

.nav-menu a.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.08);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--neon-cyan);
  transition: transform var(--transition-base), opacity var(--transition-fast);
  box-shadow: var(--glow-cyan);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------------------------------------------------------
   5. Hero Section - .hero-section
   ------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 48px) 0 64px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(139, 92, 246, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 30% 60%, rgba(0, 240, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 70% 60%, rgba(255, 0, 170, 0.04) 0%, transparent 60%);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 60%;
  left: 20%;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.25;
}

.hero-section::before {
  top: calc(var(--nav-height) + 16px);
}

.hero-section::after {
  bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}

.hero-intro {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-intro p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* -------------------------------------------------------
   6. Section Block - .section-block
   ------------------------------------------------------- */
.section-block {
  padding: 64px 0;
}

.section-block h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 24px;
  color: var(--neon-purple);
  text-shadow: var(--glow-purple);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-block p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.section-block address {
  font-style: normal;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* -------------------------------------------------------
   7. Spoiler Toggle
   ------------------------------------------------------- */
.spoiler-toggle-wrapper {
  background: var(--surface);
  border: 1px solid rgba(0, 240, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.spoiler-toggle-label {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  margin-bottom: 8px;
}

.toggle-text {
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  font-size: 1rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 4px rgba(0, 240, 255, 0.2);
}

.spoiler-toggle {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
}

.toggle-slider {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  background: var(--surface-lighter);
  border: 1px solid var(--text-muted);
  border-radius: 26px;
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  flex-shrink: 0;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.spoiler-toggle:checked + .toggle-slider {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

.spoiler-toggle:checked + .toggle-slider::before {
  transform: translateX(22px);
  background: var(--neon-cyan);
  box-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
}

.toggle-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.spoiler-content {
  display: none;
  background: rgba(255, 0, 170, 0.05);
  border-left: 3px solid var(--neon-magenta);
  padding: 12px 16px;
  margin-top: 12px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.spoiler-content.visible {
  display: block;
}

.spoiler-warning {
  font-size: 0.82rem;
  color: var(--neon-amber);
  font-weight: 600;
  margin-bottom: 6px;
}

/* -------------------------------------------------------
   8. Filter Bar
   ------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: "Courier New", Courier, monospace;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--surface-lighter);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: lowercase;
}

.filter-btn:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.filter-btn.active {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

.filter-btn[data-filter="rahatlatici"].active {
  background: rgba(139, 92, 246, 0.12);
  border-color: var(--neon-purple);
  color: var(--neon-purple);
  box-shadow: var(--glow-purple);
}

.filter-btn[data-filter="kesif"].active {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--neon-amber);
  color: var(--neon-amber);
  box-shadow: var(--glow-amber);
}

.filter-btn[data-filter="zorlayici"].active {
  background: rgba(255, 0, 170, 0.12);
  border-color: var(--neon-magenta);
  color: var(--neon-magenta);
  box-shadow: var(--glow-magenta);
}

.turler-aciklama {
  background: var(--surface);
  border: 1px solid rgba(0, 240, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}

.turler-aciklama p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.turler-aciklama p:last-child {
  margin-bottom: 0;
}

/* -------------------------------------------------------
   9. Game Cards - .games-grid / .game-card
   ------------------------------------------------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.game-card {
  background: var(--surface);
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), var(--glow-cyan);
}

.game-card.hidden {
  display: none;
}

/* Card placeholder SVG area */
.game-card .card-placeholder {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 50%, var(--surface) 100%);
}

.game-card .card-placeholder svg {
  width: 100%;
  height: 100%;
}

.game-card[data-category*="rahatlatici"] .card-placeholder {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(139, 92, 246, 0.2) 0%, transparent 60%),
    linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 50%, var(--surface) 100%);
}

.game-card[data-category*="kesif"] .card-placeholder {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(245, 158, 11, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 50%, var(--surface) 100%);
}

.game-card[data-category*="zorlayici"] .card-placeholder {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 0, 170, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 50%, var(--surface) 100%);
}

/* Card content */
.card-content {
  padding: 20px 24px 24px;
}

.card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--neon-cyan);
  text-shadow: 0 0 4px rgba(0, 240, 255, 0.2);
}

.card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.meta-tag {
  padding: 3px 10px;
  font-size: 0.72rem;
  font-family: "Courier New", Courier, monospace;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--neon-purple);
  text-transform: lowercase;
}

.card-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 8px;
}

.icerik-notu {
  background: rgba(245, 158, 11, 0.06);
  border-left: 3px solid var(--neon-amber);
  padding: 10px 14px;
  margin-top: 12px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.turkiye-notu {
  background: rgba(139, 92, 246, 0.06);
  border-left: 3px solid var(--neon-purple);
  padding: 10px 14px;
  margin-top: 8px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* -------------------------------------------------------
   10. FAQ Accordion - .faq-list / .faq-item
   ------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: border-color var(--transition-base);
}

.faq-item.active {
  border-color: rgba(0, 240, 255, 0.2);
}

.faq-item .faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: "Courier New", Courier, monospace;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-item .faq-question:hover {
  color: var(--neon-cyan);
}

.faq-item .faq-question::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--neon-cyan);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 20px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* -------------------------------------------------------
   11. Content with Image
   ------------------------------------------------------- */
.content-with-image {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin: 1.5rem 0;
}

.content-with-image .content-text {
  flex: 1;
}

.content-with-image .content-text p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.content-with-image .content-image {
  flex: 0 0 260px;
  max-width: 260px;
}

.content-with-image .content-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

/* -------------------------------------------------------
   12. Footer - .site-footer / .cyber-footer
   ------------------------------------------------------- */
.site-footer,
.cyber-footer {
  background: var(--navy);
  border-top: 1px solid rgba(0, 240, 255, 0.08);
  padding: 48px 0 24px;
  margin-top: 64px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-brand {
  margin-bottom: 8px;
}

.footer-site-name {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 4px rgba(0, 240, 255, 0.15);
  margin-bottom: 6px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  list-style: none;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--neon-cyan);
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
  text-align: center;
}

.footer-disclaimer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 4px;
}

/* Footer grid (tech pages) */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 24px;
}

.footer-col h3 {
  font-size: 0.9rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 4px rgba(0, 240, 255, 0.15);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 4px;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 3px 0;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-col a:hover {
  color: var(--neon-cyan);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 20px;
  margin-top: 8px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-grid {
  text-align: center;
}

.footer-col {
  text-align: center;
}

/* -------------------------------------------------------
   13. Cookie Banner
   ------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 240, 255, 0.15);
  padding: 20px 24px;
  display: none;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  min-width: 250px;
}

.cookie-banner-content p a {
  color: var(--neon-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: "Courier New", Courier, monospace;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.cookie-btn.cookie-accept {
  background: var(--neon-cyan);
  color: var(--graphite);
  border-color: var(--neon-cyan);
}

.cookie-btn.cookie-accept:hover {
  box-shadow: var(--glow-cyan);
}

.cookie-btn.cookie-reject {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--surface-lighter);
}

.cookie-btn.cookie-reject:hover {
  border-color: var(--neon-magenta);
  color: var(--neon-magenta);
}

.cookie-btn.cookie-settings {
  background: transparent;
  color: var(--neon-purple);
  border-color: var(--neon-purple);
}

.cookie-btn.cookie-settings:hover {
  box-shadow: var(--glow-purple);
}

.cookie-btn.cookie-save {
  background: var(--neon-cyan);
  color: var(--graphite);
  border-color: var(--neon-cyan);
  flex: 1;
}

.cookie-btn.cookie-save:hover {
  box-shadow: var(--glow-cyan);
}

.cookie-btn.cookie-close {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--surface-lighter);
}

/* Cookie settings modal */
.cookie-settings-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cookie-settings-modal.visible {
  display: flex;
}

.cookie-settings-modal .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.cookie-settings-modal .modal-content {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6), var(--glow-cyan);
  z-index: 1;
}

.cookie-settings-modal .modal-content h2 {
  font-size: 1.2rem;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  margin-bottom: 12px;
}

.cookie-settings-modal .modal-content > p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.cookie-option {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.cookie-option-info {
  flex: 1;
}

.cookie-option-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

/* Cookie toggle slider in modal */
.cookie-toggle-slider {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  background: var(--surface-lighter);
  border: 1px solid var(--text-muted);
  border-radius: 24px;
  flex-shrink: 0;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.cookie-toggle-slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform var(--transition-base), background var(--transition-base);
}

input:checked + .cookie-toggle-slider {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--neon-cyan);
}

input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
  background: var(--neon-cyan);
}

input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Cookie modal in tech pages (different structure) */
.cookie-modal-content {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6), var(--glow-cyan);
  z-index: 1;
}

.cookie-modal-content h3 {
  font-size: 1.2rem;
  color: var(--neon-cyan);
  margin-bottom: 20px;
}

.cookie-modal-content .cookie-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cookie-modal-content .cookie-option label span {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.cookie-modal-content .cookie-option p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  padding-left: 28px;
}

.cookie-modal-buttons {
  margin-top: 20px;
}

/* Reopen cookies button */
.btn-reopen-cookies,
#cerez-tercih-btn {
  padding: 12px 28px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neon-purple);
  background: transparent;
  border: 1px solid var(--neon-purple);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-base);
  margin: 16px 0;
}

.btn-reopen-cookies:hover,
#cerez-tercih-btn:hover {
  box-shadow: var(--glow-purple);
  background: rgba(139, 92, 246, 0.08);
}

/* -------------------------------------------------------
   14. Tech Pages - .cyber-section / .cyber-card etc.
   ------------------------------------------------------- */
.cyber-section {
  padding: 48px 0;
}

.cyber-section:first-of-type {
  padding-top: calc(var(--nav-height) + 48px);
}

.cyber-heading {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  margin-bottom: 28px;
}

.cyber-card {
  background: var(--surface);
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  transition: border-color var(--transition-base);
}

.cyber-card:hover {
  border-color: rgba(0, 240, 255, 0.15);
}

.cyber-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.cyber-card p:last-child {
  margin-bottom: 0;
}

.cyber-subheading {
  font-size: 1.2rem;
  color: var(--neon-purple);
  margin-bottom: 16px;
}

.cyber-subheading-sm {
  font-size: 1rem;
  color: var(--neon-amber);
  margin-top: 16px;
  margin-bottom: 8px;
}

.cyber-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.cyber-card ul,
.cyber-card ol {
  padding-left: 24px;
  margin-bottom: 12px;
}

.cyber-card li {
  list-style: disc;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.cyber-card ol li {
  list-style: decimal;
}

/* Contact info list */
.contact-info-list {
  list-style: none;
  padding: 0;
}

.contact-info-list li {
  list-style: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.contact-info-list li:last-child {
  border-bottom: none;
}

.contact-info-list strong {
  color: var(--text-primary);
  margin-right: 8px;
}

/* Contact form standalone */
.contact-form-section {
  padding-top: 0;
}

.contact-form-card {
  border-color: rgba(0, 240, 255, 0.15);
}

/* -------------------------------------------------------
   15. Forms
   ------------------------------------------------------- */
.cyber-form .form-group {
  margin-bottom: 22px;
}

.cyber-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: "Courier New", Courier, monospace;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cyber-input,
.cyber-form input[type="text"],
.cyber-form input[type="email"],
.cyber-form input[type="tel"],
.cyber-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--surface-light);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.cyber-input:focus,
.cyber-form input:focus,
.cyber-form textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

.cyber-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--neon-cyan);
  margin-top: 2px;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 400;
  margin-bottom: 0;
}

.cyber-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: "Courier New", Courier, monospace;
  color: var(--graphite);
  background: var(--neon-cyan);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: box-shadow var(--transition-base), opacity var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cyber-btn:hover {
  box-shadow: var(--glow-cyan);
}

.cyber-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cyber-btn.cyber-btn-outline {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
}

#form-result {
  margin-top: 16px;
  padding: 0;
  font-size: 0.9rem;
}

#form-result.success {
  padding: 14px 18px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--neon-cyan);
  border-radius: var(--radius);
}

#form-result.error {
  padding: 14px 18px;
  background: rgba(255, 0, 170, 0.08);
  border: 1px solid rgba(255, 0, 170, 0.2);
  color: var(--neon-magenta);
  border-radius: var(--radius);
}

/* -------------------------------------------------------
   16. Cyber Table (tech pages)
   ------------------------------------------------------- */
.cyber-table-wrapper {
  overflow-x: auto;
  margin: 16px 0;
}

.cyber-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.cyber-table th,
.cyber-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cyber-table th {
  color: var(--neon-cyan);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 240, 255, 0.03);
}

.cyber-table td {
  color: var(--text-secondary);
}

.cyber-table tr:hover td {
  background: rgba(0, 240, 255, 0.02);
}

/* -------------------------------------------------------
   17. Site Map
   ------------------------------------------------------- */
.site-map-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-map-list li {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid rgba(0, 240, 255, 0.06);
  border-radius: var(--radius);
  transition: border-color var(--transition-base);
}

.site-map-list li:hover {
  border-color: rgba(0, 240, 255, 0.2);
}

.site-map-list a {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
}

.site-map-list .map-desc,
.site-map-list small {
  display: block;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.site-map-list ul {
  list-style: none;
  padding-left: 20px;
  margin-top: 8px;
}

.site-map-list ul li {
  background: transparent;
  border: none;
  padding: 6px 0;
}

/* -------------------------------------------------------
   18. Scroll to Top
   ------------------------------------------------------- */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 50%;
  color: var(--neon-cyan);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 900;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.scroll-top-btn.visible {
  display: flex;
}

.scroll-top-btn:hover {
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

/* -------------------------------------------------------
   19. Animations
   ------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------
   20. Utility
   ------------------------------------------------------- */
.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------
   21. Responsive
   ------------------------------------------------------- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-base), opacity var(--transition-base), visibility var(--transition-base);
    list-style: none;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

  .nav-menu.active,
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    font-size: 0.95rem;
    padding: 10px 12px;
    display: block;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-bottom: 48px;
  }

  .section-block {
    padding: 40px 0;
  }

  .content-with-image {
    flex-direction: column;
  }

  .content-with-image .content-image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cyber-section:first-of-type {
    padding-top: calc(var(--nav-height) + 32px);
  }

  .cyber-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .nav-container {
    padding: 0 16px;
  }

  .site-logo .logo-text {
    font-size: 0.95rem;
  }
}

@media (min-width: 1400px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------
   22. Reduced Motion
   ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .game-card:hover {
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* -------------------------------------------------------
   23. Print
   ------------------------------------------------------- */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    background-image: none !important;
  }

  .site-header,
  header,
  .main-nav,
  .hamburger,
  .cookie-banner,
  .cookie-settings-modal,
  .scroll-top-btn,
  .spoiler-toggle-wrapper,
  .filter-bar,
  .skip-link,
  .site-footer,
  .cyber-footer,
  footer {
    display: none !important;
  }

  .hero-section {
    min-height: auto;
    padding: 24px 0;
  }

  .game-card {
    break-inside: avoid;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }

  .card-placeholder {
    display: none !important;
  }

  .section-block,
  .cyber-section {
    padding: 16px 0;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555 !important;
  }
}
