/* ========== GLOBAL ========== */
html, body {
overflow: hidden;
height: 100%;
overflow: auto;
height: 100%;
overscroll-behavior: none;
}
body {
  margin: 0;
  background: linear-gradient(135deg, #120033, #330066, #000000);
  font-family: "Press Start 2P", cursive;
  color: #e0e0ff;
  text-shadow: 0 0 4px #00ffff;
  overflow-x: hidden;
  cursor: none; /* hide default pointer */
}

head {
  margin: 0;
  background: linear-gradient(135deg, #120033, #330066, #000000);
  font-family: "Press Start 2P", cursive;
  color: #e0e0ff;
  text-shadow: 0 0 4px #00ffff;
  overflow-x: hidden;
  cursor: none; /* hide default pointer */
}

a {
  cursor: none;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-thumb {
  background: #00ffff;
}

/* CUSTOM CURSOR */
#cursor {
  width: 14px;
  height: 14px;
  border: 2px solid cyan;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.2s;
  z-index: 9999;
}

/* NAV */
nav {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 20;
}

nav button {
  font-family: inherit;
  padding: 10px 14px;
  margin-left: 6px;
  background: #111;
  border: 2px solid #00ffff;
  color: #00ffff;
  cursor: none;
  font-size: 10px;
}
nav button:hover {
  background: #00ffff;
  color: #111;
}

/* HEADER */
header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  perspective: 800px; /* for 3D effect on cube */
}

header h1 {
  font-size: 48px;
  text-shadow: 0 0 20px #00ffff, 0 0 40px #ff00ff;
  margin-bottom: 10px;
}

header p {
  margin-top: 10px;
  opacity: 0.8;
  margin-bottom: 60px;
}

/* 3D CUBE CONTAINER */
.cube-container {
  width: 100px;
  height: 100px;
  position: relative;
  transform-style: preserve-3d;
  animation: spin 6s linear infinite;
  cursor: none;
}

/* 3D CUBE FACES */
.cube-face {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid #00ffff;
  border-radius: 8px;
  background: linear-gradient(135deg, #00ffff, #ff00ff);
  box-shadow: 0 0 15px #00ffff88;
  opacity: 0.9;
}

/* Positioning each face */
.cube-face.front  { transform: translateZ(50px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(50px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(50px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(50px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(50px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(50px); }

/* Spin animation */
@keyframes spin {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* SECTIONS */
.section {
  padding: 80px 20px;
  max-width: 900px;
  margin: auto;
}

.card {
  background: rgba(0, 0, 0, 0.4);
  padding: 25px;
  border-radius: 14px;
  border: 2px solid #00ffff;
  margin-bottom: 30px;
  box-shadow: 0 0 15px #00ffff80;
}

.card h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  font-size: 12px;
  line-height: 1.6;
}

.card a {
  color: #00ffff;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px;
  opacity: 0.6;
  font-size: 10px;
}

/* BOOT ANIMATION */
#boot {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  color: #00ffff;
  font-family: "Press Start 2P", cursive;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#boot p {
  margin: 10px 0;
  opacity: 0;
  animation: fadeIn 1s forwards;
}

#boot p:nth-child(1) { animation-delay: 0.5s; }
#boot p:nth-child(2) { animation-delay: 1.5s; }
#boot p:nth-child(3) { animation-delay: 2.5s; }

@keyframes fadeIn {
  to { opacity: 1; }
}
.neon-pink {
  color: #ff00ff; /* neon pink */
  text-shadow:
    0 0 5px   #ff00ff,
    0 0 10px  #ff00ff,
    0 0 20px  #ff33ff,
    0 0 40px  #ff66ff,
    0 0 80px  #ff99ff;
}
.search-container {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  gap: 10px;
}

#search-box {
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 8px;
  border: 2px solid #00ffff;
  outline: none;
  width: 250px;
}

#search-box:focus {
  border-color: #ff00ff;
}

#search-btn {
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  background-color: #00ffff;
  color: #000;
  cursor: pointer;
  transition: background 0.2s ease;
}

#search-btn:hover {
  background-color: #ff00ff;
}
/* Modal background */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

/* Modal content */
.modal-content {
  position: relative;
  background-color: #111;
  padding: 20px;
  width: 80%;
  max-width: 800px;
  height: 80%;
  border-radius: 8px;
}

/* Iframe styling */
.modal-content iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Close button */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
}


