/*
Theme Name: DriftKart Coming Soon
Theme URI: https://driftkart.com
Author: DriftKart
Description: Dark, motorsport-inspired one-page coming soon theme for DriftKart.
Version: 1.0
License: GPL-2.0-or-later
Text Domain: driftkart
*/

:root {
  --bg: #080808;
  --panel: #111111;
  --text: #f5f5f5;
  --muted: #9b9b9b;
  --accent: #ff2b2b;
  --accent-dark: #a90000;
  --line: rgba(255,255,255,.13);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.dk-page {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,43,43,.17), transparent 28%),
    radial-gradient(circle at 15% 90%, rgba(255,43,43,.08), transparent 30%),
    #080808;
}

.dk-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .17;
  background-image:
    linear-gradient(115deg, transparent 0 48%, rgba(255,255,255,.14) 49%, transparent 50%),
    linear-gradient(0deg, transparent 0 95%, rgba(255,255,255,.08) 96%);
  background-size: 180px 180px, 100% 8px;
  pointer-events: none;
}

.dk-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 24px,
    rgba(255,255,255,.025) 25px 26px
  );
  mix-blend-mode: screen;
}

.dk-header {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dk-logo {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 1000;
  font-style: italic;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.dk-logo span { color: var(--accent); }

.dk-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d4d4d4;
  font-size: .72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.dk-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(255,43,43,.9);
  animation: pulse 1.6s infinite;
}

.dk-main {
  width: min(1240px, calc(100% - 48px));
  margin: auto;
  padding: 70px 0 50px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 55px;
  flex: 1;
}

.dk-kicker {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.dk-title {
  margin: 0;
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: .78;
  letter-spacing: -8px;
  font-weight: 1000;
  font-style: italic;
  text-transform: uppercase;
  transform: skew(-7deg);
  text-shadow: 7px 7px 0 rgba(255,43,43,.15);
}

.dk-title .red {
  color: var(--accent);
  display: block;
}

.dk-subtitle {
  margin: 36px 0 0;
  max-width: 540px;
  color: #d0d0d0;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.5;
  font-weight: 600;
}

.dk-subtitle strong { color: #fff; }

.dk-divider {
  width: 105px;
  height: 5px;
  background: var(--accent);
  margin: 28px 0;
  transform: skew(-25deg);
  box-shadow: 0 0 25px rgba(255,43,43,.3);
}

.dk-art {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.dk-ring {
  width: min(430px, 90vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255,43,43,.35);
  border-radius: 50%;
  position: absolute;
  transform: rotate(-22deg);
  box-shadow:
    0 0 0 24px rgba(255,43,43,.025),
    0 0 0 25px rgba(255,43,43,.12),
    0 0 80px rgba(255,43,43,.12);
  animation: spin 28s linear infinite;
}

.dk-ring::before,
.dk-ring::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(255,255,255,.2);
  border-radius: 50%;
}

.dk-ring::after {
  inset: 31%;
  border: 2px solid rgba(255,43,43,.55);
}

.dk-kart {
  position: relative;
  width: min(420px, 85vw);
  filter: drop-shadow(0 25px 30px rgba(0,0,0,.8));
  transform: rotate(-7deg);
  animation: float 5s ease-in-out infinite;
}

.dk-kart svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.dk-badge {
  position: absolute;
  bottom: 10px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 12px 18px;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: 2px;
  transform: skew(-12deg);
  box-shadow: 7px 7px 0 rgba(255,255,255,.08);
}

.dk-footer {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #777;
  font-size: .72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dk-footer strong { color: #aaa; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.75); }
}

@keyframes spin {
  from { transform: rotate(-22deg); }
  to { transform: rotate(338deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-7deg); }
  50% { transform: translateY(-12px) rotate(-5deg); }
}

@media (max-width: 850px) {
  .dk-header { padding: 22px 0; }
  .dk-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 55px 0 35px;
    text-align: center;
  }
  .dk-title {
    font-size: clamp(4rem, 18vw, 8rem);
    letter-spacing: -4px;
  }
  .dk-subtitle { margin-left: auto; margin-right: auto; }
  .dk-divider { margin: 26px auto; }
  .dk-art { min-height: 320px; }
  .dk-footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
