/* 
  Kata Silang (Crosswords) - Pre-launch Coming Soon Minimal Page
  Deep Navy, Gold, and Cyber Teal styling.
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-deep: #050a12;
  
  --accent-gold: #f5b016;
  --accent-gold-glow: rgba(245, 176, 22, 0.4);
  --accent-gold-bright: #ffc847;
  
  --text-white: #ffffff;
  --text-muted: #95a5bd;
  
  /* Fonts */
  --font-gaming: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Gradients */
  --grad-gold: linear-gradient(135deg, #f5b016 0%, #ffc847 100%);
}

/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(12, 35, 64, 0.35) 0%, transparent 70%),
    radial-gradient(circle at 10% 10%, rgba(0, 242, 254, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(245, 176, 22, 0.04) 0%, transparent 40%);
  color: var(--text-white);
  font-family: var(--font-body);
}

/* Drifting Particle Background Canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* Centered content box */
.coming-soon-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

/* Big Logo Entrance Animation */
.main-logo {
  height: clamp(140px, 25vh, 240px);
  object-fit: contain;
  margin-bottom: 30px;
  animation: logo-entrance 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.logo-fallback {
  width: clamp(100px, 15vh, 150px);
  height: clamp(100px, 15vh, 150px);
  background: var(--grad-gold);
  color: var(--bg-deep);
  border-radius: var(--radius-md, 16px);
  font-family: var(--font-gaming);
  font-size: clamp(40px, 6vh, 64px);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  box-shadow: 0 0 35px var(--accent-gold-glow);
  animation: logo-entrance 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Text Gradient Gold */
.text-gradient-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Coming Soon Text fade-in */
.coming-soon-text {
  font-family: var(--font-gaming);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(15px);
  animation: text-reveal 1.2s 1.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Keyframes */
@keyframes logo-entrance {
  0% {
    transform: scale(0.75);
    opacity: 0;
    filter: brightness(1) drop-shadow(0 0 0 rgba(245, 176, 22, 0));
  }
  45% {
    opacity: 1;
  }
  80% {
    transform: scale(1.04);
    filter: brightness(1.2) drop-shadow(0 5px 25px rgba(245, 176, 22, 0.6));
  }
  100% {
    transform: scale(1);
    opacity: 1;
    filter: brightness(1.15) drop-shadow(0 4px 15px rgba(245, 176, 22, 0.35));
  }
}

@keyframes text-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 15px rgba(245, 176, 22, 0.2);
  }
}
