* {
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    padding: 50px 30px;
    padding-top: 100px;
}

body.no-scroll {
    overflow: hidden;
}

/* Header Glow Effect */
.header-glow {
    text-shadow: 0 0 20px rgba(163, 230, 53, 0.5);
}

.neon-text {
    color: #a3e635;
    text-shadow: 0 0 10px rgba(163, 230, 53, 0.8);
}

/* Navbar Dark Theme */
.navbar {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #374151;
    padding: 15px 32px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 6px rgba(163, 230, 53, 0.1), 0 1px 3px rgba(163, 230, 53, 0.08);
}

.navbar-brand {
    color: #fff;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar-brand.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Screen Dark */
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    color: #fff;
}

.spinner-border.custom-spinner {
    color: #a3e635;
}

/* Form Controls Dark */
.form-control {
    background-color: #000;
    border: 1px solid #374151;
    color: #fff;
    border-radius: 8px;
}

.form-control:focus {
    background-color: #000;
    border-color: #a3e635;
    box-shadow: 0 0 0 0.25rem rgba(163, 230, 53, 0.25);
    color: #fff;
}

.form-control::placeholder {
    color: #9ca3af;
}

/* Search Input */
#searchInput {
    background-color: #000;
    border: 1px solid #374151;
    color: #fff;
    padding: 12px 16px;
    padding-left: 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#searchInput:focus {
    border-color: #a3e635;
    box-shadow: 0 0 0 0.25rem rgba(163, 230, 53, 0.25);
}

/* Search Icon */
.search-container {
    position: relative;
}

.search-container i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    z-index: 10;
}

/* Modal Dark Theme */
.modal-content {
    background-color: #111;
    border: 1px solid #374151;
    padding: 10px;
    color: #fff;
}

.modal-header {
    border-bottom: 1px solid #374151;
}

.modal-footer {
    border-top: 1px solid #374151;
}

.btn-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    opacity: 0.7;
}

.btn-close:hover {
    opacity: 1;
}

.btn-close:focus {
    outline: none;
    box-shadow: none;
}

/* Button Dark */
.btn-dark {
    background-color: #a3e635;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: #84cc16;
    color: #000;
    transform: translateY(-1px);
}

/* Pre/Code Dark */
#apiResponseContent, #apiEndpoint {
    font-family: 'Courier New', monospace;
    background-color: #1a1a1a !important;
    color: #e5e7eb;
    border: 1px solid #374151;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Hero Section Dark */
.hero-section {
    padding: 20px 25px;
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #374151;
    border-radius: 10px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-section .text-muted {
    color: #9ca3af !important;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.2;
}

/* Lead text */
.lead {
    font-size: 15px;
    color: #d1d5db;
}

/* Name and Version */
#nameContainer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
}

#name {
    font-size: 32px;
    line-height: 1;
    z-index: 2;
    color: #fff;
}

#version {
    background-color: #a3e635;
    color: #000;
    padding: 5px 12px;
    font-size: 11px;
    border-radius: 100px;
    white-space: nowrap;
    font-weight: 600;
}

/* Links */
#apiLinks a {
    display: block;
    text-decoration: underline;
    margin-bottom: 0.3rem;
    color: #a3e635;
}

#apiLinks a:hover {
    color: #84cc16;
}

/* Banner */
.banner {
    border-radius: 8px;
    border: 1px solid #374151;
}

/* Invalid form */
.form-control.is-invalid {
    border-color: #dc3545;
    background-color: #000;
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

/* Modal Dialog */
.modal-dialog {
    margin: 20px;
    max-width: 100%;
    max-height: 80vh;
}

.modal-body {
    max-height: 60vh;
    overflow-y: auto;
}

/* Responsive */
@media screen and (min-width: 768px) {
    .modal-dialog {
        padding: 180px;
        max-width: 100%;
        max-height: 60vh;
    }
}

@media screen and (min-width: 1200px) {
    .modal-dialog {
        padding: 180px;
        max-width: 100%;
        max-height: 60vh;
    }
}