
/* Diamond Lounge shared brand and auth styles */

:root {
    --brand-ink: #101114;
    --brand-panel: #191a1e;
    --brand-gold: #c7a96b;
    --brand-light: #f4f0e8;
    --brand-muted: #aaa6a0;
}

body.landing-page,
body.auth-page {
    min-height: 100vh;
    background: radial-gradient(ellipse at 50% 0%, #30291d 0%, #151518 38%, var(--brand-ink) 74%);
    color: var(--brand-light);
    font-family: "DM Sans", Segoe UI, sans-serif;
}


/* Landing page navigation diamond - 7x */
.brand-gem-image {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex: none;
    filter: drop-shadow(0 0 10px rgba(199,169,107,.38));

    transform: scale(7);
    transform-origin: center center;
}


/* LOGIN PAGE DIAMOND - ENLARGED 6X */
.auth-brand-gem {
    display: inline-block;
    width: 34px;
    height: 34px;
    object-fit: contain;
    vertical-align: middle;
    filter: drop-shadow(0 0 9px rgba(199,169,107,.3));

    transform: scale(6);
    transform-origin: center center;
}

.landing-nav {
    height: 82px;
    padding: 0 clamp(20px,7vw,100px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(199,169,107,.16);
}

.brand-lockup,
.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-light);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: .16em;
    font-weight: 700;
}

.landing-nav nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
}

.landing-nav nav a {
    color: #d4d0c8;
    text-decoration: none;
    font-size: 13px;
}

.landing-nav nav .nav-cta {
    padding: 10px 15px;
    border: 1px solid rgba(199,169,107,.42);
    border-radius: 8px;
    color: #e4ce9f;
}

.landing-hero {
    min-height: 550px;
    padding: clamp(90px,14vh,150px) 20px 70px;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.landing-kicker {
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--brand-gold);
    font-weight: 700;
}

.landing-hero h1 {
    font-family: "Playfair Display",Georgia,serif;
    font-size: clamp(48px,8vw,86px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.03em;
    margin: 28px 0 20px;
}

.landing-hero h1 em {
    color: #d5bb83;
    font-weight: 600;
}

.landing-hero>p {
    max-width: 510px;
    color: var(--brand-muted);
    font-size: 15px;
    line-height: 1.8;
}

.landing-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.primary-link,
.secondary-link {
    text-decoration: none;
    font-size: 13px;
}

.primary-link {
    padding: 13px 18px;
    background: linear-gradient(135deg,#d2b778,#a7874d);
    border-radius: 8px;
    color: #17140f;
    font-weight: 700;
}

.primary-link span {
    margin-left: 14px;
}

.secondary-link {
    color: #d1ccc1;
}

.landing-ornament {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--brand-gold);
    margin-top: 62px;
    font-size: 12px;
}

.landing-ornament span {
    width: 55px;
    height: 1px;
    background: rgba(199,169,107,.28);
}

.landing-features {
    max-width: 990px;
    margin: 0 auto;
    padding: 10px 24px 70px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.landing-features article {
    padding: 22px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(199,169,107,.13);
    border-radius: 12px;
}

.landing-features article>span {
    font-size: 10px;
    color: var(--brand-gold);
    letter-spacing: .12em;
}

.landing-features h2 {
    font-family: "Playfair Display",Georgia,serif;
    font-size: 18px;
    font-weight: 600;
    margin: 12px 0 7px;
}

.landing-features p {
    font-size: 12px;
    line-height: 1.6;
    color: var(--brand-muted);
}

.landing-footer {
    text-align: center;
    padding: 22px;
    border-top: 1px solid rgba(199,169,107,.12);
    color: #77736c;
    font-size: 9px;
    letter-spacing: .16em;
}

.landing-footer span {
    color: var(--brand-gold);
    padding: 0 6px;
}

.auth-page {
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-page .login-container {
    width: min(440px,100%);
    max-width: 100%;
    margin: 0;
    padding: 38px;
    background: rgba(25,26,30,.94);
    border: 1px solid rgba(199,169,107,.17);
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,.32);
    text-align: left;
}

.auth-brand {
    margin-bottom: 26px;
    color: #d9c18c;
    font-size: 10px;
}

.auth-brand-gem {
    margin-right: 4px;
}

.auth-page .login-container h1 {
    font-family: "Playfair Display",Georgia,serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.auth-page .login-subtitle {
    margin-top: 8px;
    color: var(--brand-muted);
    font-size: 13px;
}

.auth-page .login-form {
    gap: 9px;
    margin-top: 24px;
}

.auth-page .login-form label {
    margin-top: 5px;
    color: #d8d2c7;
    font-size: 12px;
}

.auth-page .login-form input {
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: #111215;
    color: var(--brand-light);
    outline: none;
}

.auth-page .login-form input:focus {
    border-color: rgba(199,169,107,.65);
}

.auth-page .login-button {
    margin-top: 8px;
    padding: 13px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg,#d2b778,#a7874d);
    color: #17140f;
    font-weight: 700;
    cursor: pointer;
}

.auth-page .login-button:disabled {
    opacity: .65;
    cursor: wait;
}

.auth-page #errorMessage {
    min-height: 18px;
    color: #f19a91;
    font-size: 12px;
}

.auth-page .signup-link {
    margin-top: 19px;
    color: var(--brand-muted);
    font-size: 12px;
}

.auth-page .signup-link a,
.back-home {
    color: #dfc58e;
    text-decoration: none;
}

.back-home {
    display: inline-block;
    margin-top: 22px;
    font-size: 11px;
}

@media(max-width:650px) {
    .landing-nav {
        height: 70px;
        padding: 0 18px;
    }

    .landing-nav nav {
        gap: 14px;
    }

    .landing-nav nav a {
        font-size: 12px;
    }

    .landing-hero {
        min-height: 470px;
        padding-top: 100px;
    }

    .landing-features {
        grid-template-columns: 1fr;
        max-width: 440px;
    }

    .auth-page .login-container {
        padding: 28px 22px;
    }
}
