/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  text-align: center;
  min-height: 100vh;
  padding-bottom: 2rem;
}


/* Main floating container */
.main-container {
  background: #23242a;
  margin: 3rem auto 0 auto;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.7), 0 1.5px 8px 0 #00eaff44;
  max-width: 480px;
  padding: 2.5rem 2rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo header */
.logo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  background: rgba(30,30,40,0.95);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 #00eaff55, 0 1.5px 8px 0 #00eaff44;
  padding: 1.5rem 1rem 1rem 1rem;
}

.logo-img {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 #00eaff99, 0 1.5px 8px 0 #00eaff44;
  background: #fff;
}

.logo-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #e0f7ff;
  text-shadow: 0 0 12px #00eaff, 0 2px 8px #003366;
  margin-bottom: 0.5rem;
}
.logo-header p {
  font-size: 1.25rem;
  color: #b3e6ff;
  text-shadow: 0 0 8px #00eaff88;
}

/* Homepage vertical button grid */

.button-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 2rem;
}


.nav-button {
  display: block;
  width: 90%;
  max-width: 340px;
  background: radial-gradient(circle, #e0f7ff 0%, #7fd7ff 60%, #0099ff 100%);
  color: #003366;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1.1rem 0;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 4px 24px 0 #00eaff99, 0 1.5px 8px 0 #00eaff44;
  border: 2px solid #00eaff;
  margin: 0 auto;
  letter-spacing: 1px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.nav-button::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 60% 40%, #fff8, transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}

.nav-button:hover, .nav-button:focus {
  background: radial-gradient(circle, #fff 0%, #b3e6ff 60%, #00eaff 100%);
  color: #001a33;
  transform: scale(1.04);
  box-shadow: 0 8px 32px 0 #00eaffcc, 0 1.5px 8px 0 #00eaff44;
}

/* Footer that matches button style */

.footer-container {
  background: rgba(30,30,40,0.95);
  color: #e0f7ff;
  font-size: 0.95rem;
  padding: 1.2rem 1rem 0.8rem 1rem;
  margin-top: 2.5rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 2px 16px 0 #00eaff99, 0 1.5px 8px 0 #00eaff44;
}

/* Subpage top nav bar */
.top-nav {
  background-color: #eee;
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #ccc;
}

.top-nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.top-nav a:hover {
  color: #007acc;
}

/* Main content area for subpages */
main {
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .main-container {
    max-width: 98vw;
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
  .logo-header h1 {
    font-size: 1.5rem;
  }
  .nav-button {
    font-size: 1.1rem;
    padding: 0.7rem 0;
    max-width: 98vw;
  }
  .logo-img {
    width: 80px;
  }
}