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

body {
  font-family: "Arial", sans-serif;
  background: #000;
  overflow-x: hidden;
}

/* 开场动画 */
.intro-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOut 0.5s ease-out 2.5s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.intro-content {
  text-align: center;
}

.rings-container {
  position: relative;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  font-size: 80px;
  position: absolute;
  animation: ringMerge 2s ease-in-out forwards;
}

.ring-left {
  left: -100px;
  animation: ringMergeLeft 2s ease-in-out forwards;
}

.ring-right {
  right: -100px;
  animation: ringMergeRight 2s ease-in-out forwards;
}

@keyframes ringMergeLeft {
  0% {
    transform: translateX(0) scale(0.8);
    opacity: 0.5;
  }
  60% {
    transform: translateX(80px) scale(1);
    opacity: 1;
  }
  80% {
    transform: translateX(80px) scale(1.1);
    opacity: 1;
    filter: brightness(1.5);
  }
  100% {
    transform: translateX(80px) scale(1);
    opacity: 1;
  }
}

@keyframes ringMergeRight {
  0% {
    transform: translateX(0) scale(0.8);
    opacity: 0.5;
  }
  60% {
    transform: translateX(-80px) scale(1);
    opacity: 1;
  }
  80% {
    transform: translateX(-80px) scale(1.1);
    opacity: 1;
    filter: brightness(1.5);
  }
  100% {
    transform: translateX(-80px) scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.loading-bar {
  width: 250px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 30px auto 0;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, #c17a4f, #a0522d, #d4a574);
  border-radius: 10px;
  animation: loadProgress 2s ease-out forwards;
}

@keyframes loadProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* 粒子背景 */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
}

/* 照片画廊 */
.gallery {
  min-height: 100vh;
  padding: 80px 40px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: galleryFadeIn 1s ease-out 3s forwards;
}

@keyframes galleryFadeIn {
  to {
    opacity: 1;
  }
}

.photo-grid {
  columns: 5 280px;
  column-gap: 20px;
  max-width: 1800px;
  margin: 0 auto;
}

.photo-card {
  position: relative;
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  animation: photoFadeIn 0.6s ease-out backwards;
  background: #111;
}

@keyframes photoFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.photo-card:hover {
  transform: scale(1.05);
}

.photo-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* 浮动照片背景 */
.floating-photos {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-photo {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 8px;
  opacity: 0.05;
  animation: float 30s infinite ease-in-out;
  filter: blur(3px);
}

.floating-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(100px, -150px) rotate(5deg);
  }
  66% {
    transform: translate(-80px, -100px) rotate(-5deg);
  }
}

/* 动画延迟 */
.photo-card:nth-child(1) {
  animation-delay: 0s;
}
.photo-card:nth-child(2) {
  animation-delay: 0.05s;
}
.photo-card:nth-child(3) {
  animation-delay: 0.1s;
}
.photo-card:nth-child(4) {
  animation-delay: 0.15s;
}
.photo-card:nth-child(5) {
  animation-delay: 0.2s;
}
.photo-card:nth-child(6) {
  animation-delay: 0.25s;
}
.photo-card:nth-child(7) {
  animation-delay: 0.3s;
}
.photo-card:nth-child(8) {
  animation-delay: 0.35s;
}
.photo-card:nth-child(9) {
  animation-delay: 0.4s;
}
.photo-card:nth-child(10) {
  animation-delay: 0.45s;
}
.photo-card:nth-child(n + 11) {
  animation-delay: 0.5s;
}

/* 响应式 */
@media (max-width: 1400px) {
  .photo-grid {
    columns: 4 280px;
  }
}

@media (max-width: 1200px) {
  .photo-grid {
    columns: 3 280px;
  }
}

@media (max-width: 900px) {
  .gallery {
    padding: 60px 20px;
  }

  .photo-grid {
    columns: 2 280px;
    column-gap: 15px;
  }

  .photo-card {
    margin-bottom: 15px;
  }
}

@media (max-width: 600px) {
  .photo-grid {
    columns: 1;
  }

  .camera-icon {
    font-size: 70px;
  }

  .loading-bar {
    width: 180px;
  }
}

/* 灯箱放大 */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox.active {
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(193, 122, 79, 0.5);
  animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  font-size: 40px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10001;
}

.lightbox-close:hover {
  color: #d4a574;
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  cursor: pointer;
  padding: 20px;
  transition: all 0.3s;
  user-select: none;
  z-index: 10001;
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: #d4a574;
  transform: translateY(-50%) scale(1.2);
}

.lightbox-counter {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 20px;
  border-radius: 20px;
}

/* 响应式灯箱 */
@media (max-width: 768px) {
  .lightbox-prev {
    left: 10px;
    font-size: 35px;
  }

  .lightbox-next {
    right: 10px;
    font-size: 35px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 35px;
  }

  .lightbox-counter {
    bottom: 20px;
    font-size: 14px;
  }
}

/* 照片卡片交互层 */
.photo-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.photo-card:hover .photo-card-overlay {
  transform: translateY(0);
}

.photo-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.like-btn,
.comment-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.like-btn:hover,
.comment-btn:hover {
  background: rgba(193, 122, 79, 0.5);
  transform: scale(1.05);
}

.like-btn.liked {
  background: rgba(255, 59, 92, 0.6);
  color: #ff3b5c;
}

.like-btn.liked:hover {
  background: rgba(255, 59, 92, 0.8);
}

/* 灯箱评论区 */
.lightbox-sidebar {
  position: absolute;
  right: -400px;
  top: 0;
  width: 380px;
  height: 100%;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  padding: 30px 20px;
  overflow-y: auto;
  transition: right 0.3s ease;
  border-left: 1px solid rgba(193, 122, 79, 0.3);
}

.lightbox.show-comments .lightbox-sidebar {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h3 {
  color: white;
  font-size: 18px;
  margin: 0;
}

.close-sidebar {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.close-sidebar:hover {
  color: #d4a574;
  transform: rotate(90deg);
}

.lightbox-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.lightbox-like-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  padding: 12px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
}

.lightbox-like-btn:hover {
  background: rgba(193, 122, 79, 0.5);
  transform: scale(1.02);
}

.lightbox-like-btn.liked {
  background: rgba(255, 59, 92, 0.6);
  color: #ff3b5c;
}

.comment-input-area {
  margin-bottom: 25px;
}

.comment-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
  transition: all 0.3s;
}

.comment-input:focus {
  outline: none;
  border-color: #c17a4f;
  background: rgba(255, 255, 255, 0.08);
}

.comment-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.comment-submit {
  width: 100%;
  background: linear-gradient(135deg, #c17a4f, #a0522d);
  border: none;
  color: white;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s;
}

.comment-submit:hover {
  background: linear-gradient(135deg, #d4a574, #c17a4f);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(193, 122, 79, 0.4);
}

.comment-submit:active {
  transform: translateY(0);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comment-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid #c17a4f;
  animation: commentSlideIn 0.3s ease-out;
}

@keyframes commentSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.comment-author {
  color: #d4a574;
  font-size: 14px;
  font-weight: bold;
}

.comment-time {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.comment-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}

.comment-delete {
  background: none;
  border: none;
  color: rgba(255, 59, 92, 0.7);
  cursor: pointer;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s;
  margin-top: 8px;
}

.comment-delete:hover {
  background: rgba(255, 59, 92, 0.2);
  color: #ff3b5c;
}

.no-comments {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  padding: 40px 20px;
  font-size: 14px;
}

/* 响应式评论区 */
@media (max-width: 1200px) {
  .lightbox-sidebar {
    width: 100%;
    right: -100%;
    top: auto;
    bottom: 0;
    height: 60%;
    border-left: none;
    border-top: 1px solid rgba(193, 122, 79, 0.3);
  }

  .lightbox.show-comments .lightbox-sidebar {
    right: 0;
  }
}

@media (max-width: 768px) {
  .lightbox-sidebar {
    height: 70%;
  }
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c17a4f, #a0522d);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #a0522d, #d4a574);
}

.lightbox-sidebar::-webkit-scrollbar {
  width: 6px;
}

.lightbox-sidebar::-webkit-scrollbar-thumb {
  background: rgba(193, 122, 79, 0.5);
  border-radius: 3px;
}

/* 弹幕容器 */
.danmaku-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}

/* 弹幕项 */
.danmaku-item {
  position: absolute;
  right: -100%;
  white-space: nowrap;
  font-size: 24px;
  font-weight: bold;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.8),
    -1px -1px 2px rgba(0, 0, 0, 0.5);
  animation: danmakuMove 15s linear forwards;
  padding: 8px 15px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

.danmaku-item strong {
  color: #ffd700;
  margin-right: 8px;
}

@keyframes danmakuMove {
  from {
    right: -100%;
  }
  to {
    right: 110%;
  }
}

/* 弹幕输入框容器 */
.danmaku-input-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  animation: slideUp 0.5s ease-out 3.5s backwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.danmaku-input-box {
  display: flex;
  gap: 10px;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(20px);
  padding: 15px 20px;
  border-radius: 50px;
  border: 2px solid rgba(193, 122, 79, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
}

.danmaku-input-box:hover {
  border-color: rgba(193, 122, 79, 0.8);
  box-shadow: 0 8px 32px rgba(193, 122, 79, 0.3);
}

.danmaku-input {
  flex: 1;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
}

.danmaku-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #c17a4f;
}

.danmaku-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.danmaku-author {
  width: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  text-align: center;
  transition: all 0.3s;
}

.danmaku-author:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #c17a4f;
}

.danmaku-author::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.danmaku-send-btn {
  background: linear-gradient(135deg, #c17a4f, #a0522d);
  border: none;
  color: white;
  padding: 10px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.3s;
  white-space: nowrap;
}

.danmaku-send-btn:hover {
  background: linear-gradient(135deg, #d4a574, #c17a4f);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(193, 122, 79, 0.5);
}

.danmaku-send-btn:active {
  transform: translateY(0);
}

.danmaku-send-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 响应式弹幕 */
@media (max-width: 900px) {
  .danmaku-item {
    font-size: 20px;
    padding: 6px 12px;
  }

  .danmaku-input-container {
    bottom: 20px;
    left: 20px;
    right: 20px;
    transform: none;
  }

  .danmaku-input-box {
    flex-wrap: wrap;
    padding: 12px 15px;
    border-radius: 20px;
  }

  .danmaku-input {
    min-width: 100%;
    order: 1;
  }

  .danmaku-author {
    flex: 1;
    order: 2;
  }

  .danmaku-send-btn {
    flex: 1;
    order: 3;
  }
}

@media (max-width: 600px) {
  .danmaku-item {
    font-size: 16px;
    padding: 5px 10px;
  }

  .danmaku-input {
    font-size: 14px;
    padding: 8px 15px;
  }

  .danmaku-author {
    font-size: 13px;
    padding: 8px 12px;
  }

  .danmaku-send-btn {
    font-size: 14px;
    padding: 8px 20px;
  }
}

/* 用户面板 */
.user-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  animation: slideIn 0.5s ease-out 3.5s backwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(20px);
  padding: 12px 20px;
  border-radius: 30px;
  border: 2px solid rgba(193, 122, 79, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
}

.user-info:hover {
  border-color: rgba(193, 122, 79, 0.8);
  box-shadow: 0 4px 20px rgba(193, 122, 79, 0.3);
}

.user-icon {
  font-size: 20px;
}

.user-name {
  color: white;
  font-size: 15px;
  font-weight: bold;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-edit-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  transition: all 0.3s;
  opacity: 0.6;
}

.user-edit-btn:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* 通知提示 */
.notification {
  position: fixed;
  top: 80px;
  right: 20px;
  background: rgba(193, 122, 79, 0.95);
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease-out;
  font-size: 14px;
  font-weight: bold;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

/* 弹幕昵称显示 */
.danmaku-author-display {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(193, 122, 79, 0.3);
  padding: 10px 18px;
  border-radius: 25px;
  border: 1px solid rgba(193, 122, 79, 0.5);
  min-width: 100px;
  justify-content: center;
}

.author-icon {
  font-size: 16px;
}

.author-name {
  color: white;
  font-size: 14px;
  font-weight: bold;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 响应式用户面板 */
@media (max-width: 900px) {
  .user-panel {
    top: 10px;
    right: 10px;
  }

  .user-info {
    padding: 10px 15px;
  }

  .user-icon {
    font-size: 18px;
  }

  .user-name {
    font-size: 14px;
    max-width: 100px;
  }

  .user-edit-btn {
    font-size: 14px;
  }

  .notification {
    top: 60px;
    right: 10px;
    left: 10px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .danmaku-author-display {
    min-width: auto;
    padding: 8px 15px;
  }

  .author-name {
    max-width: 80px;
    font-size: 13px;
  }
}

/* 自定义对话框 */
.custom-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.custom-dialog-overlay.show {
  opacity: 1;
}

.custom-dialog-overlay.closing {
  opacity: 0;
}

.custom-dialog {
  background: linear-gradient(
    135deg,
    rgba(30, 30, 30, 0.98),
    rgba(20, 20, 20, 0.98)
  );
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(193, 122, 79, 0.5);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.custom-dialog-overlay.show .custom-dialog {
  transform: scale(1);
}

.custom-dialog-overlay.closing .custom-dialog {
  transform: scale(0.9);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid rgba(193, 122, 79, 0.3);
  background: rgba(193, 122, 79, 0.1);
}

.dialog-header h3 {
  margin: 0;
  color: white;
  font-size: 20px;
  font-weight: bold;
}

.dialog-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 32px;
  cursor: pointer;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
  line-height: 1;
}

.dialog-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: rotate(90deg);
}

.dialog-body {
  padding: 30px;
}

.dialog-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(193, 122, 79, 0.3);
  color: white;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s;
  font-family: inherit;
}

.dialog-input:focus {
  border-color: #c17a4f;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(193, 122, 79, 0.1);
}

.dialog-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.dialog-hint {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  text-align: center;
}

.dialog-footer {
  display: flex;
  gap: 15px;
  padding: 20px 30px 30px;
}

.dialog-btn {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.dialog-btn-cancel {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dialog-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateY(-2px);
}

.dialog-btn-confirm {
  background: linear-gradient(135deg, #c17a4f, #a0522d);
  color: white;
  box-shadow: 0 4px 15px rgba(193, 122, 79, 0.3);
}

.dialog-btn-confirm:hover {
  background: linear-gradient(135deg, #d4a574, #c17a4f);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 122, 79, 0.5);
}

.dialog-btn-confirm:active,
.dialog-btn-cancel:active {
  transform: translateY(0);
}

/* 响应式对话框 */
@media (max-width: 600px) {
  .custom-dialog {
    width: 95%;
    max-width: none;
    border-radius: 16px;
  }

  .dialog-header {
    padding: 20px 20px;
  }

  .dialog-header h3 {
    font-size: 18px;
  }

  .dialog-close {
    font-size: 28px;
    width: 32px;
    height: 32px;
  }

  .dialog-body {
    padding: 25px 20px;
  }

  .dialog-input {
    padding: 12px 16px;
    font-size: 15px;
  }

  .dialog-footer {
    padding: 15px 20px 25px;
    gap: 12px;
  }

  .dialog-btn {
    padding: 12px 16px;
    font-size: 15px;
  }
}

/* 备案信息 */
.icp-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  text-align: center;
  z-index: 999;
  border-top: 1px solid rgba(193, 122, 79, 0.2);
  animation: footerFadeIn 1s ease-out 3.5s backwards;
}

@keyframes footerFadeIn {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.icp-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* 响应式备案信息 */
@media (max-width: 600px) {
  .icp-footer {
    padding: 10px 15px;
  }

  .icp-footer p {
    font-size: 12px;
  }
}
