
/*
Theme Name: Minimal Particles
Theme URI: https://example.com/minimal-particles
Author: ChatGPT
Author URI: https://example.com
Description: قالب وردپرسی مینیمال با افکت پارتیکل بک‌گراند قابل تنظیم + شورت‌کد مرکزی. فونت وزیر.
Version: 1.2.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minimal-particles
Tags: minimal, rtl, persian, particles, customizable
*/

/* Reset & base */
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: Vazir, sans-serif;
  line-height: 1.6;
  background: var(--mp-bg, #141414);
  color: var(--mp-text, #eeeeee);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: #9be; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-title a {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--mp-header, #ffffff);
  text-decoration: none;
}

.nav { display: flex; gap: 1rem; }
.nav a { opacity: .9; }
.nav a:hover { opacity: 1; }

/* Center Shortcode Area */
.center-shortcode {
  position: relative;
  z-index: 1;
  padding: 1rem 0 2rem;
}
.center-slot {
  margin: 0 auto 2rem;
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.center-slot > .card {
  width: 100%;
}

.main {
  position: relative;
  z-index: 1;
  padding: 1rem 0 3rem;
  flex: 1;
}

.card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(4px);
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0;
  font-size: .9rem;
}

/* Particle canvas full-bleed background */
#mp-particle-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.rtl .site-title a { letter-spacing: .1px; }

/* WP blocks */
.wp-block-image img { max-width: 100%; height: auto; border-radius: 12px; }
.wp-block-heading { margin: 1.25rem 0 .75rem; }
.wp-block-paragraph { margin: .75rem 0; }
