html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
  overflow: hidden;
}

#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 2000;
}

#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 500px;
  padding: 0 10px;
  z-index: 1;
}

#info {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.5;
  background: rgba(0,0,0,0.5);
  padding: 12px 15px;
  border-radius: 10px;
  word-wrap: break-word;
}

#enterBtn {
  padding: 18px 50px;
  font-size: 1.5rem;
  border: none;
  border-radius: 12px;
  background: rgba(0,123,255,0.8);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 80%;
  max-width: 300px;
}

#enterBtn:hover {
  background: rgba(0,123,255,1);
  transform: scale(1.05);
}

@media(max-width:600px){
  #info { font-size: 0.85rem; padding: 10px 12px; }
  #enterBtn { font-size: 1.2rem; padding: 14px 35px; }
}

@media(max-width:400px){
  #info { font-size: 0.75rem; padding: 8px 10px; }
  #enterBtn { font-size: 1rem; padding: 12px 25px; }
}


#mainContent {
  display: none;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(to right, #141e30, #243b55);
  color: #fff;
  overflow-y: auto;
  padding-bottom: 50px;
}

h1 {
  font-size: 2.5em;
  text-align: center;
  margin: 40px 20px;
  background: linear-gradient(90deg, #00f260, #0575e6);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 95%;
  max-width: 1200px;
  margin: 0 auto 80px auto;
}

.menu button {
  background: #1c2b3a;
  border: none;
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  font-size: 1.1em;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

.menu button:hover {
  background: #0575e6;
  transform: translateY(-5px);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.popup {
  background: #243b55;
  padding: 25px;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.popup h2 { margin-bottom: 15px; }
.popup p { margin-bottom: 20px; font-size: 0.95em; line-height: 1.5; }

.popup button {
  margin: 5px;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

.popup .btn-close { background: #ff4e50; color: #fff; }
.popup .btn-close:hover { background: #ff1c1c; }
.popup .btn-go { background: #00f260; color: #000; }
.popup .btn-go:hover { background: #00c853; }

footer {
  width: 100%;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  left: 0;
  font-size: 0.9em;
  background: transparent;
}

@media(max-width: 600px){
  h1 { font-size: 2em; margin-bottom: 30px; }
  .menu button { padding: 15px; font-size: 1em; }
}
