/* 主题变量 */
:root {
  /* 亮色主题变量 */
  --primary-color: #4361ee;
  --text-color: #333;
  --bg-color: #f8f9fa;
  --card-bg: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --accent-color: #f72585;
  --border-color: #e9ecef;
}

.dark-theme {
  /* 暗色主题变量 */
  --primary-color: #4895ef;
  --text-color: #f8f9fa;
  --bg-color: #121212;
  --card-bg: #1e1e1e;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  --accent-color: #b5179e;
  --border-color: #343a40;
}

/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

body {
  min-height: 100vh;
  color: var(--text-color);
  background-image: url('https://tse1-mm.cn.bing.net/th/id/OIP-C.0ljqwoYBob70QUmzDohTqgAAAA?dpr=2.7&pid=ImgDetMain'); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  background-attachment: fixed; /* 固定背景不动 */
  overflow-x: hidden; 
  padding: 20px; 
  transition: background 0.5s ease, color 0.5s ease, opacity 0.5s ease; 
  position: relative;
  opacity: 0;
  animation: fadeInBody 1.2s ease forwards;
}

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

/* 手机端背景 - 使用新链接 */
@media (max-width: 768px) {
  body {
    background-image: url('https://img.wjwj.top/2025/06/24/32a54bd7df274fae4baf9bb2be7af414.jpeg');
    background-size: cover;
    background-position: center;
  }
}

/* 添加半透明覆盖层增强文本可读性 */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 40px;
}

/* =============================== */
/* 增强卡片毛玻璃效果 */
/* =============================== */

/* 通用卡片模糊效果 */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  transform: translateY(20px);
  opacity: 0;
  animation: cardAppear 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: calc(var(--card-order) * 0.1s);
}

@keyframes cardAppear {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 应用于所有卡片元素 */
.instructions,
.glass-container,
.photo-item,
.student-card,
.timeline-content,
.speech-item,
.comment-form,
.roster-container .student-card,
.photo-grid .photo-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  animation: cardAppear 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: calc(var(--card-order) * 0.1s);
}

/* 调整特定元素的透明度 */
.instructions {
  background: rgba(255, 255, 255, 0.15);
}

.student-card {
  background: rgba(255, 255, 255, 0.12);
}

.speech-item {
  background: rgba(255, 255, 255, 0.15);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.comment-form {
  background: rgba(255, 255, 255, 0.15);
}

/* 卡片悬停效果增强 */
.glass-card:hover,
.instructions:hover,
.glass-container:hover,
.photo-item:hover,
.student-card:hover,
.timeline-content:hover,
.speech-item:hover,
.comment-form:hover {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

/* =============================== */
/* 原有样式保留 */
/* =============================== */

/* 主题切换按钮 */
.theme-switch {
  position: fixed;
  top: 60px;
  right: 20px;
  z-index: 2000;
  cursor: move;
  user-select: none;
  transition: transform 0.2s ease;
}

.theme-switch.dragging {
  cursor: grabbing;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.theme-switch button {
  background: var(--card-bg);
  color: var(--text-color);
  border: none;
  border-radius: 30px;
  padding: 12px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  font-weight: 500;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.theme-switch button:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
}

.theme-switch button:active {
  transform: translateY(1px);
}

.instructions {
  border-radius: 12px;
  padding: 25px;
  max-width: 600px;
  margin: 20px auto 40px;
}

.instructions h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.instructions ul {
  padding-left: 20px;
}

.instructions li {
  margin: 12px 0;
  line-height: 1.6;
  color: var(--text-color);
}

.footer {
  margin-top: auto;
  padding: 20px;
  text-align: center;
  color: var(--text-color);
  opacity: 0.7;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2.2rem;
  }

  .content {
    flex-direction: column;
    align-items: center;
  }

  .theme-switch {
    top: 20px;
    right: 20px;
  }
}


/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}


/* 修复黑夜模式登录按钮可见性问题 */
[data-theme="dark"] .nav-links a#authBtn {
  color: var(--accent-color);
  background: rgba(255, 215, 0, 0.1);
  padding: 5px 10px;
  border-radius: 5px;
}

.nav-links a.active, 
.nav-links a:hover {
  color: var(--accent-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* 毛玻璃效果容器 */
.glass-container {
  border-radius: 20px;
  padding: 30px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

/* 头部样式 */
header {
  text-align: center;
  padding: 40px 20px;
  position: relative;
  margin-top: 20px;
}

.school-logo {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  color: var(--text-light);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to right, var(--accent-color), #ffffff, var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
}

.subtitle {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #e0e0ff;
}

.class-info {
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* 视频播放器区域 - 增强适配性 */
.video-section {
  margin: 40px 0;
  text-align: center;
  position: relative;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 900px; /* 增加最大宽度 */
  margin: 0 auto;
  border-radius: 20px; /* 增加圆角 */
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); /* 增强阴影 */
  /* 保持16:9宽高比 */
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

#graduationVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 视频覆盖层样式 */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border-radius: 20px; /* 匹配容器圆角 */
  transition: opacity 0.3s ease;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-overlay i {
  font-size: 60px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s, color 0.3s;
  margin-bottom: 15px;
}

.video-overlay:hover i {
  transform: scale(1.1);
  color: var(--accent-color);
}

.video-title {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  max-width: 90%;
  margin-top: 10px;
}

.video-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  max-width: 90%;
}

/* 视频控制条样式 */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.video-container:hover .video-controls {
  transform: translateY(0);
}

.control-btn {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 5px 10px;
  transition: color 0.3s, transform 0.3s;
}

.control-btn:hover {
  color: var(--accent-color);
  transform: translateY(-3px) scale(1.03);
}

.progress-container {
  flex-grow: 1;
  margin: 0 15px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: var(--accent-color);
  border-radius: 3px;
  width: 0%;
}

.time-display {
  color: white;
  font-size: 0.9rem;
  min-width: 80px;
  text-align: center;
}

.volume-container {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.volume-slider {
  width: 80px;
  margin-left: 5px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .video-container {
    border-radius: 15px;
    max-width: 100%;
  }

  .video-overlay i {
    font-size: 40px;
  }

  .video-title {
    font-size: 1.2rem;
  }

  .video-subtitle {
    font-size: 0.9rem;
  }

  .control-btn {
    font-size: 1rem;
    padding: 3px 7px;
  }

  .time-display {
    font-size: 0.8rem;
    min-width: 70px;
  }

  .volume-slider {
    width: 60px;
  }

  .video-controls {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .video-overlay i {
    font-size: 35px;
  }

  .video-title {
    font-size: 1.1rem;
  }

  .video-controls {
    flex-wrap: wrap;
    padding: 5px;
  }

  .progress-container {
    order: 1;
    width: 100%;
    margin: 5px 0;
  }

  .time-display {
    min-width: 60px;
    font-size: 0.75rem;
  }

  .volume-container {
    margin-left: auto;
  }
}
/* 页面加载动画 */
body:not(.loaded) * {
  animation: none !important;
  transition: none !important;
}
/* 照片墙 */
.gallery-section {
  margin: 50px 0;
}

.section-title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 30px;
  color: var(--accent-color);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--accent-color), transparent);
  margin: 10px auto;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* 优化比例 */
  gap: 25px; /* 增加间距 */
  margin-top: 20px;
}

.photo-item {
  border-radius: 15px;
  overflow: hidden;
  height: 280px; /* 增加高度 */
  position: relative;
  transition: transform 0.3s ease;
}

.photo-item:hover {
  transform: translateY(-10px) scale(1.03);
  z-index: 2;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-item:hover img {
  transform: scale(1.1);
}

.photo-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.photo-caption {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  font-weight: bold;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* 班级通讯录 */
.roster-section {
  margin: 50px 0;
}

.roster-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* 优化比例 */
  gap: 25px; /* 增加间距 */
  margin-top: 30px;
}

.student-card {
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.student-card.male {
  border-left: 4px solid #3498db;
}

.student-card.female {
  border-left: 4px solid #e84393;
}

.student-card:hover {
  transform: translateY(-5px);
}

.student-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-right: 15px;
  flex-shrink: 0;
  color: var(--text-light);
}

.student-info {
  flex-grow: 1;
}

.student-name {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--accent-color);
}

.student-contact {
  display: flex;
  align-items: center;
  margin-top: 8px;
  font-size: 0.95rem;
}

.student-contact i {
  width: 20px;
  color: var(--accent-color);
  margin-right: 8px;
}

/* 时间线 */
.timeline-section {
  margin: 50px 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(255, 215, 0, 0.6);
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px; /* 增加间距 */
  width: 100%;
}

.timeline-item:nth-child(odd) {
  padding-right: 50%;
}

.timeline-item:nth-child(even) {
  padding-left: 50%;
}

.timeline-content {
  padding: 20px;
  border-radius: 15px;
  position: relative;
}

.timeline-content h3 {
  color: var(--accent-color);
  margin-bottom: 10px;
}

.timeline-content::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  top: 20px;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -10px;
  transform: translateX(50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -10px;
  transform: translateX(-50%);
}

/* 毕业感言 */
.comments-section {
  margin: 50px 0;
}

.speech-container {
  max-width: 800px;
  margin: 0 auto 40px;
}

.speech-item {
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.speech-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.speech-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: var(--primary-color);
  font-weight: bold;
}

.speech-author {
  font-weight: bold;
  color: var(--accent-color);
}

.speech-date {
  margin-left: auto;
  font-size: 0.9rem;
  color: #888;
}

.speech-content {
  line-height: 1.6;
}

.comment-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 25px;
  border-radius: 15px;
}

.comment-form h3 {
  margin-bottom: 15px;
  color: var(--accent-color);
}

.comment-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  font-size: 1rem;
  margin-bottom: 15px;
  resize: vertical;
  transition: var(--transition);
}

.comment-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.15);
}

.comment-form button {
  background: var(--accent-color);
  color: var(--primary-color);
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  display: block;
  margin-left: auto;
}

.comment-form button:hover {
  background: #ffdf40;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.login-prompt {
  text-align: center;
  margin-top: 15px;
  color: #888;
}

.login-prompt a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

/* 页脚 */
footer {
  text-align: center;
  padding: 30px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.3); /* 增加背景 */
  border-radius: 20px; /* 增加圆角 */
  margin-top: 60px; /* 增加上边距 */
}

/* 响应式设计 - 重点修复手机菜单 */
@media (max-width: 768px) {
  .container {
    padding: 70px 15px 30px; /* 优化内边距 */
  }
  
  h1 {
    font-size: 2.5rem; /* 调整字体大小 */
  }

  .subtitle {
    font-size: 1.3rem; /* 调整字体大小 */
  }

  .class-info {
    font-size: 1.1rem; /* 调整字体大小 */
  }

  .section-title {
    font-size: 1.8rem; /* 调整字体大小 */
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding: 0;
    padding-left: 70px;
  }

  .timeline-content::before {
    left: 20px;
    transform: translateX(-50%);
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    /* 改为毛玻璃效果 */
    background: rgba(26, 42, 108, 0.85); /* 半透明蓝色背景 */
    backdrop-filter: blur(10px); /* 毛玻璃效果 */
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .roster-container {
    grid-template-columns: 1fr; /* 单列布局 */
    gap: 15px; /* 减少间距 */
  }

  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* 调整比例 */
    gap: 15px; /* 减少间距 */
  }
  
  .glass-container {
    padding: 20px; /* 减少内边距 */
    border-radius: 18px; /* 调整圆角 */
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem; /* 进一步调整字体大小 */
  }

  .subtitle {
    font-size: 1.1rem; /* 进一步调整字体大小 */
  }

  .section-title {
    font-size: 1.6rem; /* 进一步调整字体大小 */
  }

  .glass-container {
    padding: 20px 15px; /* 优化内边距 */
  }

  .photo-grid {
    grid-template-columns: 1fr; /* 单列布局 */
  }

  .student-card {
    padding: 15px; /* 减少内边距 */
  }

  .student-avatar {
    width: 60px; /* 调整大小 */
    height: 60px; /* 调整大小 */
    font-size: 20px; /* 调整字体大小 */
  }

  .theme-switch button span {
    display: none; /* 隐藏文字 */
  }
}

/* ============== 页面跳转动画 ============== */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.transition-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
  transform: translateY(100%);
  animation: slideIn 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.transition-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  opacity: 0;
  animation: fadeIn 0.6s 0.3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.transition-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.transition-content .loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes slideIn {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}