
body {
  font-family: "Parkinsans", "Kanit", sans-serif !important;
  background: #000000;
  color: white;
  text-align: left;
  font-weight: 400;
  user-select: none;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

:root {
  --ps4-blue: #0070f3;
  --ps4-blue-light: #0080ff;
  --ps4-blue-dark: #0051cc;
  --ps4-gray: #1a1a1a;
  --ps4-gray-light: #2a2a2a;
  --ps4-gray-dark: #0a0a0a;
  --accent: #0070f3;
  --accent-soft-1: rgba(0, 112, 243, 0.25);
  --accent-soft-2: rgba(0, 112, 243, 0.15);
  --accent-glow: rgba(0, 112, 243, 0.55);
  --accent-glow-weak: rgba(0, 112, 243, 0.25);
  --link: #0080ff;
  --link-hover: #00a0ff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Parkinsans" !important;
  font-weight: 300;
  letter-spacing: 1px;
}

.bypass-text {
  background: linear-gradient(90deg, #0070f3, #0080ff, #0051cc, #0080ff, #0070f3);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: bypassColorShift 4s ease-in-out infinite;
  display: inline-block;
}

@keyframes bypassColorShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

.floating-menu-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  height: 48px;
  width: 48px;
  padding: 0;
  background: linear-gradient(135deg, rgba(0, 112, 243, 0.2), rgba(0, 112, 243, 0.1));
  border: 1px solid rgba(0, 112, 243, 0.3);
  color: #fff;
  border-radius: 12px;
  font-family: 'Parkinsans', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 9999;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 112, 243, 0.3);
}

.floating-menu-btn:hover {
  background: linear-gradient(135deg, rgba(0, 112, 243, 0.4), rgba(0, 112, 243, 0.2));
  border-color: var(--ps4-blue);
  color: var(--ps4-blue-light);
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(0, 112, 243, 0.5);
}

.floating-menu-btn:active {
  transform: scale(0.95);
}

.floating-menu-btn svg {
  width: 24px;
  height: 24px;
}


button {
  background: linear-gradient(135deg, rgba(0, 112, 243, 0.2), rgba(0, 112, 243, 0.1));
  border: 1px solid rgba(0, 112, 243, 0.3);
  color: white;
  font-family: "Parkinsans", sans-serif;
  font-size: 0.95em;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 8px 16px;
}

button:hover {
  background: linear-gradient(135deg, rgba(0, 112, 243, 0.4), rgba(0, 112, 243, 0.2));
  border-color: var(--ps4-blue);
  box-shadow: 0 0 15px rgba(0, 112, 243, 0.4);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

.smallbutton {
  padding: 10px 24px;
  font-size: 0.9em;
}


#content {
  position: relative;
  z-index: 9998;
  padding: 60px 40px 40px;
  max-width: 100%;
}

#content h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin: 0 0 10px 0;
  text-align: left;
  letter-spacing: 2px;
}

#content h3 {
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0 40px 0;
  text-align: left;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.games-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 28px;
  margin-top: 40px;
  padding: 0;
}

.app-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 28px !important;
  object-fit: cover !important;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  position: relative;
  overflow: hidden !important;
  padding: 0;
  box-sizing: border-box;
  display: block;
}

.app-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 112, 243, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
}

.app-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 112, 243, 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.app-icon:hover {
  transform: translateY(-12px) scale(1.08);
  filter: drop-shadow(0 20px 40px rgba(0, 112, 243, 0.5)) drop-shadow(0 0 30px rgba(0, 112, 243, 0.3));
}

.app-icon:hover::before {
  width: 150%;
  height: 150%;
  opacity: 1;
}

.app-icon:hover::after {
  width: 200%;
  height: 200%;
}

.app-icon:active {
  transform: translateY(-6px) scale(1.04);
  transition: all 0.1s ease;
}

#vanta {
  width: 100%;
  height: 100%;
  opacity: 0.3;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

#details {
  bottom: 0;
  left: 20px;
  position: fixed;
  z-index: 9998;
  font-family: "Parkinsans", sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

#details p {
  margin: 0;
  padding: 0;
}

#version {
  bottom: 0;
  right: 20px;
  position: fixed;
  z-index: 9998;
  font-family: "Parkinsans", sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.frogies-link {
  color: var(--ps4-blue-light);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  text-shadow: 0 0 8px rgba(0, 112, 243, 0.5);
}

.frogies-link:hover {
  color: var(--ps4-blue);
  text-shadow: 0 0 12px rgba(0, 112, 243, 0.8);
  transform: scale(1.05);
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  visibility: hidden;
  opacity: 0;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  font-size: 2em;
  transition: all 0.3s ease;
  font-family: 'Parkinsans', sans-serif;
}

#boxboxbox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  padding: 48px;
  text-align: center;
  border-radius: 24px;
  color: white;
  line-height: 1.8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.98));
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  margin: 0 10px 10px;
  z-index: 9999;
  overflow: clip;
  scrollbar-width: none;
  box-shadow: 
    0 25px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 40px rgba(0, 112, 243, 0.15);
}

.youCanChangeThis-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.youCanChangeThis-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.youCanChangeThis-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.youCanChangeThis-panel.open {
  transform: translateX(0);
}

.youCanChangeThis-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.youCanChangeThis-panel-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

.youCanChangeThis-close-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.youCanChangeThis-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.youCanChangeThis-close-btn svg {
  width: 18px;
  height: 18px;
}

.youCanChangeThis-panel-content {
  flex: 1;
  padding: 24px 28px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.discord-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 16px 24px;
  background: #5865F2;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-family: "Parkinsans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 28px;
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
  box-sizing: border-box;
}

.discord-button:hover {
  background: #4752C4;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(88, 101, 242, 0.4);
}

.discord-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(88, 101, 242, 0.3);
}

.discord-button svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.discord-button span {
  display: inline-block;
  letter-spacing: 0.5px;
}

.youCanChangeThis-panel-content::-webkit-scrollbar {
  width: 6px;
}

.youCanChangeThis-panel-content::-webkit-scrollbar-track {
  background: transparent;
}

.youCanChangeThis-panel-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.youCanChangeThis-panel-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.youCanChangeThis-section {
  margin-bottom: 32px;
}

.youCanChangeThis-section:last-child {
  margin-bottom: 0;
}

.youCanChangeThis-section h3 {
  margin: 0 0 16px 0;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
}

.youCanChangeThis-item {
  margin-bottom: 12px;
}

.youCanChangeThis-item:last-child {
  margin-bottom: 0;
}

.youCanChangeThis-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.youCanChangeThis-label:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.youCanChangeThis-label span {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 400;
}

.youCanChangeThis-checkbox {
  width: 44px;
  height: 24px;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.youCanChangeThis-checkbox::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  left: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.youCanChangeThis-checkbox:checked {
  background: var(--ps4-blue);
  border-color: var(--ps4-blue);
}

.youCanChangeThis-checkbox:checked::before {
  left: calc(100% - 20px);
  background: #fff;
}

.youCanChangeThis-checkbox:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.youCanChangeThis-clear-cache-btn,
.youCanChangeThis-logout-btn,
#logoutBtn,
#clearCacheBtn {
  width: 100% !important;
  padding: 14px 20px !important;
  background: linear-gradient(135deg, rgba(255, 50, 50, 0.2), rgba(255, 50, 50, 0.1)) !important;
  border: 1px solid rgba(255, 50, 50, 0.3) !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-family: "Parkinsans", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin-top: 8px !important;
  height: auto !important;
}

.youCanChangeThis-clear-cache-btn:hover,
.youCanChangeThis-logout-btn:hover,
#logoutBtn:hover,
#clearCacheBtn:hover {
  background: linear-gradient(135deg, rgba(255, 50, 50, 0.3), rgba(255, 50, 50, 0.2)) !important;
  border-color: rgba(255, 50, 50, 0.5) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(255, 50, 50, 0.3) !important;
}

input {
  font-family: "Parkinsans", sans-serif;
  font-size: 1em;
  padding: 12px 16px;
  margin: 6px;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  text-align: center;
  transition: all .2s ease-in-out;
  width: 400px;
}

input:hover {
  border-color: var(--ps4-blue);
  background-color: rgba(0,0,0,0.6);
}

input:focus-visible {
  border-color: var(--ps4-blue);
  outline: 0px;
  box-shadow: 0 0 10px rgba(0, 112, 243, 0.4), 0 0 20px rgba(0, 112, 243, 0.2);
  background-color: rgba(0,0,0,0.7);
}

#launchStatus {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: linear-gradient(135deg, rgba(0,112,243,0.25), rgba(0,112,243,0.15));
  border: 1px solid rgba(0,112,243,0.3);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 15px rgba(0, 112, 243, 0.3);
  font-family: "Parkinsans", sans-serif;
  font-weight: 600;
  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);
}

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

#launchStatus.success {
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 20px rgba(0, 112, 243, 0.5);
  background: linear-gradient(135deg, rgba(0,112,243,0.3), rgba(0,112,243,0.2));
}

#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;
  transition: all 0.3s ease;
}

#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);
  transform: translate(-50%, -50%) scale(1.02);
}

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

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

#launchBanner {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  padding: 24px 32px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(10, 10, 10, 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 112, 243, 0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(0, 112, 243, 0.3);
  font-family: 'Parkinsans', sans-serif;
  font-weight: 600;
  font-size: 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);
}

#launchPersistent {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(10, 10, 10, 0.9));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  font-family: 'Parkinsans', sans-serif;
  font-weight: 500;
  letter-spacing: 0.4px;
  z-index: 10000;
}

.swal2-container {
  z-index: 99999 !important;
}

.swal2-backdrop-show {
  z-index: 99998 !important;
}

@media (max-width: 768px) {
  .games-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
  }
  
  #content {
    padding: 90px 20px 30px;
  }
  
  #content h1 {
    font-size: 2rem;
  }
}