
/* =========================================
   MUSEEKHO JOIN PAGE
   Black • Maroon • Red • Gold
   ========================================= */

:root {
    --black: #080708;
    --black-light: #120b0d;
    --maroon: #4d0719;
    --red: #a91430;
    --red-light: #d52b46;
    --gold: #d5aa52;
    --gold-light: #f1d486;
    --white: #fffaf2;
    --text: #c8babb;
}

/* -----------------------------------------
   PAGE
   ----------------------------------------- */

body {
    margin: 0;
    padding-top: 80px;

    font-family: Georgia, "Times New Roman", serif;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(190, 141, 5, 0.2),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 55%,
            rgba(0, 0, 0, 0.07),
            transparent 25%
        ),
        linear-gradient(
            101deg,
            #4d0401 50%,
            #3f0202 50%,
            #860404 50%
        );

    color: var(--white);

    overflow-x: hidden;
}

/* -----------------------------------------
   JOIN SECTION
   ----------------------------------------- */

.join-section {
    position: relative;
    min-height: calc(100vh - 80px);
    padding: 70px 20px 90px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;

}

/* -----------------------------------------
   INTRO
   ----------------------------------------- */

.join-intro {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
    margin-bottom: 40px;
}

.small-title {
    display: inline-block;
    margin-bottom: 16px;

    color: var(--gold);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 3px;
}

.join-intro h1 {
    margin: 0;

    color: var(--white);
    font-size: clamp(38px, 6vw, 62px);
    font-weight: normal;
    line-height: 1.15;
}

.join-intro h1 span {
    display: block;
    color: var(--gold);
}

.join-intro p {
    max-width: 600px;
    margin: 20px auto 0;

    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.8;
}

/* -----------------------------------------
   FORM CONTAINER
   ----------------------------------------- */

.form-container {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 620px;

    padding: 35px;

    background:
        linear-gradient(
            145deg,
            rgba(77, 7, 25, 0.75),
            rgba(18, 11, 13, 0.97)
        );

    border: 1px solid rgba(213, 170, 82, 0.35);
    border-radius: 12px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45),
        0 0 50px rgba(169, 20, 48, 0.08);
}

.form-container::before {
    content: "";
    position: absolute;

    top: 0;
    left: 50%;

    width: 100px;
    height: 2px;

    transform: translateX(-50%);

    background: var(--gold);
}

/* -----------------------------------------
   FORM HEADING
   ----------------------------------------- */

.form-container h2 {
    margin: 5px 0 8px;

    text-align: center;

    color: var(--white);
    font-size: 28px;
    font-weight: normal;
}

.form-subtitle {
    margin: 0 0 28px;

    text-align: center;

    color: #a99a9c;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.7;
}

/* -----------------------------------------
   FORM
   ----------------------------------------- */

#joinForm {
    width: 100%;
    margin: 0;
    padding: 0;

    background: transparent;
    border: none;
    box-shadow: none;

    display: flex;
    flex-direction: column;
    gap: 17px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    margin: 0;

    color: #eee0dc;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    box-sizing: border-box;

    padding: 13px 14px;

    background: #0c080a;
    color: var(--white);

    border: 1px solid rgba(255, 250, 242, 0.14);
    border-radius: 5px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;

    transition: 0.25s ease;
}

.form-group input {
    height: 48px;
}

.form-group textarea {
    min-height: 90px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #74676a;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;

    border-color: var(--gold);

    background: #12090c;

    box-shadow:
        0 0 0 3px rgba(213, 170, 82, 0.08);
}

.form-group select {
    height: 48px;
    cursor: pointer;
}

.form-group select option {
    background: #180b0e;
    color: var(--white);
}

/* -----------------------------------------
   SUBMIT BUTTON
   ----------------------------------------- */

#joinForm button {
    width: 100%;
    height: 50px;

    margin-top: 7px;

    border: 1px solid var(--gold);
    border-radius: 5px;

    background:
        linear-gradient(
            100deg,
            var(--red),
            var(--maroon)
        );

    color: var(--white);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.25s ease;
}

#joinForm button span {
    margin-left: 8px;

    color: var(--gold-light);
    font-size: 18px;
}

#joinForm button:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            100deg,
            var(--red-light),
            var(--red)
        );

    box-shadow:
        0 10px 25px rgba(169, 20, 48, 0.25);
}

/* -----------------------------------------
   BOTTOM FORM MESSAGE
   ----------------------------------------- */

.form-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    margin-top: 25px;
    padding-top: 20px;

    border-top: 1px solid rgba(213, 170, 82, 0.15);
}

.form-bottom span {
    color: var(--gold);
    font-size: 17px;
}

.form-bottom p {
    margin: 0;

    color: #aa9a9d;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
}

/* -----------------------------------------
   FLOATING MUSIC NOTES
   ----------------------------------------- */

.music-notes {
    position: absolute;
    inset: 0;

    overflow: hidden;

    pointer-events: none;
    z-index: 1;
}

.music-notes span {
    position: absolute;

    color: rgba(213, 170, 82, 0.18);

    font-size: 35px;

    animation:
        floatNote 9s linear infinite;
}

/* Different positions */

.music-notes span:nth-child(1) {
    left: 8%;
    top: 18%;
    animation-delay: 0s;
}

.music-notes span:nth-child(2) {
    left: 20%;
    top: 70%;
    font-size: 28px;
    animation-delay: 2s;
}

.music-notes span:nth-child(3) {
    left: 78%;
    top: 20%;
    font-size: 42px;
    animation-delay: 4s;
}

.music-notes span:nth-child(4) {
    left: 90%;
    top: 65%;
    font-size: 30px;
    animation-delay: 1s;
}

.music-notes span:nth-child(5) {
    left: 12%;
    top: 85%;
    font-size: 25px;
    animation-delay: 5s;
}

.music-notes span:nth-child(6) {
    left: 70%;
    top: 80%;
    font-size: 34px;
    animation-delay: 3s;
}

.music-notes span:nth-child(7) {
    left: 45%;
    top: 10%;
    font-size: 24px;
    animation-delay: 6s;
}

.music-notes span:nth-child(8) {
    left: 55%;
    top: 90%;
    font-size: 30px;
    animation-delay: 1.5s;
}

@keyframes floatNote {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.08;
    }

    50% {
        transform: translateY(-30px) rotate(15deg);
        opacity: 0.25;
    }

    100% {
        transform: translateY(-70px) rotate(-10deg);
        opacity: 0.05;
    }
}

/* -----------------------------------------
   DESKTOP DECORATION
   ----------------------------------------- */

.join-section::before {
    content: "𝄞";

    position: absolute;

    left: -50px;
    top: 40%;

    color: rgba(169, 20, 48, 0.08);

    font-size: 180px;

    pointer-events: none;
}

.join-section::after {
    content: "♫";

    position: absolute;

    right: -40px;
    bottom: 8%;

    color: rgba(213, 170, 82, 0.07);

    font-size: 160px;

    pointer-events: none;
}

/* -----------------------------------------
   TABLET
   ----------------------------------------- */

@media (max-width: 768px) {

    body {
        padding-top: 70px;
    }

    .join-section {
        min-height: auto;
        padding: 55px 18px 70px;
    }

    .join-intro {
        margin-bottom: 30px;
    }

    .small-title {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .join-intro h1 {
        font-size: 42px;
    }

    .join-intro p {
        font-size: 13px;
    }

    .form-container {
        padding: 28px 22px;
    }

    .form-container h2 {
        font-size: 25px;
    }

    .music-notes span {
        font-size: 27px;
    }

    .join-section::before {
        font-size: 120px;
    }

    .join-section::after {
        font-size: 110px;
    }
}

/* -----------------------------------------
   MOBILE
   ----------------------------------------- */

@media (max-width: 480px) {

    body {
        padding-top: 65px;
    }

    .join-section {
        padding: 45px 14px 60px;
    }

    .join-intro {
        margin-bottom: 25px;
    }

    .small-title {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .join-intro h1 {
        font-size: 35px;
    }

    .join-intro p {
        margin-top: 15px;
        font-size: 12px;
        line-height: 1.8;
    }

    .form-container {
        padding: 25px 17px;
        border-radius: 9px;
    }

    .form-container h2 {
        font-size: 23px;
    }

    .form-subtitle {
        margin-bottom: 23px;
        font-size: 11px;
    }

    #joinForm {
        gap: 15px;
    }

    .form-group input {
        height: 47px;
    }

    .form-group textarea {
        min-height: 80px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 13px;
    }

    #joinForm button {
        height: 49px;
    }

    .form-bottom {
        gap: 9px;
    }

    .form-bottom p {
        font-size: 9px;
        letter-spacing: 0.6px;
    }

    .music-notes span:nth-child(1) {
        left: 5%;
    }

    .music-notes span:nth-child(2) {
        left: 15%;
    }

    .music-notes span:nth-child(3) {
        left: 85%;
    }

    .music-notes span:nth-child(4) {
        left: 92%;
    }

    .music-notes span:nth-child(5) {
        left: 8%;
    }

    .music-notes span:nth-child(6) {
        left: 82%;
    }

    .music-notes span:nth-child(7) {
        left: 45%;
    }

    .music-notes span:nth-child(8) {
        left: 55%;
    }

    .join-section::before {
        left: -60px;
        font-size: 100px;
    }

    .join-section::after {
        right: -50px;
        font-size: 90px;
    }
}

/* -----------------------------------------
   VERY SMALL PHONES
   ----------------------------------------- */

@media (max-width: 350px) {

    .join-section {
        padding-left: 11px;
        padding-right: 11px;
    }

    .join-intro h1 {
        font-size: 31px;
    }

    .form-container {
        padding: 22px 14px;
    }

    .form-container h2 {
        font-size: 21px;
    }

    .form-bottom p {
        font-size: 8px;
    }
}

/* -----------------------------------------
   REDUCED MOTION
   ----------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .music-notes span {
        animation: none;
    }

    #joinForm button {
        transition: none;
    }
}
