/* ==========================================================================
   PPDS Adijaya - Portal - Green Elegant
   ========================================================================== */

:root {
  --brand-600: #059669;
  --brand-700: #047857;
  --brand-800: #065f46;
  --brand-400: #6ee7b7;
  --grad: linear-gradient(135deg, #10b981 0%, #059669 50%, #065f46 100%);
}

@font-face {
  font-family: 'Poppins';
  font-weight: 400;
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 500;
  src: url('../fonts/Poppins-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 600;
  src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 700;
  src: url('../fonts/Poppins-Bold.ttf') format('truetype');
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

body {
  overflow-x: hidden;
}

/* Animated gradient backdrop - Green elegant */
.portal-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #022c22 0%, #065f46 40%, #059669 70%, #047857 100%);
}
.portal-bg::before,
.portal-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}
.portal-bg::before {
  width: 480px;
  height: 480px;
  top: -140px;
  right: -100px;
  background: radial-gradient(circle, #6ee7b7, transparent 70%);
}
.portal-bg::after {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: -120px;
  background: radial-gradient(circle, #a7f3d0, transparent 70%);
}

.portal-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
}

.portal-inner {
  width: 100%;
  max-width: 720px;
  text-align: center;
}

.portal-brand { margin-bottom: 36px; }

.portal-logo {
  width: 104px;
  height: 104px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .95);
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .30);
  margin-bottom: 18px;
  object-fit: contain;
}

.portal-title {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}

.portal-sub {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .85);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .02em;
}

/* Cards */
.portal-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: left;
}

.portal-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  text-decoration: none !important;
  box-shadow: 0 18px 40px rgba(2, 44, 34, .28);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .22);
  box-shadow: 0 24px 50px rgba(2, 44, 34, .40);
  color: #fff;
}

.portal-card-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 10px 24px rgba(5, 150, 105, .45);
}

.portal-card-body h3 {
  margin: 0 0 3px;
  font-size: 17px;
  font-weight: 600;
}

.portal-card-body p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .80);
  line-height: 1.45;
}

.portal-card-arrow {
  margin-left: auto;
  font-size: 15px;
  opacity: .7;
  transition: transform .22s ease, opacity .22s ease;
}

.portal-card:hover .portal-card-arrow {
  transform: translateX(4px);
  opacity: 1;
}

.portal-footer {
  margin-top: 34px;
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
}

@media (min-width: 768px) {
  .portal-card { padding: 22px 26px; }
  .portal-cards { gap: 18px; }
}
