/* Super Darte one-page site
   Colors: purple & pink on a dark tech background
*/

:root {
  --bg-main: #050510;
  --bg-alt: #0c0c1c;
  --accent-purple: #8b5cff;
  --accent-pink: #ff4fa3;
  --accent-soft: #c57dff;
  --text-main: #f7f2ff;
  --text-muted: #b0a8c9;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.6);
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --transition-fast: 180ms ease-out;
  --container-width: 1120px;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 0% 0%, rgba(139, 92, 255, 0.35), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 79, 163, 0.35), transparent 55%),
    linear-gradient(135deg, #04040b, #050510 50%, #08071a);
}

/* Layout utilities */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 5, 16, 0.94), rgba(5, 5, 16, 0.75), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 650;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
  transition: width var(--transition-fast);
}

.site-nav a:hover {
  color: var(--text-main);
}

.site-nav a:hover::after {
  width: 100%;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  width: 40px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at 0 0, rgba(139, 92, 255, 0.35), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(255, 79, 163, 0.35), transparent 55%);
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #fdfcff;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(3px) rotate(40deg);
}

.nav-toggle.active span:nth-child(2) {
  transform: translateY(-3px) rotate(-40deg);
}

/* Hero section */

.hero-section {
  padding: 56px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3.4vw, 2.8rem);
  letter-spacing: 0.03em;
  margin: 0 0 12px;
}

.hero-text .accent {
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 10px;
  font-size: 1.02rem;
  color: var(--accent-soft);
}

.hero-body {
  margin: 0 0 18px;
  color: var(--text-muted);
  max-width: 34rem;
}

.feature-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, var(--accent-pink), var(--accent-purple));
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: radial-gradient(circle at 0 0, rgba(139, 92, 255, 0.18), transparent 60%);
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at 0 0, rgba(139, 92, 255, 0.25), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(255, 79, 163, 0.27), transparent 55%),
              linear-gradient(145deg, rgba(9, 8, 32, 0.95), rgba(10, 8, 40, 0.98));
  border-radius: var(--radius-xl);
  padding: 18px 18px 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.score-preview {
  background: linear-gradient(135deg, #7c4dff, #4896ff);
  border-radius: 20px;
  padding: 16px 18px 18px;
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.score-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 100%;
  opacity: 0.6;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.score-header,
.score-footer {
  position: relative;
  z-index: 1;
}

.score-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.8);
}

.score-footer {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.9;
}

.score-columns {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
}

.score-column {
  padding: 18px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.score-column.left {
  background: linear-gradient(145deg, #9d5cff, #e960ff);
}

.score-column.right {
  background: linear-gradient(145deg, #4db4ff, #7f8cff);
}

.player-name {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.95);
}

.player-score {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.card-caption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* General sections */

.section {
  padding: 40px 0 48px;
}

.section-intro {
  color: var(--text-muted);
  max-width: 40rem;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

/* Privacy section */

.privacy-section {
  background:
    radial-gradient(circle at 0% 100%, rgba(139, 92, 255, 0.3), transparent 60%),
    linear-gradient(to bottom, rgba(8, 7, 26, 0.97), rgba(8, 7, 26, 0.96));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.privacy-section h3 {
  font-size: 1.05rem;
  margin-top: 22px;
  margin-bottom: 6px;
}

.privacy-section p,
.privacy-section li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.privacy-section ul {
  margin: 0 0 12px 0;
  padding-left: 18px;
}

.last-updated {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-muted);
}

.contact-details a {
  color: var(--accent-soft);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Support section */

.support-section {
  background: radial-gradient(circle at 100% 0%, rgba(255, 79, 163, 0.36), transparent 60%);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: start;
}

.support-form-wrapper {
  background: linear-gradient(135deg, rgba(7, 6, 30, 0.95), rgba(11, 8, 38, 0.98));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-soft);
}

.support-form {
  display: grid;
  gap: 10px;
}

.support-form label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-muted);
}

.support-form textarea,
.support-form input {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 5, 22, 0.9);
  padding: 9px 11px;
  font-size: 0.9rem;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.support-form textarea:focus,
.support-form input:focus {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(197, 125, 255, 0.35);
  background: rgba(10, 8, 36, 0.98);
}

.btn-primary {
  margin-top: 4px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background-image: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: #fff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.65);
  transition: transform 130ms ease-out, box-shadow 130ms ease-out, filter 130ms ease-out;
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.75);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.7);
}

.form-status {
  min-height: 18px;
  font-size: 0.78rem;
  color: var(--accent-soft);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0 22px;
  background: rgba(4, 4, 14, 0.96);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-inner a {
  color: var(--accent-soft);
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 880px) {
  .hero-grid,
  .support-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-section {
    padding-top: 42px;
  }

  .hero-card {
    order: -1;
  }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: radial-gradient(circle at 0 0, rgba(139, 92, 255, 0.3), transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(255, 79, 163, 0.3), transparent 55%),
                rgba(5, 5, 18, 0.98);
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    padding: 10px 0;
  }

  .hero-section {
    padding-bottom: 40px;
  }

  .section {
    padding: 32px 0 40px;
  }
}

@media (max-width: 520px) {
  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-card {
    border-radius: 22px;
  }

  .score-preview {
    padding: 14px 14px 16px;
  }

  .score-column {
    padding: 16px 12px 18px;
  }

  .player-score {
    font-size: 2.1rem;
  }
}
