/* ======================================================
   HOME – minimal & clean
====================================================== */

.home-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 16px;
  align-items:start;
}

@media (max-width: 900px){
  .home-grid{
    grid-template-columns: 1fr;
  }
}

/* ================= HERO ================= */

.home-hero{
  padding: 6px 4px;
}

.home-pill{
  display:inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,170,37,.35);
  background: rgba(0,170,37,.12);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  color: rgba(234,255,239,.95);
}

.home-title{
  margin: 14px 0 10px;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: rgba(255,255,255,.96);
  max-width: 26ch;
}

@media (max-width: 520px){
  .home-title{ font-size: 28px; }
}

.home-lead{
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.65;
  color: rgba(233,238,248,.68);
  max-width: 64ch;
}

/* CTA */
.home-cta{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

.home-btn{
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 13px;
  font-weight: 900;
  color: rgba(255,255,255,.80);
  text-decoration:none;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.home-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.28);
  color: rgba(255,255,255,.96);
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  text-decoration: none;
}

.home-btn.primary{
  background: rgba(0,170,37,.18);
  border-color: rgba(0,170,37,.55);
  color: rgba(200,255,215,.95);
}

.home-btn.primary:hover{
  transform: translateY(-2px);
  background: rgba(0,170,37,.28);
  border-color: rgba(0,170,37,.90);
  color: rgba(220,255,230,.98);
  box-shadow: 0 4px 20px rgba(0,170,37,.22);
}

/* META */
.home-meta{
  margin-top: 18px;
  display:flex;
  gap: 18px;
  flex-wrap:wrap;
}

.home-meta-item .k{
  font-size: 12px;
  font-weight: 700;
  color: rgba(233,238,248,.55);
}

.home-meta-item .v{
  margin-top: 6px;
  font-size: 13px;
  font-weight: 900;
  color: rgba(233,238,248,.86);
  white-space: nowrap;
}

/* TECH TAGS */
.home-tech{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-tech-label{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(233,238,248,.40);
}

.home-tech-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 420px;
}

.home-tech-tag{
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.03);
  font-size: 13px;
  font-weight: 700;
  color: rgba(233,238,248,.55);
  letter-spacing: .02em;
}

/* TECH TAG COLORS */
.home-tech-tag.tag-node   { border-color: rgba(104,211,145,.25); color: rgba(104,211,145,.75); background: rgba(104,211,145,.05); }
.home-tech-tag.tag-lua    { border-color: rgba(100,149,237,.25); color: rgba(100,149,237,.75); background: rgba(100,149,237,.05); }
.home-tech-tag.tag-csharp { border-color: rgba(155,89,182,.25);  color: rgba(155,89,182,.75);  background: rgba(155,89,182,.05); }
.home-tech-tag.tag-express{ border-color: rgba(200,200,200,.20); color: rgba(200,200,200,.65); background: rgba(200,200,200,.04); }
.home-tech-tag.tag-python { border-color: rgba(255,212,59,.25);  color: rgba(255,212,59,.75);  background: rgba(255,212,59,.05); }
.home-tech-tag.tag-rest   { border-color: rgba(255,140,80,.25);  color: rgba(255,140,80,.75);  background: rgba(255,140,80,.05); }
.home-tech-tag.tag-discord{ border-color: rgba(114,137,218,.25); color: rgba(114,137,218,.75); background: rgba(114,137,218,.05); }
.home-tech-tag.tag-html { border-color: rgba(228,77,38,.30);  color: rgba(228,77,38,.80);  background: rgba(228,77,38,.05); }
.home-tech-tag.tag-css  { border-color: rgba(38,77,228,.30);  color: rgba(100,140,255,.80); background: rgba(38,77,228,.05); }

/* ================= ABOUT CARD ================= */

.home-side{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.about-card{
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  overflow: hidden;
}

.about-card-body{
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.about-badge{
  display:inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,170,37,.35);
  background: rgba(0,170,37,.12);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .35px;
  color: rgba(234,255,239,.95);
}

.about-title{
  margin-top: 10px;
  font-size: 16px;
  font-weight: 950;
  color: rgba(255,255,255,.95);
}

.about-text{
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(233,238,248,.70);
}

.about-text.muted{
  color: rgba(233,238,248,.62);
}

/* INFO ROWS */
.about-rows{
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.about-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.about-row:last-child{
  border-bottom: none;
}

.about-row .rk{
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(233,238,248,.42);
  letter-spacing: .03em;
}

.about-row .rv{
  font-size: 12px;
  font-weight: 800;
  color: rgba(233,238,248,.80);
}

.about-actions{
  padding: 14px 18px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

.about-btn{
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  color: rgba(233,238,248,.72);
  text-decoration:none;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.about-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.26);
  color: rgba(255,255,255,.94);
  box-shadow: 0 4px 14px rgba(0,0,0,.30);
  text-decoration: none;
}

.about-btn.primary{
  background: rgba(0,170,37,.18);
  border-color: rgba(0,170,37,.55);
  color: rgba(200,255,215,.95);
}

.about-btn.primary:hover{
  transform: translateY(-1px);
  background: rgba(0,170,37,.28);
  border-color: rgba(0,170,37,.90);
  color: rgba(220,255,230,.98);
  box-shadow: 0 4px 16px rgba(0,170,37,.20);
}

/* ================= MOTD CARD ================= */

.motd-card {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  overflow: hidden;
  transition: border-color .2s ease;
}

.motd-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.motd-icon {
  font-size: 12px;
  color: rgba(0,170,37,.70);
}

.motd-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(233,238,248,.45);
}

.motd-body {
  padding: 14px 18px 16px;
}

.motd-title {
  font-size: 14px;
  font-weight: 900;
  color: rgba(233,238,248,.92);
  margin-bottom: 6px;
}

.motd-message {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(233,238,248,.62);
  white-space: pre-wrap;
}

.motd-date {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(233,238,248,.30);
}

/* loading shimmer */
.motd--loading .motd-title,
.motd--loading .motd-message,
.motd--loading .motd-date {
  border-radius: 6px;
  background: linear-gradient(90deg,
    rgba(255,255,255,.06) 25%,
    rgba(255,255,255,.12) 50%,
    rgba(255,255,255,.06) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  color: transparent;
  user-select: none;
  min-width: 60px;
  min-height: 14px;
}

/* error state */
.motd--error {
  border-color: rgba(239,68,68,.25);
}
.motd--error .motd-icon {
  color: rgba(239,68,68,.60);
}
.motd--error .motd-title {
  color: rgba(255,140,140,.80);
}

.dev-tag{
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(245,158,11,.40);
  background: rgba(245,158,11,.10);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  color: rgba(255,220,140,.95);
}