/* Import Google Font Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');

/* Custom heading font loaded locally */
@font-face {
  font-family: "Black Champ";
  src: url("/BlackChampRegular.woff2") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors */
  --color-bg: #ffffff;
  --color-text: #000000;
  --color-gray: #8c8c8c;
  
  /* Font Families */
  --body-font-family: "Montserrat";
  --heading-font-family: "Black Champ";
  --heading-line-height: 1.15;

  /* Font Sizes - Responsive Scales copied from main theme */
  --fluid-screen: 100vw;
  --fluid-bp: calc((var(--fluid-screen) - 20rem) / 2240);
  
  --step--2: calc(0.73rem + 2.85 * var(--fluid-bp));
  --step--1: calc(0.855rem + 4.21 * var(--fluid-bp));
  --step-0: calc(1rem + 6 * var(--fluid-bp));
  --step-1: calc(1.17rem + 8.34 * var(--fluid-bp));
  --step-3: calc(1.6rem + 15.31 * var(--fluid-bp));
  --step-4: calc(1.87rem + 20.38 * var(--fluid-bp));
  --step-6: calc(2.565rem + 35.14 * var(--fluid-bp));
  --step-7: calc(3.0rem + 45.68 * var(--fluid-bp));

  /* Spacing Variables copied from main theme */
  --space-3xs: calc(0.25rem + 1.5 * var(--fluid-bp));
  --space-2xs: calc(0.5rem + 3 * var(--fluid-bp));
  --space-xs: calc(0.75rem + 4.5 * var(--fluid-bp));
  --space-s: calc(1.0rem + 6 * var(--fluid-bp));
  --space-m: calc(1.5rem + 9 * var(--fluid-bp));
  --space-l: calc(2.0rem + 12 * var(--fluid-bp));
  --space-xl: calc(3.0rem + 18 * var(--fluid-bp));
  --space-2xl: calc(4.0rem + 24 * var(--fluid-bp));
  --container-padding: 6.25vw;
}

@media screen and (min-width: 2560px) {
  :root {
    --fluid-screen: 2560px;
  }
}

@media (min-width: 768px) {
  :root {
    --container-padding: 4vw;
  }
}

/* Reset rules */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: #000000 !important;
  background-color: #ffffff !important;
  font-family: var(--body-font-family);
  min-height: 100vh;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html.fonts-loaded body {
  opacity: 1;
}

.c-page {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

/* Main Container Alignment */
.c-coming-soon-main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: var(--space-xl) var(--container-padding);
  background-color: var(--color-bg) !important;
}

.c-coming-soon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

/* Centered Logo */
.c-coming-soon-logo {
  width: 180px;
  margin-bottom: var(--space-xl);
  color: var(--color-text) !important;
}

/* Page title */
.c-coming-soon-title {
  font-family: var(--heading-font-family);
  font-size: min(max(var(--step-4), 6vw), var(--step-7));
  line-height: var(--heading-line-height);
  text-transform: uppercase;
  color: var(--color-text) !important;
  margin-bottom: var(--space-s);
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* Tagline */
.c-coming-soon-statement {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-text) !important;
  margin-bottom: var(--space-2xl);
  font-weight: 600;
}

/* Countdown Clock */
.c-countdown-wrapper {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  width: 100%;
}

.c-countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.c-countdown-number {
  font-family: var(--heading-font-family);
  font-size: min(max(var(--step-3), 5.5vw), var(--step-6));
  line-height: 1;
  color: var(--color-text) !important;
  margin-bottom: var(--space-3xs);
}

.c-countdown-label {
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gray) !important;
}

/* Subscription Form matching original layout */
.c-subscribe-form {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.c-input-wrapper {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 0.5em;
  transition: border-bottom-color 0.4s ease;
  width: 100%;
}

.c-input-wrapper:focus-within {
  border-bottom-color: var(--color-text);
}

.c-input-wrapper input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text) !important;
  font-family: var(--body-font-family);
  font-size: var(--step-0);
  text-align: center;
  padding: 0 1rem;
}

.c-input-wrapper input::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

/* Standalone Button Design with Underline Animation */
.o-button {
  font-family: var(--body-font-family);
  font-size: var(--step--1);
  text-transform: uppercase;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  color: var(--color-text) !important;
  padding-bottom: 0.3em;
  position: relative;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.o-button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-text);
  transform: scaleX(1);
  transform-origin: bottom left;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.o-button:hover::after {
  transform: scaleX(0);
  transform-origin: bottom right;
}

/* Toast Alert Style */
.toast {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--color-text);
  padding: 1rem 2rem;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  font-family: var(--body-font-family);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .c-countdown-wrapper {
    gap: var(--space-m);
  }
  .c-countdown-item {
    min-width: 60px;
  }
  .c-coming-soon-logo {
    width: 130px;
  }
}
