* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(145deg, #0b0b12 0%, #1a1025 40%, #0f1a2a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
}

.watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 150, 200, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: 6px;
  text-shadow: 0 0 50px rgba(255, 100, 150, 0.02);
  animation: pulseWater 7s ease-in-out infinite;
}

@keyframes pulseWater {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) rotate(-15deg) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) rotate(-15deg) scale(1.04); }
}

.container {
  max-width: 820px;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 40px;
  padding: 36px 30px 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.logo-wrapper {
  text-align: center;
  margin-bottom: 20px;
}

.logo-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 2px;
  animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

h1 {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f8a5b8, #ff6b8a, #ff4d7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1.5px;
  text-shadow: 0 0 40px rgba(255, 80, 130, 0.15);
  animation: glowPink 4s ease-in-out infinite;
}

@keyframes glowPink {
  0%, 100% { filter: drop-shadow(0 0 15px rgba(255, 80, 130, 0.08)); }
  50% { filter: drop-shadow(0 0 35px rgba(255, 80, 130, 0.2)); }
}

.subtitle {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  letter-spacing: 3px;
  margin-top: 2px;
  font-weight: 300;
}

.email-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.email-box input {
  flex: 1;
  min-width: 150px;
  background: transparent;
  border: none;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: #e8e0e0;
  outline: none;
}

.email-box input::selection {
  background: rgba(255, 80, 130, 0.2);
}

.email-box button {
  padding: 8px 16px;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  color: #bbb;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.email-box button:hover {
  background: rgba(255, 80, 130, 0.12);
  color: #fff;
  border-color: rgba(255, 80, 130, 0.2);
  transform: scale(1.02);
}

.email-box button:active {
  transform: scale(0.94);
}

.email-box .set-btn {
  background: rgba(0, 200, 255, 0.08);
  border-color: rgba(0, 200, 255, 0.15);
  color: #6bcfff;
}

.email-box .set-btn:hover {
  background: rgba(0, 200, 255, 0.18);
  border-color: rgba(0, 200, 255, 0.3);
  color: #fff;
}

.domain-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 6px 16px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.domain-selector label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
}

.domain-selector select {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  color: #ccc;
  border: none;
  border-radius: 30px;
  padding: 8px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  transition: 0.2s;
}

.domain-selector select:hover {
  background: rgba(255, 80, 130, 0.08);
}

.domain-selector select option {
  background: #1a1025;
  color: #ccc;
}

.inbox {
  min-height: 240px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 4px;
  scroll-behavior: smooth;
}

.inbox::-webkit-scrollbar {
  width: 4px;
}

.inbox::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.inbox::-webkit-scrollbar-thumb {
  background: rgba(255, 80, 130, 0.2);
  border-radius: 10px;
}

.empty {
  text-align: center;
  padding: 50px 0;
  color: rgba(255, 255, 255, 0.15);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.mail {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 16px 20px;
  margin-bottom: 12px;
  border-left: 3px solid rgba(255, 80, 130, 0.2);
  transition: all 0.25s ease;
  animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
  0% { opacity: 0; transform: translateX(-12px); }
  100% { opacity: 1; transform: translateX(0); }
}

.mail:hover {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: #ff6b8a;
}

.mail-header {
  display: flex;
  justify-content: space-between;
  color: #aaa;
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.mail-header strong {
  color: #ddd;
}

.mail-subject {
  font-weight: 600;
  color: #f0f0f0;
  margin: 4px 0 6px;
}

.mail-body {
  color: #b0b0b0;
  font-size: 0.9rem;
  word-wrap: break-word;
  line-height: 1.5;
}

.mail button {
  background: rgba(255, 70, 70, 0.08);
  border: none;
  color: #ff6b6b;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  cursor: pointer;
  margin-top: 8px;
  transition: 0.2s;
}

.mail button:hover {
  background: rgba(255, 70, 70, 0.2);
  transform: scale(1.03);
}

.footer {
  text-align: center;
  margin-top: 22px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 14px;
}

@media (max-width: 540px) {
  .container {
    padding: 22px 14px;
  }
  .email-box {
    border-radius: 30px;
    padding: 10px 12px;
  }
  .email-box input {
    font-size: 0.8rem;
    min-width: 100px;
  }
  .domain-selector {
    flex-wrap: wrap;
    padding: 6px 12px;
  }
  .watermark {
    font-size: 1.8rem;
    transform: translate(-50%, -50%) rotate(-12deg);
  }
  h1 {
    font-size: 1.7rem;
  }
}
