body {
    background-color: #000;
    color: #00FF00;
    font-family: monospace;
    overflow-x: hidden;
    font-size: 12px;
}
a, .navbar-dark .navbar-nav .nav-link, .navbar-dark .navbar-brand, .navbar-dark .navbar-text {
    color: #00FF00 !important;
}
.top-nav {
    background-color: #0e0e0e;
    height: 50px;
    padding: 12px;
}
.art-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0 2rem 0;
    padding-left: 2rem;
    padding-right: 2rem;
}
@media (max-width: 1200px) {
    .art-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 991px) {
    .art-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .art-grid {
        grid-template-columns: 1fr;
    }
}
.art-item {
    background: #111;
    border-radius: 12px;
    padding: 1.5rem 1rem 1rem 1rem;
    text-align: left;
    box-shadow: 0 0 12px #00FF0033;
    position: relative;
}
.art-item img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #000;
}
.art-title {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.art-links {
    color: #5b5b5b;
    font-weight: normal;
    font-size: 12px;
}
.art-links a {
    color: #5b5b5b !important;
    text-decoration: underline;
    font-size: 12px;
    font-weight: normal;
}
.download-links {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.download-links a {
    color: #00FF00;
    text-decoration: underline;
    margin: 0 0.5em;
}
.context-section {
    max-width: 700px;
    text-align: center;
    font-size: 1.15rem;
    color: #00FF00;
}
.avatar-img {
    display: block;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
}
footer {
    background: #0e0e0e;
    color: #00FF00;
    text-align: center;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 2rem;
}
footer a {
    color: #00FF00;
    text-decoration: underline;
    margin: 0 0.7em;
}
.art-title,
.download-links,
.context-section,
footer {
    font-size: 12px;
}
/* Gradient border preview for agent001 */
.gradient-border-preview {
    position: relative;
    border: solid 3px transparent;
    border-radius: 1.2em;
    --border-angle: 0turn;
    --main-bg: conic-gradient(
        from var(--border-angle),
        #111,
        #222 5%,
        #222 60%,
        #111 95%
    );
    --gradient-border: conic-gradient(from var(--border-angle), transparent 25%, #00FF00, #5b5b5b 99%, transparent);
    background:
        var(--main-bg) padding-box,
        var(--gradient-border) border-box,
        var(--main-bg) border-box;
    background-position: center center;
    animation: border-spin 3s linear infinite;
}
@keyframes border-spin {
    to {
        --border-angle: 1turn;
    }
}
@property --border-angle {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0turn;
}
.art-item-media {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1rem auto;
    border-radius: 8px;
    overflow: hidden;
}
.art-item-media img,
.art-item-media video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #000;
}
.art-item-media video {
    display: none;
    margin-bottom: 1rem;
}
.art-item.gradient-border-preview .art-item-media img {
    display: none;
}
.art-item.gradient-border-preview .art-item-media video {
    display: block;
}

.selected {
    text-decoration: underline;
}
.top-nav .left-text,
.top-nav .right-text {
    padding: 0 10px;
}
.carousel-item {
    height: 100vh;
    min-height: 300px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.grid-column {
    padding: 10px;
}
.grid-column img {
    width: 100%;
    height: auto;
}
.img400 {
    max-width: 800px;
    /* max-height: 600px; */
    height: auto;
}
.green-text {
    color: #00ff00;
}

.scramble-text {
    display: inline-block;
}

.table {
    color: #00ffff;
    font-family: monospace;
}

.table tr:hover {
    background-color: #00ffff !important;
    color: #333333 !important;
}

.disabled-link {
    color: #00ffff;
    pointer-events: none;
    text-decoration: none;
}

.footer-link {
    color: #00ffff;
    text-decoration: none;
    font-family: monospace;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.repo-text {
    color: #00ffff;
    font-family: monospace;
}

.repo-text a {
    color: #00ffff;
    text-decoration: underline;
}

.table th, .table td {
    border-bottom: 1px solid #333333;
    vertical-align: middle;
    text-align: left;
}

.my-100 {
    margin-top: 100px !important;
    margin-bottom: 100px !important;
}

.table tr:hover .disabled-link {
    color: #333333 !important;
}

.preview-link {
    color: #00ffff !important;
    text-decoration: none;
    padding: 0;
    font-size: inherit;
    font-family: monospace;
}

/* Modal styles */
.modal-content {
    background-color: #0e0e0e;
    border: 1px solid #00ffff;
}

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

.modal-title {
    color: #00ffff;
}

.modal .close {
    color: #00ffff;
}

.modal-body img {
    max-width: 100%;
    height: auto;
}

.table tr:hover .preview-link {
    color: #333333 !important;
}

.video-container {
    width: 100%;
    height: 520px;
    overflow: hidden;
    position: relative;
    background-color: #000000;
}

.fullscreen-video {
    width: 100%;
    height: 520px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Add overlay container styles */
.overlay-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: 520px;
    text-align: center;
}

/* Optional: Add text shadow to make ASCII more readable */
/* .overlay-container .scramble-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
} */

/* Update/add these styles */
.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.table-responsive {
    width: 100%;
    margin: 0;
    padding: 0;
}

.table {
    width: 100%;
    margin-bottom: 0;
}

.container-fluid-full {
    padding-left: 0;
    padding-right: 0;
}

.navbar-brand-gradient {
  background: linear-gradient(90deg, #00FF00 0%, #222 50%, #00FF00 100%);
  background-size: 200% auto;
  color: transparent !important;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: navbar-gradient-move 2.5s linear infinite;
}
@keyframes navbar-gradient-move {
  0% { background-position: 200% 0; }
  100% { background-position: 0 0; }
}

/* Toast notification styles */
.toast-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background: #00FF00;
    color: #000;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #00FF00;
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
    z-index: 9999;
    font-family: monospace;
    font-size: 12px;
    max-width: 320px;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

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

.toast-notification.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(-100%);
}