@font-face {
  font-family: 'Vazir';
  src: url('../font/Vazir.ttf') format('truetype');
}

:root{
  --bg-dark:#071126;
  --ice-1: #0ff6ff;  
  --ice-2: #56b4ff;
  --accent: #6ef3ff;
  --glass: rgba(255,255,255,0.06);
  --glass-strong: rgba(255,255,255,0.08);
  --text: #e8f6ff;
  --muted: rgba(232,246,255,0.6);
  --card-glow: rgba(102, 242, 255, 0.14);
  --glass-border: rgba(255,255,255,0.07);
  --radius: 14px;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:'Vazir', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg-dark);
  color:var(--text);
  background-repeat: no-repeat;
  background-size:cover;
  -webkit-font-smoothing:antialiased;
  background-image: url(../media/image/bg.png);
  overflow-x:hidden;
  line-height:1.45;
}


::-webkit-scrollbar {
  width: 12px;               
}

::-webkit-scrollbar-track {
  background: #005e61;          
  border-radius: 4px;       
}

::-webkit-scrollbar-thumb {
  background: aqua;          
  border-radius: 4px;        
  border: 3px solid aqua;     
  transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(47, 255, 255, 0.667);
  border: 3px solid rgba(47, 255, 255, 0.667); 
}



header.site-header{
  position:fixed; top:18px; left:18px; right:18px; z-index:1200;
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  padding:12px 20px; border-radius:14px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.45), 0 0 40px rgba(6,120,180,0.03) inset;
  backdrop-filter: blur(10px) saturate(1.2);
  transition: transform .28s ease, top .28s ease, padding .25s ease, background .25s ease;
}

header.site-header.scrolled{
  transform: translateY(-6px);
  padding:10px 18px;
  border-radius:12px;
  background: linear-gradient(90deg, rgba(2,10,18,0.55), rgba(2,10,18,0.45));
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 40px rgba(12,140,200,0.06) inset;
}


.logo {
  display:flex; align-items:center; gap:12px;
}
.logo .mark{ width:56px; height:56px; border-radius:10px; object-fit:cover; transition: transform .28s ease; cursor:pointer }
.logo .mark:hover{ transform:scale(1.15) rotate(0deg) }

.logo .title{
  display:flex; flex-direction:column; line-height:1;
}
.logo .title .brand{ font-weight:800; color:var(--accent); font-size:16px; letter-spacing:0.6px}
.logo .title .tag{ font-size:11px; color:var(--muted) }


.nav {
  display:flex; gap:10px; align-items:center;   margin-left: 400px;
}
.nav a{
  padding:10px 14px; border-radius:10px; color:var(--muted); font-weight:600;
  transition: all .22s cubic-bezier(.2,.9,.3,1);
  position:relative;
}
.nav a::after{
  content:""; position:absolute; left:8px; right:8px; bottom:6px; height:2px;
  background: linear-gradient(90deg,var(--ice-1),var(--ice-2));
  border-radius:2px; transform: scaleX(0); transform-origin:right; transition:transform .25s ease;
  opacity:0.9;
}
.nav a:hover{ color:var(--ice-2); transform: translateY(-3px); }
.nav a:hover::after{ transform: scaleX(1); transform-origin:left; }


.header-actions{
  display:flex; gap:10px; align-items:center;
}
.btn-primary{
  padding:8px 14px; border-radius:10px; font-weight:700; cursor:pointer;
  background: linear-gradient(90deg,var(--ice-1),var(--ice-2));
  color:#001; box-shadow: 0 8px 30px rgba(86,180,255,0.12);
  border:none; transition: transform .18s ease;
}
.btn-ghost{
  padding:8px 12px; border-radius:10px; background:transparent; border:1px solid rgba(255,255,255,0.06); color:var(--muted);
}
.btn-primary:hover{ transform:translateY(-4px) scale(1.02) }


.hamburger { display:none; width:46px; height:46px; border-radius:10px; align-items:center; justify-content:center; cursor:pointer; background:rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.03) }
.hamburger span{display:block; width:20px; height:2px; background:var(--muted); border-radius:2px; position:relative}
.hamburger span::before, .hamburger span::after{ content:""; position:absolute; left:0; right:0; height:2px; background:var(--muted); border-radius:2px }
.hamburger span::before{ top:-6px } .hamburger span::after{ top:6px }

.hero {
  min-height:92vh; display:flex; align-items:center; justify-content:center; padding:120px 18px 60px; position:relative;
}
.hero-inner{
  width:100%; max-width:1200px; display:grid; grid-template-columns: 1fr 420px; gap:36px; align-items:center;
}
@media(max-width:980px){ .hero-inner{ grid-template-columns: 1fr; padding:0 10px } }

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid var(--glass-border);
  padding:34px; border-radius:16px; backdrop-filter: blur(8px);
  box-shadow: 0 18px 60px rgba(3,25,40,0.6);
}
.hero h1{
  color:var(--ice-1); font-size:46px; margin-bottom:10px; letter-spacing:0.4px;
  text-shadow: 0 6px 30px rgba(12,180,240,0.06);
}
.hero p{ color:var(--muted); font-size:16px; margin-bottom:22px }


.features{ display:flex; gap:10px; flex-wrap:wrap }
.feature {
  display:flex; gap:12px; align-items:center; background: rgba(255,255,255,0.02); padding:8px 12px; border-radius:10px;
  border:1px solid rgba(255,255,255,0.02);
  color:var(--muted); font-size:14px;
}
.feature .dot{ width:10px; height:10px; border-radius:50%; background: linear-gradient(90deg,var(--ice-1),var(--ice-2)); box-shadow:0 6px 18px rgba(72,200,255,0.08) }


.quick-panel {
  perspective:1400px;
}
.panel-card {
  width:100%; border-radius:16px; padding:18px; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid var(--glass-border); backdrop-filter: blur(8px);
  transform-style:preserve-3d; transition: transform .35s cubic-bezier(.2,.9,.3,1), box-shadow .35s;
}
.panel-card:hover{ transform: rotateX(6deg) rotateY(-8deg) translateY(-6px); box-shadow: 0 30px 80px rgba(0,120,200,0.12) }


.server-status{
  display:flex; align-items:center; gap:12px; margin-bottom:12px;
}
.status-dot{ width:12px; height:12px; border-radius:50%; background:linear-gradient(90deg,var(--ice-1),var(--ice-2)); box-shadow:0 8px 22px rgba(86,180,255,0.16) }
.server-name{ font-weight:700; color:var(--text) }


.section-card-grid{
  display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:26px; margin-top:20px;
}
.mode-card{
  border-radius:14px; padding:18px; background: linear-gradient(180deg, rgba(6,14,25,0.65), rgba(6,14,25,0.45));
  border:1px solid rgba(255,255,255,0.03); box-shadow: 0 12px 40px rgba(0,0,0,0.55);
  transform-origin:center; transition: transform .35s ease, box-shadow .35s ease;
  position:relative; overflow:hidden;
}
.mode-card::after{
  content:""; position:absolute; inset:0; background: linear-gradient(120deg, rgba(96,202,255,0.03), transparent 35%);
  mix-blend-mode: screen; pointer-events:none;
}
.mode-card:hover{ transform: translateY(-12px) scale(1.02); box-shadow: 0 30px 80px var(--card-glow) }
.mode-card .icon{ width:80px; height:80px; border-radius:12px; display:grid; place-items:center; font-weight:800; font-size:24px; margin-bottom:12px;
  background: linear-gradient(135deg,var(--ice-2), rgba(110,243,255,0.08)); box-shadow: 0 12px 40px rgba(0,200,255,0.06);
}


.table-wrap{ margin-top:20px; border-radius:12px; overflow:hidden; border:1px solid rgba(255,255,255,0.03); background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01)); }
.table {
  width:100%; border-collapse:collapse; overflow:hidden;
}
.table thead tr th{
  text-align:center; font-weight:800; padding:14px; font-size:14px; color:var(--text);
  background: linear-gradient(90deg, rgba(10,60,110,0.5), rgba(10,80,150,0.4));
  border-bottom:1px solid rgba(255,255,255,0.03);
}
.table tbody tr{
  transition: background .2s ease, transform .18s ease;
}
.table tbody tr:hover{ background: linear-gradient(90deg, rgba(8,120,190,0.06), rgba(6,60,120,0.06)); transform: translateX(6px) }
.table td{ padding:12px 16px; text-align:center; color:var(--muted); border-bottom:1px solid rgba(255,255,255,0.02) }


.avatar{
  width:44px; height:44px; border-radius:10px; display:inline-grid; place-items:center; font-weight:700; color:#001;
  background: linear-gradient(90deg,var(--ice-1),var(--ice-2)); box-shadow:0 8px 24px rgba(0,200,255,0.08);
}


.site-footer{
  padding:60px 0 30px; margin-top:60px; 
  border-top:1px solid rgba(255,255,255,0.05);
  background: linear-gradient(180deg, rgba(0,200,255,0.02), rgba(0,0,0,0.1));
  backdrop-filter: blur(10px);
  width:100%;
}

.footer-content{
  display:grid; grid-template-columns:2fr 1fr; gap:40px; margin-bottom:40px;
  padding:0 18px;
}

.footer-brand{
  display:flex; flex-direction:column; gap:20px;
}

.footer-logo{
  display:flex; align-items:center; gap:15px;
}

.footer-mark{
  width:50px; height:50px; border-radius:12px; background:linear-gradient(135deg, #44ffe0, #0004ff);
  padding:3px; object-fit:cover;
}

.footer-title{
  display:flex; flex-direction:column; gap:5px;
}

.footer-brand-name{
  font-size:24px; font-weight:800; background:linear-gradient(135deg, #44ffe0, #0004ff);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

.footer-tagline{
  color:var(--muted); font-size:13px;
}

.footer-description{
  color:var(--muted); line-height:1.6; max-width:400px;
}

.footer-links{
  display:grid; grid-template-columns:1fr 1fr; gap:30px;
}

.footer-section-title{
  font-size:16px; font-weight:700; color:#fff; margin-bottom:15px;
  background:linear-gradient(135deg, #44ffe0, #0004ff);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

.footer-links-list{
  display:flex; flex-direction:column; gap:10px;
}

.footer-link{
  color:var(--muted); text-decoration:none; font-size:14px;
  padding:8px 0; transition:all 0.2s ease; border-radius:6px;
}

.footer-link:hover{
  color:#44ffe0; transform:translateX(5px);
}

.footer-socials{
  display:flex; flex-direction:column; gap:12px;
}

.social-link{
  display:flex; align-items:center; gap:10px;
  color:var(--muted); text-decoration:none; font-size:14px;
  padding:10px 12px; border-radius:10px;
  background:rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.05);
  transition:all 0.2s ease;
}

.social-link:hover{
  background:rgba(0,200,255,0.1); border-color:rgba(0,200,255,0.2);
  color:#44ffe0; transform:translateY(-2px);
}

.social-link i{
  width:18px; height:18px; stroke-width:2px;
}

.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding:30px 18px 0; border-top:1px solid rgba(255,255,255,0.05);
  flex-wrap:wrap; gap:15px;
}

.copyright{ color:var(--muted) }

.footer-credits{
  color:var(--muted);
}

.credit-link{
  color:#44ffe0; text-decoration:none; font-weight:600;
  transition:color 0.2s ease;
}

.credit-link:hover{
  color:#0004ff;
}


.container{ max-width:1200px; margin:0 auto; padding:0 18px; }
.fade-in{ opacity:0; transform: translateY(18px); transition: all .8s cubic-bezier(.2,.9,.3,1) }
.fade-in.show{ opacity:1; transform: translateY(0) }

.small{ font-size:13px; color:var(--muted) }


@media(max-width:880px){
  .nav{ display:none }
  .hamburger{ display:flex }
  .hero-inner{ grid-template-columns: 1fr }
  .panel-card{ margin-top:6px }
  .site-footer{ flex-direction:column; gap:8px; text-align:center }
  .logo .title .brand{ font-size:14px }
  
  .footer-content{
    grid-template-columns:1fr; gap:30px; text-align:center;
  }
  
  .footer-links{
    grid-template-columns:1fr; gap:25px;
  }
  
  .footer-logo{
    justify-content:center;
  }
  
  .footer-description{
    text-align:center; max-width:100%;
  }
  
  .footer-bottom{
    flex-direction:column; text-align:center; gap:10px;
  }
}

.mobile-drawer{
  position:fixed; top:70px; right:18px; width:260px; background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid rgba(255,255,255,0.04); border-radius:12px; padding:12px; display:none; z-index:1400;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.mobile-drawer.show{ display:block; animation: drawerIn .28s ease both }
@keyframes drawerIn{ from{ transform: translateY(-6px) scale(.98); opacity:0 } to{ transform:none; opacity:1 } }


@keyframes floaty { 0%{ transform: translateY(0) } 50%{ transform: translateY(-18px) } 100%{ transform: translateY(0) } }


.center{ display:flex; align-items:center; justify-content:center }

a{ text-decoration: none; }
button { font-family: Vazir; }


.mode-card .icon {
  width: 80px;        
  height: 80px;      
  border-radius: inherit; 
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;    
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 12px;
  box-shadow: 0 12px 40px rgba(0,200,255,0.06);
}

.mode-card .icon img.mode-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  border-radius: 12px;
}

.info-title {
  display: flex;
  align-items: center;    
  gap: 10px;                
  font-size: 24px;
}


  .posts-container {
      max-width: 1100px;
      margin: 70px auto;
      background: none;
      border-radius: 24px;
      padding: 50px 40px;
      margin-top: -10px;  
      z-index: -1;
    }


    .posts-wrapper {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 28px;
      justify-content: center;
    }
    
    .posts-wrapper.single-post {
      grid-template-columns: 1fr;
      max-width: 400px;
      margin: 0;
      justify-content: start;
      width: auto;
    }
    
    .posts-wrapper.two-posts {
      grid-template-columns: repeat(2, 1fr);
      max-width: 800px;
      margin: 0 auto;
    }

    .post-card {
      background: rgba(0, 15, 83, 0.274);
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.05);
      box-shadow: 0 8px 25px rgba(0,0,0,0.5);
      display: flex;
      flex-direction: column;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .post-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 16px 40px rgba(0, 15, 83, 0.274);
    }

 .post-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.post-thumb .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  background: rgba(47, 0, 255, 0.15);
  color: white; 
  padding: 5px 10px;
  border-radius: 999px; 
  font-size: 12px; 
  border: 1px solid rgba(53, 53, 53, 0.25);
  opacity: 1;
}



    .post-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .post-card:hover .post-thumb img {
      transform: scale(1.08);
    }

    .post-body {
      padding: 16px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .post-title {
      margin: 0 0 10px;
      font-size: 17px;
      color: #fff;
    }

    .post-excerpt {
      margin: 0 0 16px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
    }

    .post-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 14px;
    }

    .badge {
      background: rgba(239,68,68,0.15);
      color: var(--accent);
      padding: 5px 10px;
      border-radius: 999px;
      font-size: 12px;
      border: 1px solid rgba(239,68,68,0.25);
    }

    .time {
      font-size: 13px;
      color: var(--muted);
    }

    .btn {
      align-self: flex-start;
      padding: 8px 14px;
      border-radius: 10px;
      background: linear-gradient(90deg, var(--accent), var(--accent-light));
      color: #fff;
      text-decoration: none;
      font-weight: 600;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      background-color: rgba(22, 0, 102, 0.4);
    }

    .btn:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 20px rgba(22, 0, 102, 0.4);
    }


