/* ==========================================================================
   CayoTV — Coming soon (splash)
   Reuses the CayoTV design tokens; standalone from the full-site stylesheet.
   ========================================================================== */

@import url("tokens/fonts.css");
@import url("tokens/colors.css");
@import url("tokens/typography.css");
@import url("tokens/spacing.css");
@import url("tokens/effects.css");

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

html, body { height: 100%; }

body {
  background: var(--surface-canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

::selection { background: var(--cayo-lime); color: var(--cayo-black); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }

a { color: var(--link); text-decoration: none; transition: color var(--dur-base) var(--ease-out); }
a:hover { color: var(--link-hover); }

/* ---- Background layers ---- */
.cs-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/backgrounds/texture-spikes.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}
.cs-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 30%, rgba(0,0,0,0.55), rgba(0,0,0,0.92) 75%),
    linear-gradient(0deg, rgba(0,0,0,0.95), rgba(0,0,0,0.4));
}

/* ---- Decorative lime spikes ---- */
.cs-spikes {
  position: fixed;
  top: 24%;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.cs-spikes span {
  display: block;
  height: 8px;
  background: var(--cayo-lime);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.cs-spikes span:nth-child(1) { width: 54px; }
.cs-spikes span:nth-child(2) { width: 104px; }
.cs-spikes span:nth-child(3) { width: 40px; }
.cs-spikes span:nth-child(4) { width: 74px; }

/* ---- Top bar ---- */
.cs-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: clamp(1.25rem, 4vw, 2.25rem) var(--gutter);
}
.cs-top__logo img { height: 26px; width: auto; display: block; }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lang-toggle__btn {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-heading); font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; color: var(--text-muted);
  padding: 5px 11px; border-radius: var(--radius-pill); line-height: 1;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.lang-toggle__btn:hover { color: var(--cayo-white); }
.lang-toggle__btn.is-active { background: var(--cayo-lime); color: var(--cayo-black); }

/* ---- Main content ---- */
.cs-main {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-6) var(--gutter);
  max-width: var(--container-lg);
  width: 100%;
  margin-inline: auto;
}

.cs-eyebrow {
  font-family: var(--font-wide);
  font-weight: 400;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-brand);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-5);
}

.cs-title {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: var(--ls-heading);
  font-size: clamp(3rem, 11vw, 8.5rem);
  color: var(--cayo-white);
}
.cs-title .accent { color: var(--cayo-lime); }

.cs-sub {
  margin-top: var(--space-5);
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: var(--text-secondary);
  max-width: 54ch;
}

.cs-contact {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
}
.cs-contact__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cs-contact__mail {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-h4);
  color: var(--cayo-white);
  border-bottom: 2px solid rgba(227,255,104,0.4);
  padding-bottom: 3px;
}
.cs-contact__mail:hover { color: var(--cayo-lime); border-color: var(--cayo-lime); }

.cs-social { display: flex; gap: 10px; margin-left: auto; }
.cs-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: grid; place-items: center;
  color: var(--text-secondary);
  transition: border-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.cs-social a:hover { border-color: var(--cayo-lime); color: var(--cayo-lime); transform: translateY(-2px); }
.cs-social svg { width: 18px; height: 18px; }

/* ---- Footer ---- */
.cs-footer {
  position: relative;
  z-index: 3;
  padding: var(--space-5) var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cs-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cayo-red); display: inline-block;
  animation: cs-pulse 2s var(--ease-out) infinite;
}
@keyframes cs-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(175,21,38,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(175,21,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(175,21,38,0); }
}

@media (max-width: 560px) {
  .cs-social { margin-left: 0; width: 100%; }
  .cs-contact { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-live { animation: none; }
}
