@font-face {
    font-family: 'MinecraftFont';
    src: url('fonts/minecraft-font/Minecraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    color: #ffffff;
    font-family: 'Minecraft', 'VT323', monospace;
    background-color: #000;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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; 
}

.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================= */
/* 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 STYLES                             */
/* ========================================= */

.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;
}

/* Mobile Responsiveness for Loader & Footer */
@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: 600px) {
    .dialog-header { font-size: 20px; }
    .status-text { font-size: 20px; }
}