:root {
  --bg: #0b0c0d;
  --neon: #ff8a00;
  --muted: #8a8f98;
  --card: #111214;
  --text: #e8eaed;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: pan-y;
}

html, body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: 
    radial-gradient(circle at 10% 20%, rgba(255, 138, 0, 0.03) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(255, 138, 0, 0.02) 0%, transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(255, 138, 0, 0.01) 0%, transparent 30%),
    linear-gradient(135deg, #0b0c0d 0%, #111214 50%, #0b0c0d 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 16px;
  line-height: 1.5;
  touch-action: manipulation;
  position: relative;
}

body.touch-device *:hover {
  background-color: transparent !important;
}

body.touch-device .btn:hover,
body.touch-device .command:hover,
body.touch-device .community-link:hover {
  transform: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: rgba(255, 138, 0, 0.1);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.site {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3), 
    0 0 60px rgba(255, 138, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  position: relative;
  z-index: 1;
}

.header {
  padding: 40px 30px 30px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  background: 
    radial-gradient(circle at 50% 0%, rgba(255, 138, 0, 0.03) 0%, transparent 50%);
}

@media (max-width: 480px) {
  .header {
    padding: 30px 20px 20px;
  }
}

@keyframes pulseNeon {
  0%, 100% { 
    box-shadow: 
      0 0 20px rgba(255, 138, 0, 0.1), 
      0 0 40px rgba(255, 138, 0, 0.05),
      inset 0 0 20px rgba(255, 138, 0, 0.02);
    border-color: rgba(255, 138, 0, 0.2); 
  }
  50% { 
    box-shadow: 
      0 0 30px rgba(255, 138, 0, 0.15), 
      0 0 50px rgba(255, 138, 0, 0.08),
      inset 0 0 25px rgba(255, 138, 0, 0.03);
    border-color: rgba(255, 138, 0, 0.3); 
  }
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 2px solid rgba(255, 138, 0, 0.2);
  animation: pulseNeon 4s infinite ease-in-out, fadeInUp 0.5s ease-out 0.1s backwards;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--neon);
  margin-bottom: 8px;
  animation: fadeInUp 0.5s ease-out 0.2s backwards;
  text-shadow: 0 0 10px rgba(255, 138, 0, 0.3);
}

.username {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 16px;
  animation: fadeInUp 0.5s ease-out 0.3s backwards;
}

.tagline {
  font-size: 18px;
  color: var(--text);
  max-width: 500px;
  margin: 0 auto 24px;
  animation: fadeInUp 0.5s ease-out 0.4s backwards;
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }
  
  .username {
    font-size: 16px;
  }
  
  .tagline {
    font-size: 16px;
  }
}

.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.5s ease-out 0.5s backwards;
}

.btn {
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  touch-action: manipulation;
}

.btn-pressed {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

.btn-primary {
  background: var(--neon);
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 138, 0, 0.3);
}

body:not(.touch-device) .btn-primary:hover {
  background: #ff9a1a;
  box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body:not(.touch-device) .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 480px) {
  .btn {
    padding: 16px 24px;
    width: 100%;
    font-size: 16px;
  }
  
  .actions {
    flex-direction: column;
  }
}

.content {
  padding: 40px 30px;
  animation: fadeInUp 0.5s ease-out 0.6s backwards;
}

@media (max-width: 480px) {
  .content {
    padding: 30px 20px;
  }
}

.section {
  margin-bottom: 40px;
}

.section:last-child {
  margin-bottom: 0;
}

h2 {
  font-size: 24px;
  color: var(--neon);
  margin-bottom: 20px;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(255, 138, 0, 0.2);
}

h3 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 600;
}

@media (max-width: 480px) {
  h2 {
    font-size: 22px;
  }
  
  h3 {
    font-size: 18px;
  }
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 480px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: rgba(255, 255, 255, 0.02);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.feature h4 {
  color: var(--neon);
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.feature p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.feature code {
  background: rgba(255, 138, 0, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--neon);
}

.commands-container {
  background: rgba(0, 0, 0, 0.3);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.commands-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
}

.setup-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.step-number {
  background: rgba(255, 138, 0, 0.1);
  color: var(--neon);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content p {
  color: var(--muted);
  font-size: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 138, 0, 0.2);
  box-shadow: 0 5px 15px rgba(255, 138, 0, 0.1);
}

.stat-value {
  font-size: 42px;
  font-weight: 700;
  color: var(--neon);
  margin-bottom: 8px;
  text-shadow: 0 0 5px rgba(255, 138, 0, 0.2);
}

.stat-label {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}

.stats-update-time {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 30px;
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
  }
  
  .stat-card {
    padding: 25px;
  }
  
  .stat-value {
    font-size: 36px;
  }
}

.community-section {
  text-align: center;
  padding: 24px;
  background: rgba(255, 138, 0, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.community-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
}

.community-section h3 {
  margin-bottom: 16px;
}

.community-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .community-links {
    flex-direction: column;
    gap: 10px;
  }
  .community-link {
    width: 100%;
  }
}

.community-link {
  padding: 12px 20px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateZ(0);
  touch-action: manipulation;
}

.community-link-pressed {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

body:not(.touch-device) .community-link:hover {
  opacity: 0.9;
}

.channel {
  background: #0088cc;
}

.support {
  background: #4a76a8;
}

.emoji-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 138, 0, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 0, 0.1);
  margin-top: 20px;
}

.emoji-feature span {
  font-size: 28px;
}

.emoji-feature p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

@media (max-width: 480px) {
  .emoji-feature {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

footer {
  padding: 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

.footer-text {
  color: var(--muted);
  font-size: 14px;
}

.copy-notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--neon);
  color: #000;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 138, 0, 0.3);
}

.copy-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.command-name, .command-desc {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

@media (prefers-reduced-motion: reduce) {
  .avatar {
    animation: none;
  }
  
  .particle {
    animation: none;
  }
}

.navigation {
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-list {
  display: flex;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 10px;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 16px 20px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  position: relative;
}

.nav-link.active {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

body:not(.touch-device) .nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 768px) {
  .nav-list {
    justify-content: stretch;
  }
  
  .nav-item {
    flex: 1;
    text-align: center;
  }
  
  .nav-link {
    padding: 14px 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .nav-list {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-item {
    flex: 0 0 auto;
  }
  
  .nav-link {
    padding: 12px 16px;
    white-space: nowrap;
    font-size: 14px;
  }
}

.page-section {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

.agreement-notice {
  background: rgba(255, 138, 0, 0.05);
  border: 1px solid rgba(255, 138, 0, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--muted);
}

.agreement-content {
  line-height: 1.7;
}

.agreement-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.agreement-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.agreement-section h3 {
  color: var(--neon);
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 138, 0, 0.2);
}

.agreement-text p {
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.agreement-text ul {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--muted);
}

.agreement-text li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.agreement-text strong {
  color: var(--text);
}

.faq-navigation {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.faq-nav-link {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 14px;
}

.faq-nav-link:hover {
  background: rgba(255, 138, 0, 0.1);
  border-color: rgba(255, 138, 0, 0.2);
  color: var(--neon);
}

@media (max-width: 480px) {
  .faq-navigation {
    flex-direction: column;
    gap: 8px;
  }
  
  .faq-nav-link {
    text-align: center;
    padding: 12px;
  }
}

.faq-category {
  margin-bottom: 40px;
}

.faq-category h3 {
  color: var(--neon);
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 138, 0, 0.2);
}

.faq-item {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 138, 0, 0.1);
  transform: translateY(-1px);
}

.faq-question {
  color: var(--neon);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 18px;
}

.faq-answer {
  color: var(--muted);
  line-height: 1.6;
}

.command-category {
  margin-bottom: 40px;
}

.command-category h3 {
  color: var(--neon);
  font-size: 22px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 138, 0, 0.2);
}

.command-note {
  background: rgba(255, 138, 0, 0.05);
  border: 1px solid rgba(255, 138, 0, 0.1);
  border-radius: 12px;
  padding: 24px;
  margin-top: 30px;
}

.command-note h4 {
  color: var(--neon);
  margin-bottom: 15px;
  font-size: 18px;
}

.command-note ul {
  color: var(--muted);
  margin-bottom: 15px;
  padding-left: 20px;
}

.command-note li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.command-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.command-card:hover {
  border-color: rgba(255, 138, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 138, 0, 0.05);
}

.command-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.command-name {
  color: var(--neon);
  font-weight: 600;
  font-size: 18px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  line-height: 1.4;
  flex: 1;
}

.copy-btn {
  background: rgba(255, 138, 0, 0.1);
  border: 1px solid rgba(255, 138, 0, 0.2);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--neon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.copy-btn:hover {
  background: rgba(255, 138, 0, 0.2);
  transform: scale(1.05);
}

.copy-btn:active {
  transform: scale(0.95);
}

.copy-btn.copied {
  background: rgba(76, 175, 80, 0.2);
  border-color: rgba(76, 175, 80, 0.3);
  color: #4CAF50;
}

.command-desc {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
  margin: 0;
}

@media (max-width: 480px) {
  .command-card {
    padding: 16px;
  }
  
  .command-header {
    flex-direction: column;
    gap: 8px;
  }
  
  .command-name {
    font-size: 16px;
  }
  
  .copy-btn {
    align-self: flex-end;
    width: 32px;
    height: 32px;
    padding: 6px;
  }
}

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

.stat-value.animating {
  animation: countUp 0.8s ease-out;
}