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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: #1c1e21;
  min-height: 100vh;
}

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Main Split Layout --- */
.split-main {
  flex: 1;
  display: flex;
  border-bottom: 1px solid #e4e6eb;
}

/* --- Left Showcase Pane --- */
.showcase-pane {
  flex: 1;
  background-color: #ffffff;
  padding: 28px 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.brand-glyph {
  align-self: flex-start;
}

/* --- Center Layered Collage --- */
.collage-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}

.collage-wrapper {
  position: relative;
  width: 420px;
  height: 410px;
}

.badge-emoji {
  position: absolute;
  top: 22px;
  left: 16px;
  font-size: 36px;
  transform: rotate(-12deg);
  z-index: 4;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
}

.card-marketplace {
  position: absolute;
  top: 76px;
  left: 34px;
  width: 170px;
  height: 185px;
  border-radius: 18px;
  overflow: hidden;
  background: #f0f2f5;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  z-index: 1;
}

.card-marketplace img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: #1c1e21;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-story {
  position: absolute;
  top: 0;
  left: 145px;
  width: 205px;
  height: 330px;
  border-radius: 22px;
  overflow: visible;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.card-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.time-pill {
  position: absolute;
  top: 38px;
  right: -18px;
  background-color: #6b5ce7;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(107, 92, 231, 0.35);
}

.story-bottom-bar {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.story-input-outline {
  flex: 1;
  height: 24px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.story-circle-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.card-post {
  position: absolute;
  bottom: 24px;
  left: 72px;
  width: 155px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
  z-index: 3;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.post-badge {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background-color: #0866ff;
  color: #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.line-short {
  width: 58px;
  height: 6px;
  border-radius: 4px;
  background-color: #e4e6eb;
}

.line-shorter {
  width: 36px;
  height: 5px;
  border-radius: 4px;
  background-color: #f0f2f5;
}

.card-post img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.post-footer {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  font-size: 13px;
}

.badge-heart {
  position: absolute;
  bottom: 115px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2d55, #ff5e7e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(255, 45, 85, 0.35);
  z-index: 4;
}

.badge-avatar {
  position: absolute;
  bottom: 0;
  right: 120px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 4px;
  background-color: #ffffff;
  border: 3px solid #0866ff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  z-index: 4;
}

.badge-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* --- Bottom-left Hero Tagline --- */
.hero-copy h1 {
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  color: #1c1e21;
  letter-spacing: -0.5px;
}

.blue-text {
  color: #0866ff;
}

/* --- Right Login Panel --- */
.login-pane {
  width: 480px;
  background-color: #ffffff;
  border-left: 1px solid #e4e6eb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.login-box {
  width: 100%;
  max-width: 360px;
}

.mobile-glyph {
  display: none;
  justify-content: center;
  margin-bottom: 48px;
}

.login-heading {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1c1e21;
  text-align: left;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.field-wrap input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  background-color: #ffffff;
  border: 1px solid #ccd0d5;
  border-radius: 14px;
  color: #1c1e21;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-wrap input::placeholder {
  color: #65676b;
}

.field-wrap input:focus {
  border-color: #1c1e21;
  box-shadow: 0 0 0 1px #1c1e21;
}

.toggle-btn {
  display: none;
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: #1c1e21;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  margin-top: 4px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background-color: #0866ff;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #0055e0;
}

.forgot-link {
  display: block;
  text-align: center;
  margin: 16px 0 36px;
  color: #1c1e21;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.secondary-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-create {
  height: 44px;
  border-radius: 999px;
  border: 1px solid #0866ff;
  color: #0866ff;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-create:hover {
  background-color: #f0f6ff;
}

.meta-brand {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #4b4f56;
  letter-spacing: 0.3px;
}

/* --- Footer --- */
.site-footer {
  background-color: #ffffff;
  padding: 20px 24px 32px;
  font-size: 12px;
  color: #737373;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
}

.footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 10px;
}

.active-lang {
  color: #737373;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  line-height: 1.5;
}

.site-footer a {
  color: #737373;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* --- Responsive Mobile & Tablet View --- */
@media (max-width: 900px) {
  .showcase-pane {
    display: none;
  }

  .login-pane {
    width: 100%;
    border-left: none;
    align-items: flex-start;
    padding: 40px 20px 32px;
  }

  .login-box {
    margin: 0 auto;
    max-width: 390px;
  }

  .mobile-glyph {
    display: flex;
  }

  .login-heading {
    display: block;
  }

  .site-footer {
    border-top: 1px solid #e4e6eb;
    padding: 18px 20px 28px;
  }
}
