/* ----------------------------------------------------
   NYTOWL - SINGLE FRAME LANDING PAGE
   Non-Scrollable Layout with Smooth Load Entrance Animations & Cloud Drift
   ---------------------------------------------------- */

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

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Single Frame Viewport Container */
.frame-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 48px) clamp(24px, 5vw, 64px);
  /* High resolution scenic coastal ocean backdrop */
  background: 
    linear-gradient(
      180deg, 
      rgba(15, 23, 42, 0.25) 0%, 
      rgba(15, 23, 42, 0.4) 50%, 
      rgba(15, 23, 42, 0.7) 100%
    ),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=2400&q=80') center center / cover no-repeat;
  animation: frameFadeIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes frameFadeIn {
  from {
    opacity: 0;
    filter: blur(8px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

/* ----------------------------------------------------
   REAL CLOUD PNG DRIFTING ANIMATION (RIGHT TO LEFT)
   ---------------------------------------------------- */
.layer.clouds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.cloud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cloud img {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform;
}

.cloud-1 img {
  animation: moveCloudRightToLeft 45s linear infinite;
  opacity: 0.6;
}

.cloud-2 img {
  animation: moveCloudRightToLeft 65s linear infinite;
  animation-delay: -22s;
  opacity: 0.5;
}

.cloud-3 img {
  animation: moveCloudRightToLeft 55s linear infinite;
  animation-delay: -38s;
  opacity: 0.4;
}

@keyframes moveCloudRightToLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-200%);
  }
}

/* Header Top Left Brand Logo - Transparent Background & Smooth Load Entrance */
.frame-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  overflow: hidden;
  position: relative;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  box-shadow: none;
  transition: transform 0.3s ease;
  animation: logoSlideDown 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}

@keyframes logoSlideDown {
  from {
    opacity: 0;
    transform: translateY(-24px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.brand-logo:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 144px;
  width: auto;
  object-fit: cover;
  object-position: center;
  margin: -36px 0;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* Main Content - Right Aligned Headline & Smooth Entrance */
.frame-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1;
  padding-right: clamp(0px, 3vw, 40px);
  z-index: 10;
}

.hero-headline {
  color: #FFFFFF;
  font-size: clamp(2.2rem, 5.2vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  text-align: right;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  max-width: 900px;
  animation: fadeInUpHeadline 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

@keyframes fadeInUpHeadline {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-headline .highlight {
  color: #FFFFFF;
  position: relative;
  display: inline-block;
}

/* Bottom Bar Ribbon */
.frame-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 10;
  padding-top: 16px;
}

/* Tech Ribbon (Bottom Left) - Pure White Icons & Text with Micro-Stagger Load Entrance */
.tech-icons-ribbon {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 24px);
  flex-wrap: wrap;
}

.tech-icon-item, .tech-badge-item {
  color: #FFFFFF !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 700;
  opacity: 0.9;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  font-family: inherit;
}

.tech-icon-item.load-stagger, .tech-badge-item.load-stagger {
  animation: ribbonItemPop 0.75s cubic-bezier(0.16, 1, 0.3, 1) calc(0.45s + (var(--i) * 0.05s)) backwards;
}

@keyframes ribbonItemPop {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.8);
  }
  to {
    opacity: 0.9;
    transform: translateY(0) scale(1);
  }
}

.tech-icon-item i, .tech-icon-item.mongo-icon i {
  color: #FFFFFF !important;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.tech-badge-item.code-badge {
  font-family: 'Fira Code', monospace;
  font-weight: 600;
}

.tech-icon-item:hover, .tech-badge-item:hover {
  opacity: 1;
  transform: translateY(-4px) scale(1.15);
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.6));
}

/* Location Badge (Bottom Right) & Smooth Slide-In */
.location-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 600;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
  animation: locationSlideIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.95s backwards;
}

@keyframes locationSlideIn {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 0.95;
    transform: translateX(0);
  }
}

.location-badge:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.location-badge i {
  color: #FFFFFF;
}

/* Responsive Scaling for Tablets and Mobile Viewports */
@media (max-width: 768px) {
  .frame-container {
    padding: 24px 20px;
  }

  .logo-img {
    height: 120px;
    margin: -30px 0;
  }

  .frame-content {
    padding-right: 0;
    justify-content: center;
  }

  .hero-headline {
    text-align: center;
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .frame-footer {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .tech-icons-ribbon {
    justify-content: center;
  }
}
