* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', 'Trebuchet MS', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.ocean {
  position: relative;
  min-height: 100vh;
  /* Original-Seitenhintergrund (mit Muschel, Truhe und Holzplanke);
     Farbverlauf als Fallback, solange das Bild lädt */
  background:
    url('/assets/background/bg_land.jpg') center / cover no-repeat,
    linear-gradient(180deg, #66c6e8 0%, #2e8fc4 25%, #1a6aa8 55%, #0c3a66 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* Blasen */
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.85), rgba(255,255,255,.15) 45%, rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.35);
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: .9; }
  100% { transform: translateY(-105vh) translateX(30px); opacity: 0; }
}

.landing {
  position: relative;
  z-index: 2;
  width: min(440px, 92vw);
  padding: 48px 0 110px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.logo { text-align: center; }
.logo img {
  width: min(420px, 88vw);
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45));
}
.tagline {
  margin-top: 10px;
  text-align: center;
  color: #eaf6ff;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  font-size: 1.05rem;
}

.auth-card {
  width: 100%;
  background: linear-gradient(180deg, #fdf3dc, #f7e3b5);
  border: 4px solid #b06f24;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 2px 0 rgba(255,255,255,.7);
  padding: 22px 26px 26px;
}

.tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.tab {
  flex: 1;
  padding: 10px;
  border: 2px solid #b06f24;
  border-radius: 12px;
  background: #f0d9a8;
  color: #7c4a10;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all .15s;
}
.tab.active {
  background: linear-gradient(180deg, #ffc94d, #f5a623);
  color: #5d3608;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.6);
}

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form.hidden { display: none; }

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: #7c4a10;
  font-size: .95rem;
}
.auth-form small { font-weight: 400; color: #a17334; }

.auth-form input {
  padding: 11px 14px;
  border: 2px solid #c98d3f;
  border-radius: 12px;
  background: #fffdf6;
  font-size: 1rem;
  outline: none;
}
.auth-form input:focus { border-color: #2e8fc4; box-shadow: 0 0 0 3px rgba(46,143,196,.25); }

.btn-primary {
  margin-top: 6px;
  padding: 13px;
  border: 3px solid #8a4b12;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffd23f, #f59e0b);
  color: #5d3608;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 0 #8a4b12, inset 0 2px 0 rgba(255,255,255,.6);
  transition: transform .1s, box-shadow .1s;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 #8a4b12; }

.error {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ffe3e3;
  border: 2px solid #d64545;
  color: #a12626;
  font-weight: 600;
  text-align: center;
}
.error.hidden { display: none; }

.features {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  color: #f0f9ff;
  font-weight: 600;
  font-size: .9rem;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.feature span { font-size: 1.2rem; }
