.tos-container {
  width: 85.5%;
  max-width: 1296px;
  margin: 18px auto;
  padding: 0 0 18px 0;
}
.tos-section {
  margin-bottom: 27px;
  padding: 23px 27px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 1px solid rgba(255,255,255,0.2);
}
.tos-section-title {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
  margin: 0 0 14px 0;
  padding-bottom: 9px;
  border-bottom: 2px solid rgba(0,86,122,0.3);
}
.tos-section p {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 14px 0;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.tos-section p:last-child {
  margin-bottom: 0;
}
.info-box-page {
  width: 85.5%;
  max-width: 1296px;
  margin: 18px auto; 
  padding: 18px 27px;
  border-radius: 18px;
  background-color:rgb(109, 122, 44);
  color: #fff;
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 1px rgba(149, 177, 46, 0.3);
  border: 1px solid rgba(134, 155, 49, 0.2);
  font-size: 14px;
}
.info-box-page-tos {
  width: 85.5%;
  max-width: 1296px;
  margin: 18px auto; 
  padding: 5px 0px;
  border-radius: 18px;
  background-color: rgb(109, 122, 44);
  color: #fff;
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 1px rgba(149, 177, 46, 0.3);
  border: 1px solid rgba(134, 155, 49, 0.2);
  font-size: 16px;
}
.info-title-page {
  margin-bottom: 14px;
  font-size: 18px;
}
.info-thank-page {
  margin-top: 16px;
}
.version-hover-trigger:hover .version-number {
  color: #96e665;
  text-shadow: 0 0 8px rgba(150, 230, 101, 0.6);
  transition: all 0.3s ease;
}
.star-rating {
  display: flex;
  gap: 2px;
  align-items: center;
}
.star-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
@keyframes cloudflareGradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.messykx-text {
  background: linear-gradient(90deg,rgb(150, 36, 199), #9c27b0, #ba68c8, #ce93d8, #ba68c8, #9c27b0,rgb(151, 33, 202));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: messykxGradient 4s ease-in-out infinite;
  display: inline-block;
}
@keyframes messykxGradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.stats-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.stat-card {
  flex: 1;
  min-width: 200px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.stat-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  border-color: rgba(0, 170, 255, 0.4);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.review-card {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.review-card.blue {
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.1) 0%, rgba(26, 26, 26, 1) 100%);
  border-color: rgba(0, 170, 255, 0.2);
}
.review-card.blue:hover { border-color: rgba(0, 170, 255, 0.5); }
.review-card.green {
  background: linear-gradient(135deg, rgba(150, 230, 101, 0.1) 0%, rgba(26, 26, 26, 1) 100%);
  border-color: rgba(150, 230, 101, 0.2);
}
.review-card.green:hover { border-color: rgba(150, 230, 101, 0.5); }
.review-card.pink {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(26, 26, 26, 1) 100%);
  border-color: rgba(255, 107, 157, 0.2);
}
.review-card.pink:hover { border-color: rgba(255, 107, 157, 0.5); }
.review-header { display: flex; align-items: center; margin-bottom: 10px; }
.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}
.review-card.blue .review-avatar { border: 2px solid rgba(0,170,255,0.3); }
.review-card.green .review-avatar { border: 2px solid rgba(150, 230, 101, 0.3); }
.review-card.pink .review-avatar { border: 2px solid rgba(255, 107, 157, 0.3); }
.review-name { font-size: 16px; font-weight: bold; margin-right: 10px; }
.review-card.blue .review-name { color: #00aaff; }
.review-card.green .review-name { color: #96e665; }
.review-card.pink .review-name { color: #ff6b9d; }
.review-text { color: rgba(255,255,255,0.9); font-size: 14px; line-height: 1.4; }
.stat-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.stat-icon {
  width: 24px;
  height: 24px;
}
.stat-content {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.stat-label {
  font-size: 13px;
  color: #aaa;
  margin-top: 4px;
}
.sparkline {
  margin-top: 6px;
  width: 100%;
  height: 40px;
}
.sparkline canvas {
  width: 100% !important;
  height: 40px !important;
}
.stat-views .stat-icon-wrapper { background: rgba(0, 170, 255, 0.15); color: #00aaff; }
.stat-visits .stat-icon-wrapper { background: rgba(150, 230, 101, 0.15); color: #96e665; }
.stat-users .stat-icon-wrapper { background: rgba(255, 107, 157, 0.15); color: #ff6b9d; }
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
  }
  main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .tos-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 15px;
    box-sizing: border-box;
  }
  .tos-section {
    margin-bottom: 20px;
    padding: 15px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
  }
  .tos-section-title {
    text-shadow: none !important;
    color: #3390ec;
    border-bottom: 1px solid rgba(51, 144, 236, 0.15) !important;
  }
  .tos-section p {
    text-shadow: none !important;
    color: #e4e4e4;
  }
  .tos-section h4 {
    text-shadow: none !important;
    color: #3390ec;
    border-bottom: 1px solid rgba(51, 144, 236, 0.15) !important;
  }
  .tos-section a {
    color: #3390ec !important;
  }
  .tos-section ul {
    text-shadow: none !important;
  }
  .tos-section ul li {
    color: #e4e4e4;
  }
  .info-box-page,
  .info-box-page-tos {
    width: 100%;
    max-width: 100%;
    margin: 15px 0;
    padding: 15px;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0;
    text-shadow: none !important;
  }
  .version-hover-trigger:hover .version-number {
    text-shadow: none !important;
  }
  .version-number {
    text-shadow: none !important;
    color: #ffffff;
  }
  .star-rating {
    gap: 1px;
  }
  .star-icon {
    width: 12px;
    height: 12px;
  }
  .review-avatar {
    width: 28px !important;
    height: 28px !important;
  }
  div[style*="text-align: center"] {
    margin: 5px 0 10px 0 !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  div[style*="text-align: center"] p {
    color: rgba(228, 228, 228, 0.6) !important;
    font-size: 10px !important;
    text-shadow: none !important;
    margin-bottom: 5px !important;
    margin-top: 0 !important;
  }
  div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 15px !important;
    box-sizing: border-box !important;
  }
  div[style*="flex: 1"] {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .tos-section > div[style] {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .tos-section p,
  .tos-section ul,
  .tos-section h4,
  .tos-section div {
    box-sizing: border-box !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  .tos-section ul {
    padding-left: 20px !important;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
  }
  .stat-card {
    min-width: 0;
    width: 100%;
    margin-bottom: 0;
    padding: 15px;
    background: rgba(30, 39, 50, 0.6) !important;
    border: 1px solid rgba(51, 144, 236, 0.2) !important;
    box-shadow: none !important;
    border-radius: 8px;
    box-sizing: border-box;
  }
  .stat-card:hover {
    box-shadow: none !important;
    border-color: rgba(51, 144, 236, 0.4) !important;
  }
  .stat-icon-wrapper {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }
  .stat-icon {
    width: 20px;
    height: 20px;
  }
  .stat-value {
    font-size: 20px;
    text-shadow: none !important;
    color: #ffffff;
  }
  .stat-label {
    font-size: 12px;
    color: #e4e4e4;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
  }
  .review-card {
    padding: 15px;
    background: rgba(30, 39, 50, 0.6) !important;
    border: 1px solid rgba(51, 144, 236, 0.2) !important;
    box-shadow: none !important;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }
  .review-card:hover {
    box-shadow: none !important;
  }
  .review-card.blue {
    background: rgba(0, 170, 255, 0.1) !important;
    border-color: rgba(0, 170, 255, 0.2) !important;
  }
  .review-card.green {
    background: rgba(150, 230, 101, 0.1) !important;
    border-color: rgba(150, 230, 101, 0.2) !important;
  }
  .review-card.pink {
    background: rgba(255, 107, 157, 0.1) !important;
    border-color: rgba(255, 107, 157, 0.2) !important;
  }
  .review-name {
    font-size: 14px;
    text-shadow: none !important;
  }
  .review-text {
    font-size: 13px;
    color: #e4e4e4;
  }
  * {
    box-sizing: border-box;
  }
  img {
    max-width: 100% !important;
    height: auto !important;
  }
}
