/*
Theme Name: LCT Landing
Theme URI: https://luckycasinotees.com/
Author: Lucky Casino Tees
Description: Lightweight landing-page theme for Lucky Casino Tees.
Version: 1.0.0
Requires at least: 6.9
Requires PHP: 8.1
Text Domain: lct-landing
*/

:root {
  --lct-black: #050506;
  --lct-cream: #fff5e7;
  --lct-pink: #ff2f86;
  --lct-blue: #1768d5;
  --lct-green: #00a983;
  --lct-muted: #c9c2ba;
  --lct-gutter: clamp(1rem, 4vw, 4rem);
}

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

html {
  background: var(--lct-black);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 20%, rgb(23 104 213 / 20%), transparent 28rem),
    radial-gradient(circle at 85% 72%, rgb(255 47 134 / 17%), transparent 30rem),
    var(--lct-black);
  color: var(--lct-cream);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--lct-cream);
  color: var(--lct-black);
  font-weight: 800;
}

.site-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 5rem;
  padding: 1rem var(--lct-gutter);
  border-bottom: 1px solid rgb(255 245 231 / 12%);
}

.site-header__mark {
  width: min(18rem, 62vw);
}

.lct-landing {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 3.5rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem) var(--lct-gutter) 5.5rem;
}

.lct-landing::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 9% 8%;
  border: 1px solid rgb(255 245 231 / 9%);
  transform: skewX(-4deg);
  pointer-events: none;
}

.lct-landing::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(78vw, 68rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 245 231 / 9%), transparent 64%);
  filter: blur(8px);
  pointer-events: none;
}

.lct-landing__inner {
  width: min(100%, 88rem);
  display: grid;
  justify-items: center;
  text-align: center;
}

.lct-landing__logo {
  width: min(94vw, 78rem);
  margin: 0;
  animation: lct-reveal 900ms cubic-bezier(.16, 1, .3, 1) both;
}

.lct-landing__logo img {
  width: auto;
  max-width: 100%;
  max-height: 60svh;
  margin-inline: auto;
  filter: drop-shadow(0 1.5rem 3rem rgb(0 0 0 / 48%));
  animation: lct-float 8s ease-in-out 1s infinite;
}

.lct-landing__status {
  margin: clamp(1.25rem, 2vw, 2rem) 0 0;
  color: var(--lct-cream);
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.42em;
  line-height: 1;
  text-transform: uppercase;
  animation: lct-status 700ms ease-out 500ms both;
}

.lct-landing__status::before,
.lct-landing__status::after {
  content: "";
  display: inline-block;
  width: clamp(1.75rem, 5vw, 4.5rem);
  height: 2px;
  margin: 0 1.1rem 0.22em;
  background: linear-gradient(90deg, transparent, var(--lct-pink));
}

.lct-landing__status::after {
  margin-right: 0;
  background: linear-gradient(90deg, var(--lct-blue), transparent);
}

.lct-spark {
  position: absolute;
  z-index: -1;
  width: 0.72rem;
  aspect-ratio: 1;
  background: var(--lct-pink);
  clip-path: polygon(50% 0, 58% 40%, 100% 50%, 58% 60%, 50% 100%, 42% 60%, 0 50%, 42% 40%);
  animation: lct-pulse 3.4s ease-in-out infinite;
}

.lct-spark--one {
  top: 13%;
  left: 11%;
}

.lct-spark--two {
  top: 18%;
  right: 13%;
  width: 1rem;
  background: var(--lct-blue);
  animation-delay: 900ms;
}

.lct-spark--three {
  right: 21%;
  bottom: 19%;
  width: 0.52rem;
  background: var(--lct-green);
  animation-delay: 1.6s;
}

.site-footer {
  min-height: 3.5rem;
  display: grid;
  place-items: center;
  padding: 0.9rem var(--lct-gutter);
  color: var(--lct-muted);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.lct-landing-page .site-footer {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
}

.content-shell {
  width: min(100% - (2 * var(--lct-gutter)), 70rem);
  flex: 1;
  margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 7rem);
}

.content-shell h1,
.content-shell h2,
.content-shell h3 {
  max-width: 18ch;
  margin-top: 0;
  color: var(--lct-cream);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.content-shell h1 {
  font-size: clamp(2.5rem, 8vw, 6rem);
}

.content-shell p,
.content-shell li {
  max-width: 68ch;
  color: #e4ded6;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.content-shell input,
.content-shell select,
.content-shell textarea,
.content-shell button,
.content-shell .button {
  min-height: 2.75rem;
  border: 1px solid rgb(255 245 231 / 28%);
  border-radius: 0;
}

.content-shell button,
.content-shell .button {
  padding: 0.7rem 1.1rem;
  background: var(--lct-pink);
  color: #fff;
  font-weight: 800;
}

@keyframes lct-reveal {
  from {
    opacity: 0;
    transform: translateY(2.5rem) scale(0.96);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes lct-status {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lct-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.45rem);
  }
}

@keyframes lct-pulse {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.75) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.15) rotate(45deg);
  }
}

@media (max-width: 42rem) {
  .lct-landing {
    min-height: calc(100svh - 3.25rem);
    padding-inline: 0.75rem;
  }

  .lct-landing::before {
    inset: 10% 4%;
  }

  .lct-landing__logo {
    width: 100%;
  }

  .lct-landing__status {
    letter-spacing: 0.3em;
  }

  .lct-landing__status::before,
  .lct-landing__status::after {
    width: 1.35rem;
    margin-inline: 0.7rem;
  }

  .site-footer {
    min-height: 3.25rem;
    font-size: 0.65rem;
  }

  .lct-landing-page .site-footer {
    margin-top: -3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
