/

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/Vazirmatn-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-base: #0a77ca;
  --bg-deep: #052c57;
  --glass-bg: rgba(15, 23, 42, 0.42);
  --glass-bg-strong: rgba(10, 20, 40, 0.55);
  --glass-border: rgba(255, 255, 255, 0.09);
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.5);
  --accent: #7dd3fc;
  --text-main: #f8fafc;
  --text-muted: #a9bdd6;
  --radius-lg: 28px;
  --radius-sm: 16px;
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  -webkit-tap-highlight-color: transparent; 
}

html { scroll-behavior: smooth;
scrollbar-color: var(--bg-deep) var(--bg-base);
    
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background-color: var(--bg-base);
  background-image: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-deep) 100%);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.75;
  min-height: 100vh;
}

a { color: inherit; }


.bg-pattern {
  position: fixed;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background-image: url('../pics/cat.png');
  background-size: 150px;
  opacity: 0.045;
  animation: panPattern 100s linear infinite;
  z-index: -2;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  top: 10%; left: 50%; width: 90vw; height: 90vw;
  background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, rgba(2,6,23,0) 70%);
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

.bg-glow-2 {
  position: fixed;
  bottom: -10%; right: -10%; width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(125,211,252,0.10) 0%, rgba(2,6,23,0) 70%);
  z-index: -1;
  pointer-events: none;
}

@keyframes panPattern {
  0% { transform: rotate(-10deg) translate3d(0, 0, 0); }
  100% { transform: rotate(-10deg) translate3d(200px, 200px, 0); }
}

.wrapper { max-width: 1020px; margin: 0 auto; padding: 0 20px; }

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 38px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover { 
  transform: translateY(-5px); 
  border-color: rgba(59, 130, 246, 0.3); 
}
.glass-card:hover::before { opacity: 1; }

.glass-card h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 15px; color: #fff; text-align: center; }
.glass-card p { font-size: 1.02rem; color: var(--text-muted); text-align: center; margin-bottom: 25px; }


.auth-container {
  max-width: 450px;
  margin: 80px auto;
}

.form-group {
  margin-bottom: 20px;
  text-align: right;
  direction: rtl;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  direction: ltr; 
}

.form-control.rtl-input {
  direction: rtl;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.btn-premium {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #022330;
  padding: 14px 40px;
  border-radius: var(--radius-sm);
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255,255,255,0.15);
}

.btn-premium:hover, .btn-premium:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255,255,255,0.3);
}

.auth-links {
  text-align: center;
  margin-top: 25px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.auth-links a:hover {
  color: #fff;
}


.alert-box {
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: none; 
}
.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}




@media (max-width: 768px) {
  .glass-card { padding: 28px 22px; border-radius: 24px; }
  .auth-container { margin: 40px 15px; }
}



.dynamic-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 33, 75, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 25px;
  width: 92%;
  max-width: 1000px;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dynamic-header:hover {
  background: rgba(8, 33, 75, 0.85);
  border-color: rgba(59, 130, 246, 0.3);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 900;
  text-decoration: none;
  color: #f8fafc;
  letter-spacing: -0.5px;
}

.brand-logo .island-dot {
  width: 6px; height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
}
.brand-logo .text-blue { color: #3b82f6; }

.desktop-nav { display: flex; gap: 10px; align-items: center; }
.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.nav-link.active, .mobile-menu .btn-sm.active {
  color: #60a5fa !important;
  background: rgba(59, 130, 246, 0.15) !important;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.auth-actions { display: flex; gap: 10px; align-items: center; }

.btn-sm {
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex; justify-content: center; align-items: center;
}
.btn-primary-sm { background: #3b82f6; color: #fff; border: 1px solid transparent; }
.btn-primary-sm:hover { background: #2563eb; transform: translateY(-2px); }
.btn-outline-sm { border: 1px solid rgba(255, 255, 255, 0.15); color: #f8fafc; background: rgba(255, 255, 255, 0.03); }
.btn-outline-sm:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }
.btn-danger-sm { background: rgba(239, 68, 68, 0.1); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.btn-danger-sm:hover { background: rgba(239, 68, 68, 0.2); transform: translateY(-2px); }

.mobile-menu-btn {
  display: none; background: transparent; border: none; color: #fff; cursor: pointer; padding: 5px;
}

.mobile-menu {
  position: fixed; top: 90px; left: 50%; transform: translateX(-50%) translateY(-15px);
  width: 90%; max-width: 350px; background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px; padding: 20px; display: flex; flex-direction: column;
  gap: 12px; z-index: 990; opacity: 0; visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.mobile-menu.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.main-footer {
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: auto; color: #94a3b8; position: relative; z-index: 10;
}
.footer-container {
  max-width: 1200px; margin: 0 auto; padding: 60px 20px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}

.footer-about .brand-logo { margin-bottom: 20px; }
.footer-about p { font-size: 0.95rem; line-height: 1.9; margin-bottom: 25px; max-width: 90%; }

.social-links { display: flex; gap: 15px; }
.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 45px; height: 45px; background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
  color: #cbd5e1; transition: all 0.3s ease; text-decoration: none;
}
.social-icon:hover {
  background: #3b82f6; color: #fff; border-color: #3b82f6;
  transform: translateY(-5px); box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.footer-widget h4 {
  color: #f8fafc; font-size: 1.1rem; font-weight: 800; margin-bottom: 25px;
  display: flex; align-items: center; gap: 10px;
}
.footer-widget h4::before {
  content: ''; display: block; width: 6px; height: 20px;
  background: #3b82f6; border-radius: 10px;
}
.footer-widget.accent h4::before { background: #10b981; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 0.95rem; transition: all 0.3s ease; display: inline-block; }
.footer-links a:hover { color: #3b82f6; transform: translateX(-5px); }

.footer-bottom {
  background: rgba(2, 6, 23, 0.95); border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 20px;
}
.footer-bottom-container {
  max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between;
  align-items: center; font-size: 0.85rem; color: #64748b;
}
.footer-bottom-container span.highlight { color: #3b82f6; font-weight: 800; }

    .form-select { 
        background: rgba(15, 23, 42, 0.6) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23bfdbfe' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 15px center/20px 20px;
        border: 1px solid rgba(59, 130, 246, 0.3); 
        border-radius: var(--radius-sm); 
        color: #fff; 
        padding: 14px 20px 14px 45px; 
        width: 100%; 
        font-family: 'Vazirmatn'; 
        margin-bottom: 20px;
        appearance: none; 
        -moz-appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
    }
    .form-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 15px rgba(125, 211, 252, 0.2); }
    

    .form-select option {
        background-color: #0f172a; 
        color: #fff;
        padding: 10px;
        font-family: 'Vazirmatn';
    }



    .notices-grid { 
      display: grid; 
      grid-template-columns: repeat(3, 1fr); 
      gap: 30px; 
      align-items: stretch; 
    }
    .notice-card { 
      padding: 30px; 
      display: flex; 
      flex-direction: column; 
      text-align: right; 
      box-sizing: border-box; 
      height: 100%; 
      overflow: hidden; 
    }
    .notice-card .n-meta { 
      display: inline-flex; 
      align-items: center; 
      gap: 6px; 
      font-size: 0.85rem; 
      font-weight: 700; 
      color: var(--accent); 
      margin-bottom: 16px; 
    }
    .notice-card h3 { 
      font-size: 1.2rem; 
      font-weight: 800; 
      color: #fff; 
      margin-bottom: 12px; 
      line-height: 1.4;
    }
    .notice-card p { 
      font-size: 0.95rem; 
      color: var(--text-muted); 
      line-height: 1.9; 
      margin: 0; 
      flex-grow: 1; 
    }
    
    
    
    
.slider-section {
  padding-top: 20px;
  padding-bottom: 20px;
}
.slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--glass-border, rgba(255,255,255,0.1));
  aspect-ratio: 21 / 9; /* ابعاد استاندارد دسکتاپ */
  background: var(--glass-bg, rgba(15,23,42,0.4));
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.slider-track {
  display: flex;
  height: 100%;
  
  direction: ltr; 
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.slider-btn:hover {
  background: var(--primary, #3b82f6);
  border-color: #3b82f6;
}

.prev-btn { right: 20px; } 
.next-btn { left: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 10px;
}



    main.home-page { padding-top: 130px; }

    .section { padding: 90px 0; position: relative; }
    .section-head { text-align: center; max-width: 680px; margin: 0 auto 55px; }
    .section-head .eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.3);
      color: var(--accent); font-size: 0.85rem; font-weight: 700;
      padding: 6px 16px; border-radius: 30px; margin-bottom: 18px;
    }
    .section-head h2 { font-size: 2.1rem; font-weight: 900; color: #fff; margin-bottom: 14px; }
    .section-head p { color: var(--text-muted); font-size: 1.02rem; }

    
    .hero-section { padding: 40px 0 100px; text-align: center; }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3);
      color: #6ee7b7; padding: 8px 18px; border-radius: 30px;
      font-size: 0.85rem; font-weight: 700; margin-bottom: 28px;
    }
    .hero-badge .dot { width: 7px; height: 7px; background: #10b981; border-radius: 50%; box-shadow: 0 0 8px #10b981; }
    .hero-section h1 {
      font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.3;
      color: #fff; margin-bottom: 22px; letter-spacing: -1px;
    }
    .hero-section h1 span { color: var(--primary); }
    .hero-section .hero-desc {
      max-width: 700px; margin: 0 auto 38px; color: var(--text-muted);
      font-size: 1.1rem; line-height: 2;
    }
    .hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
    .hero-cta .btn-premium { width: auto; padding: 15px 38px; }
    .btn-ghost {
      display: flex; align-items: center; gap: 8px; padding: 15px 34px;
      border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.15);
      color: #fff; text-decoration: none; font-weight: 700; transition: all 0.3s ease;
      background: rgba(255,255,255,0.03);
    }
    .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }

    .hero-stats {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
      max-width: 700px; margin: 0 auto;
    }
    .hero-stats .stat-box {
      background: var(--glass-bg); border: 1px solid var(--glass-border);
      border-radius: var(--radius-sm); padding: 22px 10px; backdrop-filter: blur(12px);
    }
    .hero-stats .stat-box strong { display: block; font-size: 1.7rem; font-weight: 900; color: #fff; }
    .hero-stats .stat-box span { font-size: 0.85rem; color: var(--text-muted); }

    
    .split-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
    .split-block .icon-tile {
      width: 62px; height: 62px; border-radius: 18px; display: flex; align-items: center;
      justify-content: center; background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.3);
      color: var(--accent); margin-bottom: 22px;
    }
    .split-block h3 { font-size: 1.6rem; font-weight: 900; color: #fff; margin-bottom: 16px; }
    .split-block p { color: var(--text-muted); font-size: 1rem; margin-bottom: 14px; }
    .check-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
    .check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-main); font-size: 0.98rem; }
    .check-list li svg { flex-shrink: 0; color: #10b981; margin-top: 3px; }

    .visual-card {
      background: linear-gradient(160deg, rgba(59,130,246,0.15), rgba(15,23,42,0.4));
      border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
      padding: 45px; text-align: center; backdrop-filter: blur(14px);
    }
    .visual-card .badge-line {
      display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06);
      padding: 6px 14px; border-radius: 30px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px;
    }
    .visual-card h4 { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
    .visual-card p { color: var(--text-muted); font-size: 0.95rem; }

    
    .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
    .feature-card { text-align: center; padding: 34px 26px; }
    .feature-card .icon-tile {
      width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
      background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.25);
      color: var(--accent); margin: 0 auto 18px;
    }
    .feature-card h3 { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
    .feature-card p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

    /
    .philosophy-card { max-width: 900px; margin: 0 auto; padding: 50px; }
    .philosophy-card .quote-mark { font-size: 3rem; color: var(--primary); opacity: 0.4; line-height: 1; margin-bottom: 10px; }
    .philosophy-card p { color: var(--text-muted); font-size: 1.05rem; line-height: 2.1; text-align: center; margin: 0; }
    .philosophy-card strong { color: #fff; }

    
    .compat-banner {
      display: flex; align-items: center; gap: 24px; padding: 34px 40px;
      border-radius: var(--radius-lg); background: rgba(16,185,129,0.06);
      border: 1px solid rgba(16,185,129,0.25);
    }
    .compat-banner .icon-tile {
      width: 58px; height: 58px; border-radius: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
      background: rgba(16,185,129,0.15); color: #6ee7b7;
    }
    .compat-banner h3 { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
    .compat-banner p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
    .compat-banner a { color: #6ee7b7; font-weight: 700; text-decoration: none; }
    .compat-banner a:hover { text-decoration: underline; }


    .posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
    .post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
    .post-card .post-cover {
      width: 100%; height: 160px; background-size: cover; background-position: center;
      background-color: rgba(59,130,246,0.1); display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,0.25); position: relative;
    }
    .post-card .post-body { padding: 26px; text-align: right; flex: 1; display: flex; flex-direction: column; }
    .post-card .dl-badge {
      display: inline-flex; align-self: flex-start; font-size: 0.72rem; font-weight: 700;
      padding: 4px 12px; border-radius: 20px; background: rgba(59,130,246,0.15);
      color: var(--accent); margin-bottom: 12px;
    }
    .post-card h3 { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 10px; text-align: right; }
    .post-card p { font-size: 0.9rem; color: var(--text-muted); text-align: right; margin-bottom: 20px; flex: 1; }
    .post-card .post-link {
      display: inline-flex; align-items: center; gap: 6px; color: var(--accent);
      text-decoration: none; font-weight: 700; font-size: 0.9rem; align-self: flex-start;
    }
    .post-card .post-link:hover { color: #fff; }
    .empty-state { text-align: center; color: var(--text-muted); padding: 40px; grid-column: 1 / -1; }

  
    .faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
    .faq-item {
      background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
      overflow: hidden; transition: border-color 0.3s ease;
    }
    .faq-item.open { border-color: rgba(59,130,246,0.4); }
    .faq-question {
      display: flex; justify-content: space-between; align-items: center; padding: 20px 26px;
      cursor: pointer; font-weight: 700; color: #fff; font-size: 1rem;
    }
    .faq-question svg { transition: transform 0.3s ease; flex-shrink: 0; }
    .faq-item.open .faq-question svg { transform: rotate(45deg); }
    .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
    .faq-item.open .faq-answer { max-height: 300px; }
    .faq-answer p { padding: 0 26px 22px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.9; margin: 0; }

   
    .final-cta { text-align: center; padding: 70px 40px; }
    .final-cta h2 { font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: 16px; }
    .final-cta p { color: var(--text-muted); max-width: 550px; margin: 0 auto 30px; }
    .final-cta .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
    .final-cta .btn-premium { width: auto; padding: 15px 40px; }

    @media (max-width: 900px) {
      .split-block { grid-template-columns: 1fr; }
      .feature-grid { grid-template-columns: 1fr 1fr; }
      .posts-grid { grid-template-columns: 1fr 1fr; }
      .hero-stats { grid-template-columns: 1fr; }
    }
    @media (max-width: 600px) {
      .feature-grid, .posts-grid { grid-template-columns: 1fr; }
      .compat-banner { flex-direction: column; text-align: center; }
      main.home-page { padding-top: 110px; }
      .section { padding: 60px 0; }
    }
/* ابعاد موبایل */
@media (max-width: 768px) {
  .slider-container {
    aspect-ratio: 16 / 9; 
  }
  .slider-btn { width: 36px; height: 36px; }
  .prev-btn { right: 10px; }
  .next-btn { left: 10px; }
}

  
    @media (max-width: 1024px) {
      .notices-grid { 
        grid-template-columns: repeat(2, 1fr); 
      }
    }
    @media (max-width: 650px) {
      .notices-grid { 
        grid-template-columns: 1fr; 
      }
    }
    
    
    
    

@media (max-width: 900px) { .footer-container { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 768px) {
  .desktop-nav, .auth-actions { display: none; }
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
  .dynamic-header { top: 15px; width: 95%; padding: 12px 20px; }
  .mobile-menu { top: 85px; }
}
@media (max-width: 600px) {
  .footer-container { grid-template-columns: 1fr; gap: 30px; padding: 40px 20px; }
  .footer-bottom-container { flex-direction: column; gap: 15px; text-align: center; }
}


