/* ==========================================================================
   Pradeep Liyanage — Official Launch Page
   Executive Luxury Theme
   ========================================================================== */

/* Local Web Fonts for Zero-Latency Instant Rendering */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/CormorantGaramond-500.ttf') format('truetype');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/CormorantGaramond-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/CormorantGaramond-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Montserrat-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Montserrat-500.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Montserrat-600.ttf') format('truetype');
}

:root {
  --color-gold: #c59b6b;
  --color-gold-hover: #dbaf7d;
  --color-gold-light: #e4c7a6;
  --color-gold-muted: rgba(197, 155, 107, 0.45);
  --color-gold-border: rgba(197, 155, 107, 0.24);
  --color-gold-glow: rgba(197, 155, 107, 0.15);
  
  --color-ivory-title: #f5eee5;
  --color-ivory-sub: #ebe3d9;
  --color-ivory-muted: rgba(235, 227, 217, 0.6);
  
  --color-bg-dark: #09090b;
  --color-bg-card: rgba(16, 16, 20, 0.65);
  
  --font-serif: 'Cormorant Garamond', 'Didot', 'Bodoni MT', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--color-bg-dark);
  color: var(--color-ivory-title);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background-color: var(--color-bg-dark);
  font-family: var(--font-sans);
  position: relative;
}

/* Page Layout Container */
.page-wrapper {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================================
   Background Photography & Lighting
   ========================================================================== */
.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: url('bg_graded_1080p.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  transform: translateZ(0);
}

.hero-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(9, 9, 11, 0.98) 0%,
    rgba(9, 9, 11, 0.94) 38%,
    rgba(9, 9, 11, 0.75) 54%,
    rgba(9, 9, 11, 0.2) 75%,
    rgba(9, 9, 11, 0) 90%
  );
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.content-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 4.5rem 6.5vw;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Brand Monogram Header */
.brand-header {
  margin-bottom: 2.2rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s ease;
}

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

/* ==========================================================================
   Typography & Main Announcement (Exact Reference Match)
   ========================================================================== */
.announcement {
  max-width: 700px;
}

.subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.main-title {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 5.8vw, 5.2rem);
  font-weight: 700;
  color: var(--color-ivory-title);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 1.35rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
}

.tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  font-weight: 500;
  color: var(--color-ivory-sub);
  line-height: 1.38;
  letter-spacing: 0.005em;
  margin-bottom: 2.2rem;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}

.tagline span {
  display: block;
}

/* Gold Divider Line */
.gold-divider {
  width: 140px;
  height: 1.5px;
  background: var(--color-gold);
  margin-bottom: 1.85rem;
  box-shadow: 0 0 10px rgba(197, 155, 107, 0.35);
}

/* Launch Date & Time Row */
.launch-date-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 2.4rem;
}

.launch-date-row .bullet {
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.9;
}

/* ==========================================================================
   Executive Live Countdown & Calendar Reminder
   ========================================================================== */
.countdown-card {
  display: inline-flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.3rem 1.8rem;
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-gold-border);
  border-radius: 4px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(197, 155, 107, 0.15);
}

.countdown-grid {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 54px;
}

.time-val {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  font-weight: 600;
  color: var(--color-ivory-title);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.time-label {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--color-gold);
  margin-top: 0.35rem;
}

.colon {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-gold-muted);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: 2.5rem;
}

.copyright {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(235, 227, 217, 0.42);
  letter-spacing: 0.12em;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .content-container {
    padding: 3.5rem 5vw;
  }
  
  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(9, 9, 11, 0.98) 0%,
      rgba(9, 9, 11, 0.95) 45%,
      rgba(9, 9, 11, 0.8) 68%,
      rgba(9, 9, 11, 0.4) 100%
    );
  }
}

@media (max-width: 768px) {
  .hero-bg {
    background-position: 80% 25%;
    background-size: cover;
  }
  
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(9, 9, 11, 0.75) 0%,
      rgba(9, 9, 11, 0.92) 35%,
      rgba(9, 9, 11, 0.98) 85%
    );
  }
  
  .content-container {
    padding: 2.8rem 1.6rem 2rem;
    justify-content: flex-start;
  }

  .brand-header {
    margin-bottom: 1.8rem;
  }
  
  .brand-logo {
    height: 52px;
  }

  .subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    margin-bottom: 0.85rem;
  }

  .main-title {
    font-size: 2.85rem;
    margin-bottom: 0.9rem;
  }

  .tagline {
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 1.6rem;
  }

  .gold-divider {
    width: 110px;
    margin-bottom: 1.4rem;
  }

  .launch-date-row {
    font-size: 0.88rem;
    letter-spacing: 0.2em;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
  }

  .countdown-card {
    width: 100%;
    max-width: 360px;
    padding: 1.1rem 1.1rem;
  }

  .countdown-grid {
    justify-content: space-between;
    gap: 0.4rem;
  }

  .time-block {
    min-width: 42px;
  }

  .time-val {
    font-size: 1.65rem;
  }

  .colon {
    font-size: 1.25rem;
  }
}
