/* =====================================================
   PITCH PANCHAYAT REGISTRATION PAGE
   MATCHING LANDING PAGE VIBE
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =====================================================
   BODY
===================================================== */

body {
    font-family: Arial, Helvetica, sans-serif;

    background: #ffc400;

    color: #111;

    min-height: 100vh;
}


/* =====================================================
   REGISTER SECTION
===================================================== */

.register-section {

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(255, 255, 255, 0.35),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #ffd500 0%,
            #ffbd00 55%,
            #f6aa00 100%
        );

    padding: 100px 20px;

    position: relative;

    overflow: hidden;
}


/* =====================================================
   BACKGROUND PATTERN
===================================================== */

.register-section::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:
        radial-gradient(
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px
        );

    background-size: 28px 28px;

    pointer-events: none;

    opacity: 0.35;
}


/* =====================================================
   REGISTRATION CARD
===================================================== */

.register-card {

    position: relative;

    z-index: 2;

    max-width: 850px;

    margin: auto;

    background: #111;

    border: 3px solid #111;

    border-radius: 30px;

    padding: 55px;

    box-shadow:
        18px 18px 0 rgba(0, 0, 0, 0.18),
        0 20px 50px rgba(0, 0, 0, 0.25);
}


/* =====================================================
   SECTION TAG
===================================================== */

.section-tag {

    display: inline-block;

    background: #ffc400;

    color: #111;

    padding: 10px 18px;

    border-radius: 50px;

    letter-spacing: 3px;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;
}


/* =====================================================
   HEADING
===================================================== */

.register-card h2 {

    margin-top: 25px;

    font-size: clamp(2.5rem, 5vw, 4rem);

    color: #ffffff;

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -2px;
}


.register-card h2 span {

    color: #ffc400;

    font-style: italic;
}


/* =====================================================
   DESCRIPTION
===================================================== */

.register-card > p {

    margin-top: 22px;

    color: #c5c5c5;

    font-size: 17px;

    line-height: 1.8;

    max-width: 650px;
}


/* =====================================================
   FORM
===================================================== */

.register-form {

    display: flex;

    flex-direction: column;

    gap: 18px;

    margin-top: 40px;
}


/* =====================================================
   INPUTS
===================================================== */

.register-form input,

.register-form select,

.register-form textarea {

    width: 100%;

    padding: 18px;

    background: #1c1c1c;

    border: 2px solid #333;

    border-radius: 12px;

    font-size: 16px;

    color: #ffffff;

    outline: none;

    font-family: Arial, Helvetica, sans-serif;

    transition: 0.25s ease;
}


/* PLACEHOLDER */

.register-form input::placeholder,

.register-form textarea::placeholder {

    color: #929292;
}


/* FOCUS */

.register-form input:focus,

.register-form select:focus,

.register-form textarea:focus {

    border-color: #ffc400;

    box-shadow:
        0 0 0 4px
        rgba(255, 196, 0, 0.12);

    background: #202020;
}


/* =====================================================
   SELECT OPTIONS
===================================================== */

.register-form select {

    cursor: pointer;

    appearance: auto;
}


.register-form select option {

    background: #111;

    color: #ffffff;
}


/* =====================================================
   TEXTAREA
===================================================== */

.register-form textarea {

    min-height: 130px;

    resize: vertical;

    line-height: 1.6;
}


/* =====================================================
   TEAM SUBTITLE
===================================================== */

.team-subtitle {

    margin-top: 25px !important;

    margin-bottom: 5px;

    color: #ffc400 !important;

    font-size: 18px !important;

    font-weight: 700;

    line-height: 1.5 !important;
}


/* =====================================================
   PARTICIPANT CARD
===================================================== */

.participant-card {

    background: #181818;

    border: 2px solid #2d2d2d;

    border-radius: 16px;

    padding: 22px;

    display: flex;

    flex-direction: column;

    gap: 14px;

    transition: 0.25s ease;
}


/* PARTICIPANT CARD HOVER */

.participant-card:hover {

    border-color: #ffc400;

    transform: translateY(-2px);
}


/* PARTICIPANT TITLE */

.participant-card h4 {

    color: #ffc400;

    font-size: 18px;

    font-weight: 800;

    margin-bottom: 5px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* =====================================================
   FORM GROUP
===================================================== */

.form-group {

    width: 100%;
}


/* =====================================================
   SUBMIT BUTTON
===================================================== */

.register-form button {

    margin-top: 20px;

    width: 100%;

    background: #ffc400;

    color: #111;

    border: 2px solid #ffc400;

    padding: 19px;

    border-radius: 12px;

    cursor: pointer;

    font-size: 18px;

    font-weight: 900;

    letter-spacing: 0.3px;

    transition: 0.25s ease;
}


/* BUTTON HOVER */

.register-form button:hover {

    background: #ffffff;

    border-color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px
        rgba(255, 196, 0, 0.2);
}


/* BUTTON ACTIVE */

.register-form button:active {

    transform: translateY(0);
}


/* =====================================================
   LOGOUT BUTTON
===================================================== */

#logoutBtn {

    position: fixed;

    top: 20px;

    right: 20px;

    z-index: 20;

    background: #111;

    color: #ffc400;

    border: 2px solid #111;

    padding: 12px 20px;

    border-radius: 10px;

    cursor: pointer;

    font-weight: 700;

    transition: 0.25s ease;
}


#logoutBtn:hover {

    background: transparent;

    color: #111;

}


/* =====================================================
   HIDDEN ANIMATION
===================================================== */

.hidden {

    opacity: 0;

    transform: translateY(30px);

    transition: all 0.8s ease;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .register-section {

        padding: 80px 25px;
    }


    .register-card {

        padding: 45px 35px;

        border-radius: 25px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .register-section {

        padding: 70px 15px;
    }


    .register-card {

        padding: 32px 20px;

        border-radius: 22px;

        box-shadow:
            8px 8px 0 rgba(0, 0, 0, 0.15),
            0 15px 35px rgba(0, 0, 0, 0.2);
    }


    .section-tag {

        font-size: 9px;

        letter-spacing: 2px;

        padding: 8px 13px;
    }


    .register-card h2 {

        font-size: 2.4rem;

        letter-spacing: -1px;
    }


    .register-card > p {

        font-size: 15px;

        line-height: 1.7;
    }


    .register-form {

        margin-top: 30px;

        gap: 14px;
    }


    .register-form input,

    .register-form select,

    .register-form textarea {

        padding: 15px;

        font-size: 15px;
    }


    .participant-card {

        padding: 16px;
    }


    .participant-card h4 {

        font-size: 15px;
    }


    .register-form button {

        padding: 17px;

        font-size: 16px;
    }


    #logoutBtn {

        top: 12px;

        right: 12px;

        padding: 9px 14px;

        font-size: 12px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .register-card {

        padding: 28px 15px;
    }


    .register-card h2 {

        font-size: 2rem;
    }

}


/* =====================================================
   TERMS AND CONDITIONS CONSENT
===================================================== */

.terms-consent {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-top: 10px;

    padding: 18px;

    background: #181818;

    border: 2px solid #2d2d2d;

    border-radius: 12px;
}


.terms-consent input[type="checkbox"] {

    width: 18px;

    height: 18px;

    min-width: 18px;

    margin-top: 3px;

    accent-color: #ffc400;

    cursor: pointer;
}


.terms-consent label {

    color: #c5c5c5;

    font-size: 14px;

    line-height: 1.6;

    cursor: pointer;
}


.terms-consent a {

    color: #ffc400;

    font-weight: 700;

    text-decoration: underline;

    transition: 0.2s ease;
}


.terms-consent a:hover {

    color: #ffffff;
}