    *{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#000000;
    color:white;
    -webkit-text-fill-color: unset;
}

/* NAVBAR */

/* NAVBAR */



.navbar {
    position: fixed;
    top: 0;
        background:#000000;
    left: 0;
    border-bottom:1px solid #1a1a1a;
    width: 100%;
    height: 50px;
    z-index: 1000;
}

.nav-container{
    width:100%;
    max-width:1400px;
    height:100%;
    margin:auto;
    padding:0 25px;

    display:flex;
    align-items:center;
    justify-content:space-between;
     position:sticky;
}

/* LOGO */

.logo{
    color:#d4d4d4;
    text-decoration:none;
    font-size:1.25rem;
    font-weight:bold;
    font-family:monospace;
    letter-spacing:1px;
    text-shadow: 0 0 10px hsla(0, 0%, 83%, 0.4),0 0 20px hsla(0, 0%, 85%, 0.2);
}


.logo span{
    color:#777;
    font-size:14px;
    margin-left:2px;
    
}

/* CENTER */

.nav-center{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    gap:24px;
}

.nav-center a{
    color:#666;
    text-decoration:none;
    font-size:14px;
    font-family:monospace;
    transition:.2s;
}

.nav-center a:hover{
    color:#d4d4d4;
}

.nav-center .active{
    color:#d4d4d4;
}

/* RIGHT */

.nav-right{
    display:flex;
    align-items:center;
    gap:18px;
}

.nav-right a{
    color:#777;
    text-decoration:none;
    font-size:14px;
    font-family:monospace;
    transition:.2s;
}

.nav-right a:hover{
    color:#ffffff;
}


/* HAMBURGER */
.hamburger{
    display:none;
    font-size:28px;
    color:#d4d4d4;
    cursor:pointer;

    margin-left:auto;
}

/* MOBILE MENU */
.mobile-menu{
    display:none;
    position:absolute;
    top:50px;
    right:15px;
    width:180px;
    background:#0d0d0d;
    border:1px solid #222;
    flex-direction:column;
    z-index:999;
}

.mobile-menu a{
    padding:10px;
    font-family:monospace;
    font-size:14px;
    color:#777;
    text-decoration:none;
    border-bottom:1px solid #1a1a1a;
}

.mobile-menu a:hover{
    color:#fff;
}

/* MOBILE */

@media(max-width:1000px){

    .nav-center{
        display:none;
    }

    .hamburger{
        display:block;
    }

     .nav-right {
    display: flex !important;
  }

  .online-users {
      margin-left: 10px;
  }


}

@media(max-width:600px){

    .logo{
        font-size:24px;
    }

    .nav-right{
        gap:10px;
    }

    .nav-right a{
        font-size:12px;
    }

}

/* HERO */

.hero{
    text-align:center;
    padding:50px 20px 30px;
}

.hero h1{
    font-size:60px;
    color:#d4d4d4;
    margin-bottom:10px;
    text-shadow: 0 0 10px hsla(0, 0%, 83%, 0.4),0 0 20px hsla(0, 0%, 85%, 0.2);
    font-family: monospace;
}

.hero p{
    color:#666;
    margin-bottom:25px;
}

/* SEARCH */

.search-box{
    display:flex;
    justify-content:center;
    gap:.4rem;
    height: 32px;
    
}

.search-box input{
    width:240px;
    max-width:80%;
    padding:13px;
        font-size: 16px !important;
    background:#282828;
    border:1px solid #222;
    color:white;
    outline:none;
}

.search-box button{
    padding:13px 15px;
    font-size: 0.875rem;
    border-radius: 3px;
    background:#282828;
    border:none;
    color:white;
    cursor:pointer;
    transition:.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-box button:hover{
    background:#2b2b2b;
}

/* CONTAINER */

.container{
    width:92%;
    max-width:1000px;
    margin:auto;
    margin-top:35px;
}

/* LIST */

.list{
    display:flex;
    flex-direction:column;
    gap:8px;
}

/* CARD */

.card{
    width:100%;
    background:#0d0d0d;
    border:1px solid #1c1c1c;
    display:flex;
    align-items:center;
    gap:12px;
    padding:4px 8px;
    cursor:pointer;
    transition:.25s;
    min-height:70px;
}

.card:hover{
    background:#151515;
    border-color:#444;
}

/* IMAGE */

.card img{
    width:55px;
    height:55px;
    object-fit:cover;
}

/* INFO */

.card-info{
    display:flex;
    flex-direction:column;
    gap:2px;
    flex:1;
}

.card-info h2{
    font-size:13px;
    color:#e5e5e5;
    font-weight:600;
}

.city{
    color:#8f8f8f;
    font-size:12px;
}

/* DATE */

.added{
    color:#666;
    font-size:11px;
    font-family:monospace;
    margin-top:2px;
}

/* MODAL */

.modal{
    position:fixed;
    inset:0;
    background:#000000d5;
    display:none;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.modal-box{
    width:420px;
    background:#111;
    border:1px solid #333;
}

.modal-box img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.modal-content{
    padding:20px;
}

.modal-content h1{
    color:white;
    margin-bottom:8px;
}

.modal-content p{
    color:#aaa;
}

.close{
    position:absolute;
    top:20px;
    right:30px;
    font-size:40px;
    color:white;
    cursor:pointer;
}

/* MOBILE */

@media(max-width:700px){

    .hero h1{
        font-size:42px;
    }

    .card{
        flex-direction:row;
        align-items:center;
    }

    .card img{
        width:55px;
        height:55px;
    }

}

@media(min-width:1001px){
    .online-users {
        margin-left: auto;
    }
}

/* PROFILE MODAL */

.profile-modal{
    position:fixed;
    inset:0;
    background:#000000e0;
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999;
    padding:20px;
}

/* BOX */

.profile-box{
    width:850px;
    max-width:100%;
    background:#0d0d0d;
    border:1px solid #222;
    padding:20px;
    overflow-y:auto;
    max-height:95vh;
}

/* TOP */

.profile-top{
    display:flex;
    gap:20px;
    align-items:flex-start;
    margin-bottom:25px;
}

/* AVATAR */

.profile-top img{
    width:220px;
    height:220px;
    object-fit:cover;
    border:1px solid #222;
}

/* INFO */

.profile-info{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.profile-info h1{
    color:white;
    font-size:32px;
}

.profile-info p{
    color:#888;
    font-size:15px;
}

/* DESCRIPTION */

.profile-description{
    margin-bottom:30px;
}

.profile-description h3{
    color:white;
    margin-bottom:10px;
    font-size:18px;
}

.profile-description p{
    color:#999;
    line-height:1.6;
}

/* GALLERY */

.gallery-section h3{
    color:white;
    margin-bottom:15px;
}

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:12px;
}

.gallery img{
    width:100%;
    height:160px;
    object-fit:cover;
    cursor:pointer;
    transition:.25s;
    border:1px solid #222;
}

.gallery img:hover{
    transform:scale(1.03);
    border-color:#555;
}

a.card{
    display:flex;
    text-decoration:none;
    color:inherit;
}

/* CLOSE */

.closeProfile{
    position:absolute;
    top:15px;
    right:25px;
    color:white;
    font-size:40px;
    cursor:pointer;
}

.online-users {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #00ff00;
  font-weight: 600;
  font-size: 12px;
      font-family: monospace;
}

.online-dot {
  width: 7px;
  height: 7px;
  
  background: #00ff00;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff00;
}

.author {
    color: white;
    font-family: monospace;
}



.pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -40px;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

.pagination-info {
    color: #bbb;
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: -10px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-btn,
.page-nav,
.page-ellipsis {
    min-width: 15px;

    padding: 3px 12px; 

    display: flex;
    justify-content: center;
    align-items: center;

    background: #1a1a1a00;
    border: 0.4px solid #878787;
    color: white;

    font-size: 13  px;
    cursor: pointer;

    border-radius: 0;
    margin: 0;

    transition: none;
}


.page-btn.active {
    background: #333;
    color: white;
}

.page-btn:not(.active) {
    background: #55555500;
    color: #ddd;
}


.page-ellipsis {
    cursor: default;
    color: #888;
    background: #1a1a1a;
}

.page-nav:disabled {
    cursor: not-allowed;
}



.ascii-art {
    font-family: "Courier New", monospace;
    font-size: 1.05px;
    line-height: 0.9;
    margin-top: -35px;
    letter-spacing: 0.1px;
    margin-bottom: 15px;
    white-space: pre;
    transform: none;
    color: #fff !important;
    -webkit-text-fill-color:#fff !important;
}

@supports (-webkit-touch-callout: none) {
  .ascii-art {
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
  }
}


.list-header,
.row {
    display: grid;
    grid-template-columns: 60px 1fr 300px 60px;
    align-items: center;
    width: 100%;
    font-size: clamp(10px, 1.8vw, 14px);
}

.list-header {
    background: #181818;
    color: #fff;
    padding: 8px;
    border: 1px solid #1f1f1f;
    border-bottom: none;
    font-weight: bold;
}





.card-info {
    width: 100%;
    min-width: 0;
}

.row {
    grid-template-columns: 1fr 270px 90px;
}

.row h2 {
    margin: 0;
    font-size: inherit;
    font-weight: 600;

    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.1;
}


.added {
    color: #aaa;
    white-space: nowrap;
    font-family: monospace;
}

.city {
    color: #666;
    margin-top: 2px;
    font-size: 0.8em;
}

.tbl {
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    overflow-x: hidden;
    border: 1px solid #1f1f1f;
    border-bottom: none;
}

.tbl.no-border {
    border: none;
}

.tbl table {
    width: 100%;
    border-collapse: collapse;
    background: #080808;
    font-size: clamp(10px, 1.8vw, 14px);
    color: #fff;
    table-layout: fixed;
}

.tbl th,
.tbl td {
    padding: clamp(4px, 1vw, 8px);
    border: none;
    border-bottom: 1px solid #333;
    text-align: left;
    vertical-align: top;
}

.tbl th {
    background: #181818;
    font-weight: bold;
    white-space: nowrap;
}

.tbl td {
    white-space: normal;
    word-wrap: break-word;
}

.tbl tr:nth-child(odd) {
    background: #181818;
}

.tbl tr:nth-child(even) {
    background: #080808;
}

.tbl a {
    color: inherit;
    text-decoration: none;
}

.tbl a:hover {
    text-decoration: underline;
}

.tbl th:nth-child(1),
.tbl td:nth-child(1) {
    width: 60%;
    text-align: left;
}

.tbl th:nth-child(2),
.tbl td:nth-child(2) {
    width: 25%;
    text-align: center;
}

.tbl th:nth-child(3),
.tbl td:nth-child(3) {
    width: 17%;
    text-align: right;
}



@media (max-width: 768px) {
    .tbl table {
        font-size: clamp(9px, 2vw, 12px);
    }
}

@media (max-width: 480px) {
    .tbl table {
        font-size: clamp(8px, 2.2vw, 11px);
    }
}



@media (max-width: 600px) {
    .list-header,
    .row {
        font-size: 8px;
    }

    .row {
        grid-template-columns: 1fr 100px 75px;
    }

    .list-header {
        grid-template-columns: 60px 1fr 145px 30px;
    }

    .author {
        font-size: 10px;
    }

    .added {
        font-size: 10px;
    }
    .row h2 {
        font-size: 10px;
    }

    .card img {
    width: 45px;
    height: 45px;
    object-fit: cover;
}
}

@media (max-width: 960px) {
    .list-header,
    .row {
        font-size: 8px;
    }

    .row {
        grid-template-columns: 1fr 100px 75px;
    }

    .list-header {
        grid-template-columns: 60px 1fr 145px 30px;
    }

    .author {
        font-size: 10px;
    }

    .added {
        font-size: 10px;
    }
    .row h2 {
        font-size: 10px;
    }
}


/* MOBILE */

@media(max-width:700px){

    .profile-top{
        flex-direction:column;
    }

    .profile-top img{
        width:100%;
        height:250px;
    }

.ascii-art {
    font-family: "Courier New", monospace;
    font-size: 1px;
    line-height: 1;
    white-space: pre;
    transform: none;
    letter-spacing: 1;
    color: #fff !important;

    }

}