/*
Theme Name:   Mathnot
Theme URI:    https://mathnot.com
Description:  Mathnot oyun studyosu icin hafif blok child theme. Twenty Twenty-Five uzerine kurulu. Studyo tanitim sayfasi, oyun sayfalari ve yasal sayfalar (gizlilik, destek) icin hazir desenler (patterns) icerir.
Author:       Mathnot
Author URI:   https://mathnot.com
Template:     twentytwentyfive
Version:      1.0.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  mathnot
Tags:         one-column, block-patterns, full-site-editing, custom-colors, wide-blocks
*/

/* ============================================================
   ONEMLI - ANA TEMA ADI
   Yukaridaki "Template:" satiri, ANA TEMANIN KLASOR ADIYLA
   BIREBIR ayni olmali. Yanlissa WordPress temayi "Broken" gosterir.

     Twenty Twenty-Five kullaniyorsan : twentytwentyfive   (varsayilan, boyle birakildi)
     Twenty Twenty-Four kullaniyorsan : twentytwentyfour

   Kontrol: Appearance > Themes altinda etkin ana temanin adina bak.
   Degistirmen gerekirse SADECE o tek satiri duzenle.
   ============================================================ */


/* ── Tipografi ince ayarlari ─────────────────────────────── */

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Baslikta harf araligini biraz sikistirmak, buyuk puntolarda
   ekrana daha "tasarlanmis" bir his veriyor. */
h1, h2, h3,
.wp-block-post-title,
.wp-block-site-title {
  letter-spacing: -0.02em;
}


/* ── Marka rozeti (hero uzerindeki kucuk etiket) ─────────── */

.mathnot-eyebrow {
  display: inline-block;
  padding: 0.35em 0.9em;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}


/* ── Oyun karti ──────────────────────────────────────────── */

.mathnot-card {
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.mathnot-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, currentColor 30%, transparent);
}

/* Hareketi azaltmayi tercih eden kullanicilar icin animasyonu
   kapatiyoruz - erisilebilirlik acisindan gerekli. */
@media (prefers-reduced-motion: reduce) {
  .mathnot-card { transition: none; }
  .mathnot-card:hover { transform: none; }
}


/* ── Yasal sayfalar (gizlilik, destek) ───────────────────── */

.mathnot-legal {
  max-width: 46rem;
}

.mathnot-legal h2 {
  margin-top: 2.6rem;
}

.mathnot-legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  margin: 1.2rem 0;
}

.mathnot-legal th,
.mathnot-legal td {
  text-align: left;
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  vertical-align: top;
}

.mathnot-legal th {
  font-weight: 600;
}

/* Dar ekranda tablolar tasmasin, yatay kaydirilabilsin. */
.mathnot-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


/* ── Mağaza rozeti bağlantısı ────────────────────────────── */

.mathnot-store-badge img {
  height: 56px;
  width: auto;
  display: block;
}
