* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Share Tech Mono', monospace;
}

:root {
    --white: #57e7df;
    --terminal-bg: #000000;
    --terminal-text: #57e7e0c6;
}
#hover-element {
  display: none;
  position: absolute;
  top: 0px
}
#hover-div:hover #hover-element {
  display:block
}

body {
    background-color: var(--terminal-bg);
    color: var(--terminal-text);
    min-height: 100vh;
    overflow: hidden;
}

/* Loading Screen */
#loading-screen {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
    background: var(--terminal-bg);
}

#loading-screen.hidden {
    display: none;
}

.container {
    text-align: center;
    padding: 2rem;
}

.logo {
    font-size: 3rem;
    margin-bottom: 4rem;
    letter-spacing: 0.5rem;
    color: #0FffF0;
}

.white { 
    color: var(--white);
    text-shadow: 0 0 10px var(--white);
}


.icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.icon {
    width: 100px;
    height: 100px;
    border: 2px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
}

.icon svg {
    width: 50%;
    height: 50%;
    color: #fff;
    filter: drop-shadow(0 0 2px currentColor);
}


.loading-container {
    margin-bottom: 2rem;
}

.loading-bar {
    width: 100%;
    max-width: 400px;
    height: 2px;
    background: #ffffff5f;
    margin: 0 auto 1rem auto;
    position: relative;
    overflow: hidden;
}

.loading-progress {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        #ffffff, 
        #ffffff, 
        #ffffff, 
        #ffffff, 
    #ffffff
    );
    background-size: 200% 100%;
    position: absolute;
    animation: progress 2s ease-in-out forwards,
               gradient 5s linear infinite;
}

.loading-text {
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    color: #ffffff;
    text-shadow: 0 0 5px #ffffff
}

.nexus-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--terminal-text);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    letter-spacing: 0.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px var(--terminal-text);
}

.nexus-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Terminal Screen */
#terminal-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: linear-gradient(180deg, #000000, #0a0a0a);
}

#terminal-screen.hidden {
    display: none;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 100;
}

.logo-small {
    font-size: 1.5rem;
    letter-spacing: 0.3rem;
        color: #0FffF0;

}

/* Navigation Menu */
#navigation-menu {
    position: fixed;
    top: 60px;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.system-nav {
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: default;
}

span {
    cursor: pointer;
}

a {
    cursor: pointer;
        font-size: 1.5rem;
    letter-spacing: 0.2rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.terminal-content {
    display: flex;
    flex: 1;
    padding: 2rem;
    gap: 2rem;
    background: rgba(0, 0, 0, 0.8);
}

.terminal-left {
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 2rem;
    overflow-y: auto;
    max-height: calc(100vh - 60px - 4rem - 200px);
}

.terminal-right {
    flex: 1;
    padding-left: 2rem;
}

.readme h2, .program h2, .terminal-right h2 {
    font-size: 2rem;
    letter-spacing: 0.2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 0 5px #ffffff;
}

.readme h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3rem;
}

.readme p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.9rem;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

.command-line {
    color: var(--terminal-text);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.cursor {
    animation: blink 1s infinite;
}

/* AI Grid and Cards */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.ai-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.ai-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.ai-card:hover::before {
    transform: translateX(100%);
}

.ai-card h4 {
    margin: 0.5rem 0;
    letter-spacing: 0.2rem;
    font-size: 1.1rem;
}

.ai-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    letter-spacing: 0.05rem;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* God-like Character Styles */
.god-image {
    width: 100%;
    max-width: 400px;
    height: 400px;
    margin: 2rem auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.god-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    animation: shine 2s infinite;
    z-index: 2;
    pointer-events: none;
}

.god-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    opacity: 1;
    filter: brightness(0.8) contrast(1.2);
}

.god-image img.loading {
    opacity: 0;
}

.god-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
    pointer-events: none;
}



.god-description {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    backdrop-filter: blur(5px);
}

.god-description p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

.god-description p:last-child {
    margin-bottom: 0;
}

/* Animations */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes progress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

@keyframes gradient {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    80%, 100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .icon {
        width: 80px;
        height: 80px;
    }
    
    .logo {
        font-size: 2rem;
    }

    .terminal-content {
        flex-direction: column;

    }

    .terminal-left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.05);

        padding-right: 0;
        padding-bottom: 2rem;
    }

    .terminal-right {
        padding-left: 0;
        padding-top: 2rem;
    }

    .ai-grid {
        grid-template-columns: 1fr;
    }

    .virtual-keyboard {
        padding: 1rem;
    }

    .key {
        padding: 0.3rem 0.6rem;
        min-width: 2rem;
        font-size: 0.7rem;
    }

    #navigation-menu {
        width: 100%;
    }

    .god-image {
        height: 300px;
    }
}
