* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(180deg, #e8e8e8 0%, #BCD1D1 100%);
  padding: 20px;
  line-height: 1.5;
}

/* Top Bar */
.topbar {
  background: #b8b8b8;
  border-radius: 20px;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 780px;
  margin: 0 auto 12px auto;
}

.nav-links {
  font-size: 14px;
  color: #2a2a2a;
}

.nav-links a {
  color: #2a2a2a;
  text-decoration: underline;
}

.username {
  font-size: 14px;
  color: #2a2a2a;
}

/* Main Card */
.card {
  background: #bfbfbf;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-width: 780px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}

/* Left Column */
.left-column {
  border-right: 2px solid #e0e0e0;
  padding-right: 35px;
}

.avatar-section {
  text-align: center;
  margin-bottom: 30px;
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 12px;
  background: #f0f0f0;
}

.avatar-label {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.separator {
  border: none;
  border-bottom: 2px solid #1a1a1a;
  margin: 15px 0;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 20px;
  margin-top: 10px;
}

.control-btn {
  cursor: pointer;
  user-select: none;
  color: #1a1a1a;
}

.warning-section {
  margin-bottom: 25px;
}

.warning-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.warning-text {
  font-size: 13px;
  line-height: 1.6;
  color: #2a2a2a;
}

.section {
  margin-bottom: 25px;
}

.section-title {
  font-weight: 700;
  font-size: 15px;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 4px;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.section-content {
  font-size: 13px;
  line-height: 1.6;
  color: #2a2a2a;
}

/* Right Column */
.right-column {
  padding-left: 10px;
}

.hello-header {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 25px;
  color: #1a1a1a;
}

.info-section {
  margin-bottom: 25px;
}

.info-text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
  font-family: monospace;
  color: #1a1a1a;
}

.character-images {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.character-images img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  background: #f0f0f0;
}

.info-box {
  background: #DCE0E0;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
}

.box-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 4px;
  color: #1a1a1a;
}

.box-content {
  font-size: 13px;
  line-height: 1.7;
  color: #2a2a2a;
  margin-bottom: 15px;
}

.character-row {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.character-row img {
  width: 55px;
  height: 55px;
  border-radius: 6px;
  object-fit: cover;
  background: #f0f0f0;
}

.note {
  font-size: 12px;
  line-height: 1.6;
  color: #4a4a4a;
  background: #eeeeee;
  padding: 10px;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 25px;
  }
  
  .left-column {
    border-right: none;
    border-bottom: 2px solid #e0e0e0;
    padding-right: 0;
    padding-bottom: 30px;
  }
  
  .right-column {
    padding-left: 0;
  }
}
#rain-container {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 100;
}

.rain-drop {
  position: absolute;
  top: -30px;
  width: 2.2px;
  height: 18px;
  background: linear-gradient(
    to bottom,
    #7ba9ce 0%,  #466689 70%, rgba(40, 60, 80, 0.15) 100%
  );
  border-radius: 2px;
  opacity: 0.5;
  animation: rainfall linear forwards;
}

@keyframes rainfall {
  from { top: -30px; }
  to   { top: 98vh; }
}
