/* LGS+ 2027 Modern Design System & Game Styles */
:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --turkce: #10b981;
  --matematik: #3b82f6;
  --fen: #8b5cf6;
  --inkilap: #f59e0b;
  --din: #ec4899;
  --ingilizce: #06b6d4;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 25px rgba(245, 158, 11, 0.85); }
}

.animate-float { animation: float 3.5s ease-in-out infinite; }
.animate-pop { animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.glow-flame { animation: pulseGlow 2s infinite; }

/* Choice Strikethrough (Eleme Modu) */
.choice-eliminated {
  opacity: 0.38 !important;
  text-decoration: line-through !important;
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  cursor: not-allowed;
}

/* Glass effect */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Mini Games Cards */
.game-card {
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  user-select: none;
}
.game-card:hover {
  transform: translateY(-4px) scale(1.02);
}
.game-card:active {
  transform: scale(0.97);
}
.game-card.matched {
  background-color: #ecfdf5 !important;
  border-color: #10b981 !important;
  color: #047857 !important;
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}
.game-card.selected {
  background-color: #eff6ff !important;
  border-color: #3b82f6 !important;
  color: #1d4ed8 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Certificate styling */
.certificate-frame {
  background: linear-gradient(135deg, #fffdfa 0%, #fff7ed 100%);
  border: 8px double #d97706;
  position: relative;
}
.certificate-frame::before {
  content: "";
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  border: 1px solid #fde68a;
  pointer-events: none;
}

/* iOS PWA Safe Area Support (Notch & Dynamic Island) */
:root {
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
}

.app-header {
  padding-top: max(0px, env(safe-area-inset-top, 0px)) !important;
  padding-left: max(0px, env(safe-area-inset-left, 0px));
  padding-right: max(0px, env(safe-area-inset-right, 0px));
}

body {
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.app-footer {
  padding-bottom: max(1.5rem, calc(1.5rem + env(safe-area-inset-bottom, 0px))) !important;
}

