/* Base */
body {
  font-family: "Parkinsans", "Kanit", sans-serif !important;
  background: #111;
  color: white;
  text-align: center;
  font-weight: 600;
  user-select: none;
  margin: 0;
  padding: 10px;
}

/* Theme */
:root {
  --accent: #3aa6ff; /* primary accent (blue) */
  --accent-soft-1: rgba(58, 166, 255, 0.25);
  --accent-soft-2: rgba(58, 166, 255, 0.15);
  --accent-glow: rgba(58, 166, 255, 0.55);
  --accent-glow-weak: rgba(58, 166, 255, 0.25);
  --link: #67a1ff;
  --link-hover: #4dc3ff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Parkinsans" !important;
}

p {
  font-family: "Parkinsans", sans-serif !important;
}

/* Images */
/* Default images (kept modest to avoid blowing up UI assets) */
img {
  width: 150px;
  height: 150px;
  border-radius: 15px;
  transition: transform .2s ease, border-color .2s ease;
  border: 5px solid transparent;
}

/* Big app icons */
.app-icon {
  width: 220px;
  height: 220px;
  border-radius: 20px;
}

.app-icon:hover {
  transform: scale(1.06);
  border-color: #ffffff;
  cursor: pointer;
}

/* Links */
a {
  color: var(--link);
  transition: ease 0.2s;
  text-underline-offset: 10000px;
}

a:hover {
  color: var(--link-hover);
}

/* Header Bar */
#header {
  position: fixed;
  top: 6.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  max-width: 1600px;
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: rgba(29, 29, 29, 0.7);
  backdrop-filter: blur(3px);
  border-radius: 20px;
  color: white;
  z-index: 9999;
  transition: all ease-in 0.2s;
}

#header .right {
  height: 35px;
}

.headericons {
  width: 35px;
  height: 35px;
  border-radius: 15px;
  border: 5px solid transparent;
  transition: ease .2s;
}

.headericons:hover {
  cursor: url(/stuff/icons/pointer.png), pointer !important;
  border: 5px solid transparent;
}

/* Buttons */
button {
  background-color: #1a1a1a44;
  width: 200px;
  height: 75px;
  outline: none;
  border: solid 5px #3b3b3b3b;
  color: white;
  font-family: "Parkinsans", sans-serif;
  font-size: 1.2em;
  border-radius: 15px;
  backdrop-filter: blur(20px);
  cursor: pointer;
  margin: 10px;
  transition: all ease-in-out .2s;
}

button:hover {
  background-color: #ececec;
  border: solid 5px #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 30px #ffffff;
  color: black;
}

button:active {
  scale: 0.8;
}

.smallbutton {
  width: 150px;
  height: 50px;
  font-size: 0.8em;
}

/* Background Animation */
#vanta {
  width: 100%;
  height: 100%;
  opacity: .5;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

#content {
  position: relative;
  z-index: 9998;
}

/* Footer Logo Left */
#whereamifrom {
  bottom: 0;
  position: fixed;
  display: grid;
  text-align: center;
  z-index: 9998;
  font-family: "Parkinsans", sans-serif;
  transition: all ease-in 0.2s;
}

#whereamifrom img {
  transform: translateY(15px);
}

#whereamifrom img:hover {
  scale: 1;
  cursor: default;
}

/* Footer Build Info */
#buildinfo {
  bottom: 0;
  right: 6.7px;
  position: fixed;
  z-index: 9998;
  display: grid;
  text-align: center;
  font-family: "Parkinsans", sans-serif;
  transition: all ease-in 0.2s;
}

/* Popup Overlay */
.rizzpopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.425);
  visibility: hidden;
  opacity: 0;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
  z-index: 9999;
  font-size: 2em;
  transition: all 0.5s ease;
  font-family: 'Clash Display Semibold';
}

/* Popup Box */
#roddyrichesbox {
  position: absolute;
  top: 50%;
  left: 49%;
  transform: translate(-50%, -55%);
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  color: white;
  line-height: 1.8;
  border: 3px solid var(--accent);
  background-color: #3a3a3a67;
  backdrop-filter: blur(3px);
  margin: 0 10px 10px;
  z-index: 9999;
  overflow: clip;
  scrollbar-width: none;
}

/* Popup Top Bar */
#roddydihbar {
  position: fixed;
  top: 0;
  left: 50%;
  width: 95%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  color: white;
  overflow: clip;
}

/* Inputs */
input {
  font-family: "Quicksand Bold", sans-serif;
  font-size: 1em;
  padding: 11px 2px;
  margin: 6px;
  background-color: #080808;
  color: #fff;
  border: 3px solid #141414;
  height: 50px;
  border-radius: 30px;
  box-shadow: 0 4px 6px rgb(0 0 0 / .2);
  text-align: center;
  transition: all .2s ease-in-out;
  width: 400px;
}

input:hover {
  border: 3px solid var(--accent);
}

input:focus-visible {
  border: 3px solid var(--accent);
  outline: 0px;
  box-shadow: 0 0 5px var(--accent), 0 0 15px var(--accent), 0 0 25px var(--accent);
}

/* Launch Status Toast */
#launchStatus {
  position: fixed;
  top: 80px; /* below header */
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: linear-gradient(135deg, rgba(58,166,255,0.22), rgba(58,166,255,0.12));
  border: 2px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 10px 18px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.35), 0 0 12px var(--accent-glow-weak);
  font-family: "Parkinsans", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease;
}

#launchStatus.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* spinner dot */
#launchStatus.loading::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 10px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.35);
  border-top-color: var(--accent);
  animation: spin 900ms linear infinite;
  vertical-align: middle;
}

/* success pulse */
#launchStatus.success {
  box-shadow: 0 4px 18px rgba(0,0,0,0.35), 0 0 18px var(--accent-glow);
  background: linear-gradient(135deg, var(--accent-soft-1), var(--accent-soft-2));
}

/* Popup-blocked fallback button */
#popupFallback {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 3px solid var(--accent);
  border-radius: 16px;
  padding: 22px 34px;
  min-width: 60%;
  max-width: 90%;
  text-align: center;
  font-family: "Parkinsans", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: .6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45), 0 0 18px var(--accent-glow);
  cursor: pointer;
  z-index: 10000;
}

#popupFallback:hover {
  background: rgba(0,0,0,0.65);
  box-shadow: 0 14px 34px rgba(0,0,0,0.55), 0 0 22px var(--accent-glow);
}

@media (max-width: 600px) {
  #popupFallback {
    font-size: 1.4rem;
    padding: 18px 22px;
    min-width: 80%;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/* Big "Game launched" banner */
#launchBanner {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  padding: 18px 26px;
  border-radius: 18px;
  color: #ffffff;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 22px var(--accent-glow-weak);
  font-family: 'Quicksand', 'Parkinsans', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.5px;
  text-align: center;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, box-shadow .3s ease;
}

#launchBanner.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}


/* Persistent launch badge */
#launchPersistent {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 14px;
  color: #fff;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,0.12);
  font-family: 'Quicksand', 'Parkinsans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.4px;
  z-index: 10000;
}

