body {
  font-size: 19px;
  background: radial-gradient(ellipse at 70% 15%, #1be0ff44 0%, #11151b 100%);
  min-height: 100vh;
  color: #e8f7fa;
  font-family: 'Share Tech Mono', 'Inter', monospace, Arial, sans-serif;
  letter-spacing: 0.01em;
  animation: bg-flow 25s linear infinite alternate;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

@keyframes bg-flow {
  0% { background-position: 0% 0%; }
  100% { background-position: 80% 100%; }
}

a, .accent-link {
  color: #ee40ff;
  text-shadow: 0 0 5px #12ffc299, 0 0 15px #1be0ff22;
  transition: color 0.15s, text-shadow 0.2s;
  text-decoration: none;
}
a:hover, .accent-link:hover {
  color: #12ffc2;
  text-shadow: 0 0 12px #12ffc2cc, 0 0 30px #1be0ff44;
}

.navbar, .terminal-nav {
  background: linear-gradient(90deg, #181f2aee 60%, #232e42cc 100%);
  backdrop-filter: blur(4px);
  border-bottom: 2px solid #38ffad77;
  box-shadow: 0 6px 30px #1be0ff22;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.navbar .logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8em;
    color: #1be0ff;
    text-shadow:
      0 0 6px #12ffc2cc,
      0 0 18px #1be0ff77,
      0 0 36px #c2fffb33;
}

.navbar .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.navbar .nav-links a {
    color: #e8f7fa;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.navbar .nav-links a:hover {
    background-color: #1be0ff33;
    color: #12ffc2;
}

.section, .card, .fast-stats {
  background: linear-gradient(120deg, #181f2aee 70%, #11151b 100%);
  border-radius: 18px;
  box-shadow: 0 2px 28px #1be0ff22;
  margin: 2.2rem auto;
  padding: 2.2rem 1.3rem;
  border: 1.5px solid #38ffad33;
  backdrop-filter: blur(4px);
  max-width: 1000px; /* Limit content width */
}

h1, h2, .neon, .neon-text {
  color: #1be0ff;
  text-shadow:
    0 0 6px #12ffc2cc,
    0 0 18px #1be0ff77,
    0 0 36px #c2fffb33;
  font-family: 'Orbitron', 'Share Tech Mono', monospace;
  letter-spacing: 0.05em;
}

h1 {
  font-size: 2.4em;
  margin-bottom: 0.5em;
  font-weight: 700;
}

h2 {
    font-size: 2em;
    margin-bottom: 1em;
    text-align: center;
}

.stat-number {
  color: #ffbe2f;
  font-size: 2em;
  text-shadow: 0 0 10px #ffbe2f66, 0 0 22px #38ffad33;
  font-family: 'Share Tech Mono', monospace;
}

.stat-label {
  color: #12ffc2;
  font-size: 1em;
  font-family: 'Inter', Arial, sans-serif;
  opacity: 0.92;
}

button, .gallery-prev, .gallery-next {
  background: linear-gradient(135deg, #1be0ff33 0%, #12ffc255 100%);
  border: 2px solid #38ffad;
  color: #1be0ff;
  border-radius: 12px;
  box-shadow: 0 0 14px #12ffc244;
  font-weight: bold;
  font-size: 1.5em;
  transition: box-shadow 0.18s, border 0.14s;
  cursor: pointer;
  padding: 0.8em 1.5em;
}
button:hover, .gallery-prev:hover, .gallery-next:hover {
  box-shadow: 0 0 32px #1be0ff99, 0 0 14px #12ffc2cc;
  border-color: #ee40ff;
  color: #ee40ff;
}

input, select, textarea {
  background: #222938;
  color: #e8f7fa;
  border: 1.5px solid #38ffad99;
  border-radius: 7px;
  box-shadow: 0 0 6px #1be0ff22;
  padding: 0.6em 1em;
  transition: border-color 0.16s;
}

input:focus, select:focus, textarea:focus {
  border-color: #1be0ff;
  outline: none;
}

.terminal-intro, .terminal-window {
  background: #181f2aee;
  color: #e8f7fa;
  border: 1.5px solid #1be0ff55;
  border-radius: 14px;
  box-shadow: 0 0 22px #1be0ff22;
  font-family: 'Share Tech Mono', monospace;
  padding: 2rem 1rem 1.2rem 1.4rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

::-webkit-scrollbar {
  width: 12px;
  background: #11151b;
}
::-webkit-scrollbar-thumb {
  background: #1be0ff33;
  border-radius: 9px;
}

.gallery-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  padding: 1.5rem 0;
  position: relative;
}
.gallery-track {
  display: flex;
  overflow-x: auto;
  gap: 1.3rem;
  scroll-behavior: smooth;
  padding-bottom: 0.7rem;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.gallery-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}
.gallery-track img {
  min-width: 400px;
  border-radius: 14px;
  box-shadow: 0 0 24px #1be0ff44;
  border: 1.5px solid #38ffad77;
  background: #161d26;
  height: auto; /* Maintain aspect ratio */
}

.disclaimer-box {
  background: linear-gradient(90deg, #222938bb 80%, #11151b 100%);
  border-left: 5px solid #ee40ff;
  color: #c2fffb;
  padding: 1.3rem 1.5rem;
  border-radius: 13px;
  margin: 2.2rem auto 1.2rem;
  font-size: 1.05em;
  box-shadow: 0 2px 16px #1be0ff22;
  font-family: 'Inter', Arial, sans-serif;
  max-width: 1000px;
}

/* Additional styles for layout and responsiveness */
main {
    padding: 1rem;
}

.stats-grid, .vendor-stats-grid, .xmr-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
    margin-top: 2rem;
}

.stats-grid > div, .vendor-stats-grid > div, .xmr-stats > div {
    background: #161d26;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #38ffad55;
    box-shadow: 0 0 10px #1be0ff11;
}

.registration-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    text-align: center;
}

.flow-step {
    background: #222938;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #1be0ff55;
    color: #12ffc2;
    font-weight: bold;
}

.flow-arrow {
    font-size: 2em;
    color: #ee40ff;
}

.mirror-links-php p {
    background: #161d26;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    border: 1px solid #38ffad55;
}

.mirror-links-php a {
    color: #1be0ff;
    text-shadow: none;
}

.mirror-links-php a:hover {
    color: #ee40ff;
}

/* Matrix Background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.matrix-symbol {
    position: absolute;
    color: #12ffc2;
    opacity: 0.6;
    animation: fall linear infinite;
    white-space: nowrap;
}

@keyframes fall {
    0% {
        transform: translateY(-100%);
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Terminal Typing Animation */
.terminal-intro {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#boot-sequence, #typed-text {
    font-size: 1.5em;
    white-space: pre;
    overflow: hidden;
    border-right: 0.15em solid #12ffc2;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

#typed-text.typing {
    animation: none; /* Disable initial typing animation for typed-text */
    border-right: 0.15em solid #12ffc2;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #12ffc2; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .navbar .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 1rem;
    }

    .navbar .nav-links li a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9em;
    }

    .section, .disclaimer-box, .terminal-intro {
        margin: 1.5rem 0.5rem;
        padding: 1.5rem 1rem;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.6em;
    }

    .stats-grid, .vendor-stats-grid, .xmr-stats {
        grid-template-columns: 1fr;
    }

    .gallery-track img {
        min-width: 280px;
    }

    .flow-step {
        padding: 0.8rem 1rem;
        font-size: 0.9em;
    }

    .flow-arrow {
        font-size: 1.5em;
    }

    #boot-sequence, #typed-text {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .navbar .logo {
        font-size: 1.5em;
    }

    .navbar .nav-links {
        gap: 0.8rem;
    }

    .section, .disclaimer-box, .terminal-intro {
        margin: 1rem 0.2rem;
        padding: 1rem 0.5rem;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.3em;
    }

    .stat-number {
        font-size: 1.5em;
    }

    .stat-label {
        font-size: 0.8em;
    }

    button, .gallery-prev, .gallery-next {
        font-size: 1.2em;
        padding: 0.6em 1em;
    }

    .gallery-track img {
        min-width: 250px;
    }

    #boot-sequence, #typed-text {
        font-size: 1em;
    }
}

