/* ===== Minimal Dark – VXH.PL ===== */
:root{
  --bg: #0d1117;
  --bg-2:#0f141b;
  --text:#e6edf3;
  --muted:#9aa4b2;
  --line:#202633;
  --accent:#ff7300;

  --wrap: 1120px;
  --radius:12px;
  --space-1:6px;
  --space-2:12px;
  --space-3:18px;
  --space-4:24px;
  --space-5:36px;
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:"Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Utility */
.wrap{
  width:min(var(--wrap), 92%);
  margin-inline:auto;
}
.muted{ color:var(--muted); }
.h1{ font-size:clamp(24px, 3vw, 32px); margin:0 0 var(--space-2); }
.h2{ font-size:clamp(20px, 2.4vw, 26px); margin:0 0 var(--space-2); }
.lead{ color:var(--muted); max-width:68ch; }

/* Header */
.site-header{
  box-sizing: border-box;
  display:flex;
  align-items:center;
  justify-content: center;
  border-bottom:1px solid var(--line);
  position:sticky; top:0; 
  background: #0d1117c9;
  backdrop-filter: blur(3px);
  width: 100dvw;
  z-index: 99;
}
.wrapof-site-header
{
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
}
.brand__link{
  text-decoration:none;
  color:var(--text);
  font-weight:700;
  font-size:clamp(18px, 2.2vw, 22px);
}
.nav a{
  color:var(--muted);
  text-decoration:none;
  font-weight:500;
  margin-left: var(--space-3);
  padding: 6px 0;
  border-bottom:2px solid transparent;
}
.nav a:hover,
.nav a:focus{
  color:var(--text);
  border-bottom-color: var(--accent);
}

/* Main / Sections */
.site-main{ padding-block: var(--space-5); }
.section:not(:last-child){
  padding-block: var(--space-4);
  border-bottom:1px solid var(--line);
}

/* Grid */
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: var(--space-3);
  align-items: stretch;
}

/* Card */
.card{
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.top-space{
  display: flex;
  flex-direction: column;
}
.card__title{
  margin:0 0 var(--space-2);
  font-size:1.05rem;
  font-weight:700;
}
.card__text{
  margin:0 0 var(--space-3);
  color:var(--muted);
}
.bottom-space{
  flex: 1; 
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.card__image {
  margin-bottom: var(--space-2); 
  text-align: center;
}
.card__image img {
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* Button (link) */
.btn{
  display:inline-block;
  text-decoration:none;
  color:var(--text);
  background:transparent;
  border:1px solid var(--line);
  border-radius:8px;
  padding:8px 12px;
  font-weight:700;
}
.btn:hover,
.btn:focus{
  border-color: var(--accent);
}

/* Footer */
.site-footer{
  padding: var(--space-4) 0 var(--space-5);
  border-top:1px solid var(--line);
  color:var(--muted);
  text-align:center;
}

.card__tech {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin: 0 0 12px;
}

.tag {
  font-size:0.8rem;
  padding:3px 8px;
  border-radius:6px;
  border:1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  white-space:nowrap;
}
.card__actions {
  display: flex;
  margin-top: var(--space-2);
}
.card__actions .btn {
  margin-right: 8px;
}
.welcome-actions {
  margin-top: var(--space-3);
} 
.welcome-actions .btn {
  font-size: 1rem;
  padding: 10px 18px;
  border-color: var(--accent);
}
.welcome-actions .btn:hover {
  background: var(--accent);
  color: #fff;
}


/* Small screens */
@media (max-width: 520px){
  .brand__link{
    font-size:clamp(14px, 2vw, 18px);
  }
  .wrapof-site-header{
    flex-direction:column;
    align-items:center;
    gap: var(--space-2);
    justify-content: center;
  }
  .nav a{ margin-left: var(--space-2); }
  .nav{
    font-size: 1.2rem;
  }
}
