body {
    margin: 0;
    background: #020817;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

a:link {
    color: #fff8cf;
    text-decoration: none;
}

a:visited {
    text-decoration: none;
    color: #d1d1d1;
}

a:hover {
    text-decoration: none;
    color: #d1d1d1;
}

a:active {
    text-decoration: none;
    color: #d1d1d1;
}
.tvp-page {
    width: 100%;
    min-height: 100vh;
    background: #020817;
}

.tvp-header {
    width: 94%;
    margin: 0 auto;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tvp-logo img {
    width: 280px;
}

.tvp-topnav {
    display: flex;
    gap: 20px;
}

.tvp-topnav a,
.tvp-play-now a {
    color: #fff;
    text-decoration: none;
    border: 1px solid #1b68d8;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
}

.tvp-watch-live {
    background: linear-gradient(to bottom, #da0308, #610102);
    border: 2px solid #ffffff !important;

    padding: 12px 38px !important;

    border-radius: 10px;

    color: #ffffff !important;
    text-decoration: none;

    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.tvp-watch-live:hover {
    background: linear-gradient(to bottom, #f0040a, #7a0203);
}

/*overlays*/

#theater {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    background: black;
    z-index: 50;
    visibility: hidden;

    overflow: hidden;
}


#closebtn {
    margin-top: 30px;
    margin-right: 30px;
    z-index: 75;
}
.hvrbtn:hover {
    opacity: 1;
}

.hvrbtn {
    position: absolute;
    top: 30px;
    right: 30px;

    z-index: 90;
    opacity: 0.2;
    transition: 0.2s;
}
/* end overlays*/

.wid1200 {
    width: 1200px;
}

.marginauto {
    margin: auto;
}
#theater video {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    background: #000;
}
.tvp-hero {
    width: 100%;
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
    box-sizing: border-box;

    padding: 60px 5% 140px;

    background-image:
        url('imgs/background3.jpg');

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    overflow: hidden;
}
.tvp-hero-rightimg {
    position: absolute;

    top: 50%;
    right: 6%;

    transform: translateY(-50%);

    z-index: 2;

    pointer-events: none;
}
.tvp-hero-rightimg img {
    display: block;

    max-height: 400px;
    width: auto;

    border: 3px solid #d4af37;
    border-radius: 24px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(212, 175, 55, 0.25);

    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
}

.tvp-hero-text h1 {
    font-size: 48px;
    line-height: 1.1;
    margin: 0;
}

.tvp-hero-text span {
    color: #ffc400;
}

.tvp-hero-text p {
    font-size: 24px;
    line-height: 1.4;
}

.tvp-hero-logo img {
    width: 430px;
    max-width: 100%;
}



.tvp-show-row {
    width: 94%;
    margin: 25px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.tvp-show-card {
    position: relative;

    border: 1px solid #145eb8;
    border-radius: 10px;
    overflow: hidden;

    background: #061331;
}

.tvp-show-card img {
    width: 100%;
    height: 220px;

    display: block;
    object-fit: cover;
}

.tvp-show-card h3,
.tvp-show-card p,
.tvp-show-card span {
    margin-left: 18px;
    margin-right: 18px;
}

.tvp-show-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.tvp-show-card p {
    position: absolute;
    left: 16px;
    bottom: 34px;

    margin: 0;

    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;

    z-index: 2;
}

.tvp-show-card span {
    position: absolute;
    left: 16px;
    bottom: 14px;

    margin: 0;

    color: #ffd800;
    font-size: 15px;

    z-index: 2;
}

.tvp-footer {
    width: 94%;
    margin: 35px auto 0;
    padding: 25px 0;

    display: flex;
    justify-content: space-around;
    align-items: center;

    border-top: 1px solid #123b86;
}

.tvp-footer a {
    position: relative;

    flex: 1;

    color: #ffffff;
    text-decoration: none;
    text-align: center;

    font-size: 18px;
    font-weight: bold;

    padding: 0 20px;
}
.tvp-footer a:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 50%;
    right: 0;

    transform: translateY(-50%);

    width: 1px;
    height: 32px;

    background: #d4af37;
}
.tvp-submitbtn {
    position: absolute;

    left: 50%;
    bottom: 20px;

    transform: translateX(-50%);

    z-index: 2;
}

.tvp-submitbtn img {
    display: block;

    max-width: 300px;
    width: 100%;
    height: auto;
}
@media screen and (max-width: 900px) {
    .tvp-header,
    .tvp-hero {
        flex-direction: column;
        text-align: center;
    }

    .tvp-topnav {
        flex-direction: column;
        width: 100%;
    }

    .tvp-show-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .tvp-play-now {
        position: static;
        transform: none;
        margin-top: 25px;
    }
}

@media screen and (max-width: 600px) {
    .tvp-show-row {
        grid-template-columns: 1fr;
    }

    .tvp-hero-text h1 {
        font-size: 36px;
    }
}

/*overlays*/

#theater {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    background: black;
    z-index: 50;
    visibility: hidden;

    overflow: hidden;
}


#closebtn {
    margin-top: 30px;
    margin-right: 30px;
    z-index: 75;
}
.hvrbtn:hover {
    opacity: 1;
}

.hvrbtn {
    position: absolute;
    top: 30px;
    right: 30px;

    z-index: 90;
    opacity: 0.2;
    transition: 0.2s;
}

/* end overlays*/
/*schedule*/
.schedOverlay {
    position:fixed;
    inset:0;
    background:#001684;
    z-index:999;
    display:none;
    justify-content:center;
    align-items:center;
}

.schedBox {
    width:90%;
    max-width:1100px;
    max-height:90vh;
    overflow:auto;
    background:#111;
    border:2px solid #d4af37;
    border-radius:12px;
    padding:25px;
    color:white;
}

.schedTop {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.schedTop h2 {
    color:#d4af37;
}

.schedDays {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:center;
    margin:20px 0;
}

.schedDays button,
.schedTop button {
    background:#d4af37;
    color:#111;
    border:none;
    border-radius:8px;
    padding:10px 16px;
    font-weight:bold;
    cursor:pointer;
}

.schedList {
    display:grid;
    grid-template-columns:repeat(auto-fill, 224px);
    gap:18px;
    justify-content:center;
}

.schedCard {
    border:2px solid #d4af37;
    border-radius:10px;
    overflow:hidden;
    background:#111;
    text-align:center;
}

.schedTime {
    padding:8px;
    color:black;
    font-size:18px;
    font-weight:bold;
    background:rgb(32, 111, 148);
}

.schedCard img {
    width:224px;
    height:154px;
    object-fit:cover;
    display:block;
}
/* end schedule */

/*now playing area */
.tvp-nowbar {
    width: 94%;
    margin: 0 auto 35px;

    height: 100px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    background: linear-gradient(to bottom, #0c3d9c, #08255f);
    border: 1px solid #1d65d8;
    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 0 20px rgba(0, 90, 255, 0.25);
}

.tvp-now-cell {
    display: grid;
    grid-template-rows: 38px 62px;

    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.tvp-now-cell:first-child {
    border-left: none;
}

.tvp-now-time {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;

    background: rgba(0, 0, 0, 0.28);
    color: #ffd800;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tvp-now-title {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 12px;

    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
/* end now playing */
/* footer */
.tvp-footer a {
    position: relative;

    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;

    padding: 0 20px;
}
.tvp-footer a i {
    color: #d4af37;
    font-size: 24px;
    flex-shrink: 0;
}
.tvp-footer a {
    position: relative;

    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;

    padding: 0 20px;
}

.tvp-footer a span {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}
.tvp-footer a:not(:last-child)::after {
    content: "";

    position: absolute;
    top: 50%;
    right: 0;

    transform: translateY(-50%);

    width: 1px;
    height: 32px;

    background: #d4af37;
}
/*end footer */

/*ad overlay */
.adOverlay {
    position: fixed;
    inset: 0;

    display: none;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.85);

    z-index: 100;
}

.adBox {
    position: relative;

    width: 75vw;
    max-width: 1200px;

    max-height: 85vh;

    border: 3px solid #d4af37;
    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.adBox img {
    display: block;

    width: 100%;
    height: auto;
}
.adClose {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;

    font-size: 24px;
    cursor: pointer;

    z-index: 101;
}
/*end ad overlay */


#rulesBox {    
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0,0,0,.85);
    visibility: hidden;
}
#rulesContent
{
    width: 80%;
    max-width: 1000px;

    margin: 50px auto;

    background: #fff;
    color: #000;

    padding: 20px;
}


.gvGrid
{
    width:90%;
    max-width:1200px;

    margin:40px auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;
}

.gvBox
{
    background:#111;

    border:2px solid #d4af37;

    padding:25px;

    border-radius:10px;

    text-align:center;

    color:white;

    transition:.3s;
}

.gvBox:hover
{
    transform:translateY(-3px);

    box-shadow:0 0 15px rgba(212,175,55,.5);
}

.gvBox h3
{
    color:#d4af37;

    margin-bottom:10px;

    font-size:28px;
}

.gvBox p
{
    font-size:18px;

    line-height:1.5;
}
@media(max-width:768px)
{
    .gvGrid
    {
        grid-template-columns:1fr;
    }
}
.gvSubmitSection
{
    width:90%;
    max-width:1000px;
    margin:40px auto;
    padding:30px;
    background:#111;
    border:2px solid #d4af37;
    border-radius:12px;
    color:white;
}

.gvSubmitSection h2
{
    color:#d4af37;
    text-align:center;
    font-size:34px;
    margin-bottom:10px;
}

.gvSubmitSection p
{
    text-align:center;
    font-size:18px;
    margin-bottom:25px;
}

.gvFormGrid
{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.gvField
{
    margin-bottom:20px;
}

.gvField label
{
    display:block;
    margin-bottom:6px;
    color:#d4af37;
    font-weight:bold;
}

.gvField input,
.gvField textarea
{
    width:100%;
    padding:12px;
    border-radius:6px;
    border:1px solid #555;
    background:#222;
    color:white;
    font-size:16px;
    box-sizing:border-box;
}

.gvField small
{
    display:block;
    margin-top:6px;
    color:#ccc;
}

.gvCheck
{
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin:20px 0;
    font-size:15px;
}

.gvSubmitBtn
{
    display:block;
    width:100%;
    padding:15px;
    background:#d4af37;
    color:#000;
    border:none;
    border-radius:8px;
    font-size:22px;
    font-weight:bold;
    cursor:pointer;
}

.gvSubmitBtn:hover
{
    background:#f1cc55;
}

@media(max-width:768px)
{
    .gvFormGrid
    {
        grid-template-columns:1fr;
    }
}
.gvMessage
{
    width:90%;
    max-width:1000px;
    margin:20px auto;
    padding:15px;
    border-radius:8px;
    font-weight:bold;
    text-align:center;
}

.gvMessage.success
{
    background:#d4af37;
    color:#000;
}

.gvMessage.error
{
    background:#7a0000;
    color:#fff;
}
#rulesContent {
    background-color: #1b1b1b;
    border:solid 2px #d4af37;
    border-radius: 15px;
    color:#ffffff;
}
#rulesBox
{
    text-align:left;
}

#rulesBox h2
{
    margin-top:0;
    text-align:center;
}

#rulesBox ol
{
    padding-left:20px;
    line-height:1.7;
}

#rulesBox li
{
    margin-bottom:8px;
    font-size:20px;
}

.closeBtn
{
    float:right;
    cursor:pointer;
    padding: 5px 8px 5px 8px;
}

/*contestants grid*/

.gvSearchBox {
    text-align:center;
    margin:20px 0;
}
.gvSearchBox input {
    width:300px;
    max-width:90%;
    padding:12px;
    border-radius:8px;
    border:2px solid #d4af37;
    background:#111;
    color:white;
}

.gvSearchBox button {
    padding:12px 18px;
    border-radius:8px;
    border:0;
    background:#d4af37;
    color:#111;
    font-weight:bold;
    cursor:pointer;
}

.gvContestantCount {
    color:#d4af37;
    text-align:center;
    margin-bottom:25px;
}
.gvContestantGrid
{
    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(280px,300px));

    gap:25px;

    justify-content:center;
}

.gvContestantCard
{
    background:#111;

    border:2px solid #d4af37;

    border-radius:10px;

    overflow:hidden;

    color:white;

    text-align:center;

    transition:.3s;

    max-width:300px;

    margin:auto;
}
.gvContestantCard:hover
{
    transform:translateY(-3px);

    box-shadow:0 0 15px rgba(212,175,55,.5);
}

.gvContestantCard img
{
    width:100%;

    height:320px;

    object-fit:cover;

    display:block;
}

.gvContestantCard h3
{
    color:#d4af37;

    margin:15px 10px 8px;

    font-size:24px;
}

.gvContestantCard p
{
    margin:0 10px 12px 10px;

    font-size:15px;

    line-height:1.4;
}

.gvContestantBtns
{
    display:flex;

    justify-content:center;

    gap:8px;

    padding-bottom:15px;
}

.gvContestantBtns a,
.gvContestantBtns button {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

@media (max-width: 1000px) {
    .gvContestantGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .gvContestantGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 450px) {
    .gvContestantGrid {
        grid-template-columns: 1fr;
    }
}

/*singlecontestant page */
.gvContestantProfile
{
    max-width:1200px;

    margin:30px auto;

    background:#111;

    border:2px solid #d4af37;

    border-radius:10px;

    padding:25px;

    color:white;
}
.gvContestantContent
{
    display:flex;

    gap:30px;

    align-items:flex-start;
}

@media(max-width:900px)
{
    .gvContestantContent
    {
        flex-direction:column;
    }
}
.gvContestantContent
{
    display:flex;

    gap:30px;

    align-items:flex-start;
}

@media(max-width:900px)
{
    .gvContestantContent
    {
        flex-direction:column;
    }
}
.gvContestantPhoto
{
    flex:0 0 350px;
}

.gvContestantPhoto img
{
    width:100%;

    border-radius:10px;

    border:2px solid #d4af37;
}
.gvContestantInfo
{
    flex:1;
}

.gvContestantInfo h2
{
    color:#d4af37;

    margin-top:0;

    font-size:38px;
}

.gvContestantInfo h4
{
    color:#ccc;

    margin-top:5px;
}
.gvBio
{
    margin-top:20px;

    line-height:1.6;

    font-size:18px;
}
.gvVideo
{
    margin-top:25px;
}

.gvVideo video
{
    width:100%;

    max-width:700px;

    border-radius:10px;

    border:2px solid #d4af37;
}
.gvVoteBtn
{
    margin-top:25px;

    background:#d4af37;

    color:#111;

    border:none;

    border-radius:8px;

    padding:14px 30px;

    font-size:20px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;
}

.gvVoteBtn:hover
{
    transform:translateY(-2px);

    box-shadow:0 0 15px rgba(212,175,55,.5);
}
/*schedule*/
.schedOverlay {
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.85);
    z-index:999;
    display:none;
    justify-content:center;
    align-items:center;
}

.schedBox {
    width:90%;
    max-width:1100px;
    max-height:90vh;
    overflow:auto;
    background:#111;
    border:2px solid #d4af37;
    border-radius:12px;
    padding:25px;
    color:white;
}

.schedTop {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.schedTop h2 {
    color:#d4af37;
}

.schedDays {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:center;
    margin:20px 0;
}

.schedDays button,
.schedTop button {
    background:#d4af37;
    color:#111;
    border:none;
    border-radius:8px;
    padding:10px 16px;
    font-weight:bold;
    cursor:pointer;
}

.schedList {
    display:grid;
    grid-template-columns:repeat(auto-fill, 224px);
    gap:18px;
    justify-content:center;
}

.schedCard {
    border:2px solid #d4af37;
    border-radius:10px;
    overflow:hidden;
    background:#111;
    text-align:center;
}

.schedTime {
    padding:8px;
    color:black;
    font-size:18px;
    font-weight:bold;
    background:rgb(32, 111, 148);
}

.schedCard img {
    width:224px;
    height:154px;
    object-fit:cover;
    display:block;
}


.hide {
    visibility: hidden;
}
#moreshows {
    font-size: 12;
    margin-left: 40px;
    margin-bottom: 0px;
}


/*pop up windows */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.popup-box {
    background: #071d3d;
    color: white;
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 25px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    display: hidden;
}

.popup-box button {
    margin-top: 15px;
    padding: 10px 25px;
    background: #d4af37;
    border: none;
    border-radius: 6px;
    font-weight: bold;
}