/* Realm Onboarding Screen & 3D Glass Liquid Capsule */
.onboarding-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 48px 24px 36px 24px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.onboarding-brand {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.onboarding-logo,
.realm-logo-reveal {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  object-fit: cover;
  margin-bottom: 24px;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.35);
}

.onboarding-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.onboarding-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.onboarding-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding: 0 10px;
}

.onboarding-legal {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.onboarding-legal a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.onboarding-legal a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* --- 3D Glass Liquid Wave Capsule Button --- */
.btn-water-container {
  width: 100%;
}

.btn-water {
  position: relative;
  width: 100%;
  height: 64px;
  border-radius: 32px;
  border: 2px solid rgba(0, 242, 254, 0.8);
  outline: none;
  background: #010a18;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4), inset 0 0 15px rgba(0, 242, 254, 0.3);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Smooth zoom tactile feedback without tap boxes */
.btn-water:active {
  transform: scale(0.96);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.6), inset 0 0 20px rgba(0, 242, 254, 0.5);
}

/* Glass Inner Reflection Top Highlight */
.btn-water::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 10%;
  width: 80%;
  height: 35%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 20px 20px 50% 50%;
  z-index: 4;
  pointer-events: none;
}

/* Deep Water Fill Base */
.water-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #004b87 0%, #001e3d 100%);
  z-index: 1;
}

/* Liquid Rolling Wave Layer 1 */
.water-wave-1 {
  position: absolute;
  top: -60%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(0, 242, 254, 0.85);
  border-radius: 38%;
  animation: waveRotate1 5s linear infinite;
  z-index: 2;
}

/* Liquid Rolling Wave Layer 2 (Depth & Contrast) */
.water-wave-2 {
  position: absolute;
  top: -55%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(0, 114, 255, 0.6);
  border-radius: 35%;
  animation: waveRotate2 8s linear infinite;
  z-index: 2;
}

@keyframes waveRotate1 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes waveRotate2 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

/* Button Text Styling */
.btn-water .btn-text {
  position: relative;
  z-index: 5;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.8), 0 2px 4px rgba(0, 0, 0, 0.9);
}
