
:root {
    color-scheme: dark;
    --ntm-bg: radial-gradient(circle at top, #222 0, #050505 55%, #000 100%);
    --ntm-card-bg: rgba(10, 10, 10, 0.9);
    --ntm-accent: #ffcc4d;
    --ntm-accent-soft: rgba(255, 204, 77, 0.15);
    --ntm-text: #f5f5f5;
    --ntm-muted: #aaaaaa;
    --ntm-border: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--ntm-bg);
    color: var(--ntm-text);
}

.ntm-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */

.ntm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.75rem;
    border-bottom: 1px solid var(--ntm-border);
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.2));
    position: sticky;
    top: 0;
    z-index: 20;
}

.ntm-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ntm-logo-pill {
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--ntm-border);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ntm-accent);
}

.ntm-logo-text {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Nav */

.ntm-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    font-size: 0.9rem;
}

.ntm-nav a {
    text-decoration: none;
    color: var(--ntm-muted);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ntm-nav a:hover {
    color: var(--ntm-text);
    border-color: var(--ntm-border);
    background: rgba(255, 255, 255, 0.04);
}

.ntm-nav-user {
    color: var(--ntm-muted);
    padding-right: 0.75rem;
}

/* Main content */

.ntm-main {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 2.5rem 1.5rem 3.5rem;
}

.ntm-shell {
    width: 100%;
    max-width: 960px;
    background: var(--ntm-card-bg);
    border-radius: 1.5rem;
    border: 1px solid var(--ntm-border);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.02);
    padding: 2rem 2.25rem;
}

/* Landing / hero */

.ntm-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--ntm-border);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.8rem;
    color: var(--ntm-muted);
}

.ntm-hero-heading {
    font-size: clamp(1.9rem, 3vw, 2.3rem);
    margin: 1.2rem 0 0.6rem;
}

.ntm-hero-sub {
    color: var(--ntm-muted);
    max-width: 36rem;
    line-height: 1.5;
}

/* Simple grid layout (e.g. dashboard widgets) */

.ntm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.ntm-card {
    border-radius: 1rem;
    border: 1px solid var(--ntm-border);
    background: radial-gradient(circle at top left, rgba(255,255,255,0.04), rgba(0,0,0,0.7));
    padding: 1rem 1.1rem;
}

.ntm-card h2 {
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.ntm-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ntm-muted);
}

/* Forms (login, etc.) */

.ntm-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.5rem;
    max-width: 360px;
}

.ntm-form label {
    font-size: 0.9rem;
}

.ntm-input {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.7rem;
    border: 1px solid var(--ntm-border);
    background: rgba(0, 0, 0, 0.8);
    color: var(--ntm-text);
}

.ntm-button {
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--ntm-accent);
    background: var(--ntm-accent-soft);
    color: var(--ntm-text);
    cursor: pointer;
    font-size: 0.95rem;
}

.ntm-button:hover {
    background: rgba(255, 204, 77, 0.2);
}

/* Footer */

.ntm-footer {
    padding: 1rem 1.75rem 1.5rem;
    font-size: 0.8rem;
    color: var(--ntm-muted);
    border-top: 1px solid var(--ntm-border);
    text-align: center;
}
