/* ========================================
   CLIP CORNERS - Angular Design System
   ======================================== */
.clip-corner {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.clip-corner-sm {
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.clip-corner-lg {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

/* ========================================
   NEON GLOW EFFECTS
   ======================================== */
.neon-text {
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.8),
               0 0 20px rgba(0, 212, 255, 0.6),
               0 0 30px rgba(0, 212, 255, 0.4);
}

.shadow-neon {
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5),
              0 0 30px rgba(0, 212, 255, 0.3);
}

.shadow-neon-strong {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.7),
              0 0 40px rgba(0, 212, 255, 0.5),
              0 0 60px rgba(0, 212, 255, 0.3);
}

/* ========================================
   PARTICLE ANIMATION
   ======================================== */
.particle-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle-container::before,
.particle-container::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: #00d4ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00d4ff;
  animation: particle-float 8s infinite;
}

.particle-container::before {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.particle-container::after {
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

@keyframes particle-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translate(50px, -100px) scale(1.5);
    opacity: 0.8;
  }
  90% {
    opacity: 0.5;
  }
}

/* ========================================
   MARQUEE ANIMATION
   ======================================== */
.marquee-content {
  animation: marquee 30s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu {
  position: fixed;
  top: 4rem;
  left: 0;
  width: 100%;
  height: 0;
  background: #1a1a1a;
  overflow: hidden;
  transition: height 0.3s ease;
  z-index: 40;
}

.mobile-menu.active {
  height: calc(100vh - 4rem);
  border-bottom: 2px solid rgba(0, 212, 255, 0.2);
}

/* ========================================
   GAME CARDS
   ======================================== */
.game-card {
  background: #1a1a1a;
  padding: 1.25rem;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
}

.game-card:hover {
  border-color: #00d4ff;
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

/* ========================================
   TABLE RESPONSIVE
   ======================================== */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

.table-responsive table {
  min-width: 100%;
  width: max-content;
}

/* ========================================
   PROSE STYLING FOR MARKDOWN CONTENT
   ======================================== */
.prose {
  max-width: 100%;
  color: #d1d5db;
  line-height: 1.75;
}

.prose h2 {
  color: #00d4ff;
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.prose h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.prose h4 {
  color: #f3f4f6;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.875rem;
}

.prose p {
  margin-bottom: 1.5rem;
  line-height: 1.75;
  color: #d1d5db;
}

.prose strong {
  color: #ffffff;
  font-weight: 600;
}

.prose a {
  color: #00d4ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.prose a:hover {
  color: #0099ff;
  text-decoration: underline;
}

.prose ul,
.prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.75;
  color: #d1d5db;
}

.prose li::marker {
  color: #00d4ff;
}

.prose table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 2rem;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}

.prose table thead {
  background: #1a1a1a;
}

.prose table th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #00d4ff;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.prose table td {
  padding: 0.875rem 1rem;
  color: #d1d5db;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.prose table tbody tr {
  background: #2a2a2a;
  transition: background 0.2s ease;
}

.prose table tbody tr:hover {
  background: #1a1a1a;
}

.prose blockquote {
  border-left: 4px solid #00d4ff;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #9ca3af;
  background: #1a1a1a;
  padding: 1.5rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2rem 0;
  border: 2px solid rgba(0, 212, 255, 0.2);
}

.prose code {
  background: #1a1a1a;
  color: #00d4ff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: 'Courier New', monospace;
}

.prose pre {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.prose pre code {
  background: none;
  padding: 0;
}

.prose hr {
  border: none;
  border-top: 2px solid rgba(0, 212, 255, 0.2);
  margin: 3rem 0;
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */
@media (max-width: 768px) {
  .prose h2 {
    font-size: 1.5rem;
  }
  
  .prose h3 {
    font-size: 1.25rem;
  }
  
  .prose h4 {
    font-size: 1.125rem;
  }
  
  .prose table {
    font-size: 0.875rem;
  }
  
  .prose table th,
  .prose table td {
    padding: 0.625rem 0.75rem;
  }
}

/* ========================================
   SMOOTH SCROLL
   ======================================== */
html {
  scroll-behavior: smooth;
}

/* ========================================
   FOCUS STATES FOR ACCESSIBILITY
   ======================================== */
a:focus,
button:focus {
  outline: 2px solid #00d4ff;
  outline-offset: 2px;
}
