@font-face {
  font-family: "Phantom Sans";
  src: url("/fonts/Regular.woff2") format("woff2"), url("/fonts/Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Phantom Sans";
  src: url("/fonts/Italic.woff2") format("woff2"), url("/fonts/Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Phantom Sans";
  src: url("/fonts/Bold.woff2") format("woff2"), url("/fonts/Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DS-Digital";
  src: url("/fonts/DS-DIGIB.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@import "https://uchu.style/color.css";
@import "settings.css";

body,
html {
  font-family: "Phantom Sans", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  font-family: inherit;
}

code,
pre,
kbd,
samp {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

/* Ensure forms and inputs respect dark mode */
input,
textarea,
select {
  color-scheme: dark;
}

.superadmin-tool {
  border-radius: 5px;
  border: 1px dashed rgb(251, 44, 54);
  background-color: rgba(255, 255, 255, 0.02);
}
.admin-tool {
  border-radius: 5px;
  border: 1px dashed rgb(240, 177, 0);
  background-color: rgba(255, 255, 255, 0.02);
}
.viewer-tool {
  border-radius: 5px;
  border: 1px dashed rgb(43, 127, 255);
  background-color: rgba(255, 255, 255, 0.02);
}
.dev-tool {
  border-radius: 5px;
  border: 1px dashed var(--color-green);
  background-color: rgba(255, 255, 255, 0.02);
}

.loading {
  filter: grayscale(100%);
}

.super {
  font-style: italic;
  font-size: 0.9rem;
  color: #ccc;
  margin: 0 0 0.1rem;
}

.super a {
  color: #ccc;
}

.auto-scroll {
  animation: flash 1s ease-in-out;
  border: 2px solid var(--uchu-yellow);
  border-radius: 5px;
}

select {
  margin: 0.1rem 0;
  padding: 0.1rem 0.5rem;
}

@keyframes flash {
  0% {
    background-color: var(--uchu-yellow);
  }
  100% {
    background-color: transparent;
  }
}

.ds-digital {
  font-family: "DS-Digital", monospace;
}

.monospace {
  font-family: monospace;
}

.clock-display {
	width: 100%;
	height: 1.5em;
	font-size: 15vmin;
	margin: 2rem auto;
	perspective: 1000px;
	position: relative;
}

.clock-display-inner {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 12px solid var(--color-primary);
	border-radius: 64px;
	transform-style: preserve-3d;
	transition: transform 0.3s ease-in-out;
	position: relative;
}

.clock-display:hover .clock-display-inner {
	transform: rotateX(180deg);
}

.clock-display-front,
.clock-display-back {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.clock-display-front {
	transform: rotateX(0deg);
}

.clock-display-back {
	transform: rotateX(180deg);
}

.clock-display * {
	line-height: normal;
}
@media (max-width: 87.5rem) {
	.clock-display {
		font-size:10vmin;
	}
}

.blink {
  animation: blink-anim 1s infinite;
}

@keyframes blink-anim {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.why-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.som-box {
  position: relative;
  background: linear-gradient(145deg, #f6dbba 0%, #e6d4be 100%);
  border-radius: clamp(6px, 1.5vw, 10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 3px 0 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 2px solid rgba(89, 47, 49, 0.3);
  overflow: hidden;
  color: black;
  height: 100%;
  cursor: 'pointer';
  display: flex;
  flex-direction: column;
  z-index: 2;
  margin-left: 20px;
  margin-right: 20px;
}

.bounce {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
