/* main css file */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Geist';
    background: #000;
    color: #fff;
    height: 100vh;
    overflow: hidden;
}

.maintainer {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #000;
}

.tbar {
    display: flex;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    overflow-x:auto;
    scrollbar-width: none;
}

.tbar::-webkit-scrollbar {
    display: none;
}

.tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 12px;
    background: #0a0a0a;
    border-right: 1px solid #1a1a1a;
    cursor: poGeist;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1); /* i still have no idea why background is in red but it should still work anyway */
    min-width: 160px;
    max-width: 200px;
    animation: slideIn 0.4s cubic-bezier(0.4,0,0.2,1);
}

.tab:hover {
    background: #121212;
    transform: translateY(-1px);
}

.tab.active {
    background: #0f0f0f;
}

.tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #60a5fa;
    animation: tabInd 0.3s cubic-bezier(0.4,0,0.2,1);
}

@keyframes tabInd {
    from {
        transform: scaleX(0);
        opacity: 0;
    }
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

.tab-fav {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-tl {
    flex: 1;
    font-size: 12px;
    font-weight: 400;
    color: #808080;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab.active .tab-tl {
    color: #e0e0e0;
}

.tab-cl {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
}

.tab:hover .tab-cl {
    opacity: 0.6;
    transform: scale(1);
}

.tab-cl:hover {
    opacity:1 !important;
    transform: scale(1.1) !important;
}

.nt-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 12px;
    background: #0a0a0a;
    cursor: poGeist;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    border-right: 1px solid #1a1a1a;
}

.nt-btn:hover {
    background: #121212;
}

.nt-btn svg {
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.nt-btn:hover svg {
    transform: rotate(90deg);
}

.address-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #000;
    border-bottom: 1px solid #1a1a1a;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: poGeist;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    color: #808080;
}

.nav-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn:hover {
    background: #1a1a1a;
    color: #a0a0a0;
    transform: scale(1.05);
}

.nav-btn:hover svg {
    transform: scale(1.1);
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn:disabled:hover {
    background: transparent;
    color: #808080;
    transform: none;
}

.nav-btn:focus {
    outline: none;
}

.nav-btn:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.url-intainer {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0f0f0f;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    padding: 0 10px;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    height: 32px;
    min-width: 0;
    overflow: hidden;
}

.url-intainer:focus-within {
    border-color: #2a2a2a;
    background: #121212;
}

.url-icon {
    width: 14px;
    height: 14px;
    color: #60a5fa;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.url-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.url-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    font-family: 'Geist';
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
    text-overflow: ellipsis;
}

.url-input::placeholder {
    color: #505050;
}

.c-area {
    flex: 1;
    background: radial-gradient(ellipse at top, #0a1628 0%, #000 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.wscreen {
    text-align: center;
    max-width: 700px;
    padding: 40px 30px;
    position: relative;
    z-index: 1;
}

.wscreen h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    background: #60a5fa;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1.1;
    animation: slideUp 0.8s ease-out 0.2s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.wscreen p {
    font-size: 16px;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 400;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.search-box {
    max-width: 500px;
    margin: 0 auto 48px;
    position: relative;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.search-in-wpr {
    display: flex;
    align-items: center;
    background: rgba(15,15,15,0.6);
    border: 1px solid rgba(96,165,250,0.2);
    border-radius: 14px;
    padding: 14px 20px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.search-in-wpr:hover {
    border-color: rgba(96,165,250,0.4);
    background: rgba(15,15,15,0.8);
    box-shadow: 0 8px 32px rgba(96,165,250,0.2);
}

.search-in-wpr:focus-within {
    border-color: #60a5fa;
    background: rgba(15,15,15,0.9);
    box-shadow: 0 12px 48px rgba(96,165,250,0.3);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: #60a5fa;
    margin-right: 14px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
    font-family: 'Geist';
    font-weight: 400;
}

.search-input::placeholder {
    color: #64748b;
}

.shortcuts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    max-width: 550px;
    margin: 0 auto;
}

.shortcut {
    background: rgba(15,15,15,0.6);
    border: 1px solid rgba(96,165,250,0.15);
    border-radius: 16px;
    padding: 24px 18px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.8s ease-out both;
}

.shortcut:nth-child(1) {animation-delay:0.6s;}
.shortcut:nth-child(2) {animation-delay:0.7s;}
.shortcut:nth-child(3) {animation-delay:0.8s;}
.shortcut:nth-child(4) {animation-delay:0.9s;}

.s-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: #60a5fa;
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
    filter: drop-shadow(0 0 16px rgba(96,165,250,0.6));
}

.shortcut:hover .s-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 28px rgba(96,165,250,0.9));
}

.shortcut::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96,165,250,0.1), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.shortcut:hover::before {
    left: 100%;
}

.shortcut:hover {
    background: rgba(26,26,26,0.8);
    border-color: rgba(96,165,250,0.4);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(96,165,250,0.2);
}

.s-title {
    font-size: 14px;
    font-weight: 500;
    color: #e0e0e0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shortcut:hover .s-title {
    color: #60a5fa;
    transform: translateY(-2px);
}

svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(-30px) scale(0.95);
    }
}

.bframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.url-display {
    flex: 1;
    font-size: 13px;
    font-family: 'Geist';
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: text;
    display: none;
    line-height: 32px;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
}

.url-display .url-proto {
    color: #808080;
    transition: color 0.2s ease;
}

.url-display .url-domain {
    color: #fff;
    transition: color 0.2s ease;
}

.url-display .url-path {
    color:#808080;
    transition: color 0.2s ease;
}

.bookmarks-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    overflow-x: auto;
    scrollbar-width: thin;
}

.bookmarks-bar::-webkit-scrollbar {
    height: 4px;
}

.bookmarks-bar::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.bookmarks-bar::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 2px;
}

.bm-label {
    font-size: 11px;
    font-weight: 500;
    color: #808080;
    white-space: nowrap;
    padding-right: 8px;
    border-radius: 1px solid #1a1a1a;
}

.bm-container {
    display: flex;
    gap: 4px;
    flex: 1;
}

.bm-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #0f0f0f;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    cursor: poGeist;
    transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
    white-space: nowrap;
    position: relative;
}

.bm-item:hover {
    background: #1a1a1a;
    border-color: #2a2a2a;
    transform: translateY(-1px);
}

.bm-icon svg,
.bm-remove svg {
    display: block;
}
.bm-icon {
    width: 12px;
    height: 12px;
    color: #60a5fa;
}

.bm-icon svg {
    width: 12px;
    height: 12px;
}

.bm-remove svg {
    width: 12px;
    height: 12px;
}

.bm-title {
    font-size: 12px;
    color: #e0e0e0;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bm-remove {
    width: 12px;
    height: 12px;
    color: #808080;
    opacity: 0;
    transition: opacity 0.2s ease;
    margin-left: 4px;
}

.bm-item:hover .bm-remove {
    opacity: 1;
}

.bm-remove:hover {
    color: #eb4034;
}

.dr-menu { /* dr seuss but a menu? or maybe the menu got a phd fr */
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: #0f0f0f;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    min-width: 150px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 1000;
    overflow:hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events:none;
    transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}

.dr-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #e0e0e0;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
    border-radius: 4px;
    margin: 2px;
}

.menu-item:hover {
    background: #1a1a1a;
    color: #60a5fa;
}

.menu-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #808080;
}

.menu-item:hover svg {
    color: #60a5fa;
}

.menu-wpr {
    position: relative;
}

.about-ovr {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.about-ovr.show {
    display: flex;
}

.ovrlay {
    background: #0f0f0f;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 18px;
    max-width: 320px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.about-ovr.show .ovrlay {
    opacity: 1;
}

.ovr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ovr-title {
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ovr-title svg {
    width: 18px;
    height: 18px;
    color: #60a5fa;
}

.ovr-close {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: #808080;
    transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}

.ovr-close:hover {
    background: #1a1a1a;
    color: #e0e0e0;
}

.ovr-close svg {
    width: 16px;
    height: 16px;
}

.ovr-content {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}

.ovr-content h2 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg,#60a5fa 0%,#93c5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.ovr-content p {
    margin-bottom: 12px;
}

.ovr-info {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    padding: 12px;
    margin-top: 12px;
}

.ovr-info-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #1a1a1a;
}

.ovr-info-item:last-child {
    border-bottom: none;
}

.ovr-info-lb {
    color: #808080;
    font-size: 12px;
}

.ovr-info-val {
    color: #e0e0e0;
    font-size: 12px;
    font-weight: 500;
}