@font-face {
    font-family: 'GraveyardGuardian';
    src: url('assets/fonts/graveyard-guardian.regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CrashNumberingSerif';
    src: url('assets/fonts/Crashnumberingserif-KVjW.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'GraveyardGuardian', sans-serif;
    color: white;
}

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#splash-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.splash-center {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#splash-logo {
    width: 500px;
    margin-bottom: 30px;
}

#enter-button {
    background-color: #96ff04;
    border: 2px solid #fe00d4;
    border-radius: 20px;
    color: #1d2733;
    font-family: 'GraveyardGuardian', sans-serif;
    font-size: 28px;
    padding: 15px 30px;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

#main-content {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 50px;
    background-color: #1d2733;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    transition: width 0.3s;
    z-index: 10;
}

.nav-bar.expanded {
    width: 100%;
    justify-content: center;
}

#nav-toggle {
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin-bottom: 20px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 24px;
    margin: 10px 0;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #10fd0d;
}

.nav-link.active {
    color: #ff31c6;
}

.nav-link.greyed-out {
    color: grey;
    pointer-events: none;
}

.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-y: auto;
}

.page.active {
    display: block;
}

#home {
    background-image: url('assets/images/homebackground.jpg');
    background-size: cover;
}

#overview {
    background-image: url('assets/images/primarybackground.jpg');
}

#roadmap {
    background-image: url('assets/images/primarybackground.jpg');
}

#whitepaper {
    background-image: url('assets/images/primarybackground.jpg');
}

#buy-nfts {
    background-image: url('assets/images/primarybackground.jpg');
}

#telegram-game {
    background-image: url('assets/images/primarybackground.jpg');
}

#socials {
    background-image: url('assets/images/primarybackground.jpg');
}

.binary-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 80px 40px 130px;
    max-width: 1200px;
    margin: 0 auto;
}

.whitepaper-content {
    padding-top: 10px;
}

.whitepaper-title {
    width: 60%;
    max-width: 700px;
    margin: 10px auto 0;
    display: block;
}

.subtitle-img {
    width: 50%;
    max-width: 600px;
    margin: 80px auto 0;
    display: block;
}

.blueslab {
    background-image: url('assets/images/blueslab.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 50%;
    max-width: 600px;
    height: 250px;
    margin: 80px auto 0;
}

.read-blueslab {
    margin-top: 80px;
}

.download-blueslab {
    margin-top: 80px;
}

#overview .content h1 {
    font-size: 60px;
    margin-bottom: 40px;
}

#overview .content p {
    font-size: 28px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.number-font {
    font-family: 'CrashNumberingSerif';
}

.roadmap-title {
    width: 80%;
    max-width: 1000px;
    margin: 60px auto 20px;
    display: block;
}

.roadmap-image {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: block;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.tg-icon {
    width: 70px;
    height: auto;
    margin-right: 20px;
}

#telegram-game h1 {
    font-size: 70px;
}

#telegram-game h2 {
    font-size: 50px;
    color: #09fe09;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.play-arrow {
    width: 60px;
    height: auto;
}

.left-arrow {
    margin-right: 20px;
}

.right-arrow {
    margin-left: 20px;
}

.bot-link, .youtube-link {
    display: block;
    width: fit-content;
    margin: 30px auto;
}

.bot-pic {
    width: 55%;
    max-width: 450px;
    display: block;
    margin: 0 auto;
}

.youtube-icon {
    width: 160px;
    display: block;
    margin: 40px auto;
}

#telegram-game p {
    font-size: 32px;
    margin: 40px 0;
}

.socials-title {
    font-size: 70px;
    margin: 40px 0;
}

.socials-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0;
    color: white;
    text-decoration: none;
}

.social-link img {
    width: 100px;
    height: 100px;
    margin-right: 30px;
}

.social-link span {
    font-size: 36px;
}

/* Socials icon adjustments (both desktop and mobile) */
.social-link:nth-child(1) img { /* x-icon.png - quarter width left */
    margin-left: -25px;
}

.social-link:nth-child(2) img { /* telegram-icon.png - few pixels left */
    margin-left: -10px;
}

.social-link:nth-child(4) img { /* youtube-icon.png - few pixels left */
    margin-left: -10px;
}

/* Buy NFT's page styles */
#buy-nfts .content {
    padding: 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.nfts-title {
    width: 60%;
    max-width: 800px;
    margin: 80px auto 40px;
    display: block;
}

.nfts-intro {
    font-size: 32px;
    line-height: 1.6;
    margin: 40px auto;
    max-width: 900px;
    text-align: center;
}

.nfts-privileges {
    font-size: 32px;
    line-height: 1.6;
    text-align: center;
    list-style-position: inside;
    padding-left: 0;
    margin: 40px auto;
    max-width: 800px;
}

.nfts-announce {
    font-size: 32px;
    margin: 60px auto;
    text-align: center;
}

.marketplace-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin: 60px auto;
}

.marketplace-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marketplace-img {
    width: 45%;
    max-width: 550px;
    height: auto;
}

.marketplace-label {
    font-size: 28px;
    margin-top: 15px;
}

/* Mobile View */
@media (max-width: 768px) {
    .nav-bar {
        top: 0;
        left: 0;
        height: auto;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        background-color: #1d2733;
    }

    .nav-bar.expanded {
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        padding: 0;
    }

    #nav-toggle {
        margin-bottom: 0;
        margin-right: 10px;
    }

    #nmtrc-logo {
        display: block;
        width: 80px;
        margin-left: 10px;
    }

    .content {
        padding: 20px;
    }

    #home {
        background-image: url('assets/images/homebackgroundmobile.jpg');
        background-size: cover;
        background-position: center center;
    }

    #overview .content h1 {
        margin-top: 40px;
        font-size: 40px;
    }

    .whitepaper-content {
        padding-top: 60px;
    }

    .subtitle-img {
        width: 70%;
        margin: 60px auto 0;
    }

    .blueslab {
        width: 70%;
        height: 200px;
        margin: 60px auto 0;
    }

    .read-blueslab {
        margin-top: 60px;
    }

    .download-blueslab {
        margin-top: 60px;
    }

    .title-container {
        margin: 60px 0 40px;
        justify-content: flex-start;
        padding-left: 40px;
    }

    .tg-icon {
        width: 50px;
        margin-top: -25px;
    }

    .social-link:nth-child(1) img { /* x-icon.png mobile - quarter width left */
        margin-left: -17px;
    }

    .social-link:nth-child(2) img { /* telegram-icon.png mobile - few pixels left */
        margin-left: -7px;
    }

    .social-link:nth-child(4) img { /* youtube-icon.png mobile - few pixels left */
        margin-left: -7px;
    }

    #splash-logo {
        width: 300px;
    }

    #enter-button {
        font-size: 24px;
        padding: 12px 24px;
    }

    .whitepaper-title {
        width: 80%;
    }

    #overview .content p {
        font-size: 20px;
    }

    #telegram-game h1 {
        font-size: 50px;
    }

    #telegram-game h2 {
        font-size: 36px;
        flex-direction: column;
    }

    .play-arrow {
        width: 40px;
        margin: 10px 0;
    }

    .left-arrow {
        margin-right: 0;
    }

    .right-arrow {
        margin-left: 0;
    }

    #telegram-game p {
        font-size: 24px;
    }

    .socials-title {
        font-size: 50px;
    }

    .social-link {
        margin: 10px 0;
    }

    .social-link img {
        width: 70px;
        height: 70px;
    }

    .social-link span {
        font-size: 28px;
    }

    /* Mobile NFT page */
    .nfts-title {
        width: 80%;
        margin: 60px auto 30px;
    }

    .nfts-intro {
        font-size: 24px;
    }

    .nfts-privileges {
        font-size: 24px;
    }

    .nfts-announce {
        font-size: 24px;
        margin: 40px auto;
    }

    .marketplace-links {
        flex-direction: column;
        gap: 40px;
    }

    .marketplace-img {
        width: 70%;
        max-width: 500px;
    }

    .marketplace-label {
        font-size: 22px;
        margin-top: 10px;
    }
}