@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;500;700&display=swap');

body {
    background-color: #030303;
    color: #fafafa;
    font-family: 'Geist', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    overflow-x: hidden;
    padding: 60px 20px;
    box-sizing: border-box;
}

/* ad containers woahhh */
.banner-ads {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    background: #080808;
    border: 1px solid #111;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    overflow: hidden;
    transition: border-color 0.2s;
}

.banner-ads:hover {
    border-color: #222;
}

.banner-left {
    left: 20px;
}

.banner-right {
    right: 20px;
}

.banner-ads img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .banner-ads {
        display: none;
    }
}

@keyframes fadeScale {
    from { opacity: 0; transform: translate(-50%, -48%) scale(0.98); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.bg-animation {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    filter: blur(20px);
}
.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: drift 25s infinite alternate ease-in-out;
}
.shape:nth-child(1) { width: 400px; height: 400px; top: -10%; left: -10%; }
.shape:nth-child(2) { width: 300px; height: 300px; bottom: 10%; right: 10%; }
.shape:nth-child(3) { width: 250px; height: 250px; top: 40%; left: 30%; }
@keyframes drift {
    from { transform: translate(0,0); }
    to { transform: translate(100px, 100px); }
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}
.modal-overlay.open { display: flex; }
.modal-window {
    background: #080808;
    border: 1px solid #222;
    /* fuck ts */
    width: 750px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes modalPop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-header {
    background: #111;
    padding: 12px 20px;
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #444;
}
.close-x { background: none; border: none; color: #444; cursor: pointer; font-size: 1.2rem; }
.modal-body { padding: 25px; text-align: left; }
.modal-body p { margin: 0; line-height: 1.5; color: #888; }
.modal-body p span { color: #ff4444; font-weight: bold; }
.modal-btns { display: flex; gap: 10px; margin-top: 25px; }
.m-btn {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Geist';
    font-size: 0.9rem;
    transition: 0.2s;
}
.confirm { background: #fafafa; border: none; color: #000; font-weight: 500; }
.cancel { background: transparent; border: 1px solid #222; color: #666; }

.view {
    display: none;
    opacity: 0;
    width: 100%;
    max-width: 600px;
    text-align: center;
}
.view.active { display: flex; flex-direction: column; opacity: 1; }

#landing.active {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: fadeScale 0.8s ease-out forwards;
}

#directory.active {
    animation: fadeIn 0.4s ease-out forwards;
}

.logo { width: 200px; margin-bottom: 20px; filter: grayscale(1); }
h1 { font-size: 1.5rem; letter-spacing: 2px; margin: 0; }
p { color: #666; font-size: 0.9rem; margin-top: 10px; }
p span { color: #fff; }

.enter-btn {
    margin-top: 30px;
    background: transparent;
    border: 1px solid #222;
    color: #888;
    padding: 10px 25px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.2s;
}
.enter-btn:hover { border-color: #fff; color: #fff; }

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #111;
    padding-bottom: 10px;
}
.tab-link {
    background: none;
    border: none;
    color: #444;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
}
.tab-link.active { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.2); }

.item-list { display: flex; flex-direction: column; gap: 10px; }
.item-card {
    background: #080808;
    border: 1px solid #111;
    height: 50px;
    padding: 0 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
    text-align: left;
}
.item-card:hover { background: #0c0c0c; border-color: #333; color: #fff; transform: translateX(5px); }

.warning-tag { 
    color: #ff4444 !important; 
    font-size: 0.7rem !important; 
    font-weight: bold; 
    margin-left: auto;
    margin-right: 15px;
    line-height: 1;
}

.favicon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: grayscale(0.5);
    transition: 0.2s;
}
.item-card:hover .favicon { filter: grayscale(0); }

.tab-content { display: none; width: 100%; }
.tab-content.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.back-link { margin-top: 40px; background: none; border: none; color: #333; cursor: pointer; font-size: 0.8rem; padding-bottom: 20px; }
.back-link:hover { color: #666; }

/* reminder to myself: PLEASE make this shit look less like spaghetti & make it look better */
/* istg i made it black af i need to add more color */
