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

body {
  min-height: 100vh;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.background {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    135deg,
    #000000 0%,
    #0d0500 25%,
    #2a1205 50%,
    #5c2508 75%,
    #8b3a0a 90%,
    #c2410c 100%
  );
  animation: bgPulse 8s ease-in-out infinite;
}

.background::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridPulse 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.35; }
}

@keyframes bgPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.95; }
}

.orb-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-orb {
  position: relative;
  width: min(95vmin, 480px);
  height: min(95vmin, 480px);
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #f77f00 0%,
    #e85d04 30%,
    #dc2f02 70%,
    #c2410c 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2.5vmin, 20px);
  padding: clamp(24px, 6vmin, 48px);
  box-shadow:
    0 0 80px rgba(247, 127, 0, 0.25),
    inset 0 -20px 40px rgba(0, 0, 0, 0.15),
    inset 0 10px 30px rgba(255, 255, 255, 0.08);
  animation: orbFloat 6s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% {
    transform: scale(1) translateY(0);
    box-shadow:
      0 0 80px rgba(247, 127, 0, 0.25),
      inset 0 -20px 40px rgba(0, 0, 0, 0.15),
      inset 0 10px 30px rgba(255, 255, 255, 0.08);
  }
  50% {
    transform: scale(1.02) translateY(-4px);
    box-shadow:
      0 0 100px rgba(247, 127, 0, 0.3),
      inset 0 -20px 40px rgba(0, 0, 0, 0.15),
      inset 0 10px 30px rgba(255, 255, 255, 0.08);
  }
}

.main-orb .logo {
  max-width: 70%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.main-orb .vitamin-logo {
  max-height: clamp(36px, 10vmin, 56px);
}

.main-orb .devocean-logo {
  max-height: clamp(32px, 9vmin, 48px);
}

.main-orb .divider {
  color: white;
  font-size: clamp(14px, 4vmin, 24px);
  font-weight: 300;
  letter-spacing: 0.1em;
  opacity: 0.95;
}

/* Buttons */
.btn {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: min(180px, 36vmin);
  height: min(180px, 36vmin);
  border-radius: 50%;
  background: #0a0a0a;
  color: white;
  text-decoration: none;
  font-size: clamp(11px, 2.4vmin, 14px);
  font-weight: 500;
  line-height: 1.3;
  padding: 14px;
  gap: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn:hover {
  transform: scale(1.08);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(247, 127, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background: #151515;
}

.btn:active {
  transform: scale(1.02);
}

.btn-softweb {
  top: 28%;
  right: 28%;
  animation: planetFloat 6s ease-in-out infinite 0.5s;
}

.btn-softweb .btn-label {
  font-size: clamp(8px, 1.8vmin, 11px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-softweb .btn-logo {
  width: 78%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.btn-acquisition {
  bottom: 28%;
  left: 28%;
  animation: planetFloat 6s ease-in-out infinite 1s;
}

@keyframes planetFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(4px, -6px) scale(1.02);
  }
  50% {
    transform: translate(-3px, -8px) scale(1.01);
  }
  75% {
    transform: translate(-5px, -4px) scale(1.02);
  }
}

.btn:hover {
  animation: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .main-orb {
    width: min(95vmin, 360px);
    height: min(95vmin, 360px);
  }

  .btn {
    width: min(150px, 38vmin);
    height: min(150px, 38vmin);
    font-size: clamp(10px, 2.6vmin, 12px);
  }

  .btn-softweb {
    top: 14%;
    right: 14%;
  }

  .btn-acquisition {
    bottom: 14%;
    left: 14%;
  }
}

/* Countdown message */
.countdown-message {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(12px, 2.5vmin, 15px);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.countdown-message #countdown {
  font-weight: 700;
  color: #f77f00;
}

@media (max-width: 600px) {
  .countdown-message {
    bottom: 16px;
    font-size: clamp(11px, 2.8vmin, 13px);
    white-space: normal;
    max-width: 90%;
  }
}
