/* ===========================
   MINECRAFT GLOBAL STYLE
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Minecraft', 'Press Start 2P', monospace;
}

body{
    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
    url("https://assets.badlion.net/blog/minecraft-backgrounds/jungle-lake.webp");
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    color:white;
    overflow-x:hidden;
}

/* ========================================= */
/* NAVBAR SETTINGS                           */
/* ========================================= */
header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
}

.navbar {
    position: relative;
    left: 50%;
    top: 0;
    width: 97%;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    transform: translateX(-50%);
    background-color: #c6c6c6;
    border: 3px solid #000000;
    box-shadow: 
        inset 3px 3px 0px #ffffff, 
        inset -3px -3px 0px #5b5b5b,
        0 10px 30px rgba(0,0,0,0.8);
    padding: 2px 8px 8px 8px;
    display: flex;
    z-index: 999; 
    -webkit-font-smoothing: none;
}

.logo img {
    height: 60px;
    margin-left: -20px;
    z-index: 10;
}

.nav-desktop {
    display: flex;
    justify-content: center;
    gap: 60px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 1000;
}

.nav-desktop li a {
    text-decoration: none;
    color: #000000; 
    font-family: 'Minecraft', monospace;
    font-size: 20px;
    font-weight: bold;
    display: inline-block;
    background-color: #a0a0a0; 
    padding: 8px 20px; 
    border: 2px solid #000000; 
    box-shadow: 
        inset 3px 3px 0px #ffffff,   
        inset -3px -3px 0px #555555; 
    cursor: pointer;
    transition: background-color 0s; 
}

.nav-desktop li a:hover {
    background-color: #3ca340; 
    color: #ffffff; 
    box-shadow:
        inset 3px 3px 0px #5cbf60,   
        inset -3px -3px 0px #276b29; 
    text-shadow: 2px 2px 0px #000000;
}

.menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #a0a0a0;
    border: 3px solid #000000;
    box-shadow: inset 3px 3px 0px #ffffff, inset -3px -3px 0px #555555;
    cursor: pointer;
    padding: 0;
    margin-left: 20px;
}

.menu-button:hover {
    background-color: #3ca340;
    box-shadow: inset 3px 3px 0px #5cbf60, inset -3px -3px 0px #276b29;
}

.menu-icon {
    font-size: 28px;
    color: #000000;
    font-weight: bold;
    text-shadow: 1px 1px 0px #ffffff;
}

.menu-button:hover .menu-icon {
    color: #ffffff;
    text-shadow: 2px 2px 0px #000000;
}

.menu-dropdown {
    position: absolute;
    top: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    background-color: #c6c6c6;
    border: 3px solid #000000;
    box-shadow: inset 3px 3px 0px #ffffff, inset -3px -3px 0px #5b5b5b, 0 10px 30px rgba(0,0,0,0.8);
    padding: 8px;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-dropdown-item {
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    font-weight: bold;
    background-color: #a0a0a0;
    padding: 10px 20px;
    border: 2px solid #000000;
    box-shadow: inset 3px 3px 0px #ffffff, inset -3px -3px 0px #555555;
    white-space: nowrap;
}

.menu-dropdown-item:hover {
    background-color: #3ca340;
    color: #ffffff;
    box-shadow: inset 3px 3px 0px #5cbf60, inset -3px -3px 0px #276b29;
    text-shadow: 2px 2px 0px #000000;
}

/* ========================================= */
/* MINECRAFT LOADER STYLES                   */
/* ========================================= */
.loader-container {
    position: relative;
    min-height: calc(100vh - 120px); 
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px 20px;
    z-index: 1;
}

.minecraft-loader-master {
    width: 540px;
    max-width: 95%;
    background-color: #c6c6c6;
    border: 3px solid #000000;
    box-shadow: 
        inset 3px 3px 0px #ffffff, 
        inset -3px -3px 0px #5b5b5b,
        0 10px 30px rgba(0,0,0,0.8);
    padding: 2px 8px 8px 8px;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: none;
    image-rendering: pixelated;
}

.dialog-header {
    text-align: center;
    font-size: 26px;
    color: #313131; 
    line-height: 32px;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.dialog-screen {
    background-color: #070707;
    border: 2px solid #ffffff; 
    height: 155px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.status-text {
    color: #ffffff;
    font-size: 26px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0px #3f3f3f; 
    margin-top: 4px;
}

.progress-track {
    width: 105%;
    height: 6px;
    display: flex;
    gap: 4px; 
    margin-bottom: 8px;
}

.segment {
    flex: 1;
    height: 100%;
    background-color: #162e16; 
    border: 1px solid #081208;
}

.segment.filled {
    background-color: #3cfc3c;
    box-shadow: 
        inset 2px 2px 0px #b5ffb5, 
        inset -2px -2px 0px #009600;
    border: none;
}

/* ========================================= */
/* FOOTER SETTINGS                           */
/* ========================================= */
.prerna-footer {
    background-color: #000000;
    padding: 60px 20px 0 20px;
    color: #ffffff;
    border-top: 4px solid #333333;
    font-family: 'Minecraft', monospace;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-split {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-contact, .footer-recognized {
    flex: 1;
}

.footer-recognized {
    border-left: 1px solid #444444; 
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-heading {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0px #333;
}

.contact-block { margin-bottom: 20px; }
.contact-label { font-weight: bold; font-size: 14px; color: #cccccc; display: block; margin-bottom: 5px; }
.contact-block p { margin: 0; font-size: 15px; line-height: 1.6; color: #dddddd; }

.action-link {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.action-link:hover {
    color: #ffff55; 
    border-bottom: 1px solid #ffff55;
    text-shadow: 0px 0px 8px rgba(255, 255, 85, 0.4);
}

.recognized-img { max-width: 100%; height: auto; object-fit: contain; margin-top: 10px; }

.social-links { display: flex; gap: 15px; margin-top: 25px; }
.mc-social {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #2c2c2c;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #000;
    box-shadow: inset 2px 2px 0px #555, inset -2px -2px 0px #111;
    transition: all 0.1s ease;
}

.mc-social i { font-size: 18px; }
.mc-social:hover {
    background-color: #3c3c3c;
    transform: translateY(2px);
    box-shadow: inset 2px 2px 0px #111, inset -2px -2px 0px #555;
    color: #ffd700;
}

.footer-bottom-bar { text-align: center; border-top: 1px solid #333333; padding: 20px 0; }
.footer-bottom-bar p { margin: 0; font-size: 14px; color: #888888; letter-spacing: 2px; }

@media (max-width: 900px) {
    .footer-split { flex-direction: column; gap: 40px; }
    .footer-recognized { border-left: none; border-top: 1px solid #444444; padding-left: 0; padding-top: 30px; align-items: center; text-align: center; }
    .contact-block, .footer-heading { text-align: center; }
    .social-links { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-desktop { display: none; }
}

@media (max-width: 600px) {
    .dialog-header { font-size: 20px; }
    .status-text { font-size: 20px; }
}