
/* ========================================
   COLORIMPULSE — SHARED FRONTPAGE

   GEMENSAM DESIGN
   DESKTOP + MOBILE
======================================== */

/* BASE */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;

    width: 100%;
    min-height: 100%;

    background: #faf8f4;
    color: #737373;

    font-family: "DM Sans", Arial, sans-serif;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

/* FRONTPAGE */

.frontpage {
    position: relative;

    width: 100%;
    height: 100dvh;

    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: hidden;

    background: #faf8f4;
}

/* HEADER */

.frontpage .header {
    position: relative;

    width: 100%;

    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* LOGO */

.frontpage .brand-logo {
    display: block;

    width: 100%;
    max-height: 100%;
    height: auto;

    margin-top: 0;

    object-fit: contain;
}

/* CONTENT PANEL */

.welcome-panel {
    position: relative;

    width: 100%;
    flex: 1;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    margin: 0 auto;

    background: transparent;

    border: none;
    border-radius: 0;
    box-shadow: none;

    text-align: center;
}

/* CONTENT */

.welcome-content {
    position: relative;

    width: 100%;
    max-width: 480px;

    margin: 0 auto;
}

/* DESCRIPTION CONTAINER */

.welcome-text {
    position: relative;

    display: block;

    margin-bottom: 20px;
    padding: 0;

    background: transparent;
}

/* DESCRIPTION */

.welcome-description {
    margin: 0;

    color: #737373;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;

    letter-spacing: normal;
    line-height: 1.6;

    white-space: nowrap;
}

/* BUTTON CONTAINER */

.welcome-actions {
    display: flex;
    flex-direction: column;

    gap: 14px;

    width: 100%;
    max-width: 360px;

    margin: 0 auto;
}

/* BUTTONS */

.login-btn,
.guest-btn {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    border-radius: 15px;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

/* LOGIN BUTTON */

.login-btn {
    color: #ffffff;

    border: none;

    background: linear-gradient(
        90deg,
        #ff9b25 0%,
        #ff7559 18%,
        #f43d9d 40%,
        #a83bce 61%,
        #347bf0 81%,
        #14cbd2 100%
    );

    box-shadow:
        0 8px 22px rgba(120, 202, 255, 0.17);
}

.login-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(188, 111, 181, 0.25);
}

/* GUEST BUTTON */

.guest-btn {
    color: #6d5d77;

    border: 2px solid transparent;

    background:
        linear-gradient(
            #ffffff,
            #ffffff
        ) padding-box,

        linear-gradient(
            110deg,
            #ff9b25 0%,
            #ff7559 18%,
            #f43d9d 40%,
            #a83bce 61%,
            #347bf0 81%,
            #14cbd2 100%
        ) border-box;
}

.guest-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(188, 111, 181, 0.12);
}

.login-btn:active,
.guest-btn:active {
    transform: translateY(0);
}

/* REGISTER */

.signup-text {
    display: block;

    margin: 20px 0 0;
    padding: 0;

    color: #737373;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;

    line-height: 1.6;

    text-align: center;

    white-space: nowrap;
}

.signup-text a {
    display: inline;

    margin-left: 4px;

    color: #737373;

    font-family: inherit;
    font-size: inherit;
    font-weight: 600;

    text-decoration: none;

    transition: color 0.2s ease;
}

.signup-text a:hover {
    color: #333333;
}

/* UNUSED CARD */

.desktop-info-card {
    display: none !important;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    html,
    body {
        height: 100%;
        overflow: hidden;
    }

    .frontpage {
        min-height: 0;
    }

    .frontpage .header {
        height: 40%;

        padding: 30px 24px 10px;
    }

    .frontpage .brand-logo {
        max-width: 430px;
    }

    .welcome-panel {
        max-width: 480px;

        padding: 0 24px 30px;
    }

    .welcome-description {
        font-size: clamp(9px, 2.65vw, 14px);
        white-space: nowrap;
    }

    .login-btn,
    .guest-btn {
        height: 52px;
        padding: 12px 20px;
    }

    .signup-text {
        font-size: 14px;
    }

}

/* ========================================
   DESKTOP
======================================== */

@media (min-width: 768px) {

    .frontpage {
        min-width: 1200px;
        min-height: 650px;
    }

    .frontpage .header {
        height: 46%;

        padding: 25px 30px 10px;
    }

    .frontpage .brand-logo {
        max-width: 680px;
    }

    .welcome-panel {
        max-width: 800px;

        padding: 0 30px 50px;
    }

    .welcome-content {
        isolation: isolate;
    }

    .welcome-description {
        font-size: 15px;
    }

    .login-btn,
    .guest-btn {
        height: 56px;
        padding: 14px 24px;
    }

    .signup-text {
        font-size: 15px;
    }

}
/* ========================================
   COLORIMPULSE — BUTTON PRESS EFFECT
======================================== */

.login-btn,
.guest-btn {
    transition:
        transform 0.18s ease,
        box-shadow 0.2s ease;
}

.login-btn:active,
.guest-btn:active {
    transform:
        translateY(2px)
        scale(0.96);

    box-shadow:
        inset 0 4px 10px rgba(0, 0, 0, 0.12);
}