/*
Theme Name: Universal Coming Soon
Theme URI: https://doyejtech.com
Author: DOYEJ TECH
Author URI: https://doyejtech.com
Description: A secure, universal, animated agricultural-themed Coming Soon / Under Construction WordPress theme with a live 24-hour day/night background cycle, realistic clouds, multi-crop fields, animated farmers, animals, birds, fireflies, rain weather system, countdown timer, and full Customizer support. All default info preloaded and editable from WordPress Admin.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: universal-comingsoon
Tags: one-column, custom-logo, coming-soon, under-construction, full-width-template
Requires at least: 5.6
Tested up to: 6.7
Requires PHP: 7.4
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  color: #fff;
  background: #0a1a0a;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* === LAYOUT === */
#ucsCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.ucs-overlay {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.ucs-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 100%);
}
.ucs-header .ucs-logo img { max-height: 55px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.ucs-header h1 {
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: 0 2px 15px rgba(0,0,0,.6);
}
.ucs-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  gap: 12px;
}
.ucs-clock {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 18px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.08);
}
.ucs-clock span {
  font-size: clamp(.75rem, 1.5vw, .95rem);
  font-weight: 600;
  color: #ffe066;
  font-variant-numeric: tabular-nums;
  font-family: 'Roboto', monospace;
  letter-spacing: 1px;
}
.ucs-clock .colon { animation: blink 1s step-end infinite; }
.ucs-clock .ampm { font-size: clamp(.45rem, .9vw, .6rem); font-weight: 700; opacity: .6; margin-left: 4px; }
@keyframes blink { 0%,49%{opacity:1} 50%,100%{opacity:.12} }

.ucs-main h2 {
  font-size: clamp(1.2rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 650px;
  background: linear-gradient(135deg, #fff 0%, #ffe066 50%, #fff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

.ucs-main > p {
  font-size: clamp(.75rem, 1.6vw, 1rem);
  font-weight: 300;
  opacity: .88;
  color: #e0e8ff;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  max-width: 460px;
  font-family: 'Roboto', sans-serif;
}

/* Countdown */
.ucs-cd { display: flex; gap: clamp(5px, 1.2vw, 14px); margin-top: 4px; }
.ucs-cd .cb {
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: clamp(8px, 1.3vw, 16px) clamp(10px, 1.5vw, 20px);
  min-width: clamp(50px, 9vw, 80px);
  text-align: center;
  box-shadow: 0 5px 22px rgba(0,0,0,.22);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ucs-cd .cb span:first-child {
  font-size: clamp(1.2rem, 3.2vw, 2rem);
  font-weight: 700;
  color: #ffe066;
  font-variant-numeric: tabular-nums;
  transition: transform .6s cubic-bezier(.4,0,.2,1), opacity .6s;
}
.ucs-cd .cb span:last-child {
  font-size: clamp(.4rem, .85vw, .52rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: .58;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
}

/* Contact */
.ucs-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(6px, 1.5vw, 18px);
  margin-top: 6px;
  font-size: clamp(.55rem, 1.15vw, .72rem);
  opacity: .82;
  font-family: 'Roboto', sans-serif;
}
.ucs-contact a, .ucs-contact span { display: flex; align-items: center; gap: 5px; color: #c8d8ff; transition: color .3s; }
.ucs-contact a:hover { color: #ffe066; }

/* Social */
.ucs-social { display: flex; gap: 10px; margin-top: 5px; }
.ucs-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
  border: 1px solid rgba(255,255,255,.12);
  font-size: .8rem;
}
.ucs-social a:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

/* Footer */
.ucs-overlay > footer {
  text-align: center;
  padding: 12px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, transparent 100%);
  font-size: clamp(.5rem, 1.05vw, .62rem);
  opacity: .72;
  font-family: 'Roboto', sans-serif;
}
.ucs-overlay > footer a { color: #ffe066; text-decoration: underline; text-underline-offset: 2px; }
.ucs-overlay > footer a:hover { color: #fff; }

/* Responsive */
@media (max-width: 600px) {
  .ucs-header { flex-direction: column; gap: 8px; padding: 14px; }
  .ucs-cd { gap: 4px; }
  .ucs-cd .cb { border-radius: 10px; padding: 8px 10px; min-width: 48px; }
  .ucs-contact { flex-direction: column; align-items: center; gap: 5px; }
}
