@import url("odometer.css");

/* What's New Modal Styles */

/* Navigation notification badge */
.whats-new-nav-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #bb00ff, #9900ff);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(187, 0, 255, 0.8);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Modal overlay */
.whats-new-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.whats-new-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.whats-new-modal {
  background: #1a1a1a;
  border-radius: 16px;
  box-shadow: 0 20px 80px rgba(187, 0, 255, 0.3);
  max-width: 95vw;
  max-height: 95vh;
  width: 1200px;
  height: 800px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(1);
  transition: transform 0.3s ease;
  position: relative;
  outline: none;
  margin-left: 100px;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
}
.whats-new-overlay.show .whats-new-modal {
  text-shadow: none;
  text-align: left;
}
/* Modal header */
.whats-new-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1a2a 100%);
  padding: 20px;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.whats-new-title-section {
  flex: 1;
}

.whats-new-title {
  font-size: 30px;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #bb00ff, #ff00bb);
  text-shadow: 0px 0px 5px var(--color), 0px 0px 10px var(--glow-color),
    0px 0px 15px var(--glow-color);
  -webkit-background-clip: text;
  background-clip: text;
}

.whats-new-version {
  color: #ccc;
  font-size: 20px;
  margin: 0;
  font-weight: 500;
  padding: 0;
}

.whats-new-summary {
  color: #aaa;
  font-size: 0.95rem;
  margin: 0;
  margin-top: 5px;
  padding: 0;
}

.whats-new-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0;
  box-shadow: none;
}

.whats-new-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
  color: #fff;
  transform: scale(1.1);
}

/* Modal body with sidebar */
.whats-new-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Sidebar navigation */
.whats-new-sidebar {
  width: 300px;
  background: #161616;
  border-right: 1px solid #333;
  padding: 20px;
  overflow-y: auto;
  flex-shrink: 0;
}

.whats-new-nav-header h2 {
  color: #bb00ff;
  font-size: 1.2rem;
  margin: 0 0 4px 0;
  font-weight: 600;
}

.whats-new-nav-header p {
  color: #888;
  font-size: 0.85rem;
  margin: 0 0 20px 0;
}

.whats-new-nav-category {
  margin-bottom: 24px;
}

.whats-new-nav-category-title {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whats-new-nav-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.whats-new-nav-items li {
  margin-bottom: 6px;
}

.whats-new-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #ccc;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.whats-new-nav-link:hover {
  background: rgba(187, 0, 255, 0.1);
  color: #bb00ff;
  transform: translateX(4px);
}

.whats-new-nav-link.active {
  background: rgba(187, 0, 255, 0.2);
  color: #bb00ff;
  font-weight: 500;
}

.whats-new-nav-link .material-symbols-rounded {
  font-size: 16px;
  opacity: 0.8;
}

/* Main content area */
.whats-new-main-content {
  flex: 1;
  padding: 20px 32px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* Category sections */
.whats-new-category-section {
  margin-bottom: 48px;
}

.whats-new-category-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #333;
}

.whats-new-category-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whats-new-category-title .material-symbols-rounded {
  font-size: 1.3em;
}

.whats-new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.whats-new-contributor {
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  padding: 10px;
  border: 1px solid #333;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.whats-new-contributor-label {
  color: #bbb;
  font-size: 0.85rem;
  font-weight: 500;
}

.whats-new-contributor img {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.whats-new-changelog {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #333;
  cursor: pointer;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  position: relative;
  scroll-margin-top: 20px;
}

.whats-new-changelog:hover {
  background: rgba(187, 0, 255, 0.1);
  color: #bb00ff;
  transform: translateX(4px);
  border-color: #bb00ff;
  box-shadow: 0 4px 20px rgba(187, 0, 255, 0.1);
}

.whats-new-changelog h2 {
  color: #fff;
  font-size: 1.4rem;
  margin: 0 0 8px 0;
}

.whats-new-changelog p {
  color: #888;
  font-size: 0.9rem;
  margin: 0;
}

/* Individual features */
.whats-new-feature {
  background: #ffffff08;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  position: relative;
  scroll-margin-top: 20px;
  overflow: hidden;
}

.whats-new-feature:hover {
  border-color: #bb00ff;
  box-shadow: 0 4px 20px rgba(187, 0, 255, 0.1);
  transform: translateY(-2px);
}

.whats-new-feature-highlight {
  border-color: #bb00ff;
  box-shadow: 0 0 30px rgba(187, 0, 255, 0.3);
  animation: highlight-pulse 2s ease-out;
}

.whats-new-feature-unseen {
  border-color: #ffb300;
  box-shadow: 0 4px 20px #ffb3001a;
}

@keyframes highlight-pulse {
  0% {
    box-shadow: 0 0 30px rgba(187, 0, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 50px rgba(187, 0, 255, 0.5);
  }
  100% {
    box-shadow: 0 0 30px rgba(187, 0, 255, 0.3);
  }
}

.whats-new-feature-header {
}

.whats-new-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #bb00ff1a;
  border: 1px solid #bb00ff4d;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #bb00ff;
}

.whats-new-feature-badge .material-symbols-rounded {
  font-size: 14px;
}

.whats-new-feature-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.announcement-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.whats-new-feature-cover {
  top: 0;
  right: 0;
  position: absolute;
  width: 100%;
  mask-image: linear-gradient(0deg, transparent 30%, #000000 100%);
  opacity: 0.5;
  z-index: -1;
}

.read-more {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.read-more p {
  font-size: 18px;
  opacity: 0;
  transform: translateX(-50px);
  -webkit-transform: translateX(-50px);
  -moz-transform: translateX(-50px);
  -ms-transform: translateX(-50px);
  -o-transform: translateX(-50px);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.whats-new-feature:hover .read-more p {
  opacity: 1;
  transform: translateX(0);
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
}

.announcement-reward {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(187, 0, 255, 0.1);
  border: 1px solid rgba(187, 0, 255, 0.2);
  border-radius: 8px;
  padding: 10px;
  margin-top: 10px;
}

.announcement-reward img {
  height: 80px;
  width: 80px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.announcement-reward div {
  flex: 1;
}

.announcement-reward p {
  font-size: 18px;
  margin: 0;
  padding: 0;
  font-weight: 600;
}

.announcement-reward .claim-info {
  font-size: 12px;
  color: #bbb;
}

.claim-reward-btn {
  height: 80px;
  width: 150px;
  margin: 0;
}

.announcement-container {
  margin-bottom: 24px;
  scroll-margin-top: 20px;
}

.announcement-options {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid #444;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #bbb;
  z-index: 1000;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.announcement-options:hover {
  background: #bb00ff1a;
  border-color: #bb00ff;
  transform: translateY(-1px);
}

/* Announcement options menu */
.announcement-options-menu {
  position: absolute;
  top: 0;
  right: calc(100% + 10px);
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 150px;
  z-index: 9999;
  overflow: hidden;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.announcement-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #ccc;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #333;
}

.announcement-option:last-child {
  border-bottom: none;
}

.announcement-option:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.announcement-option .material-symbols-rounded {
  font-size: 18px;
  opacity: 0.8;
}

.announcement-option-danger {
  color: #ff6b6b !important;
}

.announcement-option-danger:hover {
  background-color: rgba(255, 107, 107, 0.1) !important;
  color: #ff6b6b !important;
}

.announcement-option-danger .material-symbols-rounded {
  color: #ff6b6b;
}

.rewardOptions {
  display: flex;
  gap: 10px;
}

.rewardOptions .option {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.rewardOptions .option:hover {
  background: #bb00ff1a;
  border-color: #bb00ff;
  transform: translateY(-1px);
}

.rewardOptions .option.selected {
  background: #bb00ff30;
  border: 1px solid #bb00ff;
  box-shadow: 0 0 10px #bb00ff;
}

.rewardOptions .option.selected:hover {
  transform: translateY(-1px);
}

.rewardSettings {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.rewardSetting {
  display: none;
  padding: 10px;
  border: 1px solid #444;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.rewardSetting.active {
  display: block;
}

.rewardSetting input {
  font-family: var(--font);
  padding: 10px;
  font-size: 16px;
  background: #2d2d2d;
  border: 1px solid #444;
  border-radius: 5px;
  color: white;
  margin: 0;
  box-sizing: border-box;
  margin: 5px;
  width: 300px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.rewardSetting input:focus {
  outline: none;
  border-color: var(--glow-color);
  box-shadow: 0 0 5px rgba(187, 0, 255, 0.3);
}

.reaction-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.reaction {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 5px;
}

.select-reaction {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ff00001a;
  border: 1px solid #ff0000;
  border-radius: 8px;
  padding: 5px;
}

.select-reaction img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  pointer-events: none;
}

.select-reaction:hover {
  background: #bb00ff1a;
  border-color: #bb00ff;
  transform: translateY(-1px);
}

.select-reaction.selected {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #00ff001a;
  border: 1px solid #00ff00;
  box-shadow: 0 0 10px #00ff0075;
  border-radius: 8px;
  padding: 5px;
}

.select-reaction.selected:hover {
  background: #bb00ff1a;
  border-color: #bb00ff;
  transform: translateY(-1px);
}

.reaction:hover {
  background: #bb00ff1a;
  border-color: #bb00ff;
  transform: translateY(-1px);
}

.reaction.selected {
  background: #bb00ff35;
  border-color: #bb00ff;
  box-shadow: 0 0 10px #bb00ff;
}

.reaction-count {
  color: #bbb;
  margin: 0 5px;
  pointer-events: none;
}

.reaction img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  pointer-events: none;
}

.toolbar {
  padding: 5px;
  font-size: 16px;
  background: #2d2d2d;
  border: 1px solid #444;
  border-radius: 5px;
  color: white;
  margin: 0;
  box-sizing: border-box;
  width: 100%;
  margin: 5px 0;
  min-width: 300px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
}

.toolbar .toolbar-btn {
  height: 30px;
  width: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #444;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.toolbar .toolbar-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #666;
  transform: translateY(-1px);
}

.toolbar .toolbar-btn.selected {
  border-color: var(--glow-color);
  box-shadow: 0 0 5px rgba(187, 0, 255, 0.3);
  background: rgba(187, 0, 255, 0.1);
}

.author-avatar {
  width: 25px;
  height: 25px;
  transform: translateY(-1px);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-border-radius: 5px;
}

.announcement-author img {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-border-radius: 5px;
}

.whats-new-feature-summary {
  color: #ccc;
  font-size: 1rem;
  margin: 0;
  line-height: 1.4;
  text-shadow: none;
  padding: 5px 0;
}

.post-info {
  color: #ccc;
  font-size: 1rem;
  margin: 0;
  line-height: 1.4;
  text-shadow: none;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Feature content */
.whats-new-feature-content {
  color: #ddd;
  line-height: 1.6;
  font-size: 0.95rem;
}

.whats-new-feature-content h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 20px 0 12px 0;
}

.whats-new-feature-content h5 {
  color: #bb00ff;
  font-size: 1rem;
  font-weight: 600;
  margin: 16px 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whats-new-feature-content ul {
  margin: 8px 0 16px 0;
  padding-left: 20px;
}

.whats-new-feature-content li {
  margin-bottom: 3px;
  margin-top: 3px;
  margin-left: 20px;
  color: #ccc;
}

.whats-new-feature-content code {
  background: rgba(187, 0, 255, 0.1);
  border: 1px solid rgba(187, 0, 255, 0.2);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: "Courier New", monospace;
  font-size: 1em;
  color: #bb00ff;
}

.whats-new-feature-content strong {
  color: #fff;
  font-weight: 600;
}

/* Code examples */
.code-examples {
  margin: 16px 0;
}

.code-example {
  background: #0d0d0d;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.code-example code {
  display: block;
  color: #00ff88;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  background: none;
  border: none;
  padding: 0;
}

.code-example p {
  color: #aaa;
  font-size: 0.85rem;
  margin-top: 8px;
  font-style: italic;
}

/* Auth method details */
.auth-methods {
  margin: 16px 0;
}

.auth-method-detail {
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 8px;
  padding: 16px;
  padding-bottom: 0;
  margin-bottom: 12px;
}

.auth-method-detail h5 {
  color: #00ff88;
  margin-top: 0;
}

/* Feature tags */
.whats-new-feature-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.whats-new-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #444;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: #aaa;
  text-transform: capitalize;
}

/* Modal footer */
.whats-new-footer {
  background: #161616;
  border-top: 1px solid #333;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.whats-new-checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.whats-new-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #bb00ff;
}

.whats-new-checkbox-label {
  color: #ccc;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

.whats-new-buttons {
  display: flex;
  gap: 12px;
}

.whats-new-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: static;
  height: 100%;
  margin: 0;
}

.whats-new-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
  border: 1px solid #444;
  box-shadow: none;
}

.whats-new-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #666;
  transform: translateY(-1px);
}

.whats-new-btn-primary {
  background: linear-gradient(135deg, #bb00ff, #9900ff);
  color: #fff;
  border: 1px solid #bb00ff;
}

.whats-new-btn-primary:hover {
  background: linear-gradient(135deg, #cc11ff, #aa00ff);
  box-shadow: 0 4px 15px rgba(187, 0, 255, 0.3);
  transform: translateY(-1px);
}

.whats-new-btn .material-symbols-rounded {
  font-size: 18px;
}

/* Responsive design */
@media (max-width: 1024px) {
  .whats-new-modal {
    width: 95vw;
    height: 90vh;
  }

  .whats-new-sidebar {
    width: 250px;
  }

  .whats-new-main-content {
    padding: 16px 20px;
  }
}

@media (max-width: 768px) {
  .whats-new-overlay {
    padding: 0;
    margin: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .whats-new-modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 0;
    max-width: none;
    max-height: none;
    margin: 0;
  }

  .whats-new-body {
    flex-direction: column;
  }

  .whats-new-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #333;
    display: none;
  }

  .whats-new-header {
    padding: 16px 20px;
  }

  .whats-new-title {
    font-size: 1.5rem;
  }

  .whats-new-main-content {
    padding: 16px 20px;
  }

  .whats-new-feature {
    padding: 16px;
  }

  .whats-new-checkbox-container {
    display: none;
  }

  .whats-new-footer {
    padding: 10px;
    flex-direction: column;
    gap: 10px;
  }

  .whats-new-buttons {
    width: 100%;
    justify-content: center;
  }

  .post-info {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }

  .author-avatar {
    display: none;
  }

  .post-info-divider {
    display: none;
  }

  .announcement-reward {
    flex-direction: column;
  }

  .announcement-reward div {
    width: 100%;
  }

  .announcement-reward button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .whats-new-sidebar {
    max-height: 150px;
    padding: 12px;
  }

  .whats-new-nav-category {
    margin-bottom: 16px;
  }

  .whats-new-feature-content {
    font-size: 0.9rem;
  }

  .whats-new-buttons {
    flex-direction: column;
  }

  .whats-new-btn {
    justify-content: center;
  }
}

/* Custom scrollbar for webkit browsers */
.whats-new-sidebar::-webkit-scrollbar,
.whats-new-main-content::-webkit-scrollbar {
  width: 6px;
}

.whats-new-sidebar::-webkit-scrollbar-track,
.whats-new-main-content::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.whats-new-sidebar::-webkit-scrollbar-thumb,
.whats-new-main-content::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 3px;
}

.whats-new-sidebar::-webkit-scrollbar-thumb:hover,
.whats-new-main-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Beta levels styling */
.beta-levels {
  margin: 16px 0;
}

.beta-level {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}

.beta-level h5 {
  color: #fff;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.beta-level p {
  color: #aaa;
  margin: 0;
  font-size: 0.85rem;
}

/* Rarity breakdown styling */
.rarity-breakdown {
  margin: 16px 0;
}

.rarity-tier {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 8px;
}

.rarity-tier h5 {
  color: #fff;
  margin: 0 0 4px 0;
  font-size: 0.9rem;
}

.rarity-tier p {
  color: #aaa;
  margin: 0;
  font-size: 0.8rem;
}
