body {
    background-color: #12141d;
    color: #fff;
    text-align: center;
    font-family: 'Kanit', sans-serif;
    min-width: 360px;
}
h2 {
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: 200;
}
h2 span {
    color: #d4b962;
    display: block;
    font-weight: 400;
}
button {
    background-color: #333;
    color: #fff;
    font-size: 12px;
    border: 0;
}
.header {
    background-color: #000;
    padding: 20px 0;
}

.container {
    padding: 40px 0;
}

.main-section {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: center/cover no-repeat;
    border-radius: 30px;
    margin: 2vw;
}

.main-section a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: block;
    z-index: 10;
}

.main-promo {
    position: relative;
    z-index: 5;
    height: 300px;
}

#main-logo {
    width: 320px;
    height: 60px;
    background: url('HeritageSportsLogo.svg') center no-repeat;
    margin: 0 auto;
}

.partner-logo {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    z-index: 5;
    height: 60px;
}

.promo-code {
    font-size: 28px;
    margin-bottom: 40px;
    color: #d4b962;
    text-transform: uppercase;
}

#promoCode {
    color: #ffffff;
}

.copy-btn {
    cursor: pointer;
    margin-left: 10px;
}

.join-now {
    background: #d4b962;
    color: white;
    font-weight: bold;
    padding: 10px 50px;
    border: none;
    font-size: 28px;
    cursor: pointer;
    border-radius: 30px;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.3s ease, color 0.3s ease;
}
.join-now:hover {
    text-decoration: none;
    color: black;
}
.terms {
    margin-top: 50px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    color: #999;
}

.terms-text {
    display: none;
    font-size: 12px;
    margin-top: 10px;
    color: #cecece;
    padding: 20px 40px;
    white-space: pre-line;
}

@media (min-width: 1366px) and (max-width: 1920px) {
    .main-section {
        height: 520px;
    }

    .main-promo {
        height: 225px;
    }
}

@media (min-width: 641px) and (max-width: 1365px) {
    .main-promo {
        height: 180px;
    }

    .main-section {
        height: 420px;
    }

    .partner-logo {
        height: 50px;
    }
}

@media (max-width: 640px) {
    .main-promo {
        height: 100px;
    }

    .main-section {
        height: 275px;
    }

    .partner-logo {
        height: 40px;
    }

    .promo-code {
        font-size: 24px;
    }

    .terms-text {
        padding: 0 20px;
    }
    #promoCode {
        display: block;
    }
}