/* ROOT */
:root {
  --text: #e5e7eb;
  --accent: #f6b800;
  --muted: #9ca3af;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Poppins, sans-serif;
  background:
    url("../img/backgrond-portal.png") center/cover fixed;
  color: var(--text);
}

/* BARRA SUPERIOR */
.top-bar {
  width: 100%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(14px);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.top-bar-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* logo esquerda */
.top-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}

.top-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* bloco central título */
.top-center {
  text-align: center;
}

.top-title {
  font-size: 40px;
  font-weight: 600;
}

.top-subtitle {
  font-size: 12px;
  color: #d1d5db;
}

/* bloco direita */
.top-right {
  text-align: right;
}

.top-domain-label {
  font-size: 11px;
  color: #e5e5e5;
  margin-right: 6px;
}

.top-domain {
  font-size: 12px;
  padding: 4px 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
}

/* PAGE */
.page {
  max-width: 1200px;
  margin: 20px auto 20px;
  padding: 22px;
 background: transparent;
 backdrop-filter: blur(18px);

  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.1);
}

/* HERO */
.hero-title {
  font-size: 24px;
  margin-bottom: 6px;
  text-align: center;
}

.hero-subtitle {
  font-size: 13px;
  color: var(--muted);
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

/* SECTION */
.section {
  background: rgba(0,0,0,.3);
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.15);
  margin-top: 26px;
  text-align: center;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.section-title {
  width: 100%;
  text-align: center;
  font-weight: 500;
}

.section-subtitle {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 16px;
}

/* CARD */
.card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.15);
  padding: 14px;
  border-radius: 18px;
  transition: .25s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.12);
}

/* HEADER DO CARD */
.card-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.card-logo {
  width: 150px;
  height: 150px;
}

/* TAG */
.card-tag {
  background: rgba(0,0,0,.4);
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 10px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.card-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.card-title {
  font-size: 14px;
  margin-top: 2px;
  text-align: center;
}

.card-desc {
  font-size: 12px;
  margin: 10px 0;
  text-align: center;
}

/* EXTRA HOVER INFO */
.card-extra {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: .25s ease;
  border-top: 1px dashed rgba(255,255,255,.25);
  margin-top: 8px;
  padding-top: 8px;
  font-size: 11px;
  text-align: center;
}

.card:hover .card-extra {
  opacity: 1;
  max-height: 180px;
}

/* ACTIONS */
.card-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.btn-info,
.btn-visit {
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.5);
  font-size: 12px;
  cursor: pointer;
}

.btn-info {
  background: rgba(255,255,255,.1);
}

.btn-visit {
  background: rgba(0,150,255,.85);
  color: #fff;
}

.btn-info:hover,
.btn-visit:hover {
  transform: translateY(-2px);
}

/* DOMAIN */
.card-domain {
  display: flex;
  justify-content: center;
}

.card-domain span {
  background: rgba(255,255,255,.15);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  display: inline-block;
  margin-top: 10px;
}

/* FOOTER DEV */
.dev-footer {
  background: rgba(0,0,0,.7);
  padding: 20px;
  margin-top: 26px;
  border-top: 1px solid rgba(255,255,255,.2);
  text-align: center;
}

.dev-photo {
  width: 55px;
  border-radius: 50%;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
}

.modal-content {
  background: rgba(0,0,0,.8);
  padding: 22px;
  margin: 10% auto;
  width: 90%;
  max-width: 500px;
  border-radius: 14px;
}

.close-modal {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.modal-link {
  display: inline-block;
  padding: 8px 14px;
  background: #0af;
  color: #fff;
  border-radius: 10px;
  margin-top: 10px;
}
