
/* ===== THEME ===== */
:root {
  --primary: #ef4444;
  --text: #1e293b;
  --sub: #64748b;
  --border: rgba(0,0,0,0.08);
}

/* ===== BODY ===== */
body {
  margin: 0;
  font-family: system-ui;
  background: linear-gradient(120deg,#fff1f2,#fdf2f8);
  color: var(--text);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1050px;
  margin: auto;
  padding: 25px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg,#ef4444,#f97316);
  color: #fff;
  padding: 35px;
  border-radius: 16px;
  margin-bottom: 25px;
}

.hero h1 {
  margin: 0;
  font-size: 32px;
}

.hero p {
  margin-top: 10px;
  opacity: 0.9;
}


/* ===== GLASS ===== */
.glass {
  background: rgba(255,255,255,0.7);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin: 25px 0;
}

/* ===== GRID ===== */
.law-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 16px;
}

/* ===== CARD ===== */
.card {
  background: #fff;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

/* ===== SAFE GLOW (FIXED) ===== */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(239,68,68,0.12), transparent);
  z-index: 0;
  pointer-events: none;
}

/* content above glow */
.card a,
.card p {
  position: relative;
  z-index: 1;
}

/* ===== TEXT ===== */
.card a {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
}

.card p {
  font-size: 14px;
  color: var(--sub);
}

/* ===== ADS ===== */
.ads {
  margin: 35px 0;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px dashed #ccc;
  background: #fff;
  color: #777;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  margin-top: 30px;
  background: var(--primary);
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
}

.btn:hover {
  background: #dc2626;
}

/* ===== MOBILE ===== */
@media(max-width:768px){
  .hero h1 {font-size: 24px;}
}
