@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

.dark-luxury-rp-frame {
  --theme-color: #bb86fc;
  --theme-color-dark: color-mix(in srgb, var(--theme-color), #000 30%);
  
  max-width: 800px;
  margin: 25px auto;
  background: linear-gradient(145deg, #1a1a1a, #111111);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
              0 1px 3px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(40, 40, 40, 0.7);
  overflow: hidden;
  font-family: 'Bai Jamjuree', sans-serif;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-luxury-rp-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45),
              0 3px 8px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(50, 50, 50, 0.7);
}

.dark-luxury-rp-header {
  display: flex;
  align-items: center;
  padding: 20px 25px;
  background: linear-gradient(to right, #1d1d1d, #0f0f0f);
  position: relative;
}

.dark-luxury-rp-avatar-container {
  position: relative;
  margin-right: 20px;
  flex-shrink: 0;
}

.dark-luxury-rp-avatar-border {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3d3d3d, #1c1c1c);
    padding: 3px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(80, 80, 80, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.dark-luxury-rp-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #272727;
}

.dark-luxury-rp-status {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid #111;
  position: absolute;
  bottom: 5px;
  right: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.dark-luxury-rp-status.online {
  background-color: #4ecca3;
}

.dark-luxury-rp-status.offline {
  background-color: #9e9e9e;
}

.dark-luxury-rp-status.busy {
  background-color: #e74c3c;
}

.dark-luxury-rp-character-info {
  flex-grow: 1;
}

.dark-luxury-rp-character-name {
  margin: 0 0 3px 0;
  font-size: 22px;
  color: #e0e0e0;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dark-luxury-rp-title {
  color: #a0a0a0;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 10px;
}

.dark-luxury-rp-stats {
  display: flex;
  gap: 15px;
}

.dark-luxury-rp-stat {
  display: flex;
  align-items: center;
  font-size: 13px;
}

.dark-luxury-rp-stat-icon {
  color: var(--theme-color);
  font-weight: bold;
  margin-right: 5px;
  font-size: 14px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.dark-luxury-rp-stat-value {
  color: #bbbbbb;
}

.dark-luxury-rp-mood {
  text-align: center;
  background: linear-gradient(135deg, #1e1e1e 0%, #131313 100%);
  padding: 10px 15px;
  border-radius: 8px;
  min-width: 120px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2),
              0 0 0 1px rgba(60, 60, 60, 0.5);
}

.dark-luxury-rp-mood-title {
  font-size: 12px;
  color: #777777;
  margin-bottom: 3px;
}

.dark-luxury-rp-mood-value {
  font-size: 14px;
  color: #d0d0d0;
  font-weight: 500;
}

.dark-luxury-rp-divider {
  height: 1px;
  background: linear-gradient(to right, 
    transparent 0%, 
    rgba(80, 80, 80, 0.5) 20%, 
    rgba(100, 100, 100, 0.8) 50%, 
    rgba(80, 80, 80, 0.5) 80%, 
    transparent 100%);
  position: relative;
  margin: 0 20px;
}

.dark-luxury-rp-divider-gem {
  width: 20px;
  height: 20px;
  background: #1a1a1a;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid rgba(100, 100, 100, 0.8);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.dark-luxury-rp-divider-gem:after {
  content: '';
  width: 12px;
  height: 12px;
  position: absolute;
  top: 3px;
  left: 3px;
  background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-dark) 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.dark-luxury-rp-content-container {
  position: relative;
  background: linear-gradient(to bottom, #151515, #0d0d0d);
  padding: 5px;
}


.dark-luxury-rp-content-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0; 
    right: 0; 
    height: 20px;
    background: linear-gradient(to bottom, rgba(30, 30, 30, 0.7), transparent);
    z-index: 1;
}

.dark-luxury-rp-content {
  position: relative;
  padding: 25px 30px;
  color: #cccccc;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  text-align: justify;
  border-radius: 8px;
}

.dark-luxury-rp-content p {
  margin-bottom: 15px;
}

.dark-luxury-rp-content p:last-child {
  margin-bottom: 0;
}

.dark-luxury-rp-quote {
  color: var(--theme-color);
  font-weight: 500;
  font-style: italic;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.dark-luxury-rp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: linear-gradient(to right, #151515, #0d0d0d);
  border-top: 1px solid rgba(50, 50, 50, 0.7);
}

.dark-luxury-rp-tags {
  display: flex;
  gap: 8px;
}

.dark-luxury-rp-tag {
  background-color: #1e1e1e;
  color: #bbbbbb;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 30px;
  border: 1px solid rgba(70, 70, 70, 0.7);
  transition: all 0.2s ease;
}

.dark-luxury-rp-tag:hover {
  background-color: #2a2a2a;
  color: #dddddd;
  border-color: rgba(100, 100, 100, 0.7);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.dark-luxury-rp-time {
  font-size: 12px;
  color: #777777;
}

.dark-luxury-rp-frame:focus-within {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
              0 3px 8px rgba(0, 0, 0, 0.3),
              0 0 0 2px rgba(0, 0, 0, 0.3);
}

@keyframes dark-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(0, 0, 0, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

.dark-luxury-rp-frame:hover .dark-luxury-rp-avatar-border {
  animation: dark-pulse 2s infinite;
}

.dark-luxury-rp-frame:hover .dark-luxury-rp-divider-gem:after {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.dark-luxury-rp-frame:hover .dark-luxury-rp-divider-gem:after,
.dark-luxury-rp-stat-icon,
.dark-luxury-rp-quote {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 0 3px var(--theme-color));
}
