@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap');
body {
    font-family: Arial, sans-serif;
    background: #111216 url('https://images.unsplash.com/photo-1528164344705-47542687000d?q=80&w=1192&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wrapper {
    background: rgba(255,255,255,0.18);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.37);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    padding: 32px 24px;
    max-width: 700px;
}
.wrapper h1 {
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 24px;
    color: #2c3e50;
    line-height: 1.6rem;
}
.input-box {
    position: relative;
    margin-bottom: 18px;
    width: 100%;
    display: block;
}
.input-box input {
    width: 98%;
    display: block;
    margin: 0;
    padding: 10px 18px 10px 18px;
    border: none;
    border-radius: 999px;
    outline: none;
    font-size: 16px;
    transition: border 0.2s, box-shadow 0.2s;
    background: rgba(255,255,255,0.18);
    box-sizing: border-box;
    box-shadow: 0 2px 8px 0 rgba(31,38,135,0.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
}
.input-box input::placeholder {
    color: #e0e0e0;
    opacity: 1;
}
.input-box label {
    position: absolute;
    left: 12px;
    top: 48%;
    transform: translateY(-50%);
    background: transparent;
    color: #fff;
    font-size: 13px;
    padding: 0 4px;
    pointer-events: none;
    transition: 0.2s;
    max-width: calc(100% - 48px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.input-box input:focus + label,
.input-box input:not(:placeholder-shown) + label {
    top: -11px;
    left: 5px;
    font-size: 13px;
    color: #9d9c9c;
    padding: 2px 14px;
    transform: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.38);
    box-shadow: 0 2px 8px 0 rgba(31,38,135,0.08);
    display: inline-block;
}
.btn {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.22);
    border: none;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background 0.2s;
    box-shadow: 0 2px 8px 0 rgba(31,38,135,0.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-weight: bold;
}
.btn:hover {
    background: rgba(255,255,255,0.32);
}
.register-link {
    text-align: center;
}
.register-link a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    line-height: 2.2rem;
}
.register-link a:hover {
    text-decoration: underline;
}
@media (max-width: 480px) {
    .wrapper {
        width: 98vw;
        min-width: unset;
        padding: 24px 4vw;
        box-sizing: border-box;
    }
    .wrapper h1 {
        text-align: center;
        margin-left: 0;
    }
    .input-box input {
        width: 100%;
        margin-left: 0;
    }
}
.input-box input:focus,
.btn:focus {
    outline: none;
    box-shadow: none;
}
.eye-btn {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    z-index: 3;
    display: none;
}
.eye-btn img {
    width: 22px;
    height: 22px;
}
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-input-decoration,
input[type="password"]::-webkit-input-password-reveal,
input[type="password"]::-webkit-input-password-reveal-button {
    display: none !important;
}
.flash-message {
    position: fixed;
    top: 32px;
    right: 32px;
    background: rgba(220, 53, 69, 0.85);
    color: #fff;
    padding: 18px 32px;
    border-radius: 10px;
    font-size: 1.1rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    z-index: 9999;
    animation: fadeIn 0.4s;
}
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(52px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  border: none;
  box-shadow: none;
  outline: none;
  background: linear-gradient(
    to top,
    rgba(20,20,20,0.92) 0%,
    rgba(20,20,20,0.88) 18%,
    rgba(20,20,20,0.80) 36%,
    rgba(20,20,20,0.68) 54%,
    rgba(20,20,20,0.48) 72%,
    rgba(20,20,20,0.28) 86%,
    rgba(20,20,20,0.12) 94%,
    rgba(20,20,20,0.00) 100%
  );
}

.bottom-nav .nav-icon.active {
  color: #fff !important;
}

.gallery-section {
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.gallery-grid {
  width: 100vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  box-sizing: border-box;
}
.gallery-item {
  aspect-ratio: 1 / 2.3;
  border-radius: 14px;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery {
  height: 90vh;
  align-items: stretch;
}
@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
  }
  .gallery-item {
    border-radius: 0;
    aspect-ratio: 1 / 2.3;
  }
}
.hot-section {
  /* Hiệu ứng neumorphic chuẩn */
  background: #e0e5ec;
  box-shadow:
    8px 8px 16px #bebebe,
    -8px -8px 16px #ffffff;
  padding: 32px 16px;
  margin-bottom: 32px;
  transition: box-shadow 0.2s;
}
.hot-section:active,
.hot-section:hover {
  box-shadow:
    4px 4px 12px #bebebe,
    -4px -4px 12px #ffffff;
}
