html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f4f7fa; /* Light background for contrast */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Glassy Effect Base Style */
.glassy-effect {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    backdrop-filter: blur(10px); /* The core blurring effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari compatibility */
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 105, 0.37); /* Soft shadow */
    border: 1px solid rgba(255, 255, 255, 0.18); /* Light border */
}

/* General Modern Styling Enhancements */
.card.glassy-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.glassy-effect:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Specific styling for the arcade container (to be added later) */
#arcade-container {
    height: 500px; /* Fixed height for the 3D canvas area */
    background-color: #1a1a2e; /* Dark background for a futuristic/game feel */
    border-radius: 15px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Navbar adjustments to ensure glassy effect works well */
.navbar {
    background-color: rgba(255, 255, 255, 0.8) !important; /* Slightly opaque white for better readability */
    backdrop-filter: blur(10px);
}

/* Form elements within glassy containers */
.glassy-effect .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Buttons */
.btn-primary.glassy-effect {
    background-color: #4a90e2 !important; /* Primary color for buttons */
    border-color: #4a90e2 !important;
}
.btn-primary.glassy-effect:hover {
    background-color: #357abd !important;
    border-color: #357abd !important;
}

/* Utility for spacing */
.mt-5 { margin-top: 5rem !important; }
.mb-5 { margin-bottom: 5rem !important; }