/* ==========================================================
   Nordic Card Club UI v1.0
========================================================== */


/* ==========================================================
   COLOR PALETTE
========================================================== */

:root {

    --ncc-bg: #1b1d20;
    --ncc-header: #262b31;
    --ncc-panel: #2d3238;
    --ncc-border: #cda13d;
    --ncc-text: #f5f5f5;
    --ncc-text-soft: #b8c0c8;
    --ncc-green: #43d854;
    --ncc-blue: #299dff;
    --ncc-gold: #ffbe33;
    --ncc-red: #e55454;
    --ncc-shadow:
        rgba(0, 0, 0, .45);
}

/* ==========================================================
   RESET
========================================================== */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html,
body {

    width: 100%;
    height: 100%;
}


/* ==========================================================
   BODY
========================================================== */

body {

    background:
        linear-gradient(180deg,
            #24282d 0%,
            #1d2025 35%,
            #16181c 100%);

    color: var(--ncc-text);

    font-family:
        "Inter",
        sans-serif;

    font-size: 18px;
}

.hidden {
    display: none !important;
}

/* ==========================================================
   APP LAYOUT
========================================================== */

.ncc-app {

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================================
   GOLD TEXT
========================================================== */

.ncc-gold-text {

    background:
        linear-gradient(to bottom,
            #fff6bf 0%,
            #ffd86d 20%,
            #d39a22 55%,
            #8b5b08 100%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, .25),
        0 2px 2px rgba(0, 0, 0, .55),
        0 0 10px rgba(255, 200, 80, .18);

}

/* ==========================================================
   UPPERCASE TITLE
========================================================== */

.ncc-uppercase-title {

    font-family: "Rajdhani", sans-serif;

    font-weight: 400;

    letter-spacing: 1px;

    text-transform: uppercase;

}

/* ==========================================================
   HEADER
========================================================== */

.ncc-header {

    position: relative;
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    align-items: center;
    column-gap: 24px;
    min-height: 56px;
    background:

        radial-gradient(ellipse at top,
            rgba(90, 105, 135, .30),
            transparent 65%),

        linear-gradient(180deg,
            #353e4b 0%,
            #28313b 35%,
            #1b222b 72%,
            #11161d 100%);

    box-shadow:

        inset 0 1px 0 rgba(255, 255, 255, .10),
        inset 0 -8px 18px rgba(0, 0, 0, .35),
        0 8px 20px rgba(0, 0, 0, .45);
}

/* ==========================================================
   GOLD ACCENT LINE
========================================================== */

.ncc-header::after {

    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background:

        linear-gradient(to bottom,
            #6b4e12 0px,
            #f7dd74 1px,
            #fff5bf 2px,
            #d19d30 3px,
            #6b4e12 5px);
}

.ncc-top-panel {

    display: flex;
    align-items: center;
    gap: 32px;
}

.ncc-logo {

    width: clamp(34px, 3vw, 56px);
    height: auto;
    padding: 0 0 4px 8px;
    flex-shrink: 0;
}

.ncc-title {

    padding: 4px 0 4px 0px;

    font-size: clamp(24px, 2.6vw, 48px);

    font-weight: 300;

    letter-spacing: clamp(0.5px, .15vw, 2px);

    text-transform: uppercase;

    font-family:
        "Rajdhani",
        sans-serif;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    background:
        linear-gradient(to bottom,
            #fff6bf 0%,
            #ffd86d 20%,
            #d39a22 55%,
            #8b5b08 100%);

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, .25),
        0 2px 2px rgba(0, 0, 0, .55),
        0 0 10px rgba(255, 200, 80, .18);

}

.ncc-subtitle {

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 16px;
    font-size: 18px;
    letter-spacing: 0.5px;
}

/* ==========================================================
   HEADER ICONS
========================================================== */

.ncc-header-icon {

    width: 44px;
    height: 44px;
    display: block;
    filter:
        drop-shadow(0 0 4px rgba(255, 220, 100, .55)) drop-shadow(0 4px 8px rgba(0, 0, 0, .45));
}

.ncc-room-icon {

    width: 22px;
    height: 22px;
    margin-right: 12px;
    vertical-align: middle;
}

/* ==========================================================
   HEADER LEFT / CENTER / RIGHT
========================================================== */

.ncc-header-left {

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(4px, 0.8vw, 12px);
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    z-index: 2;
}

.ncc-header-center {

    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    padding: 0 10px;
}

.ncc-header-right {

    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    margin-left: auto;
    margin-right: -10px;
    gap: 0px;
}

/* ==========================================================
   BURGER MENU
========================================================== */

.ncc-burger {

    flex: 0 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 12px;
    margin-right: 2px;
    margin-bottom: 2px;
}

.ncc-burger span {

    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background:
        linear-gradient(to bottom,
            #fff6bf 0%,
            #ffd86d 20%,
            #d39a22 55%,
            #8b5b08 100%);

    transition:
        background-color .25s ease,
        transform .25s ease,
        opacity .25s ease,
        top .25s ease;

    box-shadow:
        0 0 5px rgba(255, 210, 90, .18);
}

.ncc-burger span:nth-child(1) {

    top: 0;
}

.ncc-burger span:nth-child(2) {

    top: 5px;
}

.ncc-burger span:nth-child(3) {

    top: 10px;
}

/* ==========================================================
   BURGER HOVER
========================================================== */

.ncc-header-button:hover .ncc-burger {

    transform: scale(1.08);
    transition: transform .20s ease;
}

.ncc-header-button:hover .ncc-burger span {

    box-shadow:
        0 0 5px rgba(255, 215, 120, .45),
        0 0 10px rgba(255, 215, 120, .20);
}

/* ==========================================================
   HEADER BUTTON
========================================================== */

.ncc-header-button.open .ncc-burger span:nth-child(1) {

    top: 5px;
    transform: rotate(45deg);
    background: var(--ncc-red);
}

.ncc-header-button.open .ncc-burger span:nth-child(2) {

    opacity: 0;
    background: var(--ncc-red);
}

.ncc-header-button.open .ncc-burger span:nth-child(3) {

    top: 5px;
    transform: rotate(-45deg);
    background: var(--ncc-red);
}

.ncc-header-button {

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;

    padding: 6px 12px;
    gap: 14px;

    border-radius: 12px;
    border: 1px solid var(--ncc-border);

    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, .06),
            rgba(255, 255, 255, .01));

    color: var(--ncc-gold);

    font-size: 16px;
    font-weight: 600;
    letter-spacing: .8px;

    cursor: pointer;

    transition: all .22s ease;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 3px 10px rgba(0, 0, 0, .25);

}

.ncc-header-button:hover {

    color: #fff7d0;
    border-color: rgba(255, 220, 120, .45);
    transform: translateY(-2px);
    background:

        linear-gradient(180deg,
            rgba(255, 220, 120, .10),
            rgba(255, 220, 120, .02));

    box-shadow:

        inset 0 1px 0 rgba(255, 255, 255, .15),
        0 0 18px rgba(255, 210, 90, .20),
        0 8px 20px rgba(0, 0, 0, .35);
}

.ncc-header-button:active {

    transform: translateY(1px);
}

#userName {

    flex: 1;
    text-align: left;
    font-family: "Rajdhani", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    background:
        linear-gradient(to bottom,
            #fff7cb 0%,
            #ffe38d 35%,
            #d8a63b 75%,
            #9b6a10 100%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, .12),
        0 0 6px rgba(255, 205, 90, .18);

}

.ncc-header-button:hover #userName {

    filter: brightness(1.1);
}

#userMenu {

    width: 128px;
    position: relative;
}

/* ----------------------------------------------------------
   REGISTER
---------------------------------------------------------- */

.ncc-register-button {

    width: clamp(110px, 9vw, 145px);
    padding: 10px 10px;
    font-size: clamp(.85rem, 1vw, 1rem);
    color: #2d2100;
    border: 1px solid #d7ae4b;
    background:

        linear-gradient(180deg,
            #fff4bf 0%,
            #ffd86f 20%,
            #f3bb38 55%,
            #d79211 100%);

    text-shadow:

        0 1px 0 rgba(255, 255, 255, .45);

    box-shadow:

        inset 0 1px 0 rgba(255, 255, 255, .45),
        0 4px 14px rgba(0, 0, 0, .30);
}

.ncc-register-button:hover {

    color: #241700;
    transform: translateY(-2px);
    background:

        linear-gradient(180deg,
            #fff9dc 0%,
            #ffe48f 20%,
            #ffc83d 60%,
            #e39b0d 100%);

    box-shadow:

        inset 0 1px 0 rgba(255, 255, 255, .60),
        0 0 24px rgba(255, 210, 90, .45),
        0 10px 24px rgba(0, 0, 0, .35);
}

.ncc-register-button:active {

    transform: translateY(1px);
}

/* ==========================================================
   FORMS
========================================================== */

.ncc-form-row {

    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.ncc-form-group {

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ncc-form-group label {

    text-align: left;
    color: #ffc845;
    font-weight: 500;
}

.ncc-register-form {

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 300px;
    margin: 0 auto;
}

/* ==========================================================
   INPUTS
========================================================== */

.ncc-input {

    width: 144px;
    max-width: 100%;

}

/* ==========================================================
   REGISTER TOOLBAR
========================================================== */

#registerToolbar .ncc-input {

    width: 200px;
}

#registerToolbar .ncc-form-group {

    width: 200px;
}

#registerToolbar .ncc-form-group label {

    width: 200px;
}

/* ==========================================================
   CREATE GAME TOOLBAR
========================================================== */

.ncc-create-game-form {

    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0px;

}

#lobbyToolbar .ncc-form-group {

    width: auto;
}

#lobbyToolbar .ncc-toolbar-label {

    text-align: left;
}

#lobbyToolbar .ncc-dropdown-button {

    width: 100%;
}

#lobbyToolbar {

    min-height: 150px;
    padding: 8px 0 10px;
    justify-content: center;
    gap: 18px;
}

#lobbyToolbar .ncc-toolbar-bottom {

    margin: 0;
}

#confirmGameToolbar {

    position: relative;
    margin: 10px;
    padding: 8px 8px 10px 16px;
    min-height: 150px;
    justify-content: center;
    gap: 18px;
    border-radius: 22px;
    border: 1px solid #d2a32d;
    background:
        linear-gradient(180deg,
            #3c4655 0%,
            #20262f 100%);
    box-sizing: border-box;
}

#confirmGameToolbar .ncc-btn {

    max-width: 168px;
}

.ncc-confirm-panel {

    position: relative;

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 18px;

    padding-top: 8px;
    padding-bottom: 16px;

    box-sizing: border-box;
}


/* ==========================================================
   TOOLBAR BUTTONS
========================================================== */

#guestToolbar .ncc-btn,
#registerToolbar .ncc-btn {

    width: 144px;
}

#registerToolbar .ncc-toolbar-bottom {

    margin-top: 16px;
    justify-content: center;
    gap: 16px;
}

/* ==========================================================
   USER MENU BUTTON & DROPDOWN
========================================================== */

.ncc-menu-button {

    display: flex;
    width: clamp(110px, 9vw, 160px);
    padding: 8px 8px;
    border: 1px solid var(--ncc-border);
    border-radius: 12px;
    cursor: pointer;
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, .06),
            rgba(255, 255, 255, .01));

    color: var(--ncc-gold);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .8px;
    transition:
        all .22s ease;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 3px 10px rgba(0, 0, 0, .25);
}

.ncc-menu-button:hover {

    color: #fff5c8;
    border-color: rgba(255, 220, 120, .45);
    transform: translateY(-2px);
    background:

        linear-gradient(180deg,
            rgba(255, 220, 120, .10),
            rgba(255, 220, 120, .02));

    box-shadow:

        inset 0 1px 0 rgba(255, 255, 255, .15),
        0 0 18px rgba(255, 210, 90, .20),
        0 8px 20px rgba(0, 0, 0, .35);
}

.ncc-menu-button:active {

    transform: translateY(1px);
    box-shadow:

        inset 0 4px 8px rgba(0, 0, 0, .35);
}

/* ==========================================================
   Header User Menu
========================================================== */

.ncc-header-buttons {

    position: relative;

    width: 160px;

    display: flex;
    flex-direction: column;

    margin-right: -4px;

}

/* ==========================================================
   ACCOUNT MENU
========================================================== */

.ncc-side-menu {

    position: absolute;

    top: calc(100% + 22px);
    right: 0;

    min-width: 100%;
    width: max-content;
    max-width: 320px;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    overflow: hidden;

    border-radius: 18px;

    background:

        radial-gradient(ellipse at top,
            rgba(90, 105, 135, .30),
            transparent 65%),

        linear-gradient(180deg,
            #353e4b 0%,
            #28313b 35%,
            #1b222b 72%,
            #11161d 100%);

    border: 1px solid var(--ncc-border);

    box-shadow:

        inset 0 1px 0 rgba(255, 255, 255, .08),
        inset 0 -8px 12px rgba(0, 0, 0, .25),
        0 20px 45px rgba(0, 0, 0, .55),
        0 0 25px rgba(255, 185, 40, .08);

    backdrop-filter: blur(18px);

    z-index: 1000;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-10px) scale(.98);

    transition:

        opacity .22s ease,
        transform .22s ease,
        visibility .22s;

}

/* ==========================================================
   OPEN
========================================================== */

.ncc-side-menu.open {

    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);

}

/* ==========================================================
   MENU ITEMS
========================================================== */

.ncc-menu-item {

    display: flex;

    align-items: center;

    gap: 8px;

    width: 100%;

    padding: 14px 18px;

    box-sizing: border-box;

    border: none;
    outline: none;

    background: transparent;

    color: #e7ebf0;

    font-family: "Rajdhani", sans-serif;

    font-size: 18px;

    font-weight: 500;

    text-decoration: none;

    text-align: left;

    cursor: pointer;

    transition:

        background .18s ease,
        color .18s ease,
        padding-left .18s ease;

}

.ncc-menu-item:hover {

    color: #ffe48a;

    padding-left: 16px;

    background:

        linear-gradient(90deg,
            rgba(255, 210, 90, .12),
            transparent);

    text-shadow:

        0 0 8px rgba(255, 220, 100, .35);

}

.ncc-menu-item:active {

    background:

        rgba(41, 157, 255, .20);

}

/* ==========================================================
   ICONS
========================================================== */

.ncc-menu-item img {

    width: 22px;
    height: 22px;

    flex-shrink: 0;

}

.ncc-menu-item span {

    flex: 1;

}

/* ==========================================================
   DIVIDER
========================================================== */

.ncc-menu-divider {

    height: 1px;

    margin: 6px 0;

    background:

        rgba(255, 255, 255, .10);

}

/* ==========================================================
   MAIN PANELS
========================================================== */

.ncc-panel {

    margin: 20px 10px;
    padding: 10px;
    border-radius: 16px;
    background:

        radial-gradient(ellipse at top,
            rgba(90, 105, 135, .30),
            transparent 65%),

        linear-gradient(180deg,
            #353e4b 0%,
            #28313b 35%,
            #1b222b 72%,
            #11161d 100%);

    border: 1px solid var(--ncc-border);
    box-shadow:

        0 10px 28px rgba(0, 0, 0, .28);
}


.ncc-panel h2 {

    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    color: var(--ncc-gold);
    margin: 10px;
    letter-spacing: 1px;
}


/* ==========================================================
   FOOTER
========================================================== */

.ncc-footer {

    margin-top: auto;
    padding: 10px;
    text-align: center;
    color: var(--ncc-gold);
    font-size: 12px;
    background:

        radial-gradient(ellipse at top,
            rgba(90, 105, 135, .30),
            transparent 65%),

        linear-gradient(180deg,
            #353e4b 0%,
            #28313b 35%,
            #1b222b 72%,
            #11161d 100%);

    border-bottom: 1px solid var(--ncc-border);

    box-shadow:

        inset 0 1px 0 rgba(255, 255, 255, .10),
        inset 0 -8px 18px rgba(0, 0, 0, .35),
        0 8px 20px rgba(0, 0, 0, .45);

    border-top: 1px solid var(--ncc-border);
}

/* ==========================================================
   TOKEN ICONS
========================================================== */

.ncc-token-stack {

    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.ncc-token-stack img {

    position: absolute;
    width: 18px;
    height: 18px;
}

.ncc-token-stack img:nth-child(1) {

    left: 0;
    top: 4px;
}

.ncc-token-stack img:nth-child(2) {

    left: 6px;
    top: 3px;
}

.ncc-token-stack img:nth-child(3) {

    left: 12px;
    top: 2px;
}

.ncc-token-stack img:nth-child(4) {

    left: 18px;
    top: 1px;
}

.ncc-token-stack img:nth-child(5) {

    left: 24px;
    top: 0;
}

.ncc-token-icon {

    width: 22px;
    height: 22px;
    display: block;
    position: static;
    margin: 0;
}

.ncc-token-stack .ncc-token-icon:not(:first-child) {

    margin-left: -4px;
}

/* ==========================================================
   CONTROL PANEL
========================================================== */

.ncc-control-panel {

    margin: 10px;
    padding: 10px;
    border-radius: 16px;
    background:

        radial-gradient(ellipse at top,
            rgba(90, 105, 135, .30),
            transparent 65%),

        linear-gradient(180deg,
            #353e4b 0%,
            #28313b 35%,
            #1b222b 72%,
            #11161d 100%);

    border: 1px solid var(--ncc-border);

    box-shadow:

        inset 0 1px 0 rgba(255, 255, 255, .05),
        0 12px 26px rgba(0, 0, 0, .28);
}

.ncc-create-game-panel {

    position: relative;
    margin: 10px;
    padding: 10px 8px 8px 16px;
    border-radius: 22px;
    border: 1px solid #d2a32d;
    background:
        linear-gradient(180deg,
            #3c4655 0%,
            #20262f 100%);

    box-sizing: border-box;
}

/* ==========================================================
   GUEST TOOLBAR
========================================================== */

.ncc-login-header {

    position: relative;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding-left: 16px;
    margin-bottom: 16px;
}

.ncc-login-icon {

    position: absolute;
    left: 0px;
    top: 0px;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.ncc-register-icon {

    position: absolute;
    left: 0px;
    top: -4px;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.ncc-newgame-icon {

    position: absolute;
    left: 0px;
    top: -4px;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.ncc-confirm-icon {

    position: absolute;
    left: 0px;
    top: -4px;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.ncc-lobby-icon {

    position: absolute;
    left: 0px;
    top: -4px;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.ncc-admin-icon {

    width: 64px;
    height: 64px;
    object-fit: contain;

}

.ncc-login-text {

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.ncc-login-panel {

    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0 10px;
    text-align: center;
}

.ncc-login-panel .ncc-toolbar-bottom {

    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.ncc-toolbar-title {

    margin: 0;
    color: var(--ncc-gold);
    font-size: 36px;
    font-weight: 600;
}

.ncc-toolbar-subtitle {

    width: 100%;

    text-align: center;

    margin: 16px auto 0;
    font-size: 18px;
}

.ncc-responsive-title {

    font-size: clamp(1.6rem, 3vw, 2.8rem);

    letter-spacing: clamp(0.5px, .25vw, 2px);

    line-height: 1;
}

.ncc-responsive-subtitle {

    font-size: clamp(1rem, 1.5vw, 1.8rem);

    line-height: 1.2;
}

.ncc-login-form {

    margin-top: 36px;
    display: grid;
    grid-template-columns: 168px 168px;
    justify-content: center;
    align-items: left;
    gap: 10px 16px;
}

.ncc-textbox {

    width: 100%;
    height: 46px;
    padding: 0px 10px;
    border: 1px solid #cda13d;
    border-radius: 10px;
    background:

        linear-gradient(#36404d,
            #242b35);

    color: white;
    font-size: 20px;
    transition:

        border-color .2s,
        box-shadow .2s;
}

.ncc-textbox:focus {

    outline: none;
    border-color: #ffd45a;
    box-shadow:

        0 0 12px rgba(255, 210, 90, .35);
}

/* ==========================================================
   TOOLBAR
========================================================== */

.ncc-toolbar {

    display: flex;
    flex-direction: column;
    /* justify-content: space-between;
    align-items: center;
    min-height: 190px;
    padding: 10px 0 18px; */
}

.ncc-toolbar-label {

    width: 100%;
    font-size: clamp(12px, 4vw, 18px);
    letter-spacing: clamp(0.5px, .15vw, 1px);
    text-align: left;
}

/* ==========================================================
   TOP ROW
========================================================== */

.ncc-toolbar-top {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 18px;
}

/* ==========================================================
   BUTTON ROW
========================================================== */

.ncc-toolbar-actions {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: auto;
}

/* ==========================================================
   TOKENS
========================================================== */

.ncc-bet-icon {

    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
}

.ncc-btn-token {

    width: 48px;
    height: 48px;
    flex-shrink: 0;
    object-fit: contain;
}

/* ==========================================================
   COLOR DOTS
========================================================== */

.ncc-select-value {

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 10px;

}

.ncc-color-dot {

    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(0, 0, 0, .7);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, .35),
        0 0 6px rgba(0, 0, 0, .35);
}

.ncc-green {

    background: #23d500;
}

.ncc-blue {

    background: #1f8fff;
}

.ncc-red {

    background: #ff3131;
}

.ncc-gold {

    background: var(--ncc-gold)
}

.ncc-black {

    background: #2d2d2d;
}

.ncc-purple {

    background: #8b4dff;
}

/* ==========================================================
   DROPDOWNS
========================================================== */

.ncc-select-group {

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==========================================================
   DROPDOWN WIDTHS
========================================================== */

.ncc-select-game {

    width: 160px;
}

.ncc-select-players {

    width: 135px;
}

.ncc-select-bet {

    width: 88px;
}

.ncc-select-table {

    width: 120px;
}

.ncc-select-cards {

    width: 120px;
}

.ncc-select-group label {

    padding-left: 4px;
}

.ncc-select-group select {

    height: 64px;
    padding: 10px 10px;
    border-radius: 16px;
    border:

        1px solid var(--ncc-border);

    background:

        radial-gradient(ellipse at top,
            rgba(90, 105, 135, .30),
            transparent 65%),

        linear-gradient(180deg,
            #353e4b 0%,
            #28313b 35%,
            #1b222b 72%,
            #11161d 100%);

    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .18s;
}

.ncc-select-group select:hover {


    border-color: #76b5ff;
    box-shadow:

        0 0 14px rgba(70, 150, 255, .18);
}

/* ==========================================================
   CUSTOM DROPDOWN
========================================================== */

.ncc-dropdown {

    position: relative;
    width: 100%;
    min-height: auto;
    padding: 0;
    margin-top: 4px;

}

.ncc-dropdown-button {

    position: relative;
    box-sizing: border-box;
    height: 36px;
    padding: 8px 4px;
    display: flex;
    align-items: left;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--ncc-border);
    border-radius: 12px;
    cursor: pointer;
    background:

        radial-gradient(ellipse at top,
            rgba(90, 105, 135, .30),
            transparent 65%),

        linear-gradient(180deg,
            #353e4b 0%,
            #28313b 35%,
            #1b222b 72%,
            #11161d 100%);

    color: white;
    font-size: 18px;
    font-weight: 500;
    transition: .18s;
}

.ncc-dropdown-button:hover {

    box-shadow:

        0 0 14px rgba(60, 150, 255, .18);
}

.ncc-dropdown-value {

    display: flex;
    align-items: left;
    gap: 4px;
    flex: 0 1 auto;
    min-width: 0;
}

.ncc-dropdown-arrow {

    flex-shrink: 0;
    width: 16px;
    text-align: center;
    color: var(--ncc-gold);
    display: inline-block;
    transition: transform .2s ease;
}

.ncc-header-button.open .ncc-dropdown-arrow {

    transform: rotate(180deg);
}

.ncc-dropdown.open .ncc-dropdown-arrow {

    transform: rotate(180deg);
}

.ncc-dropdown-icon {

    width: 26px;
    height: 26px;
}

.ncc-dropdown-menu {

    position: absolute;
    left: 0px;
    top: 0px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background:

        radial-gradient(ellipse at top,
            rgba(90, 105, 135, .30),
            transparent 65%),

        linear-gradient(180deg,
            #353e4b 0%,
            #28313b 35%,
            #1b222b 72%,
            #11161d 100%);

    border: 1px solid var(--ncc-border);
    box-shadow:

        0 12px 30px rgba(0, 0, 0, .35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .18s;
    z-index: 100;
}

.ncc-dropdown.open .ncc-dropdown-menu {

    opacity: 1;
    visibility: visible;
    transform: none;
}

.ncc-dropdown-item {

    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: .15s;
}

.ncc-dropdown-item:hover {

    color: #ffe48a;
    padding-left: 16px;
    background:

        linear-gradient(90deg,
            rgba(255, 210, 90, .12),
            transparent);

    text-shadow:

        0 0 8px rgba(255, 220, 100, .35);
}

.ncc-dropdown-item.selected {

    background:

        rgba(255, 205, 70, .10);
}

.ncc-dropdown-item.disabled {

    opacity: .45;
    cursor: default;
}

/* ==========================================================
   ACTION BUTTON ROW
========================================================== */

.ncc-toolbar-bottom {

    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 8px;
}

/* ==========================================================
   ACTION BUTTONS
========================================================== */

.ncc-btn {

    width: 100%;
    height: 56px;
    max-width: 168px;
    justify-self: center;
    border: none;
    border-radius: 18px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 0 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    transition:
        transform .18s,
        filter .18s,
        box-shadow .18s;
}

.ncc-btn:hover {

    transform: translateY(-3px);
    filter: brightness(108%);
    box-shadow:

        0 14px 28px rgba(0, 0, 0, .35),
        0 0 18px rgba(255, 255, 255, .08);
}

.ncc-btn:active {

    transform: translateY(1px);
}

.ncc-btn-icon {

    font-size: 32px;
    line-height: 1;
}

/* ==========================================================
   CONFIRM SUMMARY
========================================================== */

.ncc-confirm-summary {

    display: grid;
    grid-template-columns:
        repeat(3, minmax(152px, 1fr));

    gap: 16px 4px;
    justify-content: center;
    justify-items: center;
    width: fit-content;
    margin: 0 auto;
}

/* ==========================================================
   DYNAMIC VALUES
========================================================== */

.ncc-summary-value {

    width: 100%;
    min-height: 36px;
    box-sizing: border-box;
    display: flex;
    align-items: left;
    justify-content: center;


    gap: 8px;

    padding: 4px 4px;
    border: 1px solid var(--ncc-border);
    border-radius: 12px;
    background:
        radial-gradient(ellipse at top,
            rgba(90, 105, 135, .30),
            transparent 65%),
        linear-gradient(180deg,
            #353e4b 0%,
            #28313b 35%,
            #1b222b 72%,
            #11161d 100%);
    color: white;
    font-size: 18px;
    font-weight: 500;

}


/* ==========================================================
   SUMMARY CELLS
========================================================== */

.ncc-confirm-item {

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}

.ncc-confirm-item:nth-child(1) {
    width: 144px;
}

.ncc-confirm-item:nth-child(2) {
    width: 112px;
}

.ncc-confirm-item:nth-child(3) {
    width: 104px;
}

.ncc-confirm-item:nth-child(4) {
    width: 112px;
}

.ncc-confirm-item:nth-child(5) {
    width: 112px;
}

.ncc-confirm-item:nth-child(6) {
    width: 104x;
}

.ncc-confirm-item.center {

    text-align: center;
}

.ncc-confirm-label {

    width: 100%;
    /* font-size: 18px; */
    text-align: center;
}

/* ==========================================================
   HEADERS
========================================================== */

.ncc-confirm-item strong {

    color: var(--ncc-gold);

    font-size: 18px;

    margin-bottom: 0px;

    font-size: clamp(12px, 2.6vw, 18px);

    font-weight: 300;

    letter-spacing: clamp(0.5px, .15vw, 1px);

    text-transform: uppercase;

    font-family:
        "Rajdhani",
        sans-serif;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    background:
        linear-gradient(to bottom,
            #fff6bf 0%,
            #ffd86d 20%,
            #d39a22 55%,
            #8b5b08 100%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, .25),
        0 2px 2px rgba(0, 0, 0, .55),
        0 0 10px rgba(255, 200, 80, .18);

}

.ncc-confirm-item span {

    color: white;
    font-size: 18px;
    font-weight: 400;
}

.ncc-confirm-buttons {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
}

/* ==========================================================
   ROOM TABLE
========================================================== */

.ncc-room-bet {

    text-align: left;
    vertical-align: middle;
}

.ncc-room-bet-content {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;
}

.ncc-room-token {

    display: block;

    width: 32px;
    height: 32px;

    flex-shrink: 0;
}

.ncc-room-join-btn,
.ncc-room-start-btn {

    padding: 8px 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    color: white;
    background: linear-gradient(180deg,
            #3ecf5e,
            #1d8f37);
    transition:
        filter .15s,
        transform .1s;
}

.ncc-room-join-btn:hover,
.ncc-room-start-btn:hover {

    filter: brightness(1.1);
}

.ncc-room-join-btn:active,
.ncc-room-start-btn:active {

    transform: translateY(1px);
}

/* ==========================================================
   Lobby Header
========================================================== */

.ncc-lobby-header {

    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    min-height: 56px;
}

.ncc-lobby-header .ncc-panel-title {

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0 0 8px;
}

.ncc-online-users {

    text-align: center;

    margin-top: -6px;
    margin-bottom: 14px;

}

.ncc-online-users-link {

    font-size: 15px;
    font-weight: 600;

    color: #bfc8d8;

    text-decoration: none;

    cursor: pointer;

    transition:
        color .2s ease,
        text-shadow .2s ease;

}

.ncc-online-users-link:hover {

    color: #f5d66b;

    text-shadow: 0 0 8px rgba(245, 214, 107, .5);

}

/* ==========================================================
   Reset Lobby Button
========================================================== */

.ncc-reset-lobby-btn {

    min-width: 120px;

    height: 40px;

    border: none;

    border-radius: 8px;

    cursor: pointer;

    font-weight: 700;

    letter-spacing: 1px;

    color: white;

    background: linear-gradient(to bottom,
            #c94141,
            #8f1e1e);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .25),
        0 2px 5px rgba(0, 0, 0, .35);

    transition:
        transform .15s,
        filter .15s;

}

.ncc-reset-lobby-btn:hover {

    filter: brightness(1.08);

}

.ncc-reset-lobby-btn:active {

    transform: translateY(1px);

}

/* ==========================================================
   COLORS
========================================================== */

.ncc-btn-green {

    color: white;
    background:

        linear-gradient(180deg,
            #63f05d,
            #2dbd3d);
}

.ncc-btn-blue {

    color: white;
    background:

        linear-gradient(180deg,
            #63b8ff,
            #197ee0);
}

.ncc-btn-gold {

    color: #231800;
    background:

        linear-gradient(180deg,
            #ffe28a,
            #f6b417);
}

.ncc-btn-gray {

    color: white;
    background:
        linear-gradient(180deg,
            #6f7885,
            #3a414b);
}

/* ==========================================================
  GAME LOBBY
========================================================== */

#lobbyContainer {

    margin: 10px;
    padding: 8px 14px 16px;
    border-radius: 22px;
    border: 1px solid var(--ncc-border);
    background:
        radial-gradient(ellipse at top,
            rgba(90, 105, 135, .30),
            transparent 65%),
        linear-gradient(180deg,
            #353e4b 0%,
            #28313b 35%,
            #1b222b 72%,
            #11161d 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 10px 28px rgba(0, 0, 0, .28);
}

/* .ncc-lobby-title {

    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    pointer-events: none;
} */

.ncc-lobby-table {

    width: 100%;
    margin-top: 16px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    table-layout: fixed;
    border-radius: 16px;
    background: rgba(10, 14, 19, .22);
}

.ncc-lobby-table thead {

    background:
        radial-gradient(ellipse at top,
            rgba(90, 105, 135, .30),
            transparent 65%),
        linear-gradient(180deg,
            #242d37 0%,
            #151c25 100%);
}

.ncc-lobby-table thead th:first-child {

    border-top-left-radius: 16px;
}

.ncc-lobby-table thead th:last-child {

    border-top-right-radius: 16px;
}

.ncc-lobby-table th {

    padding: 10px 10px;
    text-align: left;
    font-size: clamp(12px, 4vw, 18px);
    letter-spacing: clamp(0.5px, .15vw, 1px);
    font-weight: 400;
    text-transform: uppercase;
}

.ncc-lobby-table td {

    padding: 10px 10px;
    color: var(--ncc-text);
    font-size: 18px;
    vertical-align: middle;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.ncc-lobby-table tbody tr {

    background: rgba(255, 255, 255, .03);
    transition:
        background .18s,
        transform .18s;
}

.ncc-lobby-table tbody tr:nth-child(even) {

    background: rgba(255, 255, 255, .06);
}

.ncc-lobby-table tbody tr:hover {

    background:
        linear-gradient(90deg,
            rgba(41, 157, 255, .14),
            rgba(41, 157, 255, .05));
}

.ncc-lobby-table .ncc-room-token {

    width: 24px;
    height: 24px;
}

.ncc-room-table-wrapper {

    width: 100%;
    overflow: hidden;
    border-radius: 16px;

}

.ncc-room-table {

    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 12px;
}

.ncc-room-table table {

    width: 100%;
    table-layout: fixed;

}

.ncc-room-table th:last-child,
.ncc-room-table td:last-child {

    width: 152px;
    text-align: left;
    padding-left: 16px;
}

/* ==========================================================
   ROOM ROW
========================================================== */

.ncc-room-row {

    cursor: pointer;
    transition:
        background .18s,
        transform .18s;
}

.ncc-room-row:hover {

    background:
        linear-gradient(90deg,
            rgba(41, 157, 255, .14),
            rgba(41, 157, 255, .05));

    transform: scale(1.01);
}

/* ==========================================================
   ROOM COLUMN
========================================================== */

.ncc-col-game {
    width: 20%;
}

.ncc-col-players {
    width: 20%;
}

.ncc-col-bet {
    width: 20%;
}

.ncc-col-status {
    width: 20%;
}

.ncc-col-action {
    width: 20%;
}

/* ==========================================================
   TABLE HEADER
========================================================== */

.ncc-panel-title {

    margin: 0;

    text-align: center;

    font-size: clamp(12px, 6vw, 36px);

    letter-spacing: clamp(.5px, .15vw, 1px);

    font-weight: 400;

    font-family: "Rajdhani", sans-serif;

    white-space: nowrap;
}

.ncc-room-table thead {

    background:

        radial-gradient(ellipse at top,
            rgba(90, 105, 135, .30),
            transparent 65%),

        linear-gradient(180deg,
            #353e4b 0%,
            #28313b 35%,
            #1b222b 72%,
            #11161d 100%);
}

.ncc-room-table thead th:first-child {

    border-top-left-radius: 16px;
}

.ncc-room-table thead th:last-child {

    border-top-right-radius: 16px;
}

.ncc-room-table th {

    padding: 16px;

    text-align: left;

    font-size: 18px;
    font-weight: 600;
    letter-spacing: .5px;

    color: var(--ncc-gold);

    font-size: clamp(12px, 2.6vw, 18px);

    font-weight: 500;

    letter-spacing: clamp(1px, .15vw, 1px);

    text-transform: uppercase;

    font-family: "Rajdhani", sans-serif;

    white-space: nowrap;

    background:
        linear-gradient(to bottom,
            #fff6bf 0%,
            #ffd86d 20%,
            #d39a22 55%,
            #8b5b08 100%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, .25),
        0 2px 2px rgba(0, 0, 0, .55),
        0 0 10px rgba(255, 200, 80, .18);
}

/* ==========================================================
   TABLE ROWS
========================================================== */

.ncc-room-table tbody tr {

    background:

        rgba(255, 255, 255, .03);

    transition:

        .18s;

}


.ncc-room-table tbody tr:nth-child(even) {

    background:

        rgba(255, 255, 255, .06);

}


.ncc-room-table tbody tr:hover {

    background:

        rgba(41, 157, 255, .14);

}


/* ==========================================================
   CELLS
========================================================== */

.ncc-room-table td {

    padding: 8px 10px;
    font-size: 18px;
    vertical-align: middle;
    border-top: 1px solid rgba(255, 255, 255, .05);
}


/* ==========================================================
   STATUS BADGES
========================================================== */

.ncc-status-waiting {

    background: #2e8b57;
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 700;
}

.ncc-status-playing {

    background: #c0392b;
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 700;
}


/* ==========================================================
   ROOM BUTTONS
========================================================== */

.ncc-room-button {

    width: 100%;
    max-width: 88px;
    min-width: 68px;
    height: 36px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 0 12px;

    border: none;
    border-radius: 8px;

    cursor: pointer;

    font-family:
        "Rajdhani",
        sans-serif;

    font-size: clamp(.85rem, 1vw, 1rem);
    font-weight: 700;
    letter-spacing: 1px;

    white-space: nowrap;

    box-sizing: border-box;

    box-shadow:
        0 6px 14px rgba(0, 0, 0, .30);

    transition:
        .18s;

}

/* .ncc-room-button:hover {

    transform: translateY(-2px);

} */

.ncc-room-button:active {

    transform: translateY(2px);
}

/* ----------------------------------------------------------
   JOIN
---------------------------------------------------------- */

.ncc-room-join-btn {

    width: clamp(110px, 9vw, 145px);
    padding: 10px 10px;
    color: #2d2100;
    border: 1px solid var(--ncc-border);
    background:

        linear-gradient(180deg,
            #fff4bf 0%,
            #ffd86f 20%,
            #f3bb38 55%,
            #d79211 100%);

    text-shadow:

        0 1px 0 rgba(255, 255, 255, .45);

    box-shadow:

        inset 0 1px 0 rgba(255, 255, 255, .45),
        0 4px 14px rgba(0, 0, 0, .30);
}

.ncc-room-join-btn:hover {

    color: #241700;
    border: 1px solid var(--ncc-border);
    transform: translateY(-2px);
    background:

        linear-gradient(180deg,
            #fff9dc 0%,
            #ffe48f 20%,
            #ffc83d 60%,
            #e39b0d 100%);

    box-shadow:

        inset 0 1px 0 rgba(255, 255, 255, .60),
        0 0 24px rgba(255, 210, 90, .45),
        0 10px 24px rgba(0, 0, 0, .35);
}

/* ----------------------------------------------------------
   START
---------------------------------------------------------- */

.ncc-room-start-btn {

    background:
        linear-gradient(180deg,
            #55e565,
            #2ebc40);

    color: white;
    border: 1px solid var(--ncc-border);
    box-shadow:
        0 4px 10px rgba(46, 188, 64, .35);
}

.ncc-room-start-btn:hover {

    transform: translateY(-2px);
    border: 1px solid var(--ncc-border);
    box-shadow:
        0 8px 18px rgba(46, 188, 64, .50);
}

/* ----------------------------------------------------------
   CANCEL
---------------------------------------------------------- */

.ncc-room-cancel-btn {

    background:
        linear-gradient(180deg,
            #ef5b5b,
            #c52828);


    color: white;
    border: 1px solid var(--ncc-border);
    box-shadow:
        0 4px 10px rgba(197, 40, 40, .35);
}

.ncc-room-cancel-btn:hover {

    transform: translateY(-2px);
    border: 1px solid var(--ncc-border);
    box-shadow:
        0 8px 18px rgba(197, 40, 40, .50);
}

/* ----------------------------------------------------------
   Empty Rooms
---------------------------------------------------------- */

.ncc-empty-lobby {

    padding: 18px;
    text-align: center;
    color: #b8b8b8;
    font-style: italic;
}

.ncc-bet-column {

    text-align: left;

    padding-left: 20px;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1000px) {

    .ncc-room-table {

        font-size: 15px;

    }

    .ncc-room-table th,
    .ncc-room-table td {

        padding: 12px 8px;

    }

    .ncc-room-button {

        width: 100px;

        height: 40px;

        font-size: 15px;

    }

}

@media (max-width: 760px) {

    .ncc-room-table {

        display: block;

        overflow-x: auto;

        white-space: nowrap;

    }

}

/* Large monitors */
@media (min-width: 1600px) {

    .ncc-header-center h1 {

        font-size: 2.8rem;

    }

}

/* Standard desktops */
@media (max-width: 1400px) {

    .ncc-header-center h1 {

        font-size: 2.3rem;

    }

}

/* Small laptops */
@media (max-width: 1100px) {

    .ncc-header-center h1 {

        font-size: 1.9rem;

    }

    .ncc-header-button {

        width: 120px;

    }

}

/* Tablets */
@media (max-width: 850px) {

    .ncc-header-center h1 {

        font-size: 1.5rem;

    }

    .ncc-header-button {

        width: 105px;

    }

}

/* ==========================================================
   HTML hidden attribute
========================================================== */

[hidden] {
    display: none !important;
}