.header {
    margin-left: -65px;
    margin-right: -65px;
    width: calc(100% + 130px);
    background-image: url('../../images/Backgrounds/Hero BG.png');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 75vh;
    display: flex;
    align-items: center;
}

.NightzyMainLogo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.NightzyMainLogo img {
    height: 260px;
    width: auto;
}

div.Services h1,
div.Games h1 {
    margin-top: 75px;
    color: #ffffff;
    font-size: 35px;
}

div.GamesGrid {
    display: grid;
    grid-template-columns: 645px 645px;
    justify-content: space-between;
    row-gap: 120px;
}

.GameTile {
    border-radius: 5px;
    height: 300px;
    position: relative;
    overflow: hidden;
}

img.GameBG {
    position: absolute;
    right: -50px;
    top: -77px;
    z-index: 1;
}

div.GameInfo {
    height: 300px;
    width: 222px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    padding-top: 100px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.TRYMC {
    background: linear-gradient(135deg, #0B0B0B 0%, #522564 100%);
}

.Rivals {
    background: linear-gradient(135deg, #0B0B0B 0%, #AA021B 100%);
} 

.Evade {
    background: linear-gradient(135deg, #0B0B0B 0%, #151B27 100%);
}

div.GameInfo img {
    max-width: 150px;
    max-height: 60px;
    width: auto;
    height: auto;
}

div.GamePlatform {
    display: flex;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 26px;
    padding: 4px 6px;
    background: rgba(11, 11, 11, 0.75);
    border-radius: 15px;
    width: fit-content;
}

div.GamePlatform img {
    height: 10px;
    width: auto;
}

div.ServicesGrid {
    display: grid;
    grid-template-columns: repeat(3, 425px);
    justify-content: space-between;
    row-gap: 120px;
}

.ServiceTile {
    border-radius: 5px;
    width: 425px;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.ServiceTile .ServiceInfo {
    height: 200px;
    width: 222px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.ServiceInfo img {
    max-width: 125px;
    max-height: 85px;
    width: auto;
    height: auto;
}

.ServiceTile .ServiceBG {
    position: absolute;
    right: -50px;
    top: -50px;
    z-index: 1;
}

.HypeHosting {
    background: linear-gradient(135deg, #0B0B0B 0%, #D4A97D 100%);
}

.Scamly {
    background: linear-gradient(135deg, #0B0B0B 0%, #2B2B2B 100%);
}

.RiftMC {
    background: linear-gradient(135deg, #0B0B0B 0%, #E625E8 100%);
}

div.NightzyJob {
    background-image: url('../../images/Backgrounds/NightzyJobLeftBG.png   ');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    height: 440px;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-top: 120px;
}

div.NightzyJobInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 50%;
    height: 100%;
    padding: 40px;
    gap: 0;
    box-sizing: border-box;
}

div.NightzyJobInfo h2 {
    color: #ffffff;
    font-size: 28px;
    margin: 0 0 22px 0;
}

div.NightzyJobInfo p {
    font-size: 15px;
    color: #8F8F91;
    margin: 0 0 35px 0;
    max-width: 400px;
}

img.NightzyJobBG {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

div.ApplyButtons {
    display: flex;
    gap: 17px;
    margin-bottom: 30px;
}

.ApplyButton {
    background: #1F1F1F;
    color: #ffffff;
    border: solid #383838 1px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.Positions {
    padding: 15px 29px;
}

.Offices {
    padding: 15px 66.5px;
}

.ApplyButtonNumber {
    font-size: 45px;
    font-weight: 700;
    color: #ffffff;
}

.ApplyButtonLabel {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.ExploreButton {
    background-image: url('../../images/Backgrounds/ExploreButtonBG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: solid #B219FB 1px;
    border-radius: 15px;
    padding: 15px 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 15px;
    color: #ffffff;
    margin-top: 0;
}

@media (max-width: 768px) {
    body {
        margin: 0 40px;
    }

    .header {
        margin-left: -40px;
        margin-right: -40px;
        width: calc(100% + 80px);
        height: 70vh;
    }

    .NightzyMainLogo img {
        height: 180px;
    }
    
    div.GamesGrid {
        grid-template-columns: 1fr;
        row-gap: 60px;
    }
    
    .GameTile {
        height: 250px;
    }
    
    div.GameInfo {
        height: 250px;
        width: 100%;
        padding-top: 80px;
    }
    
    div.Games h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    div.NightzyJob {
        height: auto;
        margin-top: 60px;
    }

    div.NightzyJobInfo {
        width: 100%;
        padding: 40px 30px;
    }

    img.NightzyJobBG {
        display: none;
    }

    div.NightzyJobInfo h2 {
        font-size: 22px;
    }

    div.NightzyJobInfo p {
        font-size: 13px;
    }

    .ApplyButtonNumber {
        font-size: 32px;
    }

    .ApplyButtonLabel {
        font-size: 16px;
    }

    .ExploreButton {
        font-size: 13px;
        padding: 12px 30px;
    }
    
    div.FooterLinks {
        flex-direction: column;
        gap: 40px;
        margin-top: 40px;
        padding-top: 30px;
    }
    
    div.GameCategory,
    div.MoreCategory,
    div.CompanyCategory,
    div.ResourcesCategory {
        flex-basis: 100%;
    }
    
    footer {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    body {
        margin: 0 20px;
    }
    
    .header {
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        height: 50vh;
    }

    .NightzyMainLogo img {
        height: 120px;
    }

    div.GamesGrid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }
    
    .GameTile {
        height: 200px;
    }
    
    div.GameInfo {
        height: 200px;
        width: 100%;
        padding-top: 60px;
    }
    
    div.Games h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

        div.NightzyJob {
        margin-top: 40px;
    }

    div.NightzyJobInfo {
        padding: 30px 20px;
    }

    div.NightzyJobInfo h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    div.NightzyJobInfo p {
        font-size: 12px;
        margin-bottom: 24px;
    }

    div.ApplyButtons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-bottom: 20px;
    }

    .ApplyButton.Positions,
    .ApplyButton.Offices {
        padding: 12px 20px;
        width: 100%;
    }

    .ApplyButtonNumber {
        font-size: 28px;
    }

    .ApplyButtonLabel {
        font-size: 14px;
    }

    .ExploreButton {
        width: 100%;
        font-size: 12px;
        padding: 12px 20px;
    }
    
    div.FooterLinks {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
        padding-top: 20px;
    }
    
    div.FooterEnd {
        margin-top: 30px;
        padding-top: 40px;
    }
    
    footer {
        font-size: 10px;
        gap: 10px;
    }
    
    div.FooterLinks h3 {
        font-size: 14px;
    }
    
    div.FooterEndLinks {
        flex-direction: column;
        gap: 10px;
    }
}