
/* OVERALL CSS */
html {
    height: 100%;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: radial-gradient(
            circle at center,
            #3a3a3a 0%,
            #1a1a1a 40%,
            #000000 80%
    );
    color: #ffffff;
    font-family: 'Press Start 2P', monospace;
    text-align: center;
    position: relative;
    overflow-x: hidden;
}

/* polygon shapes */
body::before {
    content: "";
    position: fixed;
    top: -10px;
    left: 50%;
    width: 260px;
    height: 150px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.03);
    clip-path: polygon(22% 0%, 78% 0%, 100% 42%, 78% 100%, 22% 100%, 0% 42%);
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: none;
}

/* MAIN BODY */
main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    padding: 10px 20px 40px;
}

/* HEADER - CONTENTS */
header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 255, 136, 0.45);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

#imglogo {
    width: 54px;
    height: auto;
    display: block;
}

.title {
    margin: 0;
    color: #ffffff;
    text-decoration: none;
    text-align: left;
    font-size: 30px;
    letter-spacing: 2px;
}

.headernav {
    display: flex;
    gap: 14px;
    margin-left: auto;
    align-items: center;
}

.nav-link {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 10px;
    border: 2px solid transparent;
    transition: 0.3s ease;
}

.nav-link:hover {
    color: #00ff88;
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.75);
}

.start-nav {
    border: 2px solid #00ff88;
    border-radius: 24px;
    background: #151515;
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 18px rgba(0, 255, 136, 0.18);
}

.start-nav:hover {
    background: #101010;
    border-color: #00ff88;
    color: #00ff88;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 24px rgba(0, 255, 136, 0.35);
}

.hamburger {
    display: none;
}

h1,
h2,
h3 {
    color: #ffffff;
    text-shadow: none;
}

h1 {
    font-size: 30px;
    margin-top: 50px;
    margin-bottom: 25px;
}

p {
    color: #d9d9d9;
    line-height: 1.7;
    font-size: 12px;
}

#gif {
    width: 350px;
    height: 300px;
    filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.12));
}

/* CARDS WITH TEXT IN MAIN BODY*/
.Card {
    position: relative;
    display: block;
    width: 85%;
    max-width: 520px;
    margin: 24px auto;
    padding: 24px 26px;
    background: rgba(18, 18, 18, 0.92);
    color: #ffffff;
    border: 1px solid rgba(0, 255, 136, 0.35);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 14px rgba(0, 255, 136, 0.06);
    transition: 0.3s ease;
}

.Card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: #00ff88;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 255, 136, 0.14);
}

.Card h1,
.Card h2,
.Card h3 {
    margin-top: 0;
}

.Textbox1,
.AboutUs,
.Textbox4,
.TeamSection {
    background: linear-gradient(145deg, #1b1b1b, #111111);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.team-member {
    padding: 16px;
    border: 1px solid rgba(0, 255, 136, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.team-member h3 {
    font-size: 14px;
    margin-bottom: 10px;
}

.member-role,
.member-desc,
.team-intro {
    color: #cccccc;
}

.member-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border: 2px solid rgba(0, 255, 136, 0.45);
    border-radius: 50%;
}

footer {
    width: 100%;
    margin: 0;
    padding: 20px 0;
    background: radial-gradient(
        circle at center,
        #3a3a3a 0%,
        #1a1a1a 40%,
        #000000 80%
    );
    color: #e8e8e8;
    border-top: 1px solid rgba(0, 255, 136, 0.35);
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    color: #dcdcdc;
    margin: 4px 0;
}


.FollowUs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: fit-content;
    margin: 0 auto 10px;
}

.social-link {
    display: inline-block;
    text-decoration: none;
}

.iconBtn {
    width: 30px;
    height: 30px;
    transition: 0.3s ease;
}

.iconBtn:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 14px rgba(0, 255, 136, 0.7));
}

#backToTop {
    position: fixed;
    right: 20px;
    top: 70%;
    transform: translateY(-50%);
    display: block;
    padding: 8px 12px;
    border: 2px solid #00ff88;
    border-radius: 12px;
    background: #151515;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 18px rgba(0, 255, 136, 0.18);
    z-index: 1000;
}

#backToTop:hover {
    background: #101010;
    color: #00ff88;
    border-color: #00ff88;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 24px rgba(0, 255, 136, 0.35);
}

blockquote.twitter-tweet {
    margin: 0 auto;
}

@media (max-width: 800px) {
    .title {
        font-size: 20px;
    }

    .headernav {
        display: none;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 90px;
        right: 20px;
        background: #131313;
        border: 1px solid rgba(0, 255, 136, 0.4);
        border-radius: 14px;
        padding: 16px;
        min-width: 150px;
        z-index: 1003;
    }

    .headernav.show {
        display: flex;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 0 9999px rgba(0, 0, 0, 0.45);
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-left: auto;
        cursor: pointer;
        z-index: 1002;
        padding: 5px;
    }

    .hamburger span {
        width: 32px;
        height: 4px;
        border-radius: 4px;
        background-color: #2eff6e;
        display: block;
    }

    #gif {
        width: 260px;
        height: auto;
    }

    .Card {
        width: 92%;
        padding: 18px 16px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    #backToTop {
        right: 12px;
        top: 78%;
        font-size: 9px;
        padding: 7px 10px;
    }
}



header::before,
header::after,
footer::before,
footer::after {
    content: "";
    position: fixed;
    clip-path: polygon(22% 0%, 78% 0%, 100% 42%, 78% 100%, 22% 100%, 0% 42%);
    background: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 0;
}

header::before {
    top: 120px;
    right: 140px;
    width: 120px;
    height: 78px;
}

header::after {
    top: 760px;
    left: 160px;
    width: 130px;
    height: 84px;
}

footer::before {
    top: 1080px;
    right: 190px;
    width: 110px;
    height: 70px;
}

footer::after {
    top: 1460px;
    left: 90px;
    width: 170px;
    height: 108px;
}


main::before,
main::after {
    content: "";
    position: fixed;
    clip-path: polygon(22% 0%, 78% 0%, 100% 42%, 78% 100%, 22% 100%, 0% 42%);
    background: rgba(255, 255, 255, 0.025);
    pointer-events: none;
    z-index: 0;
}

main::before {
    top: 320px;
    left: 90px;
    width: 150px;
    height: 95px;
}

main::after {
    top: 620px;
    right: 110px;
    width: 180px;
    height: 115px;
}

#submitTrHunt,
#SubmitAnswerBtn,
#SkipAnswerBtn,
#SendLocationBtn,
#startbutton,
#cancelbutton,
#closeLeaderboardBtn,
#leaderboardbtn,
#QRScanBtn,
#closeQRBtn,
#playAgainBtn{
    display: block;
    width: 240px;
    margin: 14px auto;
    padding: 12px 18px;
    border: 2px solid #00ff88;
    border-radius: 14px;
    background: linear-gradient(145deg, #1a1a1a, #101010);
    color: #ffffff;
    font-family: 'Press Start 2P', monospace;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 0 14px rgba(0, 255, 136, 0.10);
}

#submitTrHunt:hover,
#SubmitAnswerBtn:hover,
#SkipAnswerBtn:hover,
#SendLocationBtn:hover,
#startbutton:hover,
#cancelbutton:hover,
#closeLeaderboardBtn:hover,
#leaderboardbtn:hover,
#QRScanBtn:hover,
#closeQRBtn:hover,
#playAgainBtn:hover{
    transform: translateY(-3px) scale(1.02);
    border-color: #00ff88;
    color: #00ff88;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 14px 26px rgba(0, 0, 0, 0.45),
        0 0 20px rgba(0, 255, 136, 0.25);
}

#submitTrHunt:active,
#SubmitAnswerBtn:active,
#SkipAnswerBtn:active,
#SendLocationBtn:active,
#startbutton:active,
#cancelbutton:active,
#closeLeaderboardBtn:active,
#leaderboardbtn:active,
#QRScanBtn:active,
#closeQRBtn:active,
#playAgainBtn:active{
    transform: scale(0.98);
}

#SkipAnswerBtn {
    border-color: #ffb347;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 0 14px rgba(255, 179, 71, 0.18);
}

#SkipAnswerBtn:hover {
    color: #ffb347;
    border-color: #ffb347;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 14px 26px rgba(0, 0, 0, 0.45),
        0 0 20px rgba(255, 179, 71, 0.28);
}

#cancelbutton {
    border-color: #ff5c5c;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 0 14px rgba(255, 92, 92, 0.16);
}

#cancelbutton:hover {
    color: #ff5c5c;
    border-color: #ff5c5c;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 14px 26px rgba(0, 0, 0, 0.45),
        0 0 20px rgba(255, 92, 92, 0.24);
}

@media (max-width: 800px) {
    header {
        position: relative !important;
        z-index: 2147483647 !important;
    }

    main,
    footer {
        position: relative;
        z-index: 1 !important;
    }

    .headernav {
        display: none;
    }

    .headernav.show {
        display: flex !important;
        position: fixed !important;
        top: 90px !important;
        right: 20px !important;
        width: 260px !important;
        padding: 20px !important;
        gap: 14px !important;
        background: #131313 !important;
        border: 1px solid rgba(0, 255, 136, 0.4) !important;
        border-radius: 14px !important;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75) !important;
        overflow: hidden !important;
        isolation: isolate !important;
        opacity: 1 !important;
        z-index: 2147483647 !important;
    }

    .headernav.show::before {
        content: "";
        position: absolute;
        inset: 0;
        background: #131313;
        z-index: 0;
    }

    .headernav.show .nav-link,
    .headernav.show .start-nav {
        display: block !important;
        width: 100% !important;
        padding: 14px 18px !important;
        background: #131313 !important;
        color: #ffffff !important;
        text-align: center !important;
        position: relative !important;
        z-index: 1 !important;
        text-shadow: none !important;
    }

    .headernav.show .start-nav {
        border: 2px solid #ffffff !important;
        border-radius: 24px !important;
    }
}

.back-main-link {
    margin-left: auto;
    padding: 10px 16px;
    border: 2px solid #00ff88;
    border-radius: 24px;
    background: #131313;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.12);
}

.back-main-link:hover {
    color: #00ff88;
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.25);
}

@media (max-width: 800px) {
    .back-main-link {
        padding: 10px 16px;
        font-size: 8px;
    }
}
#startbutton,
#cancelbutton {
    width: 200px;
    padding: 10px 14px;
    font-size: 10px;
}

#AnswerArea {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.boolBtn,
.mcqBtn {
    display: inline-block;
    min-width: 70px;
    padding: 10px 16px;
    border: 2px solid #00ff88;
    border-radius: 12px;
    background: linear-gradient(145deg, #1a1a1a, #101010);
    color: #ffffff;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 0 14px rgba(0, 255, 136, 0.10);
}

.boolBtn:hover,
.mcqBtn:hover {
    transform: translateY(-2px) scale(1.02);
    color: #00ff88;
    border-color: #00ff88;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 14px 26px rgba(0, 0, 0, 0.45),
        0 0 20px rgba(0, 255, 136, 0.25);
}

.boolBtn:active,
.mcqBtn:active {
    transform: scale(0.98);
}
.leaderboardList {
    list-decoration: none;
}

#ResumeModal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 20000;
}

#ResumeModal .modal-content {
    background-color: #041a12;
    border: 2px solid #00ff88;
    padding: 30px;
    width: 320px;
    border-radius: 12px;
    text-align: center;
    color: #00ff88;
    box-shadow: 0 0 20px #00ff88;
}

#ResumeModal .modal-content h3 {
    margin-bottom: 20px;
    font-size: 18px;
    letter-spacing: 1px;
    color: #00ff88;
    text-shadow: none;
}

#ResumeModal #resumeYesBtn,
#ResumeModal #resumeNoBtn {
    display: block;
    width: 200px;
    margin: 15px auto;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 10px;
    transform: none;
}

#ResumeModal #resumeYesBtn {
    background: #f0f0f0;
    border: 3px solid #2eff6e;
    color: #000000;
    box-shadow: none;
}
#ResumeModal #resumeYesBtn:hover {
    background: #00ff88;
    color: #000000;
    border-color: #00ff88;
    box-shadow: none;
}
#ResumeModal #resumeNoBtn {
    background: transparent;
    border: 2px solid #ff4444;
    color: #ff4444;
    box-shadow: none;
}

#ResumeModal #resumeNoBtn:hover {
    background: #ff4444;
    color: #000000;
    border-color: #ff4444;
    box-shadow: none;
}
#ResumeModal  #resumeModalText {
    padding: 8px;
    border: 2px solid #2600ff;
    background: #000000;
    color: #003cff;
    outline: none;
    border-radius: 6px;
    margin-bottom: 20px;
    font-family: 'Press Start 2P', monospace;
    font-size: 11px;
    box-shadow: none;
    width:100%;
    display: flex;
    justify-content: center;
}
#Modalname {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 20000;
}

#Modalname .modal-content {
    background-color: #041a12;
    border: 2px solid #00ff88;
    padding: 30px;
    width: 320px;
    border-radius: 12px;
    text-align: center;
    color: #00ff88;
    box-shadow: 0 0 20px #00ff88;
}

#Modalname .modal-content h3 {
    margin-bottom: 20px;
    font-size: 18px;
    letter-spacing: 1px;
    color: #00ff88;
    text-shadow: none;
}

#Modalname #player-name {
    width: 90%;
    padding: 8px;
    border: 2px solid #00ff88;
    background: #000000;
    color: #00ff88;
    outline: none;
    border-radius: 6px;
    margin-bottom: 20px;
    font-family: 'Press Start 2P', monospace;
    font-size: 11px;
    box-shadow: none;
}

#Modalname #player-name::placeholder {
    color: #7aa58d;
}

#Modalname #startbutton,
#Modalname #cancelbutton {
    display: block;
    width: 200px;
    margin: 15px auto;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 10px;
    transform: none;
}

#Modalname #startbutton {
    background: #f0f0f0;
    border: 3px solid #2eff6e;
    color: #000000;
    box-shadow: none;
}

#Modalname #startbutton:hover {
    background: #00ff88;
    color: #000000;
    border-color: #00ff88;
    box-shadow: none;
}

#Modalname #cancelbutton {
    background: transparent;
    border: 2px solid #ff4444;
    color: #ff4444;
    box-shadow: none;
}

#Modalname #cancelbutton:hover {
    background: #ff4444;
    color: #000000;
    border-color: #ff4444;
    box-shadow: none;
}
/*leaderboard modal section*/
#leaderboardModal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}
#leaderboard-content{
    position: fixed;
    top:50%;
    right:40px;
    transform:translateY(-50%);
    width:350px;
    max-height: 400px;
    overflow-y: auto;
    background-color: #041a12;
    border:2px solid #00ff88;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color:#00ff88;
    box-shadow:0 0 20px #00ff88;
    z-index:1100;
}

#leaderboardTitle{
    margin-bottom:20px;
    font-size:18px;
}
#leaderboardList{
    list-style: none;
    padding:0;
    margin:0;
}
#leaderboardList li{
    margin-bottom:10px;
    padding:10px;
    border:1px solid #00ff88;
    border-radius:8px;
    background-color:black;
    color:#9ef0c0;
}
#closeLeaderboardBtn{
    margin-top:15px;
    padding:8px 16px;
    border:2px solid #00ff88;
    border-radius:6px;
    background-color:white;
    color:white !important;
    cursor:pointer;
    font-family: 'Press Start 2P',monospace;
    
}
#closeLeaderboardBtn:hover{
    box-shadow:0 0 10px #00ff88;
}

#questionProgress{
    color:#00ff88;
    font-size:15px;
    margin-bottom:10px;
    letter-spacing: 1px;
}
/* ===========================
   QR SCANNER  MODAL
   ========================== */
#QRModal{
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 20000;
}
/* ===========================
   QR SCANNER  MODAL - CONTENT BOX
   ========================== */
#QRModal .modal-content{
    background-color: #041a12;
    border: 2px solid #00ff88;
    padding: 30px;
    width: 600px;
    border-radius: 12px;
    text-align: center;
    color: #00ff88;
    box-shadow: 0 0 20px #00ff88;
}
#QRModal .modal-content h3{
    margin-bottom: 16px;
    font-size: 16px;
    letter-spacing: 1px;
    color: #00ff88;
    text-shadow: none;
}
/* ===========================
   QR SCANNER  VIDEO  PREVIEW
   ========================== */
#qr-preview{
    display: block;
    width: 100%;
    max-width: 460px;
    border-radius: 8px;
    margin: 10px auto;
    border: 2px solid #00ff88;
    box-shadow:0 0 12px rgba(0, 255, 136, 0.25);
}

/* ===========================
   QR SCANNER  CAMERA CONTROLS
   ========================== */
#camera-controls{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}
#prevCamBtn,
#nextCamBtn{
    padding: 10px 20px;
    border: 2px solid #00ff88;
    border-radius:10px;
    background: linear-gradient(145deg, #1a1a1a, #101010);
    color: white;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.03),
            0 6px 16px rgba(0, 0, 0, 0.35),
            0 0 10px rgba(0, 255, 136, 0.10);
}
#prevCamBtn:hover,
#nextCamBtn:hover{
    color:#00ff88;
    border-color: #00ff88;
    transform:translateY(-2px) scale(1.02);
    box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.04),
            0 10px 22px rgba(0, 0, 0, 0.45),
            0 0 16px rgba(0, 255, 136, 0.25);
}
#prevCamBtn:disabled,
#nextCamBtn:disabled{
    opacity:0.35;
    cursor: not-allowed;
    transform:none;
    box-shadow: none;
}
/* ===========================
   QR SCANNER  RESULT AREA
   ========================== */
#qr-result{
    margin: 12px 0 4px;
    font-size: 9px;
    word-break: break-all;
    color: #cccccc;
    min-height: 18px;
    font-family: 'Press Start 2P', monospace;
}

#qr-result a{
    color:#00ff88;
    text-decoration: underline;
}

/* ===========================
   QR SCANNER  MOBILE BREAKPOINT
   ========================== */
@media (max-width:800px) {
    #QRModal .modal-content{
        width: 92vw;
        padding: 20px 16px;
        max-height: 90vh;
        overflow-y: auto;
    }
    #qr-preview{
        max-width: 100%;
        max-height: 55vw;
        object-fit:cover;
    }
    #prevCamBtn,
    #nextCamBtn{
        font-size: 8px;
        padding: 7px 10px;
    }
}
/* ===========================
   LEADERBOARD MOBILE BREAKPOINT
   ========================== */
@media (max-width: 800px) {
    #leaderboard-content{
        right:auto;
        left:50%;
        transform: translate(-50%, -50%);
        width:92vw;
        max-height:70vh;
    }
    #leaderboardTitle{
        font-size:14px;
    }
    #leaderboardList li{
        font-size:10px;
        padding:8px;
    }
    #closeLeaderboardBtn{
        width:100%;
        font-size:10px;
        padding:10px;
    }
}

/* ===========================
   FINAL LEADERBOARD(shown on completion)
   ========================== */
#finalLeaderboard{
    margin : 30px auto;
    width:90%;
    max-width:600px;
}
#finalLeaderboard h3{
    color:#00ff88;
    font-size:14px;
    margin-bottom:16px;
}
#finalLeaderboardList{
    list-style: none;
    padding:0;
    margin:0;
    width:100%;
}
/*TreasureHunt title Row*/
#finalLeaderboardList  .leaderboard-title{
    color:#00ff88;
    font-size:10px;
    padding:10px 0;
    border-bottom:2px solid #00ff88;
    margin-bottom:4px;
}

/*Header Row*/
#finalLeaderboardList .leaderboard-header{
    display:grid;
    grid-template-columns:40px 1fr 80px 160px;
    padding: 8px 10px;
    background: rgba(0, 255, 136, 0.08);
    border-radius:6px;
    margin-bottom:4px;
    font-size: 9px;
    color:#00ff88;
}

/*Player rows*/
#finalLeaderboardList .leaderboard-item{
    display:grid;
    grid-template-columns:40px 1fr 80px 160px;
    padding: 7px 10px;
    border-bottom: 1px solid rgba(0, 230, 136, 0.15);
    font-size: 9px;
    color:#9ef0c0;
    transition: background 0.2s ease;
}

#finalLeaderboardList .leaderboard-item:hover{
    background: rgba(0, 255, 136, 0.05);

}
/* ===========================
   FINAL LEADERBOARD - BREAKPOINT
   ========================== */
@media (max-width: 800px) {
    #finalLeaderboard{
        width: 100%;
    }
    #finalLeaderboardList .leaderboard-header,
    #finalLeaderboardList .leaderboard-item{
        grid-template-columns:30px 1fr 60px 90px;
        font-size:7px;
        padding:6px 6px;
    }
}
/* teasure hunt options*/
#TrHuntList {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0.25rem 0;
}
.TreasureHuntOption {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 32px;
    padding: 0.7rem 1.2rem;
    margin: 0;
    font-size: 13px;
    font-family: 'Press Start 2P', monospace;
    cursor: pointer;
    text-align: left;
}

.TreasureHuntOption:hover {
    background: rgba(0, 255, 136, 0.08);
 
}

.TreasureHuntOption input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

