/* NE Design System — components/buttons.css — Phase 2 (#65) */
/* Button component and variants */

.ne-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--ne-space-2);
	padding: var(--ne-space-2) var(--ne-space-5);
	font-family: var(--ne-font-body);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.2px;
	color: #fff;
	background: var(--ne-accent);
	border: 1px solid transparent;
	border-radius: var(--ne-radius-md);
	cursor: pointer;
	text-decoration: none;
	transition: transform var(--ne-duration) var(--ne-ease),
	            box-shadow var(--ne-duration) var(--ne-ease),
	            background var(--ne-duration) var(--ne-ease);
	white-space: nowrap;
	line-height: 1.5;
}

.ne-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 0 24px var(--ne-accent-glow);
	color: #fff;
}

.ne-btn:active {
	transform: translateY(0);
}

.ne-btn:disabled,
.ne-btn.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* === Ghost variant === */
.ne-btn--ghost {
	background: transparent;
	border: 1px solid var(--ne-border-s);
	color: var(--ne-text);
}

.ne-btn--ghost:hover {
	border-color: rgba(255, 255, 255, 0.2);
	box-shadow: none;
	color: var(--ne-text);
}

/* === Danger variant === */
.ne-btn--danger {
	background: var(--ne-red);
}

.ne-btn--danger:hover {
	box-shadow: 0 0 24px rgba(255, 79, 79, 0.2);
}

/* === Success variant === */
.ne-btn--success {
	background: var(--ne-green-alt);
}

.ne-btn--success:hover {
	box-shadow: 0 0 24px rgba(29, 187, 96, 0.2);
}

/* === Small variant === */
.ne-btn--sm {
	padding: var(--ne-space-1) var(--ne-space-3);
	font-size: 0.75rem;
	border-radius: var(--ne-radius-sm);
}

/* === Large variant === */
.ne-btn--lg {
	padding: var(--ne-space-3) var(--ne-space-6);
	font-size: 1rem;
}

/* === Full width === */
.ne-btn--full {
	width: 100%;
}

/* === Icon-only === */
.ne-btn--icon {
	padding: var(--ne-space-2);
	width: 36px;
	height: 36px;
}

/* === Discord variant === */
.ne-btn--discord {
	background: #5865F2;
}

.ne-btn--discord:hover {
	background: #4752C4;
	box-shadow: 0 0 24px rgba(88, 101, 242, 0.3);
}
