* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  overflow: hidden;
  font-family: sans-serif;
}
#webGLApp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.heading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: white;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  text-wrap: auto;
  font-family: "Syne", sans-serif;
  font-size: clamp(3.5rem, 9vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1;
}

/* Show all options in a grid for comparison */
.headings-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4rem;
  width: 80vw;
  max-width: 1200px;
  pointer-events: none;
}

.color-controls {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  gap: 1rem;
  pointer-events: auto;
}
.color-btn {
  min-width: 48px;
  height: 48px;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  color: white;
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.color-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}
.color-btn.active {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Color Adjuster Panel */
.color-adjuster-panel {
  position: fixed;
  top: 2rem;
  left: 2rem;
  z-index: 100;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  min-width: 320px;
  max-width: 400px;
  pointer-events: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: none;
}

.color-adjuster-panel.open {
  display: block;
}

.color-adjuster-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.color-adjuster-title {
  color: white;
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.color-adjuster-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.color-adjuster-close:hover {
  opacity: 0.7;
}

.color-picker-group {
  margin-bottom: 1.25rem;
}

.color-picker-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
}

.color-picker-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.color-picker-input {
  width: 60px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  background: none;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

.color-picker-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker-input::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}

.color-value-display {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: white;
  font-family: "Inter", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: text;
  user-select: all;
  transition: all 0.3s ease;
}

.color-value-display:hover {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.color-value-display:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.copy-btn.copied {
  background: rgba(76, 175, 80, 0.3);
  border-color: rgba(76, 175, 80, 0.5);
}

.color-adjuster-actions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 0.75rem;
}

.export-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 0.75rem;
  color: white;
  font-family: "Syne", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.export-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.toggle-adjuster-btn {
  position: fixed;
  top: 2rem;
  left: 2rem;
  z-index: 100;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-family: "Syne", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border-radius: 8px;
  pointer-events: auto;
}

.toggle-adjuster-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.footer {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: white;
  font-family: "Syne", sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: auto;
}
.footer a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.footer a:hover {
  opacity: 0.7;
}
/* ===== PRESALE FORM ===== */

.early-form{
display:flex;
flex-direction:column;
gap:14px;
}

.form-group{
display:flex;
flex-direction:column;
gap:4px;
}

.form-group label{
color:white;
font-family:"Inter",sans-serif;
font-size:0.8rem;
opacity:0.8;
}

.form-group input,
.form-group select{
background:rgba(0,0,0,0.25);
border:1px solid rgba(255,255,255,0.2);
border-radius:8px;
padding:10px;
color:white;
font-family:"Inter",sans-serif;
font-size:0.9rem;
transition:all 0.25s ease;
}

.form-group input::placeholder{
color:rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group select:focus{
outline:none;
border-color:rgba(255,255,255,0.5);
background:rgba(0,0,0,0.35);
}

.submit-btn{
margin-top:10px;
padding:12px;
border:none;
border-radius:10px;
background:rgba(255,255,255,0.15);
border:1px solid rgba(255,255,255,0.3);
color:white;
font-family:"Syne",sans-serif;
font-size:0.9rem;
font-weight:600;
letter-spacing:0.05em;
text-transform:uppercase;
cursor:pointer;
transition:all 0.3s ease;
backdrop-filter:blur(10px);
}

.submit-btn:hover{
background:rgba(255,255,255,0.25);
border-color:rgba(255,255,255,0.6);
transform:translateY(-2px);
}

.subheading {
  position: fixed;
  top: 60%; /* чуть ниже основной надписи */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: white;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
}
.custom-cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-width 0.2s ease;
  background: transparent;
  will-change: transform;
}
.custom-cursor::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}
/* ===== CUSTOM CURSOR ===== */
#customCursor {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-width 0.2s;
  mix-blend-mode: difference;
  will-change: left, top;
}
/* ===== COUNTDOWN TIMER (Uiverse style) ===== */
.countdown-timer {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 100;
  pointer-events: none;
}

.countdown-timer .timer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0rem;
  overflow: hidden;
  width: calc(244px + 0rem);
  text-align: center;
}

.countdown-timer .colon {
  width: 8px;
  color: #fff;
  font-size: 2rem;
}

.countdown-timer .item {
  text-align: center;
  width: 55px;
  height: fit-content;
}

.countdown-timer .item .days,
.countdown-timer .item .hours,
.countdown-timer .item .minutes,
.countdown-timer .item .seconds {
  text-align: center;
  width: 55px;
  overflow: hidden;
  height: 40px;
}

.countdown-timer .item .day,
.countdown-timer .item .hour,
.countdown-timer .item .min,
.countdown-timer .item .sec {
  text-align: center;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transform: translateY(0); /* будет управляться из JS */
  will-change: transform;
}

.countdown-timer .item .day span,
.countdown-timer .item .hour span,
.countdown-timer .item .min span,
.countdown-timer .item .sec span {
  height: 40px;
  color: #fff;
  font-size: 2rem;
  display: inline-block;
}

.countdown-timer .item p {
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
}

@keyframes slide {
  0% {
    transform: translateY(calc(-40px * var(--count)));
  }
  99.6% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(-40px * var(--count)));
  }
}
body {
  cursor: none;
}