:root{
  --bg:#000000;
  --panel:#111111;
  --panel2:#151515;
  --text:#e9efff;
  --muted:#b4b4b4;
  --muted2:#8a8a8a;
  --accent:#2b6cff;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.wrap{
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 18px 50px;
}

.logo{
  text-align:center;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 28px;
  font-weight: 800;
  letter-spacing: .6px;
}

.hero{
  display:flex;
  gap: 22px;
  align-items:center;

  text-decoration:none;
  color: inherit;

  background: var(--panel);
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 34px;

  transition: transform .16s ease, background .16s ease;
}

.hero:hover{
  transform: translateY(-4px);
  background: var(--panel2);
}

.hero-img{
  width: 260px;
  height: 170px;
  border-radius: 18px;
  object-fit: cover;          /* crop frumos */
  object-position: center;    /* centru */
  display:block;
}

.hero-text h2{
  margin: 0 0 10px;
  font-size: clamp(18px, 2.5vw, 28px);
}

.hero-text p{
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 60ch;
}

.btn{
  display:inline-block;
  background: var(--accent);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 800;
}

.section-title{
  margin: 0 0 12px;
  font-size: 18px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.card{
  background: var(--panel);
  border-radius: 18px;
  padding: 18px;
  text-decoration:none;
  color: inherit;
  transition: background .16s ease, transform .16s ease;
}

.card:hover{
  background: var(--panel2);
  transform: translateY(-2px);
}

.card-title{
  font-weight: 850;
  margin-bottom: 6px;
}

.card-sub{
  color: var(--muted2);
  font-size: 14px;
  line-height: 1.4;
}

.footer{
  margin-top: 26px;
  text-align:center;
  color: var(--muted2);
  font-size: 13px;
}

/* responsive */
@media (max-width: 720px){
  .hero{
    flex-direction: column;
    align-items: stretch;
  }

  .hero-img{
    width: 100%;
    height: 190px;
  }
}
#ADS {
  position: fixed;
  bottom: 12px;
  right: 12px;
  background: var(--accent);
  color: #000;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
  z-index: 1000;
}