/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 主题变量 */
:root {
  /* 浅色主题 */
  --bg-color: #f5f5f5;
  --text-color: #333333;
  --primary-color: #e2db91;
  --secondary-color: #ccd78b;
  --card-bg: #ffffff;
  --card-bg-rgb: 255, 255, 255;
  --card-bg-50: rgba(255, 255, 255, 0.5);
  --nav-bg: rgba(255, 255, 255, 0.95);
  --nav-text: #333333;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 深色主题 */
[data-theme="dark"] {
  --bg-color: #1a1a1a;
  --text-color: #333333;
  --primary-color: #6c986c;
  --secondary-color: #82ae82;
  --card-bg: rgba(0, 0, 0, 0.5);
  --card-bg-rgb: 0, 0, 0;
  --card-bg-50: rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(0, 0, 0, 0.95);
  --nav-text: #333333;
  --border-color: rgba(255, 255, 255, 0.2);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* 国风主题 */
[data-theme="chinese"] {
  --bg-color: #f9f2e8;
  --text-color: #8b4513;
  --primary-color: #e7c285;
  --secondary-color: #d3bc92;
  --card-bg: #f5efe6;
  --card-bg-rgb: 245, 239, 230;
  --card-bg-50: rgba(245, 239, 230, 0.5);
  --nav-bg: rgba(245, 239, 230, 0.95);
  --nav-text: #8b4513;
  --border-color: #e8d5c4;
  --shadow: 0 4px 6px rgba(139, 69, 19, 0.1);
}

/* 清新主题 */
[data-theme="fresh"] {
  --bg-color: #f0f8ff;
  --text-color: #2c3e50;
  --primary-color: #d4f1d4;
  --secondary-color: #b8e6b8;
  --card-bg: rgba(240, 248, 255, 0.9);
  --card-bg-rgb: 240, 248, 255;
  --card-bg-50: rgba(240, 248, 255, 0.5);
  --nav-bg: rgba(240, 248, 255, 0.95);
  --nav-text: #2c3e50;
  --border-color: #d6eaf8;
  --shadow: 0 4px 6px rgba(52, 152, 219, 0.1);
}

body {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: all 0.3s ease;
  position: relative;
  overflow-x: hidden;
}

/* 背景图片 */
.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.background-video img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  animation: backgroundMove 30s linear infinite;
}

@keyframes backgroundMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-5%, -5%);
  }
}

/* 左侧导航栏 */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  border-right: 1px solid rgba(255, 255, 255, 0.6);
  z-index: 1000;
  transition: all 0.3s ease;
}

[data-theme="dark"] .side-nav {
  background-color: rgba(0, 0, 0, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-header {
  padding: 0 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .nav-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-header h2 {
  color: var(--primary-color);
  font-size: 1.5em;
  text-align: center;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  padding: 20px 0;
}

.nav-links li {
  padding: 0 20px;
}

.nav-links a {
  display: block;
  padding: 12px 15px;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

[data-theme="dark"] .nav-links a {
  color: #333333;
}

.nav-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateX(5px);
}

/* 移动端汉堡菜单 */
.menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* 移动端汉堡按钮加半透明背景，提高可辨识度 */
@media (max-width: 768px) {
  .menu-toggle {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 8px;
    box-shadow: var(--shadow);
  }
}

/* 主内容区 */
.main-content {
  margin-left: 250px;
  min-height: 100vh;
  transition: all 0.3s ease;
}

/* 首屏视觉区 */
.hero-section {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 241, 212, 0), rgba(184, 230, 184, 0)), url('../首页/图片/1.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-color);
  text-align: center;
  position: relative;
}

.hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--text-color);
}

.hero-content p {
  font-size: 1.5em;
  margin-bottom: 40px;
  opacity: 0.9;
  color: var(--text-color);
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scroll-down span {
  margin-bottom: 10px;
  font-size: 0.9em;
}

.arrow {
  border: solid var(--text-color);
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 10px;
}

.down {
  transform: rotate(45deg);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-20px);
  }

  60% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* 通用区块样式 */
.section {
  padding: 100px 0 80px;
  position: relative;
  background-color: rgba(var(--card-bg-rgb), 0.4);
  border-bottom: 1px solid rgba(var(--card-bg-rgb), 0.3);
  backdrop-filter: blur(5px);
  margin-bottom: 38px;
  margin-top: 30px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--primary-color);
}

/* 模块操作按钮（收藏、分享） */
.module-actions {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.action-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.action-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.action-btn.favorited {
  background: var(--primary-color);
  color: white;
}

/* 知识问答模块 */
#quiz .section-title {
  transform: translateY(-20px);
}

.quiz-container {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.3s ease;
}

.quiz-controls {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  align-items: center;
}

.control-select {
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1em;
  background: var(--card-bg);
  color: var(--text-color);
}

.control-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: all 0.3s ease;
}

.primary-btn {
  background: var(--primary-color);
  color: white;
}

.primary-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.secondary-btn {
  background: var(--border-color);
  color: var(--text-color);
}

.secondary-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.quiz-question {
  margin-bottom: 30px;
}

#question-text {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: var(--text-color);
}

.options-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.option {
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--card-bg);
}

.option:hover {
  background: var(--bg-color);
  border-color: var(--primary-color);
}

.option.selected {
  background: var(--secondary-color);
  border-color: var(--primary-color);
}

.quiz-result {
  margin-top: 30px;
  padding: 20px;
  border-radius: 5px;
  display: none;
}

.quiz-result.correct {
  background: rgba(102, 139, 98, 0.1);
  border: 1px solid var(--primary-color);
}

.quiz-result.incorrect {
  background: rgba(182, 104, 104, 0.1);
  border: 1px solid #b66868;
}

#result-content {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.quiz-summary {
  margin-top: 30px;
  padding: 30px;
  background: var(--bg-color);
  border-radius: 5px;
  text-align: center;
  display: none;
}

#score-info,
#accuracy-info {
  font-size: 1.2em;
  margin-bottom: 15px;
  font-weight: bold;
}

.summary-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* 打卡评论模块 */
.comments-container {
  background: var(--card-bg-50);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
}

.checkin-section {
  margin-bottom: 40px;
  text-align: center;
}

#checkin-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 1.1em;
}

.checkin-status {
  margin-top: 15px;
  font-size: 1.1em;
  color: var(--primary-color);
  font-weight: bold;
}

.checkin-count {
  margin-top: 10px;
  font-size: 1em;
  color: var(--text-color);
}

.comment-input-section {
  margin-bottom: 40px;
}

#comment-input {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1em;
  resize: vertical;
  min-height: 120px;
  margin-bottom: 15px;
  background: var(--card-bg);
  color: var(--text-color);
}

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

.comments-list {
  margin-top: 40px;
}

.comments-list h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

#comments-container {
  margin-bottom: 20px;
}

.comment-item {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: 5px;
  box-shadow: var(--shadow);
}

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

.comment-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.comment-share-btn,
.comment-favorite-btn {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 5px;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment-share-btn:hover,
.comment-favorite-btn:hover {
  color: var(--primary-color);
  background: var(--bg-color);
}

.delete-comment-btn {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 5px;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-comment-btn:hover {
  background: var(--bg-color);
  color: #b66868;
}

.comment-image {
  margin: 10px 0;
  width: 100%;
  max-width: 300px;
}

.comment-image img {
  width: 20%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: block;
}

.comment-author {
  font-weight: bold;
  color: var(--primary-color);
}

.comment-time {
  font-size: 0.9em;
  color: #999;
}

.comment-content {
  margin-bottom: 10px;
  line-height: 1.6;
}

.comment-image {
  max-width: 100%;
  max-height: 300px;
  border-radius: 5px;
  margin-top: 10px;
}

.comment-checkin {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(102, 139, 98, 0.1);
  color: var(--primary-color);
  border-radius: 10px;
  font-size: 0.8em;
  margin-top: 5px;
}

/* 弹窗样式 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}

.modal-content h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.share-options {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--bg-color);
  padding: 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  min-width: 100px;
}

.share-option:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
}

.collections-modal {
  max-width: 400px;
  max-height: 60vh;
}

#collections-list {
  margin-bottom: 20px;
  max-height: 40vh;
  overflow-y: auto;
}

.collection-item {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 10px;
  background: var(--bg-color);
  border-radius: 5px;
}

.collection-item h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.collection-item p {
  font-size: 0.9em;
  color: var(--text-color);
}

.collection-comment {
  padding: 10px;
}

.collection-comment .comment-author {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.collection-comment .comment-content {
  margin-bottom: 5px;
  color: var(--text-color);
}

.collection-comment .comment-time,
.collection-comment .collect-time {
  font-size: 0.8em;
  color: var(--text-color);
  opacity: 0.7;
  margin-bottom: 3px;
}

/* 页脚 */
footer {
  background-color: var(--card-bg-50);
  backdrop-filter: blur(5px);
  padding: 15px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-info p {
  margin-bottom: 10px;
}

/* 响应式设计 */

/* 手机端 - 小屏幕设备 */
@media (max-width: 480px) {

  /* 移动端导航 */
  .side-nav {
    width: 180px;
    transform: translateX(-100%);
  }

  .side-nav.active {
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
    top: 10px;
    left: 10px;
  }

  .main-content {
    margin-left: 0;
    padding: 10px;
  }

  /* 首屏视觉区 */
  .hero-section {
    height: 55vh;
  }

  .hero-title {
    font-size: 1.8em;
  }

  .hero-subtitle {
    font-size: 0.95em;
  }

  .section {
    padding: 30px 0;
  }

  .section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  /* 知识问答 */
  .quiz-container {
    padding: 15px;
  }

  #question-text {
    font-size: 1.1em;
    margin-bottom: 15px;
  }

  .answer-option {
    padding: 12px 15px;
    font-size: 0.9em;
  }

  .quiz-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .control-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95em;
  }

  /* 评论区 */
  .comments-container {
    padding: 15px;
  }

  .comment-input {
    padding: 12px;
    font-size: 0.9em;
  }

  .comment-item {
    padding: 15px;
  }

  .comment-author {
    font-size: 0.95em;
  }

  .comment-content {
    font-size: 0.9em;
  }

  /* 打卡模块 */
  .checkin-card {
    padding: 15px;
  }

  .checkin-btn {
    padding: 12px 20px;
    font-size: 0.9em;
  }

  /* 分享弹窗 */
  .modal-content {
    padding: 20px;
    margin: 10px;
  }

  .summary-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .share-options {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .share-option {
    width: 100%;
    padding: 12px;
  }

  /* 模块操作按钮 */
  .module-actions {
    top: 5px;
    right: 5px;
  }

  .action-btn {
    width: 32px;
    height: 32px;
    font-size: 0.8em;
  }

  /* 页脚 */
  footer {
    padding: 15px 10px;
  }

  .footer-links {
    flex-direction: column;
    gap: 5px;
  }
}

/* 平板端 - 中等屏幕设备 */
@media (min-width: 481px) and (max-width: 768px) {

  /* 背景图片适配 */
  body {
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
  }

  /* 移动端导航 */
  .side-nav {
    width: 180px;
    transform: translateX(-100%);
    z-index: 1000;
  }

  .side-nav.active {
    transform: translateX(0);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  }

  .menu-toggle {
    display: block;
    top: 15px;
    left: 15px;
    z-index: 1001;
  }

  .main-content {
    margin-left: 0;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
  }

  /* 首屏视觉区 */
  .hero-section {
    height: 60vh;
    width: 100%;
  }

  .hero-content {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2em;
  }

  .hero-subtitle {
    font-size: 1em;
  }

  .section {
    padding: 30px 0;
    width: 100%;
  }

  .section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  /* 知识问答 */
  .quiz-container {
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
  }

  #question-text {
    font-size: 1.1em;
  }

  .answer-option {
    padding: 12px 15px;
    font-size: 0.95em;
  }

  .quiz-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .control-btn {
    width: 100%;
    padding: 12px;
  }

  /* 评论区 */
  .comments-container {
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .comment-item {
    padding: 15px;
  }

  /* 打卡模块 */
  .checkin-card {
    padding: 15px;
  }

  /* 分享弹窗 */
  .modal-content {
    padding: 20px;
    margin: 15px;
  }

  .summary-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .share-options {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .share-option {
    width: 90%;
    padding: 12px;
  }

  /* 页脚 */
  footer {
    padding: 20px 15px;
  }
}

/* 桌面端 - 大屏幕设备 */
@media (min-width: 769px) and (max-width: 1024px) {
  .side-nav {
    width: 180px;
  }

  .main-content {
    margin-left: 180px;
  }

  .hero-title {
    font-size: 2.8em;
  }

  .quiz-container,
  .comments-container {
    padding: 25px;
  }
}

/* 大桌面端 - 超大屏幕设备 */
@media (min-width: 1025px) {
  .hero-title {
    font-size: 3.2em;
  }

  .quiz-container,
  .comments-container {
    padding: 30px;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* 禁用状态 */
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

button:disabled:hover {
  background: #668b62 !important;
  color: white !important;
}

/* ========== 特效动画样式 ========== */
/* 特效容器 */
.effect-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1001;
  overflow: hidden;
}

/* 通用特效样式 */
.effect-drop {
  position: absolute;
  top: -50px;
}

/* 雨滴特效 */
.rain-drop {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  width: 2px;
  border-radius: 0 0 50% 50%;
  animation: rain-fall linear infinite;
}

@keyframes rain-fall {
  0% {
    transform: translateY(-100px);
    opacity: 1;
  }

  100% {
    transform: translateY(100vh);
    opacity: 0.3;
  }
}

/* 绿叶特效 */
.leaves-drop {
  background: linear-gradient(135deg, #4CAF50, #8BC34A);
  border-radius: 50% 0 50% 50%;
  animation: leaves-fall ease-in-out infinite;
}

@keyframes leaves-fall {
  0% {
    transform: translateY(-100px) rotate(0deg) translateX(0);
    opacity: 1;
  }

  25% {
    transform: translateY(25vh) rotate(90deg) translateX(50px);
  }

  50% {
    transform: translateY(50vh) rotate(180deg) translateX(-30px);
  }

  75% {
    transform: translateY(75vh) rotate(270deg) translateX(60px);
  }

  100% {
    transform: translateY(100vh) rotate(360deg) translateX(-20px);
    opacity: 0;
  }
}

/* 炊烟特效 */
.smoke-drop {
  background: radial-gradient(circle, rgba(200, 200, 200, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  animation: smoke-rise ease-out infinite;
}

@keyframes smoke-rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-100vh) scale(2);
    opacity: 0;
  }
}

/* 雪花特效 */
.snow-drop {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
  border-radius: 50%;
  animation: snow-fall ease-in-out infinite;
  top: -100px;
}

@keyframes snow-fall {
  0% {
    transform: translateY(0) rotate(0deg) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  50% {
    transform: translateY(50vh) rotate(180deg) translateX(30px);
  }

  90% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(100vh) rotate(360deg) translateX(-20px);
    opacity: 0;
  }
}