/*
Theme Name: Under Construction Pro
Theme URI: https://example.com/under-construction-pro
Author: Mathias Apps
Author URI: https://example.com
Description: A clean, professional under construction / coming soon WordPress theme with a centered announcement layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: under-construction-pro
Tags: coming-soon, under-construction, minimal, responsive, custom-logo
*/

:root {
  --ucp-bg: #ffffff;
  --ucp-text: #1f2937;
  --ucp-muted: #6b7280;
  --ucp-accent: #2563eb;
  --ucp-accent-dark: #1d4ed8;
  --ucp-border: #e5e7eb;
  --ucp-card: #ffffff;
  --ucp-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ucp-text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 32rem),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.07), transparent 30rem),
    var(--ucp-bg);
}

a {
  color: inherit;
}

.ucp-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.ucp-card {
  width: min(100%, 760px);
  position: relative;
  overflow: hidden;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ucp-border);
  border-radius: 30px;
  box-shadow: var(--ucp-shadow);
  padding: clamp(34px, 6vw, 72px) clamp(22px, 5vw, 58px);
}

.ucp-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #2563eb, #06b6d4, #2563eb);
}

.ucp-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  margin-bottom: 24px;
  color: var(--ucp-accent-dark);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ucp-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ucp-accent);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
}

.ucp-logo-wrap {
  margin-bottom: 22px;
}

.ucp-logo {
  max-width: 190px;
  max-height: 90px;
  height: auto;
  width: auto;
}

.ucp-mark {
  width: 74px;
  height: 74px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #fff;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.25);
}

.ucp-mark svg {
  width: 38px;
  height: 38px;
}

.ucp-title {
  margin: 0;
  color: #111827;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 850;
}

.ucp-subtitle {
  max-width: 590px;
  margin: 22px auto 0;
  color: var(--ucp-muted);
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  line-height: 1.7;
}

.ucp-divider {
  width: min(100%, 430px);
  height: 1px;
  margin: 34px auto 0;
  background: linear-gradient(90deg, transparent, var(--ucp-border), transparent);
}

.ucp-footer-note {
  margin: 24px 0 0;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

.ucp-footer-note strong {
  color: #111827;
}

.admin-bar .ucp-page {
  min-height: calc(100vh - 32px);
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 782px) {
  .admin-bar .ucp-page {
    min-height: calc(100vh - 46px);
  }
}

@media (max-width: 520px) {
  .ucp-page {
    padding: 22px 14px;
  }

  .ucp-card {
    border-radius: 24px;
  }

  .ucp-title {
    letter-spacing: -0.04em;
  }
}
