/* Public pages (index/plans/login/dashboard) using the same /portal theme */

.portal.public {
  grid-template-columns: 1fr;
}

.portal.public .sidebar {
  display: none;
}

.portal.public .main {
  grid-column: 1;
}

/* Slightly narrower for storefront pages */
.portal.public .container {
  max-width: 1120px;
}

/* Hero Section Enhancements */
.hero.tmdb {
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 60px 40px;
  margin-bottom: 40px;
  border-radius: 30px;
}

.hero-content {
  max-width: 700px;
  z-index: 10;
}

.hero h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 10px;
}

/* Plans grid + pricing */
.grid.plans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.plan-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--accent);
}

.plan-card .price {
  font-size: 48px;
  font-weight: 900;
  margin: 15px 0 10px;
  letter-spacing: -1px;
  color: var(--accent);
}

.plan-card ul {
  margin: 20px 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, .80);
  list-style: none;
}

.plan-card li {
  margin: 12px 0;
  position: relative;
  padding-left: 25px;
}

.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--good);
  font-weight: 900;
}

/* Public hero buttons */
.big-buttons .btn {
  min-width: 180px;
  padding: 14px 24px;
  font-size: 15px;
}

/* Centered auth card */
.auth-wrap {
  max-width: 460px;
  margin: 40px auto;
}

.auth-wrap label {
  display: block;
  margin: 10px 0 6px;
  color: rgba(255, 255, 255, .70);
  font-weight: 800;
  font-size: 13px;
}

@media (max-width: 1020px) {
  .grid.plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 720px) {
  .grid.plans-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  .big-buttons {
    justify-content: center;
  }
}

/* Utility */
.muted {
  color: rgba(255, 255, 255, .65);
}

.linkbox {
  white-space: pre-wrap;
  word-break: break-all;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .28);
  color: rgba(255, 255, 255, .90);
  font-size: 12px;
  line-height: 1.35;
}