/* Created code by WULAN */
:root {
  --pink: #ff007f;
  --orange: #ff5c00;
  --dark-bg: rgba(92, 87, 87, 0.7);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: rgba(0, 0, 0, 0.7);
  overflow-x: hidden;
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
}

.gender-selection {
  text-align: center;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  backdrop-filter: blur(5px);
  animation: fadeIn 1s ease;
}

.gender-selection h2 {
  margin-bottom: 20px;
  font-size: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gender-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.gender-buttons a {
  text-decoration: none;
  display: block;
  flex: 1;
  min-width: 120px;
}

.gender-buttons button {
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.gender-buttons button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.gender-buttons button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gender-buttons .woman {
  background-color: var(--pink);
  color: white;
}

.gender-buttons .man {
  background-color: var(--orange);
  color: white;
}

.comments-section {
  background: var(--dark-bg);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  max-height: 40vh;
  overflow-y: auto;
  animation: slideUp 1s ease;
}

.comments-section::-webkit-scrollbar {
  width: 5px;
}

.comments-section::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 10px;
}

.comments-section .stats {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.comments-section .stats i {
  margin-right: 5px;
  color: var(--pink);
}

.comments-section .stats span {
  margin-right: 15px;
  font-size: 14px;
}

.comments-section .comment {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}

.comments-section .comment:hover {
  background: rgba(255, 255, 255, 0.15);
}

.comments-section .comment img {
  border-radius: 50%;
  margin-right: 10px;
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.comments-section .comment .comment-content {
  max-width: calc(100% - 50px);
}

.comments-section .comment .comment-content .name {
  font-weight: bold;
  color: #ffcc00;
}

.comments-section .comment .comment-content .time {
  font-size: 12px;
  color: #ccc;
}

.comments-section .comment .comment-content .text {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.4;
}

.comments-section .comment .comment-content .actions {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.comments-section .comment .comment-content .actions i {
  cursor: pointer;
  font-size: 14px;
  color: #ccc;
  transition: color 0.3s;
}

.comments-section .comment .comment-content .actions i:hover {
  color: var(--pink);
}

.badge-container {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 10;
  animation: bounce 2s infinite;
}

.badge {
  background-color: var(--orange);
  color: white;
  padding: 8px 12px;
  border-radius: 15px;
  font-size: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.badge1 {
  color: white;
  padding: 8px 12px;
  border-radius: 15px;
  font-size: 12px;
  text-align: center;
}

.badge2 {
  color: white;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 15px;
  font-size: 12px;
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive adjustments */

@media (max-width: 600px) {
  .container {
    padding: 10px;
  }
  .gender-selection {
    padding: 10px;
  }
  .gender-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .gender-buttons a {
    width: 100%;
  }
  .comments-section {
    margin: 10px 0;
    padding: 15px;
  }
  .comments-section .stats {
    justify-content: center;
  }
  .comments-section .stats span {
    margin: 5px;
  }
  .badge-container {
    position: absolute;
    top: 5px;
    right: 5px;
  }
  .badge {
    padding: 5px 10px;
    font-size: 10px;
  }
}
