/* ========================================
   TRAGEDY // ACCOUNT
======================================== */

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

html {
    color-scheme: dark;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(168, 85, 247, 0.12),
            transparent 35%
        ),
        #080808;

    color: #fff;

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


/* ========================================
   NAVIGATION
======================================== */

.account-nav {
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    border-bottom: 1px solid #191919;

    background: rgba(8, 8, 8, 0.8);

    backdrop-filter: blur(10px);
}

.logo {
    color: #fff;

    font-size: 18px;
    font-weight: 900;

    letter-spacing: 3px;

    text-decoration: none;
}

.back-link {
    color: #777;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    text-decoration: none;

    transition: color 0.2s ease;
}

.back-link:hover {
    color: #a855f7;
}


/* ========================================
   PAGE
======================================== */

.account-page {
    min-height: calc(100vh - 80px);

    display: flex;
    justify-content: center;

    padding: 100px 7%;
}

.account-container {
    width: 100%;
    max-width: 900px;
}


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

.account-heading {
    margin-bottom: 60px;
}

.eyebrow {
    margin-bottom: 18px;

    color: #a855f7;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 4px;
}

.account-heading h1 {
    font-size: clamp(55px, 9vw, 100px);

    line-height: 0.85;

    letter-spacing: -5px;

    font-weight: 900;
}

.subtitle {
    margin-top: 25px;

    color: #777;

    font-size: 14px;
}


/* ========================================
   ACCOUNT
======================================== */

.account-content {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}

.account-content[hidden] {
    display: none;
}

.account-card {
    min-height: 150px;

    padding: 25px;

    background: #0e0e0e;

    border: 1px solid #222;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.account-card:hover {
    transform: translateY(-3px);

    border-color: #55306d;
}

.field-label {
    margin-bottom: 35px;

    color: #555;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
}

.field-value {
    color: #ddd;

    font-size: 16px;
    font-weight: 800;

    overflow-wrap: anywhere;
}


/* ========================================
   ACTIONS
======================================== */

.account-actions {
    grid-column: 1 / -1;

    display: flex;

    gap: 12px;

    margin-top: 15px;
}

.account-button,
.logout-button {
    padding: 14px 22px;

    font-family: inherit;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    cursor: pointer;

    text-decoration: none;
}

.account-button {
    color: #fff;

    border: 1px solid #a855f7;

    background: rgba(168, 85, 247, 0.08);
}

.account-button:hover {
    background: rgba(168, 85, 247, 0.18);
}

.logout-button {
    color: #b55;

    background: transparent;

    border: 1px solid #442222;
}

.logout-button:hover {
    color: #ff5555;

    border-color: #8b2222;
}


/* ========================================
   MESSAGE
======================================== */

.account-message {
    color: #777;

    font-size: 12px;

    letter-spacing: 1px;
}


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

@media (max-width: 700px) {

    .account-page {
        padding: 70px 5%;
    }

    .account-content {
        grid-template-columns: 1fr;
    }

    .account-actions {
        flex-direction: column;
    }

    .account-button,
    .logout-button {
        width: 100%;

        text-align: center;
    }

}