*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #050509;
  color: #f5f5f5;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: transparent;
}

/* Cool Loading Animation */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #050509;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
  overflow: hidden;
}

.loading-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(127, 90, 240, 0.15) 0%, transparent 70%);
  animation: pulseBg 1.2s ease infinite;
}

@keyframes pulseBg {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.loading-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  max-width: 800px;
  padding: 2rem;
}

.loading-logo-wrapper {
  position: relative;
  margin-bottom: 3rem;
}

.loading-logo {
  font-size: 4.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-shadow: 
    0 0 10px rgba(127, 90, 240, 0.8),
    0 0 20px rgba(127, 90, 240, 0.6),
    0 0 30px rgba(127, 90, 240, 0.4),
    0 0 40px rgba(127, 90, 240, 0.2);
  animation: neonGlow 1s ease infinite alternate;
  position: relative;
  display: inline-block;
  padding: 1rem 2rem;
}

.loading-logo::before,
.loading-logo::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.loading-logo::before {
  left: 2px;
  text-shadow: -2px 0 #7f5af0;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch1 0.3s infinite linear alternate-reverse;
}

.loading-logo::after {
  left: -2px;
  text-shadow: 2px 0 #ef4444;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch2 0.3s infinite linear alternate-reverse;
}

@keyframes neonGlow {
  0% {
    text-shadow: 
      0 0 10px rgba(127, 90, 240, 0.8),
      0 0 20px rgba(127, 90, 240, 0.6),
      0 0 30px rgba(127, 90, 240, 0.4);
  }
  100% {
    text-shadow: 
      0 0 20px rgba(127, 90, 240, 1),
      0 0 30px rgba(127, 90, 240, 0.8),
      0 0 40px rgba(127, 90, 240, 0.6),
      0 0 50px rgba(127, 90, 240, 0.4);
  }
}

@keyframes glitch1 {
  0% {
    clip: rect(31px, 9999px, 94px, 0);
  }
  20% {
    clip: rect(54px, 9999px, 66px, 0);
  }
  40% {
    clip: rect(28px, 9999px, 100px, 0);
  }
  60% {
    clip: rect(67px, 9999px, 85px, 0);
  }
  80% {
    clip: rect(23px, 9999px, 98px, 0);
  }
  100% {
    clip: rect(76px, 9999px, 91px, 0);
  }
}

@keyframes glitch2 {
  0% {
    clip: rect(65px, 9999px, 100px, 0);
  }
  20% {
    clip: rect(14px, 9999px, 33px, 0);
  }
  40% {
    clip: rect(96px, 9999px, 98px, 0);
  }
  60% {
    clip: rect(46px, 9999px, 30px, 0);
  }
  80% {
    clip: rect(78px, 9999px, 103px, 0);
  }
  100% {
    clip: rect(15px, 9999px, 83px, 0);
  }
}

.loading-subtitle {
  margin-top: 2rem;
  opacity: 0;
  animation: subtitleFadeIn 0.6s ease forwards;
  animation-delay: 0.4s;
}

.subtitle-text {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-style: italic;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes subtitleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.loading-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #7f5af0;
  border-radius: 50%;
  box-shadow: 0 0 10px #7f5af0;
  animation: float 2s ease infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 0.5s;
}

.particle:nth-child(3) {
  top: 80%;
  left: 40%;
  animation-delay: 1s;
}

.particle:nth-child(4) {
  top: 30%;
  left: 70%;
  animation-delay: 1.5s;
}

.particle:nth-child(5) {
  top: 50%;
  left: 10%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  50% {
    transform: translateY(-60px) translateX(30px);
    opacity: 1;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

.page.has-topbar {
  padding-top: 70px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 9, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.logo-link {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.98rem;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
}

.logo-link:hover {
  color: #e4e4ff;
  background: rgba(127, 90, 240, 0.1);
  transform: translateY(-1px);
}

.logo span {
  color: #7f5af0;
  transition: color 0.2s ease;
}

.logo-link:hover span {
  color: #a78bfa;
}

.nav {
  display: flex;
  gap: 0.8rem;
  font-size: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  opacity: 0.85;
  padding: 0.4rem 0.8rem;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  opacity: 1;
  border-bottom-color: rgba(127, 90, 240, 0.7);
  background: rgba(127, 90, 240, 0.1);
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-link-support {
  color: #7f5af0 !important;
  font-weight: 600;
}

.nav-link-support:hover {
  background: rgba(127, 90, 240, 0.2) !important;
  border-bottom-color: #7f5af0 !important;
}

.nav-link-complaint {
  color: #ef4444 !important;
  font-weight: 600;
}

.nav-link-complaint:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-bottom-color: #ef4444 !important;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.topbar-btn {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topbar-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(127, 90, 240, 0.3);
}

.content {
  flex: 1;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.2rem 2.5rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  overflow-x: hidden;
}

.footer {
  padding: 0.8rem 1.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.footer .sep {
  opacity: 0.4;
}

.footer .muted {
  opacity: 0.7;
}

.hero {
  margin-bottom: 1.6rem;
}

.hero.small {
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 span {
  color: #7f5af0;
}

.hero .subtitle {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.list-section {
  background: radial-gradient(circle at top left, rgba(127, 90, 240, 0.16), transparent 55%),
    radial-gradient(circle at bottom right, rgba(17, 94, 89, 0.18), transparent 50%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem;
}

.list-section.compact {
  padding: 0.8rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.section-header h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.entries {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  overflow: visible;
}

.entry-card {
  padding: 1rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 6, 14, 0.96);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.entry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(127, 90, 240, 0.1), transparent);
  transition: left 0.5s ease;
}

.entry-card:hover::before {
  left: 100%;
}

.entry-card:hover {
  border-color: rgba(127, 90, 240, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(127, 90, 240, 0.2);
}

.entry-card header {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.entry-card .entry-title {
  margin: 0;
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
}

.entry-card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  pointer-events: auto;
  z-index: 1;
  position: relative;
}

.read-more-btn {
  background: linear-gradient(135deg, #7f5af0, #6d4cdb) !important;
  border: none !important;
  color: #ffffff !important;
  padding: 0.5rem 1.2rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.05em !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.read-more-btn:hover {
  background: linear-gradient(135deg, #8b6af5, #7d5ceb) !important;
  transform: translateX(3px) !important;
  box-shadow: 0 4px 15px rgba(127, 90, 240, 0.4) !important;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(127, 90, 240, 0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cbb8ff;
}

.handle {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.handle.big {
  font-size: 0.95rem;
}

.meta {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.meta .sep {
  opacity: 0.5;
}

.link {
  color: #7f9cf5;
}

.link:hover {
  text-decoration: underline;
}

.empty {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.entry-page {
  background: radial-gradient(circle at top, rgba(127, 90, 240, 0.16), transparent 55%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem 1.1rem 1.2rem;
}

.entry-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.6rem;
  margin-bottom: 0.8rem;
}

.entry-header h1 {
  margin: 0.2rem 0 0;
  font-size: 1.2rem;
}

.entry-title-clickable {
  margin: 0;
}

.title-link {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
  cursor: pointer;
  font-weight: 600;
}

.title-link:hover {
  color: #e4e4ff;
  text-decoration: underline;
  transform: translateX(2px);
}

.entry-content pre {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  padding: 0.8rem;
  overflow-x: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-all;
  max-width: 100%;
  font-size: 0.84rem;
  line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.entry-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
}

.content-wrapper {
  position: relative;
}

.content-preview,
.content-full {
  background: rgba(6, 6, 14, 0.8);
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.content-text {
  color: #ffffff !important;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 0.95rem;
  line-height: 1.8;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  letter-spacing: 0.01em;
}

.content-link {
  color: #7f9cf5 !important;
  text-decoration: underline;
  text-decoration-color: rgba(127, 156, 245, 0.5);
  transition: all 0.2s ease;
  word-break: break-all;
  display: inline-block;
  margin: 0.2rem 0;
}

.content-link:hover {
  color: #a5b4fc !important;
  text-decoration-color: rgba(165, 180, 252, 0.8);
  background: rgba(127, 156, 245, 0.1);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}

.read-more-content-btn {
  background: linear-gradient(135deg, #7f5af0, #6d4cdb) !important;
  border: 1px solid rgba(127, 90, 240, 0.9) !important;
  color: #ffffff !important;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.6rem 1.5rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.read-more-content-btn:hover {
  background: linear-gradient(135deg, #8b6af5, #7d5ceb) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(127, 90, 240, 0.4);
}

.takedown-box-collapsible {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.takedown-toggle-btn {
  width: 100%;
  background: rgba(127, 90, 240, 0.1);
  border: 1px solid rgba(127, 90, 240, 0.3);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.02em;
}

.takedown-toggle-btn:hover {
  background: rgba(127, 90, 240, 0.15);
  border-color: rgba(127, 90, 240, 0.5);
  transform: translateY(-1px);
}

.takedown-toggle-btn.active {
  background: rgba(127, 90, 240, 0.2);
  border-color: rgba(127, 90, 240, 0.6);
}

.toggle-icon {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  color: #7f5af0;
}

.takedown-toggle-btn.active .toggle-icon {
  transform: rotate(180deg);
}

.toggle-text {
  color: rgba(255, 255, 255, 0.95);
}

.takedown-content {
  margin-top: 1rem;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.takedown-box {
  margin-top: 0;
  padding: 1.2rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 6, 14, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.takedown-box .subtitle {
  margin: 0 0 1.2rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.wallet-list {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wallet-label {
  display: inline-block;
  min-width: 90px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.8);
}

.wallet-value {
  font-size: 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  word-break: break-all;
  color: #ffffff !important;
  font-weight: 500;
  display: inline-block;
  margin-left: 0.5rem;
}

.payment-info {
  margin: 0 0 1rem 0;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(127, 90, 240, 0.2);
}

.payment-section-title {
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.8rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7f5af0 !important;
}

.contact-info {
  margin: 0;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(127, 90, 240, 0.2);
}

.contact-section-title {
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.8rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7f5af0 !important;
}

.contact-text {
  color: #ffffff !important;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0.5rem 0;
}

.contact-link {
  color: #7f9cf5 !important;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.contact-link:hover {
  color: #a5b4fc !important;
  text-decoration: underline;
}

.contact-warning {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.85rem;
  font-style: italic;
  margin: 0.5rem 0 0 0;
  padding: 0.5rem;
  background: rgba(127, 90, 240, 0.1);
  border-radius: 4px;
  border-left: 3px solid #7f5af0;
}

.wallet-label {
  display: inline-block;
  min-width: 90px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff !important;
  font-weight: 600;
}

.auth-section {
  max-width: 420px;
  margin: 0 auto;
  padding: 1.3rem 1.4rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, rgba(127, 90, 240, 0.16), transparent 55%);
}

.auth-section h1 {
  margin-top: 0;
}

.auth-section .subtitle {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.7);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(6, 6, 14, 0.96);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.45rem 0.55rem;
  color: #f5f5f5;
  font: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(127, 90, 240, 0.9);
  box-shadow: 0 0 0 1px rgba(127, 90, 240, 0.5);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(127, 90, 240, 0.9);
  background: linear-gradient(135deg, #7f5af0, #6246ea);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.08s ease;
}

.btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 0 1px rgba(127, 90, 240, 0.4);
}

.btn.small {
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
}

.btn.full {
  width: 100%;
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn.danger {
  background: linear-gradient(135deg, #e11d48, #b91c1c);
  border-color: rgba(248, 113, 113, 0.8);
}

.inline-form {
  display: inline;
}

.alert {
  padding: 0.45rem 0.7rem;
  border-radius: 7px;
  font-size: 0.82rem;
}

.alert.error {
  background: rgba(185, 28, 28, 0.18);
  border: 1px solid rgba(252, 165, 165, 0.6);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.admin-header h1 {
  margin: 0;
}

.admin-header .subtitle {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.admin-table th,
.admin-table td {
  padding: 0.35rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table thead th {
  text-align: left;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(15, 23, 42, 0.9);
}

.admin-table tbody tr:hover td {
  background: rgba(10, 10, 24, 0.95);
}

.admin-table .actions {
  white-space: nowrap;
  display: flex;
  gap: 0.25rem;
}

/* Mobile Responsive Styles */
@media (max-width: 720px) {
  .loading-logo {
    font-size: 2.5rem !important;
    padding: 0.8rem 1.5rem !important;
  }

  .subtitle-text {
    font-size: 1rem !important;
    letter-spacing: 0.2em !important;
  }

  .page.has-topbar {
    padding-top: 56px;
  }

  .topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(5, 5, 9, 0.98);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: auto;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(127, 90, 240, 0.2);
    -webkit-overflow-scrolling: touch;
    min-height: 56px;
    max-height: 56px;
  }

  .topbar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .topbar > .logo {
    font-size: 0.9rem;
    flex: 0 0 auto;
    margin: 0;
    text-align: left;
  }

  .logo-link {
    padding: 0.3rem 0.5rem;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    -webkit-tap-highlight-color: rgba(127, 90, 240, 0.3);
    touch-action: manipulation;
  }

  .mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(5, 5, 9, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(127, 90, 240, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-height: 0 !important;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 999;
    flex-direction: column;
    padding: 0;
    margin: 0;
    gap: 0;
    display: flex;
    visibility: hidden;
  }

  .mobile-nav.active {
    max-height: calc(100vh - 56px) !important;
    opacity: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: visible;
  }

  .mobile-nav .nav-link {
    display: block;
    padding: 1rem 1.2rem;
    font-size: 0.85rem;
    min-height: 48px;
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    width: 100%;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: rgba(127, 90, 240, 0.3);
    touch-action: manipulation;
  }

  .mobile-nav .nav-link:active {
    background: rgba(127, 90, 240, 0.15) !important;
    color: #ffffff !important;
  }

  .mobile-nav .nav-link-support {
    background: rgba(127, 90, 240, 0.1) !important;
    color: #7f5af0 !important;
    border-left: 3px solid #7f5af0;
  }

  .mobile-nav .nav-link-complaint {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border-left: 3px solid #ef4444;
  }

  .mobile-auth-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.2rem;
    border-top: 2px solid rgba(127, 90, 240, 0.2);
    margin-top: 0.5rem;
  }

  .mobile-auth-links .topbar-btn {
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    justify-content: center;
  }

  .content {
    padding: 1rem 0.8rem 2rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .entries {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.8rem !important;
    width: 100% !important;
  }

  .entry-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 0.8rem 0 !important;
    padding: 1rem 1rem !important;
    display: block !important;
    position: relative !important;
    -webkit-tap-highlight-color: rgba(127, 90, 240, 0.2);
    cursor: default;
    overflow: hidden !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
    z-index: 1;
  }

  .entry-card header,
  .entry-card .handle,
  .entry-card .meta {
    pointer-events: auto !important;
    -webkit-touch-callout: default;
    -webkit-user-select: text;
    user-select: text;
  }

  .entry-card a,
  .entry-card button,
  .entry-card .read-more-btn {
    pointer-events: auto !important;
    -webkit-tap-highlight-color: rgba(127, 90, 240, 0.4) !important;
    cursor: pointer !important;
    touch-action: manipulation;
    z-index: 10;
    position: relative;
  }

  .entry-card .link {
    pointer-events: auto !important;
    -webkit-tap-highlight-color: rgba(127, 156, 245, 0.3);
  }

  .entry-card h3 {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin: 0.5rem 0 !important;
  }

  .read-more-btn {
    width: 100% !important;
    min-height: 44px !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.85rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    -webkit-tap-highlight-color: rgba(127, 90, 240, 0.4);
    touch-action: manipulation;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero .subtitle {
    font-size: 0.85rem;
  }

  .list-section {
    padding: 0.8rem;
    width: 100%;
    overflow-x: hidden;
  }

  .entry-card {
    padding: 0.9rem 1rem !important;
    min-height: auto;
  }

  .entry-card h3 {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  .entry-card-footer {
    margin-top: 0.8rem !important;
    padding-top: 0.8rem !important;
  }

  .admin-table {
    font-size: 0.75rem;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.25rem 0.3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
  }

  .admin-table th:nth-child(4),
  .admin-table td:nth-child(4),
  .admin-table th:nth-child(5),
  .admin-table td:nth-child(5) {
    display: none;
  }

  .admin-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .admin-header > div:last-child {
    width: 100%;
    flex-wrap: wrap;
  }

  .btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }

  .auth-section {
    padding: 1rem;
    margin: 0.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .entry-page {
    padding: 0.8rem;
  }

  .entry-content pre {
    font-size: 0.8rem;
    padding: 0.8rem;
    overflow-x: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
    line-height: 1.6;
    box-sizing: border-box;
  }

  .content-preview,
  .content-full {
    padding: 1.2rem !important;
    border-radius: 8px !important;
  }

  .content-text {
    font-size: 0.9rem !important;
    line-height: 1.8 !important;
  }

  .content-link {
    font-size: 0.85rem !important;
    word-break: break-all !important;
  }

  .read-more-content-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.7rem 1.2rem !important;
  }

  .title-link {
    padding: 0.6rem 0;
    min-height: 48px; /* iOS touch target */
    display: flex;
    align-items: center;
    font-size: 1rem;
  }

  .entry-title-clickable {
    margin: 0.5rem 0;
  }

  .entry-header h1 {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .entry-card header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
  }

  .takedown-box-collapsible {
    margin-top: 1.2rem;
  }

  .takedown-toggle-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  .takedown-box {
    padding: 1rem 0.9rem;
  }

  .payment-info,
  .contact-info {
    padding: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .wallet-value {
    font-size: 0.75rem;
    word-break: break-all;
  }

  .payment-section-title,
  .contact-section-title {
    font-size: 0.95rem !important;
  }

  .contact-text {
    font-size: 0.9rem !important;
    line-height: 1.8 !important;
  }

  .wallet-value {
    font-size: 0.85rem !important;
    padding: 0.5rem 0.7rem !important;
    display: block !important;
    margin-left: 0 !important;
    margin-top: 0.3rem !important;
  }

  .wallet-label {
    display: block !important;
    margin-bottom: 0.3rem;
    min-width: auto !important;
  }

  .wallet-list li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .wallet-list li:last-child {
    border-bottom: none;
  }

  .payment-info,
  .contact-info {
    padding: 1.2rem !important;
    margin: 1.2rem 0 !important;
  }

  .footer {
    flex-wrap: wrap;
    font-size: 0.75rem;
    padding: 0.6rem 1rem;
    gap: 0.3rem;
  }

  .banner-image {
    max-height: 150px;
  }
}

@media (max-width: 480px) {
  .loading-logo {
    font-size: 2rem !important;
    padding: 0.6rem 1rem !important;
    letter-spacing: 0.1em !important;
  }

  .subtitle-text {
    font-size: 0.85rem !important;
    letter-spacing: 0.15em !important;
  }

  .page.has-topbar {
    padding-top: 56px;
  }

  .topbar {
    padding: 0.5rem 0.8rem;
    min-height: 56px;
    max-height: 56px;
  }

  .logo-link {
    font-size: 0.85rem;
  }

  .mobile-menu-toggle {
    width: 28px;
    height: 28px;
  }

  .topbar > .logo {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
  }

  .logo-link {
    padding: 0.25rem 0.4rem;
    font-size: 0.8rem;
  }

  .topbar > .nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
    font-size: 0.65rem;
  }

  .nav-link {
    padding: 0.45rem 0.3rem;
    font-size: 0.65rem;
    min-height: 36px;
  }

  .topbar-right {
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    gap: 0.3rem;
  }

  .topbar-btn {
    min-height: 34px;
    padding: 0.35rem 0.7rem;
    font-size: 0.65rem;
  }

  .entry-card {
    padding: 0.9rem 1rem;
  }

  .entry-card .entry-title {
    font-size: 0.95rem;
  }

  .read-more-btn {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1rem !important;
  }

  .hero h1 {
    font-size: 1.3rem;
  }

  .content {
    padding: 0.8rem 0.6rem 1.5rem;
  }

  .list-section {
    padding: 0.6rem;
  }

  .admin-table {
    font-size: 0.7rem;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.2rem 0.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
  }
}

.banner-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 0;
  background: rgba(6, 6, 14, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.banner-top {
  border-top: none;
}

.banner-bottom {
  border-bottom: none;
}

.banner-image {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  border-radius: 6px;
}

.banner-container a {
  display: block;
  width: 100%;
  text-align: center;
}

.banner-container a:hover {
  opacity: 0.9;
}

/* Pagination Styles */
.pagination-wrapper {
  padding: 1.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pagination-top {
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination-info-top {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.pagination-info-top strong {
  color: #7f5af0;
  font-weight: 700;
}

.pagination-info {
  text-align: center;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
}

.pagination-btn {
  min-width: 44px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.2s ease;
  border-radius: 8px;
}

.pagination-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(127, 90, 240, 0.3);
}

.pagination-active {
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(127, 90, 240, 0.4) !important;
}

.pagination-ellipsis {
  color: rgba(255, 255, 255, 0.3);
  padding: 0 0.5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  height: 40px;
}

@media (max-width: 720px) {
  .pagination-controls {
    gap: 0.4rem;
  }
  
  .pagination-btn {
    min-width: 40px;
    height: 36px;
    font-size: 0.75rem;
  }
  
  .pagination-info-top {
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }
}

/* Modern Admin Panel Styles */
.admin-header-modern {
  background: radial-gradient(circle at top left, rgba(127, 90, 240, 0.2), transparent 60%),
    radial-gradient(circle at bottom right, rgba(17, 94, 89, 0.15), transparent 50%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.admin-header-content {
  margin-bottom: 1.5rem;
}

.admin-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-danger-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(6, 6, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.admin-action-btn:hover {
  background: rgba(127, 90, 240, 0.15);
  border-color: rgba(127, 90, 240, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(127, 90, 240, 0.2);
}

.admin-action-btn.primary {
  background: linear-gradient(135deg, #7f5af0, #6d4cdb);
  border-color: #7f5af0;
}

.admin-action-btn.primary:hover {
  background: linear-gradient(135deg, #8b6af5, #7d5ceb);
  box-shadow: 0 4px 15px rgba(127, 90, 240, 0.4);
}

.admin-action-btn.danger:hover {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.4);
}

.btn-icon {
  font-size: 1rem;
}

.admin-entries-section {
  background: radial-gradient(circle at top left, rgba(127, 90, 240, 0.16), transparent 55%),
    radial-gradient(circle at bottom right, rgba(17, 94, 89, 0.18), transparent 50%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-section-header h2 {
  margin: 0;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-count-badge {
  background: rgba(127, 90, 240, 0.2);
  color: #cbb8ff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(127, 90, 240, 0.3);
}

.admin-empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.admin-entries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.admin-entry-card {
  background: rgba(6, 6, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.admin-entry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(127, 90, 240, 0.1), transparent);
  transition: left 0.5s ease;
}

.admin-entry-card:hover::before {
  left: 100%;
}

.admin-entry-card:hover {
  border-color: rgba(127, 90, 240, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(127, 90, 240, 0.2);
}

.admin-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.admin-entry-id {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  font-family: monospace;
}

.admin-entry-title {
  margin: 0.5rem 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.admin-entry-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.admin-entry-title a:hover {
  color: #cbb8ff;
}

.admin-entry-handle {
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.admin-entry-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.meta-icon {
  opacity: 0.6;
}

.admin-entry-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-entry-actions .btn {
  flex: 1;
  min-width: 80px;
  justify-content: center;
}

/* Improved overall design - cleaner spacing and typography */
.hero {
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.list-section {
  margin-bottom: 2rem;
}

.entry-card {
  margin-bottom: 0.5rem;
}

/* Better button styles */
.btn {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Improved alert styles */
.alert {
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.alert-success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-error {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

@media (max-width: 720px) {
  .admin-quick-actions {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
  }
  
  .admin-action-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .admin-entries-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-entry-actions {
    flex-direction: column;
  }
  
  .admin-entry-actions .btn {
    width: 100%;
  }
}


