/* Digital Card Pro – Front page / dashboard hero */
.dcp-front-hero {
  --dcp-brand: #f59e0b;
  --dcp-brand-light: #fbbf24;
  --dcp-dark: #0f172a;
  --dcp-dark-soft: #1e293b;
  --dcp-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #312e81 100%);
  --dcp-glow: rgba(245, 158, 11, 0.4);
  --dcp-card-bg: rgba(30, 41, 59, 0.85);
  --dcp-text: #f1f5f9;
  --dcp-text-muted: #94a3b8;
  min-height: 60vh;
  padding: 2.5rem 1.5rem 3rem;
  background: var(--dcp-gradient);
  background-attachment: fixed;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  margin: 0 -1rem 2rem;
}

.dcp-front-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--dcp-glow) 0%, transparent 60%);
  opacity: 0.25;
  pointer-events: none;
}

.dcp-front-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

.dcp-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.dcp-front-hero .dcp-logo-wrap {
  text-align: center;
  margin-bottom: 0;
  animation: dcp-fade-down 0.7s ease-out;
}

.dcp-wp-admin-link {
  animation: dcp-fade-down 0.7s ease-out;
}

.dcp-wp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  color: var(--dcp-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.5);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.dcp-wp-link:hover {
  color: var(--dcp-brand);
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(245, 158, 11, 0.3);
}

.dcp-wp-icon {
  display: inline-flex;
  line-height: 1;
}

.dcp-wp-icon svg {
  display: block;
}

.dcp-wp-label {
  font-weight: 500;
}

.dcp-front-hero .dcp-logo-wrap a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.dcp-front-hero .dcp-logo-img,
.dcp-front-hero .dcp-logo-wrap img,
.dcp-front-hero .dcp-logo-wrap .custom-logo {
  max-height: 52px;
  width: auto;
  max-width: 220px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.dcp-front-hero .dcp-logo-wrap .custom-logo-link {
  text-decoration: none;
  display: inline-block;
}

.dcp-front-hero .dcp-logo-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--dcp-brand);
  text-shadow: 0 0 20px var(--dcp-glow);
  letter-spacing: 0.02em;
}

.dcp-front-hero .dcp-logo-text span {
  color: var(--dcp-brand-light);
}

.dcp-front-hero .dcp-nav-links {
  text-align: center;
  margin-bottom: 1.5rem;
  animation: dcp-fade-down 0.6s ease-out 0.1s both;
}

.dcp-front-hero .dcp-nav-links a {
  color: var(--dcp-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin: 0 0.5rem;
  transition: color 0.2s;
}

.dcp-front-hero .dcp-nav-links a:hover {
  color: var(--dcp-brand);
}

.dcp-front-hero .dcp-hero-inner {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.dcp-front-hero .dcp-hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dcp-text);
  margin: 0 0 0.5rem;
  animation: dcp-fade-up 0.6s ease-out 0.2s both;
}

.dcp-front-hero .dcp-hero-sub {
  color: var(--dcp-text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  animation: dcp-fade-up 0.6s ease-out 0.3s both;
}

.dcp-front-hero .dcp-card-url {
  display: inline-block;
  background: var(--dcp-card-bg);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--dcp-brand-light);
  word-break: break-all;
  margin: 0.5rem 0 1.25rem;
  border: 1px solid rgba(245, 158, 11, 0.2);
  animation: dcp-fade-up 0.6s ease-out 0.35s both;
}

.dcp-front-hero .dcp-card-url a {
  color: var(--dcp-brand-light);
  text-decoration: none;
}

.dcp-front-hero .dcp-card-url a:hover {
  text-decoration: underline;
}

.dcp-cta-wrap {
  animation: dcp-fade-up 0.6s ease-out 0.4s both;
}

.dcp-cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  background: linear-gradient(135deg, var(--dcp-brand) 0%, var(--dcp-brand-light) 100%);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 20px var(--dcp-glow), 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.dcp-cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px var(--dcp-glow), 0 4px 16px rgba(0,0,0,0.25);
  filter: brightness(1.08);
}

.dcp-cta-button:active {
  transform: scale(0.98);
}

.dcp-cta-button.dcp-cta-secondary {
  background: var(--dcp-dark-soft);
  color: var(--dcp-text);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  margin-left: 0.75rem;
}

.dcp-cta-button.dcp-cta-secondary:hover {
  background: #334155;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

.dcp-buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.dcp-front-hero .dcp-note {
  font-size: 0.8rem;
  color: var(--dcp-text-muted);
  margin-top: 1.25rem;
  animation: dcp-fade-up 0.6s ease-out 0.45s both;
}

.dcp-front-hero .dcp-note a {
  color: var(--dcp-brand-light);
}

.dcp-auth-prompt {
  margin-bottom: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.dcp-auth-prompt h2 {
  font-size: 1.75rem;
  color: var(--dcp-text);
  margin: 0 0 0.5rem;
}

.dcp-auth-prompt p {
  color: var(--dcp-text-muted);
  margin-bottom: 1rem;
}

.dcp-auth-prompt .dcp-buttons-row a {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dcp-auth-prompt .dcp-buttons-row a:first-child {
  background: linear-gradient(135deg, var(--dcp-brand) 0%, var(--dcp-brand-light) 100%);
  color: #0f172a;
  box-shadow: 0 4px 20px var(--dcp-glow);
}

.dcp-auth-prompt .dcp-buttons-row a:first-child:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px var(--dcp-glow);
}

.dcp-auth-prompt .dcp-buttons-row a:last-child {
  background: var(--dcp-dark-soft);
  color: var(--dcp-text);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.dcp-auth-prompt .dcp-buttons-row a:last-child:hover {
  transform: scale(1.03);
  background: #334155;
}

.dcp-auth-prompt small a {
  color: var(--dcp-text-muted);
}

.dcp-auth-prompt small a:hover {
  color: var(--dcp-brand);
}

.dcp-form-hint {
  font-size: 0.8rem;
  color: var(--dcp-text-muted);
  margin: -0.5rem 0 0.5rem;
}

.dcp-form-current-img {
  margin: 0 0 0.75rem;
}

.dcp-form-file {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem 0;
  color: var(--dcp-text-muted);
  font-size: 0.9rem;
}

.dcp-form-file::file-selector-button {
  padding: 0.5rem 1rem;
  margin-right: 0.75rem;
  background: var(--dcp-dark-soft);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  color: var(--dcp-text);
  cursor: pointer;
  font-size: 0.85rem;
}

@keyframes dcp-fade-down {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dcp-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .dcp-front-hero {
    padding: 1.75rem 1rem 2rem;
    margin: 0 -0.5rem 1.5rem;
  }
  .dcp-front-hero .dcp-logo-text {
    font-size: 1.6rem;
  }
  .dcp-buttons-row {
    flex-direction: column;
    align-items: stretch;
  }
  .dcp-cta-button.dcp-cta-secondary {
    margin-left: 0;
  }
}
